mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
864bb26cb3
gas * write.c (maybe_generate_build_notes): Generate notes on a per-code-section basis. Skip linkonce sections. ld * testsuite/ld-elf/notes.exp: New file: Run new test. * testsuite/ld-elf/note1_1.s: New file: Source file for test. * testsuite/ld-elf/note1_2.s: New file: Source file for test. * testsuite/ld-elf/note1.r: New file: Expected readelf output.
18 lines
271 B
ArmAsm
18 lines
271 B
ArmAsm
.section .gnu.linkonce.t.thunk.ax,"ax",%progbits
|
|
.globl thunk.ax
|
|
.hidden thunk.ax
|
|
.p2align 4
|
|
.type thunk.ax,%function
|
|
thunk.ax:
|
|
.dc.l 0
|
|
.size thunk.ax, . - thunk.ax
|
|
|
|
.p2align 4
|
|
.globl foo
|
|
.type foo,%function
|
|
foo:
|
|
.dc.a thunk.ax
|
|
.dc.l 0
|
|
.size foo, . - foo
|
|
|