diff options
author | Nick Clifton <nickc@redhat.com> | 2012-05-28 14:20:19 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-05-28 14:20:19 +0000 |
commit | 7bfd842d05042bfa697b1ded0c8f9bf3e58171fe (patch) | |
tree | c85993ba7425bfecd4c4644402f98e36969b4306 /ld/testsuite/ld-ifunc | |
parent | e54e67a9e9744fbc370157d6ccd7f90859026ed3 (diff) | |
download | gdb-7bfd842d05042bfa697b1ded0c8f9bf3e58171fe.zip gdb-7bfd842d05042bfa697b1ded0c8f9bf3e58171fe.tar.gz gdb-7bfd842d05042bfa697b1ded0c8f9bf3e58171fe.tar.bz2 |
* 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.
Diffstat (limited to 'ld/testsuite/ld-ifunc')
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-13a-i386.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-15-i386.s | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-ifunc/ifunc-13a-i386.s b/ld/testsuite/ld-ifunc/ifunc-13a-i386.s index eb893af..5bda920 100644 --- a/ld/testsuite/ld-ifunc/ifunc-13a-i386.s +++ b/ld/testsuite/ld-ifunc/ifunc-13a-i386.s @@ -1,6 +1,6 @@ .text .type foo, @function - .global + .global foo foo: movl xxx@GOT(%ebx), %eax ret diff --git a/ld/testsuite/ld-ifunc/ifunc-15-i386.s b/ld/testsuite/ld-ifunc/ifunc-15-i386.s index 5ee4fab..ea541e2 100644 --- a/ld/testsuite/ld-ifunc/ifunc-15-i386.s +++ b/ld/testsuite/ld-ifunc/ifunc-15-i386.s @@ -1,6 +1,6 @@ .text .type foo, @function - .global + .global foo foo: movl ifunc@GOT(%ebx), %eax ret |