mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
16583161e1
bfd/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11143 * elflink.c (elf_gc_sweep): Keep SHT_NOTE section. ld/testsuite/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11143 * ld-gc/gc.exp: Run abi-note. * ld-gc/abi-note.d: New. * ld-gc/abi-note.s: Likewise.
16 lines
285 B
ArmAsm
16 lines
285 B
ArmAsm
.text
|
|
.global _start
|
|
_start:
|
|
.long 1
|
|
|
|
.section ".note.ABI-tag", "a"
|
|
.p2align 2
|
|
.long 1f - 0f /* name length */
|
|
.long 3f - 2f /* data length */
|
|
.long 1 /* note type */
|
|
0: .asciz "GNU" /* vendor name */
|
|
1: .p2align 2
|
|
2: .long 1
|
|
.long 2
|
|
3: .p2align 2 /* pad out section */
|