aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/tbss3.s
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-05-20 15:33:29 +0000
committerAlan Modra <amodra@gmail.com>2011-05-20 15:33:29 +0000
commit67e9eb74af1c9e7fd75cf7820fd3282757bef119 (patch)
tree190fb34b1c29c62574aef3291c44338b8ed4c18d /ld/testsuite/ld-elf/tbss3.s
parent86b2281fde235816619a26af3c59ce24b949b2f8 (diff)
downloadgdb-67e9eb74af1c9e7fd75cf7820fd3282757bef119.zip
gdb-67e9eb74af1c9e7fd75cf7820fd3282757bef119.tar.gz
gdb-67e9eb74af1c9e7fd75cf7820fd3282757bef119.tar.bz2
PR 12763
* ld-elf/tdata3.s: New test. * ld-elf/tbss3.s: New test. * ld-elf/binutils.exp: Consolidate tbss and tdata tests.
Diffstat (limited to 'ld/testsuite/ld-elf/tbss3.s')
-rw-r--r--ld/testsuite/ld-elf/tbss3.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/tbss3.s b/ld/testsuite/ld-elf/tbss3.s
new file mode 100644
index 0000000..f5530a3
--- /dev/null
+++ b/ld/testsuite/ld-elf/tbss3.s
@@ -0,0 +1,17 @@
+ .globl main
+ .globl start
+ .globl _start
+ .globl __start
+ .text
+main:
+start:
+_start:
+__start:
+ .byte 0
+
+ .section .tbss,"awT",%nobits
+ .p2align 10
+ .type tbss, %object
+ .size tbss, 1024
+tbss:
+ .zero 1024