aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mn10300/i143317.t
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-12-31 11:29:01 +0000
committerNick Clifton <nickc@redhat.com>2007-12-31 11:29:01 +0000
commite9e9cead3f03155dd8a2ae851c35066cb3ebfec6 (patch)
treed014a92928008f2594b0c11a278138cf5bd710cf /ld/testsuite/ld-mn10300/i143317.t
parent2ea37f1c66300870024a9a9393c4b19337363d8b (diff)
downloadgdb-e9e9cead3f03155dd8a2ae851c35066cb3ebfec6.zip
gdb-e9e9cead3f03155dd8a2ae851c35066cb3ebfec6.tar.gz
gdb-e9e9cead3f03155dd8a2ae851c35066cb3ebfec6.tar.bz2
* ld-elf/flags1.d: Add xfails for ports for which the test will work.
* ld-mn10300/i143317.s: New test - checks linker relaxation when symbols are in a merged section. * ld-mn10300/i143317.d: Expected disassembly. * ld-mn10300/i143317.t: Linker map. * ld-mn10300/mn10300.exp (mn10300_tests): Add the i143317 test.
Diffstat (limited to 'ld/testsuite/ld-mn10300/i143317.t')
-rw-r--r--ld/testsuite/ld-mn10300/i143317.t31
1 files changed, 31 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mn10300/i143317.t b/ld/testsuite/ld-mn10300/i143317.t
new file mode 100644
index 0000000..47d9262
--- /dev/null
+++ b/ld/testsuite/ld-mn10300/i143317.t
@@ -0,0 +1,31 @@
+SECTIONS
+{
+.bss :
+{
+*(.bss)
+end = .;
+}
+. = 0x1000;
+.got : { *(.got.plt) *(.got) }
+.text :
+{
+*(.text)
+}
+. = 0x8ff5;
+.rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
+.data :
+{
+*(.data)
+}
+edata = .;
+.stac :
+{
+*(.stack)
+}
+.plt : { *(.plt) }
+.rela.plt : { *(.rela.plt) }
+.rela.dyn :
+{
+*(.rela.text)
+}
+}