Fix mislinking of .MIPS.content* and .MIPS.events*
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Sat Feb 14 11:16:00 GMT 2004
Richard Sandiford wrote:
[snip]
> (3) The linker doesn't really know how to combine .MIPS.event*
> and .MIPS.content* sections properly anyway.
>
> Now gcc is more aggressive than the native compiler in using special
> sections like .data.rel.local. And if gcc is using the native
> assembler, these sections will get their own .MIPS.content*
> description. This means that the combination of (1) and (2)
> will cause an irix bootstrap failure if:
>
> (a) the compiler used to bootstrap gcc is a version of gcc
> that used the native assembler and linker and
>
> (b) the compiler being bootstrapped uses GNU as and ld.
>
> In this case, the files in libiberty.a will include sections like
> .MIPS.content.data.rel.local, which GNU ld mishandles.
>
> Given (3), I think the correct fix is just to discard these sections.
> OK to install?
Ok.
Thiemo
More information about the Binutils
mailing list