aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2011-05-15 18:52:01 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2011-05-15 18:52:01 +0000
commit77c56f443d3ef7b5350fb3c7a27510840cb6bb4c (patch)
treeaf350d0d1cb57e62debbd8321ebbcac92aea205d /bfd/elfxx-mips.c
parent75fc9810e329b582cff578f08574432c90442fea (diff)
downloadgdb-77c56f443d3ef7b5350fb3c7a27510840cb6bb4c.zip
gdb-77c56f443d3ef7b5350fb3c7a27510840cb6bb4c.tar.gz
gdb-77c56f443d3ef7b5350fb3c7a27510840cb6bb4c.tar.bz2
bfd/
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Record both local and global GOT entries for GOT_PAGE relocations against global symbols. ld/testsuite/ * lib/ld-lib.exp (run_ld_link_tests): Simplify pass/fail logic. Fail if the link command fails and if no test rules are defined. * ld-mips-elf/reloc-6a.s, ld-mips-elf/reloc-6b.s: New tests. * ld-mips-elf/mips-elf.exp: Run them.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index b804eea..815b6af 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -7743,7 +7743,6 @@ _bfd_mips_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
if (!mips_elf_record_got_page_entry (info, abfd, r_symndx,
addend))
return FALSE;
- break;
}
/* Fall through. */