• Nick Clifton's avatar
    * read.c (read_symbol_name): New function. Reads a symbol names. · 7bfd842d
    Nick Clifton authored
    	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.
    7bfd842d
read.c 146 KB