diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2014-05-02 00:31:58 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2014-05-02 00:31:58 +0200 |
commit | b46fa76826669b1496cac329d132485ede779d85 (patch) | |
tree | 6f15a2e75875f807f45ac1283d4f347019b05021 /ld/testsuite/ld-mmix/sec-11.ld | |
parent | 1218d67db11b6a1aceeb477855047f70d4856854 (diff) | |
download | gdb-b46fa76826669b1496cac329d132485ede779d85.zip gdb-b46fa76826669b1496cac329d132485ede779d85.tar.gz gdb-b46fa76826669b1496cac329d132485ede779d85.tar.bz2 |
ld/testsuite:
* ld-mmix/sec-11.d, ld-mmix/sec-11.ld, ld-mmix/sec-10.s,
ld-mmix/sec-10.d, ld-mmix/b-offlocmis.s, ld-mmix/sec-12.d: New
tests.
* ld-mmix/b-offloc.s: Correct address in comment.
Diffstat (limited to 'ld/testsuite/ld-mmix/sec-11.ld')
-rw-r--r-- | ld/testsuite/ld-mmix/sec-11.ld | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/sec-11.ld b/ld/testsuite/ld-mmix/sec-11.ld new file mode 100644 index 0000000..a36ca1e --- /dev/null +++ b/ld/testsuite/ld-mmix/sec-11.ld @@ -0,0 +1,10 @@ +OUTPUT_ARCH(mmix) +ENTRY(Main) +SECTIONS +{ + .text 0x101 : /* Note the misaligned address; must trig a linker error. */ + { *(.text*); Main = _start; } + + .MMIX.reg_contents : + { *(.MMIX.reg_contents.linker_allocated); *(.MMIX.reg_contents); } +} |