This is the mail archive of the binutils@sourceware.org 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: building glibc with gold linker & -frecord-gcc-switches results in internal error


>> And obviously it would be good to figure out what gcc is doing to create
>> those relocations, and try to fix that.
>
> Yes. I've just started looking at gcc, but don't see anything obvious.
> Nothing in elf_record_gcc_switches() looks like it would be adding
> those relocs to the end of the section.

The Makefile rules for crti.o do some massaging of the assembly with
sed. I wonder if something is going haywire there.

-cary


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