mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
bfd/
* elfxx-mips.c (_bfd_mips_elf_check_relocs): On VxWorks, exclude __GOTT_BASE__ and __GOTT_INDEX__ from the warning about HI/LO relocations in shared objects.
This commit is contained in:
parent
10fa46e388
commit
0fc1eb3c4d
@ -1,3 +1,9 @@
|
|||||||
|
2010-09-19 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
|
* elfxx-mips.c (_bfd_mips_elf_check_relocs): On VxWorks,
|
||||||
|
exclude __GOTT_BASE__ and __GOTT_INDEX__ from the warning
|
||||||
|
about HI/LO relocations in shared objects.
|
||||||
|
|
||||||
2010-09-16 Alan Modra <amodra@gmail.com>
|
2010-09-16 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* elf32-spu.c (spu_elf_size_sections): Omit fixups for non-alloc
|
* elf32-spu.c (spu_elf_size_sections): Omit fixups for non-alloc
|
||||||
|
@ -7930,6 +7930,10 @@ _bfd_mips_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
|
|||||||
&& strcmp (h->root.root.string, "_gp_disp") == 0)
|
&& strcmp (h->root.root.string, "_gp_disp") == 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* Likewise __GOTT_BASE__ and __GOTT_INDEX__ on VxWorks. */
|
||||||
|
if (is_gott_symbol (info, h))
|
||||||
|
break;
|
||||||
|
|
||||||
/* FALLTHROUGH */
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
case R_MIPS16_26:
|
case R_MIPS16_26:
|
||||||
|
Loading…
Reference in New Issue
Block a user