This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libsanitizer merge from upstream r175042
On Thu, Feb 14, 2013 at 11:45 PM, Konstantin Serebryany
<konstantin.s.serebryany@gmail.com> 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.
Sorry.
Ian