]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/binutils-tumbl.git/commit
* read.c (read_symbol_name): New function. Reads a symbol names.
authorNick Clifton <nickc@redhat.com>
Mon, 28 May 2012 14:20:10 +0000 (14:20 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 28 May 2012 14:20:10 +0000 (14:20 +0000)
commitea4019f50de177819d16ee6d37b16a2576ad2e54
tree942a263c5c6fa4eb35b6f25da252c478abd76611
parent04d57b8c1f82581ae3fd894bb78b80f0edb6b02d
* 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