[committed] require GOT for R_MIPS_TLS_GOTTPREL
Eric Christopher
echristo@apple.com
Sat Dec 31 05:01:00 GMT 2005
Noticed this while running the gcc testsuite on mips64-elf last
night. The tls alias testcase was getting a segfault in the linker
since we were trying to reference a GOT that didn't exist.
Fixed thusly and I added an assert to make it a bit more obvious in
the future.
Tested on mips64-elf. No regressions and it fixed the one gcc failure
I noticed.
-eric
2005-12-30 Eric Christopher <echristo@apple.com>
* elfxx-mips.c (mips_elf_record_global_got_symbol): Add assert
to verify we have a got.
(_bfd_mips_elf_check_relocs): Add R_MIPS_TLS_GOTTPREL to relocs
needing a GOT.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils.diff.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20051231/b55d38d9/attachment.txt>
More information about the Binutils
mailing list