diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-scripts/rgn-over2.d')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-scripts/rgn-over2.d | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-scripts/rgn-over2.d b/binutils-2.21/ld/testsuite/ld-scripts/rgn-over2.d new file mode 100644 index 0000000..1a5afea --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-scripts/rgn-over2.d @@ -0,0 +1,35 @@ +# name: rgn-over2 +# source: rgn-over.s +# ld: -T rgn-over2.t -Map tmpdir/rgn-over2.map +# error: \A[^ \n]*?ld[^:\n]*?: [^\n]*?section `\.data' will not fit in region `r1'\n[^ \n]*?ld[^:\n]*?: region `r1' overflowed by 4 bytes\Z + +Discarded input sections +#... +Memory\s+Configuration + +Name\s+Origin\s+Length\s+Attributes +bss\s+0x0+0000\s+0x0+0000\s+xrw +r1\s+0x0+1000\s+0x0+0014\s+xrw +\*default\*\s+0x0+0000\s+0xf+ffff + +Linker\s+script\s+and\s+memory\s+map + +\s*0x0+1000\s+_start\s+=\s+0x1000 + +\s*\.bss\s+0x0+0000\s+0x0 +\s*\*\(\.bss\) +\s*\.bss\s+0x0+0000\s+0x0\s+.*? + +\s*\.text\s+0x0+1000\s+0xc +\s*\*\(\.txt\) +\s*\.txt\s+0x0+1000\s+0xc\s+.*? + +\s*\.data\s+0x0+100c\s+0xc +\s*\*\(\.dat\) +\s*\.dat\s+0x0+100c\s+0xc\s+.*? + +/DISCARD/ + \*\(\*\) +LOAD\s+.*? +OUTPUT\(.*?\) +#pass |