mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
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.
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
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.
|
||||
|
||||
2005-12-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* configure.host (hppa*64*-*-hpux*): Set host64 to true.
|
||||
|
@ -2637,6 +2637,9 @@ mips_elf_record_global_got_symbol (struct elf_link_hash_entry *h,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Make sure we have a GOT to put this entry into. */
|
||||
BFD_ASSERT (g != NULL);
|
||||
|
||||
entry.abfd = abfd;
|
||||
entry.symndx = -1;
|
||||
entry.d.h = (struct mips_elf_link_hash_entry *) h;
|
||||
@ -5997,6 +6000,7 @@ _bfd_mips_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
|
||||
case R_MIPS_GOT_PAGE:
|
||||
case R_MIPS_GOT_OFST:
|
||||
case R_MIPS_GOT_DISP:
|
||||
case R_MIPS_TLS_GOTTPREL:
|
||||
case R_MIPS_TLS_GD:
|
||||
case R_MIPS_TLS_LDM:
|
||||
if (dynobj == NULL)
|
||||
|
Reference in New Issue
Block a user