aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2015-01-20 16:00:41 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2015-01-20 16:03:32 +0000
commit481765cde069d29679122b4fa6ef6c5ea39413d2 (patch)
treed28507b4e80c64c32af16d6b82811371a8e809b1 /ld/testsuite/ld-scripts
parent810c102655475827a3174fb64b5e14beaa57ec3f (diff)
downloadgdb-481765cde069d29679122b4fa6ef6c5ea39413d2.zip
gdb-481765cde069d29679122b4fa6ef6c5ea39413d2.tar.gz
gdb-481765cde069d29679122b4fa6ef6c5ea39413d2.tar.bz2
ld: Update expected test results for 32-bit hosts.
Tests that I added in commit c05b575a8dfabab6af5d8586d1a5c0c67f819ac2 fails on 32-bit hosts due to differences in whitespace. This patch updates the expected output patterns to be more accepting of differences in whitespace, the tests should now pass. ld/testsuite/ChangeLog: * ld-scripts/provide-4-map.d: Update expected output. * ld-scripts/provide-5-map.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/provide-4-map.d18
-rw-r--r--ld/testsuite/ld-scripts/provide-5-map.d4
2 files changed, 11 insertions, 11 deletions
diff --git a/ld/testsuite/ld-scripts/provide-4-map.d b/ld/testsuite/ld-scripts/provide-4-map.d
index d8e4a28..189d1d0 100644
--- a/ld/testsuite/ld-scripts/provide-4-map.d
+++ b/ld/testsuite/ld-scripts/provide-4-map.d
@@ -1,13 +1,13 @@
#...
Linker script and memory map
#...
- \[!provide\] PROVIDE \(foo, 0x1\)
- \[!provide\] PROVIDE \(bar, 0x2\)
- 0x0+3 PROVIDE \(baz, 0x3\)
-#...
- 0x0+2000 foo
- \[!provide\] PROVIDE \(loc1, ALIGN \(\., 0x10\)\)
- 0x0+2010 PROVIDE \(loc2, ALIGN \(\., 0x10\)\)
- \[!provide\] PROVIDE \(loc3, \(loc1 \+ 0x20\)\)
- 0x0+2030 loc4 = \(loc2 \+ 0x20\)
+ \[!provide\] +PROVIDE \(foo, 0x1\)
+ \[!provide\] +PROVIDE \(bar, 0x2\)
+ 0x0+3 +PROVIDE \(baz, 0x3\)
+#...
+ 0x0+2000 +foo
+ \[!provide\] +PROVIDE \(loc1, ALIGN \(\., 0x10\)\)
+ 0x0+2010 +PROVIDE \(loc2, ALIGN \(\., 0x10\)\)
+ \[!provide\] +PROVIDE \(loc3, \(loc1 \+ 0x20\)\)
+ 0x0+2030 +loc4 = \(loc2 \+ 0x20\)
#...
diff --git a/ld/testsuite/ld-scripts/provide-5-map.d b/ld/testsuite/ld-scripts/provide-5-map.d
index 2271dfd..a75e4aa 100644
--- a/ld/testsuite/ld-scripts/provide-5-map.d
+++ b/ld/testsuite/ld-scripts/provide-5-map.d
@@ -1,6 +1,6 @@
#...
Linker script and memory map
#...
- 0x0+10 foo = 0x10
- \[!provide\] PROVIDE \(foo, bar\)
+ 0x0+10 +foo = 0x10
+ \[!provide\] +PROVIDE \(foo, bar\)
#...