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: [M68K] Use multiple GOTs by default for m68k-linux


On 7/20/10 4:19 PM, Andreas Schwab wrote:
Maxim Kuvyrkov<maxim@codesourcery.com> writes:

More than that, latest GLIBC fails to build without multiple GOT
support as the number of GOT entries in libc overflows a single GOT.

There are about 9k worth of GOT. In which way does it overflow?

Well, it doesn't. I saw a bunch of errors:


(.text+0x12c1e): relocation truncated to fit: R_68K_GOT16 against symbol `_GLOBAL_OFFSET_TABLE_' defined in .got.plt section in /scratch/maxim/cf-fsf/obj-linux/glibc-mainline-0-m68k-linux-gnu-i686-pc-linux-gnu/default/csu/abi-note.o

and remembered about this default in binutils. Upon closer inspection I noticed that the relocations are R_68K_GOT16, not R_68K_GOT16O, so something else should've broken.

Still, I think it's time to enable multiple GOTs by default for m68k-linux.

Thanks,

--
Maxim Kuvyrkov
CodeSourcery
maxim@codesourcery.com
(650) 331-3385 x724


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