mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
2856a62723
* testsuite/ld-i386/i386.exp: Run load7. * testsuite/ld-i386/load7.d: New file. * testsuite/ld-i386/load7.map: Likewise. * testsuite/ld-i386/load7.s: Likewise. * testsuite/ld-x86-64/load2.d: Likewise. * testsuite/ld-x86-64/load2.map: Likewise. * testsuite/ld-x86-64/load2.s: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run load2.
19 lines
358 B
ArmAsm
19 lines
358 B
ArmAsm
.section my_section,"aw",@progbits
|
|
.long 0x12345678
|
|
.text
|
|
.globl foo
|
|
.type foo, @function
|
|
foo:
|
|
ret
|
|
.size foo, .-foo
|
|
.globl _start
|
|
.type _start, @function
|
|
_start:
|
|
movl foo@GOT(%ecx), %eax
|
|
movl bar@GOT(%ecx), %eax
|
|
movl __start_my_section@GOT(%ecx), %eax
|
|
movl __stop_my_section@GOT(%ecx), %eax
|
|
.size _start, .-_start
|
|
.comm pad,4,4
|
|
.comm bar,4,4
|