X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-scripts%2Frgn-over1.d;fp=ld%2Ftestsuite%2Fld-scripts%2Frgn-over1.d;h=54892be41d8da28262449d29b02ef80207656b8e;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/ld/testsuite/ld-scripts/rgn-over1.d b/ld/testsuite/ld-scripts/rgn-over1.d new file mode 100644 index 0000000..54892be --- /dev/null +++ b/ld/testsuite/ld-scripts/rgn-over1.d @@ -0,0 +1,35 @@ +# name: rgn-over1 +# source: rgn-over.s +# ld: -T rgn-over1.t -Map tmpdir/rgn-over1.map +# error: \A[^ \n]*?ld[^:\n]*?: [^\n]*?section \`.text' will not fit in region `r1'\n[^ \n]*?ld[^:\n]*?: region `r1' overflowed by 16 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+0008\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