diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2006-06-01 05:40:24 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2006-06-01 05:40:24 +0000 |
commit | 1224efb888c0f18139c170b28a57d67e80c90a40 (patch) | |
tree | 29c304c753951c38c55d71718ca677497d17357c /ld/testsuite/ld-elf/tbss1.s | |
parent | 117ed4f8d5a9691c0bc1200d5d797e5211688c84 (diff) | |
download | binutils-gdb-1224efb888c0f18139c170b28a57d67e80c90a40.tar.gz |
include/elf/
2006-05-31 H.J. Lu <hongjiu.lu@intel.com>
* internal.h (ELF_SECTION_SIZE): New.
(ELF_IS_SECTION_IN_SEGMENT): Likewise.
(ELF_IS_SECTION_IN_SEGMENT_FILE): Updated.
(ELF_IS_SECTION_IN_SEGMENT_MEMORY): Likewise.
ld/testsuite/
2006-05-31 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/binutils.exp: Make it Linux only.
(strip_test): Renamed to binutils_test. Check for unsupported
options.
Add more tests.
* ld-elf/commonpage1.d: Make it Linux only.
* ld-elf/maxpage1.d: Likewise.
* ld-elf/maxpage1.s: Add main, start and __start.
* ld-elf/maxpage2.d: New file.
* ld-elf/tbss1.s: Likewise.
* ld-elf/tbss2.s: Likewise.
* ld-elf/tdata1.s: Likewise.
* ld-elf/tdata2.s: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/tbss1.s')
-rw-r--r-- | ld/testsuite/ld-elf/tbss1.s | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/tbss1.s b/ld/testsuite/ld-elf/tbss1.s new file mode 100644 index 00000000000..4f1631f2dc6 --- /dev/null +++ b/ld/testsuite/ld-elf/tbss1.s @@ -0,0 +1,24 @@ + .globl main + .globl start + .globl _start + .globl __start + .text +main: +start: +_start: +__start: + .byte 0 + .globl bss + .section .bss,"aw",%nobits + .p2align 12 + .type bss,%object + .size bss,4096 +bss: + .zero 4096 + .globl tbss + .section .tbss,"awT",%nobits + .p2align 12 + .type tbss,%object + .size tbss,4096 +tbss: + .zero 4096 |