diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2008-03-20 10:52:14 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2008-03-20 10:52:14 +0000 |
commit | 51e38d68782784e67211a66c5408d1c1943f1aa9 (patch) | |
tree | 7df502ed85f1a2e2a42f932d85680e8463c6c176 /ld | |
parent | c65be8d78a6822e12d6037afdaddcde688f90f7a (diff) | |
download | gdb-51e38d68782784e67211a66c5408d1c1943f1aa9.zip gdb-51e38d68782784e67211a66c5408d1c1943f1aa9.tar.gz gdb-51e38d68782784e67211a66c5408d1c1943f1aa9.tar.bz2 |
bfd/
* elfxx-mips.c (MIPS_ELF_GNU_GOT1_MASK): New macro.
(_bfd_mips_elf_finish_dynamic_sections): Use it instead of 0x80000000.
ld/testsuite/
* ld-mips-elf/elf-rel-got-n64-linux.d: Expect bit 63 rather than
bit 31 of the second GOT entry to be set.
* ld-mips-elf/elf-rel-got-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/elf-rel-got-n64-linux.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/elf-rel-got-n64.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d | 3 |
5 files changed, 16 insertions, 4 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 6ff1af7..2068cb9 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk> + + * ld-mips-elf/elf-rel-got-n64-linux.d: Expect bit 63 rather than + bit 31 of the second GOT entry to be set. + * ld-mips-elf/elf-rel-got-n64.d: Likewise. + * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. + * ld-mips-elf/elf-rel-xgot-n64.d: Likewise. + 2008-03-17 Richard Sandiford <rsandifo@nildram.co.uk> * ld-mips-elf/eh-frame1-n32.d: Expect a warning about .eh_frame_hdr. diff --git a/ld/testsuite/ld-mips-elf/elf-rel-got-n64-linux.d b/ld/testsuite/ld-mips-elf/elf-rel-got-n64-linux.d index 94c3097..946751e 100644 --- a/ld/testsuite/ld-mips-elf/elf-rel-got-n64-linux.d +++ b/ld/testsuite/ld-mips-elf/elf-rel-got-n64-linux.d @@ -294,7 +294,8 @@ Disassembly of section \.got: 00000001200105e0 <_GLOBAL_OFFSET_TABLE_>: \.\.\. - 1200105ec: 80000000 .* + 1200105e8: 80000000 .* + 1200105ec: 00000000 .* 1200105f0: 00000001 .* 1200105f4: 20010000 .* 1200105f8: 00000001 .* diff --git a/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d b/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d index 3047911..8ebfdf8 100644 --- a/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d +++ b/ld/testsuite/ld-mips-elf/elf-rel-got-n64.d @@ -293,7 +293,8 @@ Disassembly of section \.got: 00000000101005e0 <_GLOBAL_OFFSET_TABLE_>: \.\.\. - 101005ec: 80000000 .* + 101005e8: 80000000 .* + 101005ec: 00000000 .* 101005f0: 00000000 .* 101005f4: 1010052c .* 101005f8: 00000000 .* diff --git a/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.d b/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.d index 8baa195..4eb41a6 100644 --- a/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.d +++ b/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.d @@ -418,7 +418,8 @@ Disassembly of section \.got: 00000001200107d0 <_GLOBAL_OFFSET_TABLE_>: \.\.\. - 1200107dc: 80000000 .* + 1200107d8: 80000000 .* + 1200107dc: 00000000 .* 1200107e0: 00000001 .* 1200107e4: 20010000 .* 1200107e8: 00000001 .* diff --git a/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d b/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d index b07c861..0111f78 100644 --- a/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d +++ b/ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d @@ -417,7 +417,8 @@ Disassembly of section \.got: 00000000101007d0 <_GLOBAL_OFFSET_TABLE_>: \.\.\. - 101007dc: 80000000 .* + 101007d8: 80000000 .* + 101007dc: 00000000 .* 101007e0: 00000000 .* 101007e4: 10100000 .* 101007e8: 00000000 .* |