libsanitizer merge from upstream r175042

Ian Lance Taylor
Fri Feb 15 15:39:00 GMT 2013

On Thu, Feb 14, 2013 at 11:45 PM, Konstantin Serebryany
<> wrote:
> Unfortunately, the test does not work if gold is the system linker.
> Any suggestion on how to make the test work with either linker?

I don't know of a way to set the address of the text segment for both
GNU ld and gold.  As you have observed, GNU ld's -Ttext-segment option
is the same as gold's -Ttext option.  GNU ld's -Ttext option is
useless on ELF systems.

I will add -Ttext-segment to gold as an alias for -Ttext, but that
won't help you today.



More information about the Gcc-patches mailing list