mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
24aebc79b1
bfd * elf.c (_bfd_elf_maybe_function_sym): Do not accept annobin symbols as potential function symbols. * elfnn-aarch64.c (elfNN_aarch64_maybe_function_sym): Likewise. * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise. * elf32-arm.c (elf32_arm_maybe_function_sym): Likewise. ld * testsuite/ld-elf/anno-sym.s: New test source file. * testsuite/ld-elf/anno-sym.d: New test driver. * testsuite/ld-elf/anno-sym.l: New test error output.
14 lines
179 B
ArmAsm
14 lines
179 B
ArmAsm
.text
|
|
|
|
.hidden .annobin_hello.c
|
|
.type .annobin_hello.c, STT_NOTYPE
|
|
.equiv .annobin_hello.c, .
|
|
.size .annobin_hello.c, 0
|
|
|
|
.global _start
|
|
_start:
|
|
.nop
|
|
.align 4
|
|
.dc.a foo
|
|
|