diff options
author | Faraz Shahbazker <fshahbazker@wavecomp.com> | 2019-05-18 01:19:03 -0700 |
---|---|---|
committer | Faraz Shahbazker <fshahbazker@wavecomp.com> | 2019-05-21 11:55:08 -0700 |
commit | 304f09d0d4b519f143144d213e1280a0691de8ba (patch) | |
tree | d5baa5160d5ed5001a91c77672f14a95ce5abde3 /bfd/ChangeLog | |
parent | ba6cd17f0a28e54d9b4ef46397d448f1d208d9a0 (diff) | |
download | gdb-304f09d0d4b519f143144d213e1280a0691de8ba.zip gdb-304f09d0d4b519f143144d213e1280a0691de8ba.tar.gz gdb-304f09d0d4b519f143144d213e1280a0691de8ba.tar.bz2 |
MIPS/LD: Fix memory fault linking non-PIC object in to shared library
bfd/
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Add NULL pointer
checks. Search the RELA table for n64 relocations.
ld/
* testsuite/ld-mips-elf/pic-reloc-5.d: New test.
* testsuite/ld-mips-elf/pic-reloc-6.d: New test.
* testsuite/ld-mips-elf/pic-reloc-7.d: New test.
* testsuite/ld-mips-elf/pic-reloc-5.s: New test source.
* testsuite/ld-mips-elf/pic-reloc-6.s: New test source.
* testsuite/ld-mips-elf/pic-reloc-7.s: New test source.
* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index deca778..4335227 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com> + + * elfxx-mips.c (_bfd_mips_elf_check_relocs): Add NULL pointer + checks. Search the RELA table for n64 relocations. + 2019-05-21 Matthew Fortune <matthew.fortune@mips.com> Faraz Shahbazker <fshahbazker@wavecomp.com> |