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]

[committed] require GOT for R_MIPS_TLS_GOTTPREL


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.

Attachment: binutils.diff.txt
Description: Text document


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