mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
7bfd842d05
Allows escape codes in names. (s_comm_internal): Use read_symbol_name. (s_globl, s_lsym, s_set, s_weakref): Likewise. * doc/as.texinfo: Document support for multibyte characters in symbol names. * gas/elf/syms.s: New test - checks the generation of multibyte symbol names. * gas/elf/syms.d: New file - expected readelf output. * gas/elf/elf.exp: Add syms. * readelf.c (print_symbol): Display multibyte characters in symbol names. (process_section_headers): Use print_symbol. * ld-ifunc/ifunc-13a-i386.s: Fix use of .global directive. * ld-ifunc/ifunc-15a-i385.s: Likewise.
11 lines
171 B
ArmAsm
11 lines
171 B
ArmAsm
.text
|
|
.type foo, @function
|
|
.global foo
|
|
foo:
|
|
movl ifunc@GOT(%ebx), %eax
|
|
ret
|
|
.type ifunc, @gnu_indirect_function
|
|
.globl ifunc
|
|
ifunc:
|
|
ret
|