From 7bfd842d05042bfa697b1ded0c8f9bf3e58171fe Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 28 May 2012 14:20:19 +0000 Subject: * 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. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-ifunc/ifunc-13a-i386.s | 2 +- ld/testsuite/ld-ifunc/ifunc-15-i386.s | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'ld') diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 086123b..751a387 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-05-28 Nick Clifton + + * ld-ifunc/ifunc-13a-i386.s: Fix use of .global directive. + * ld-ifunc/ifunc-15a-i385.s: Likewise. + 2012-05-28 Alan Modra PR ld/14170 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 -- cgit v1.1