summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ifunc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-05-28 14:20:10 +0000
committerNick Clifton <nickc@redhat.com>2012-05-28 14:20:10 +0000
commitea4019f50de177819d16ee6d37b16a2576ad2e54 (patch)
tree942a263c5c6fa4eb35b6f25da252c478abd76611 /ld/testsuite/ld-ifunc
parent04d57b8c1f82581ae3fd894bb78b80f0edb6b02d (diff)
downloadbinutils-redhat-ea4019f50de177819d16ee6d37b16a2576ad2e54.tar.gz
* 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.s2
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-15-i386.s2
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 eb893af3d3..5bda920b7f 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 5ee4fab859..ea541e2978 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