aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/extract-symbol-1sec.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/extract-symbol-1sec.d')
-rw-r--r--ld/testsuite/ld-elf/extract-symbol-1sec.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/extract-symbol-1sec.d b/ld/testsuite/ld-elf/extract-symbol-1sec.d
new file mode 100644
index 0000000..d6425c6
--- /dev/null
+++ b/ld/testsuite/ld-elf/extract-symbol-1sec.d
@@ -0,0 +1,12 @@
+#name: --extract-symbol test 1 (sections)
+#source: extract-symbol-1.s
+#ld: -Textract-symbol-1.ld
+#objcopy_linked_file: --extract-symbol
+#objdump: --headers
+#...
+Sections:
+ *Idx +Name +Size +VMA +LMA .*
+ *0 +\.foo +0+ +0+ +0+ .*
+ *CONTENTS, ALLOC, LOAD, CODE
+ *1 +\.bar +0+ +0+ +0+ .*
+ *ALLOC, READONLY, CODE