aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/data-only-map.s
diff options
context:
space:
mode:
authorDaniel Gutson <dgutson@codesourcery.com>2010-02-12 20:52:52 +0000
committerDaniel Gutson <dgutson@codesourcery.com>2010-02-12 20:52:52 +0000
commit3381116249433c4b03de8c30868c2e7d11ef9d43 (patch)
tree6a86faf13ab3541759069a7c75b1218055a6354a /ld/testsuite/ld-arm/data-only-map.s
parent77551a33a8ccccbd9900ee1fc921d13aac70ab92 (diff)
downloadgdb-3381116249433c4b03de8c30868c2e7d11ef9d43.zip
gdb-3381116249433c4b03de8c30868c2e7d11ef9d43.tar.gz
gdb-3381116249433c4b03de8c30868c2e7d11ef9d43.tar.bz2
2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
bfd/ * elf32-arm.c (elf32_arm_output_arch_local_syms): add missing mapping symbol to data only sections. ld/testsuite/ * ld-arm/arm-elf.exp (armelftests): New test case added. * ld-arm/data-only-map.s: New file. * ld-arm/data-only-map.d: New file. * ld-arm/data-only-map.ld: New file.
Diffstat (limited to 'ld/testsuite/ld-arm/data-only-map.s')
-rw-r--r--ld/testsuite/ld-arm/data-only-map.s20
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/data-only-map.s b/ld/testsuite/ld-arm/data-only-map.s
new file mode 100644
index 0000000..0c5e797
--- /dev/null
+++ b/ld/testsuite/ld-arm/data-only-map.s
@@ -0,0 +1,20 @@
+.syntax unified
+.thumb
+.global _start
+_start:
+add.w r0, r1, r2
+
+.section .after1
+.word 0xeb010002
+
+.section .after2
+add.w r0, r1, r2
+
+.section .after3
+add.w r2, r1, r0
+
+.section .after4
+.word 0xeb010002
+
+.section .after5
+.word 0xeb010002