ld: Update expected test results for 32-bit hosts.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 20 Jan 2015 16:00:41 +0000 (16:00 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 20 Jan 2015 16:03:32 +0000 (16:03 +0000)
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.

ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/provide-4-map.d
ld/testsuite/ld-scripts/provide-5-map.d

index 0b474949b0adaf03cd50fc29605596cb507b01d0..21cf40e3e6bec0b861b9730c5f67180556f98798 100644 (file)
@@ -1,3 +1,8 @@
+2015-01-20  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * ld-scripts/provide-4-map.d: Update expected output.
+       * ld-scripts/provide-5-map.d: Likewise.
+
 2015-01-20  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * ld-scripts/provide-4.d: New file.
index d8e4a2815b92e36b5f05912a598a9596217af542..189d1d04bcce69c2b30d7b55560a155335110518 100644 (file)
@@ -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\)
 #...
index 2271dfd1b78f0b51d43ad0c045a8927e54a41e20..a75e4aa73c5a48eda2d858d7aa24c218a53761b7 100644 (file)
@@ -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\)
 #...