public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Rafael Espindola <espindola@google.com>
To: Ian Lance Taylor <iant@google.com>
Cc: gcc@gcc.gnu.org
Subject: Re: -use-linker-plugin passed to ld
Date: Fri, 23 Oct 2009 16:49:00 -0000	[thread overview]
Message-ID: <38a0d8450910230845k40317523s42f2b84eafa82e9c@mail.gmail.com> (raw)
In-Reply-To: <38a0d8450910230802o23e6fcfaga35fa29419dff3b0@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

> Working on it.

The attached patch solves the problem. It is not very elegant to
remove -use-linker-plugin from the command line, but it is not used after
linking.
	
2009-10-23  Rafael Avila de Espindola  <espindola@google.com>

	* gcc.c (LINK_COMMAND_SPEC): Remove -use-linker-plugin from the command
	line.

Cheers,
-- 
Rafael Ávila de Espíndola

[-- Attachment #2: use-linker-plugin.patch --]
[-- Type: text/x-diff, Size: 652 bytes --]

diff --git a/gcc/gcc.c b/gcc/gcc.c
index 78e0ce8..78ffb0d 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -782,7 +782,8 @@ proper position among the other output files.  */
     } \
     %{flto} %{fwhopr} %l " LINK_PIE_SPEC \
    "%X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r}\
-    %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\
+    %{s} %{t} %<use-linker-plugin \
+    %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}     \
     %{static:} %{L*} %(mfwrap) %(link_libgcc) %o\
     %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)} %(mflib)\
     %{fprofile-arcs|fprofile-generate*|coverage:-lgcov}\

  reply	other threads:[~2009-10-23 15:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 15:02 Ian Lance Taylor
2009-10-23 15:45 ` Rafael Espindola
2009-10-23 16:49   ` Rafael Espindola [this message]
2009-10-23 18:45     ` Ian Lance Taylor
2009-10-23 19:00       ` Steven Bosscher
2009-10-23 19:07         ` Ian Lance Taylor
2009-10-24  4:26           ` Rafael Espindola
2009-10-26 23:27           ` Hans-Peter Nilsson
2009-10-27  6:09             ` Daniel Jacobowitz
2009-10-27 15:55               ` Rafael Espindola
2009-10-27 16:45                 ` Andreas Schwab
2009-10-27 17:01                   ` Ian Lance Taylor
2009-10-27 17:22                   ` Rafael Espindola
2009-10-27 17:24                     ` Rafael Espindola
2009-10-27 19:50                       ` Ian Lance Taylor
2009-10-27 18:23                     ` Andrew Pinski
2009-10-27 18:54                       ` Rafael Espindola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38a0d8450910230845k40317523s42f2b84eafa82e9c@mail.gmail.com \
    --to=espindola@google.com \
    --cc=gcc@gcc.gnu.org \
    --cc=iant@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).