Browse Source
Tests that I added in commit c05b575a8d
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.
gdb-7.10-branch
3 changed files with 16 additions and 11 deletions
@ -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\) |
|||
#... |
|||
|
|||
@ -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\) |
|||
#... |
|||
|
|||
Loading…
Reference in new issue