aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2006-10-18 13:02:01 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2006-10-18 13:02:01 +0000
commit0d22c9559b677a7ce0dffbc29ea754c6c69da0d2 (patch)
tree94d1847e99f0bf792d20ee66a5db4ebbc961a562 /ld
parent269186e39750d9559e45007fb11e96c841acfe52 (diff)
downloadgdb-0d22c9559b677a7ce0dffbc29ea754c6c69da0d2.zip
gdb-0d22c9559b677a7ce0dffbc29ea754c6c69da0d2.tar.gz
gdb-0d22c9559b677a7ce0dffbc29ea754c6c69da0d2.tar.bz2
ld/testsuite/
* ld-mips-elf/reloc-1-n64.d: Match 16-character VMAs on LP64 hosts.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-mips-elf/reloc-1-n64.d70
2 files changed, 39 insertions, 35 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index e94c09ae6..89c147b 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2006-10-18 Richard Sandiford <richard@codesourcery.com>
+ * ld-mips-elf/reloc-1-n64.d: Match 16-character VMAs on LP64 hosts.
+
+2006-10-18 Richard Sandiford <richard@codesourcery.com>
+
* ld-mips-elf/rel32-n32.d: Bump addresses by 0x20 to account for
the fact that .reginfo is now placed before .text. Change the
section number of .text accordingly.
diff --git a/ld/testsuite/ld-mips-elf/reloc-1-n64.d b/ld/testsuite/ld-mips-elf/reloc-1-n64.d
index 2db8fca..42d74ea 100644
--- a/ld/testsuite/ld-mips-elf/reloc-1-n64.d
+++ b/ld/testsuite/ld-mips-elf/reloc-1-n64.d
@@ -8,16 +8,16 @@ Relocation section '\.rela\.text' .*
#
# Relocations against tstarta
#
-.* R_MIPS_HI16 .* \.text \+ ffff7ff0
+.* R_MIPS_HI16 .* \.text \+ f+7ff0
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* \.text \+ ffff7ff0
+.* R_MIPS_LO16 .* \.text \+ f+7ff0
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_HI16 .* \.text \+ ffff8000
+.* R_MIPS_HI16 .* \.text \+ f+8000
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* \.text \+ ffff8000
+.* R_MIPS_LO16 .* \.text \+ f+8000
.* R_MIPS_NONE *
.* R_MIPS_NONE *
.* R_MIPS_HI16 .* \.text \+ 0
@@ -41,16 +41,16 @@ Relocation section '\.rela\.text' .*
#
# Relocations against t32a
#
-.* R_MIPS_HI16 .* \.text \+ ffff8010
+.* R_MIPS_HI16 .* \.text \+ f+8010
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* \.text \+ ffff8010
+.* R_MIPS_LO16 .* \.text \+ f+8010
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_HI16 .* \.text \+ ffff8020
+.* R_MIPS_HI16 .* \.text \+ f+8020
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* \.text \+ ffff8020
+.* R_MIPS_LO16 .* \.text \+ f+8020
.* R_MIPS_NONE *
.* R_MIPS_NONE *
.* R_MIPS_HI16 .* \.text \+ 20
@@ -74,16 +74,16 @@ Relocation section '\.rela\.text' .*
#
# Relocations against _start
#
-.* R_MIPS_HI16 .* _start \+ ffff7ff0
+.* R_MIPS_HI16 .* _start \+ f+7ff0
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* _start \+ ffff7ff0
+.* R_MIPS_LO16 .* _start \+ f+7ff0
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_HI16 .* _start \+ ffff8000
+.* R_MIPS_HI16 .* _start \+ f+8000
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* _start \+ ffff8000
+.* R_MIPS_LO16 .* _start \+ f+8000
.* R_MIPS_NONE *
.* R_MIPS_NONE *
.* R_MIPS_HI16 .* _start \+ 0
@@ -107,16 +107,16 @@ Relocation section '\.rela\.text' .*
#
# Relocations against tstarta
#
-.* R_MIPS_GOT16 .* \.text \+ ffff7ff0
+.* R_MIPS_GOT16 .* \.text \+ f+7ff0
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* \.text \+ ffff7ff0
+.* R_MIPS_LO16 .* \.text \+ f+7ff0
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_GOT16 .* \.text \+ ffff8000
+.* R_MIPS_GOT16 .* \.text \+ f+8000
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* \.text \+ ffff8000
+.* R_MIPS_LO16 .* \.text \+ f+8000
.* R_MIPS_NONE *
.* R_MIPS_NONE *
.* R_MIPS_GOT16 .* \.text \+ 0
@@ -140,16 +140,16 @@ Relocation section '\.rela\.text' .*
#
# Relocations against t32a
#
-.* R_MIPS_GOT16 .* \.text \+ ffff8010
+.* R_MIPS_GOT16 .* \.text \+ f+8010
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* \.text \+ ffff8010
+.* R_MIPS_LO16 .* \.text \+ f+8010
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_GOT16 .* \.text \+ ffff8020
+.* R_MIPS_GOT16 .* \.text \+ f+8020
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* \.text \+ ffff8020
+.* R_MIPS_LO16 .* \.text \+ f+8020
.* R_MIPS_NONE *
.* R_MIPS_NONE *
.* R_MIPS_GOT16 .* \.text \+ 20
@@ -173,7 +173,7 @@ Relocation section '\.rela\.text' .*
#
# Relocations against sdg
#
-.* R_MIPS_GPREL16 .* sdg \+ fffffffc
+.* R_MIPS_GPREL16 .* sdg \+ f+fffc
.* R_MIPS_NONE *
.* R_MIPS_NONE *
.* R_MIPS_GPREL16 .* sdg \+ 0
@@ -186,19 +186,19 @@ Relocation section '\.rela\.text' .*
# Relocations against sdla. .sdata should be the first piece of gp-relative
# data, which the linker script should put _gp - 0x7ff0.
#
-.* R_MIPS_GPREL16 .* \.sdata \+ ffff801c
+.* R_MIPS_GPREL16 .* \.sdata \+ f+801c
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_GPREL16 .* \.sdata \+ ffff8020
+.* R_MIPS_GPREL16 .* \.sdata \+ f+8020
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_GPREL16 .* \.sdata \+ ffff8024
+.* R_MIPS_GPREL16 .* \.sdata \+ f+8024
.* R_MIPS_NONE *
.* R_MIPS_NONE *
#
# Relocations against tstarta
#
-.* R_MIPS_26 .* \.text \+ fffffffc
+.* R_MIPS_26 .* \.text \+ f+fffc
.* R_MIPS_NONE *
.* R_MIPS_NONE *
.* R_MIPS_26 .* \.text \+ 0
@@ -222,7 +222,7 @@ Relocation section '\.rela\.text' .*
#
# Relocations against _start
#
-.* R_MIPS_26 .* _start \+ fffffffc
+.* R_MIPS_26 .* _start \+ f+fffc
.* R_MIPS_NONE *
.* R_MIPS_NONE *
.* R_MIPS_26 .* _start \+ 0
@@ -300,16 +300,16 @@ Relocation section '\.rela\.text' .*
#
# Relocations against _start
#
-.* R_MIPS_HI16 .* _start \+ ffff7ff0
+.* R_MIPS_HI16 .* _start \+ f+7ff0
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* _start \+ ffff7ff0
+.* R_MIPS_LO16 .* _start \+ f+7ff0
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_HI16 .* _start \+ ffff8000
+.* R_MIPS_HI16 .* _start \+ f+8000
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_LO16 .* _start \+ ffff8000
+.* R_MIPS_LO16 .* _start \+ f+8000
.* R_MIPS_NONE *
.* R_MIPS_NONE *
.* R_MIPS_HI16 .* _start \+ 0
@@ -399,7 +399,7 @@ Relocation section '\.rela\.text' .*
#
# Relocations against sdg
#
-.* R_MIPS_GPREL16 .* sdg \+ fffffffc
+.* R_MIPS_GPREL16 .* sdg \+ f+fffc
.* R_MIPS_NONE *
.* R_MIPS_NONE *
.* R_MIPS_GPREL16 .* sdg \+ 0
@@ -411,13 +411,13 @@ Relocation section '\.rela\.text' .*
#
# Relocations against sdlb
#
-.* R_MIPS_GPREL16 .* \.sdata \+ ffff803c
+.* R_MIPS_GPREL16 .* \.sdata \+ f+803c
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_GPREL16 .* \.sdata \+ ffff8040
+.* R_MIPS_GPREL16 .* \.sdata \+ f+8040
.* R_MIPS_NONE *
.* R_MIPS_NONE *
-.* R_MIPS_GPREL16 .* \.sdata \+ ffff8044
+.* R_MIPS_GPREL16 .* \.sdata \+ f+8044
.* R_MIPS_NONE *
.* R_MIPS_NONE *
#
@@ -447,7 +447,7 @@ Relocation section '\.rela\.text' .*
#
# Relocations against _start
#
-.* R_MIPS_26 .* _start \+ fffffffc
+.* R_MIPS_26 .* _start \+ f+fffc
.* R_MIPS_NONE *
.* R_MIPS_NONE *
.* R_MIPS_26 .* _start \+ 0