1224efb888
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.
24 lines
320 B
ArmAsm
24 lines
320 B
ArmAsm
.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
|