aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
parent75fc9810e329b582cff578f08574432c90442fea (diff)
downloadbinutils-77c56f443d3ef7b5350fb3c7a27510840cb6bb4c.zip
binutils-77c56f443d3ef7b5350fb3c7a27510840cb6bb4c.tar.gz
binutils-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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-mips.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2ede7d3..8a42e46 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-15 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * elfxx-mips.c (_bfd_mips_elf_check_relocs): Record both local and
+ global GOT entries for GOT_PAGE relocations against global symbols.
+
2011-05-13 Bernd Schmidt <bernds@codesourcery.com>
* config.bfd (tic6x-*-elf, tic6x-*-uclinux): New.
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. */