diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2010-09-19 10:03:28 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2010-09-19 10:03:28 +0000 |
commit | 0fc1eb3c4d0fb716bad2b525dd5f35168c4f4df9 (patch) | |
tree | fc9f853aca036e13d1b645e53af3534e79625e67 /bfd/elfxx-mips.c | |
parent | 10fa46e388c65794b1906a57a6e78cb938fc85a1 (diff) | |
download | gdb-0fc1eb3c4d0fb716bad2b525dd5f35168c4f4df9.zip gdb-0fc1eb3c4d0fb716bad2b525dd5f35168c4f4df9.tar.gz gdb-0fc1eb3c4d0fb716bad2b525dd5f35168c4f4df9.tar.bz2 |
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.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r-- | bfd/elfxx-mips.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 78f96c1..a0694e3 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -7930,6 +7930,10 @@ _bfd_mips_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, && strcmp (h->root.root.string, "_gp_disp") == 0) break; + /* Likewise __GOTT_BASE__ and __GOTT_INDEX__ on VxWorks. */ + if (is_gott_symbol (info, h)) + break; + /* FALLTHROUGH */ case R_MIPS16_26: |