This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix mislinking of .MIPS.content* and .MIPS.events*


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]