]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
* read.c (read_symbol_name): New function. Reads a symbol names.
authorNick Clifton <nickc@redhat.com>
Mon, 28 May 2012 14:20:19 +0000 (14:20 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 28 May 2012 14:20:19 +0000 (14:20 +0000)
commit7bfd842d05042bfa697b1ded0c8f9bf3e58171fe
treec85993ba7425bfecd4c4644402f98e36969b4306
parente54e67a9e9744fbc370157d6ccd7f90859026ed3
* read.c (read_symbol_name): New function.  Reads a symbol names.
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.
12 files changed:
binutils/ChangeLog
binutils/readelf.c
gas/ChangeLog
gas/doc/as.texinfo
gas/read.c
gas/testsuite/ChangeLog
gas/testsuite/gas/elf/elf.exp
gas/testsuite/gas/elf/syms.d [new file with mode: 0644]
gas/testsuite/gas/elf/syms.s [new file with mode: 0644]
ld/testsuite/ChangeLog
ld/testsuite/ld-ifunc/ifunc-13a-i386.s
ld/testsuite/ld-ifunc/ifunc-15-i386.s