diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-05-02 02:46:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-05-02 02:46:36 +0000 |
commit | 612d7b83dd2280df7aa167e104fc809983efe16c (patch) | |
tree | b0fabf22bceced63e3dce8b8243841dd36e43066 /gas/config/obj-elf.c | |
parent | 395f4d9b6a84690e5901e0580ff17241ca9fc01a (diff) | |
download | gdb-612d7b83dd2280df7aa167e104fc809983efe16c.zip gdb-612d7b83dd2280df7aa167e104fc809983efe16c.tar.gz gdb-612d7b83dd2280df7aa167e104fc809983efe16c.tar.bz2 |
gas/
2003-05-01 H.J. Lu <hjl@gnu.org>
* config/tc-ia64.h (tc_canonicalize_section_name): New.
* config/obj-elf.c (obj_elf_section_name): Call
tc_canonicalize_section_name if it is defined.
gas/testsuite/
2003-05-01 H.J. Lu <hjl@gnu.org>
* gas/ia64/ia64.exp: Add secname.
* gas/ia64/secname.s: New. Test the trailing '#' in section
name.
* gas/ia64/secname.d: Likewise.
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r-- | gas/config/obj-elf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index 7c2423c..f61285a 100644 --- a/gas/config/obj-elf.c +++ b/gas/config/obj-elf.c @@ -940,6 +940,9 @@ obj_elf_section_name () name = xmalloc (end - input_line_pointer + 1); memcpy (name, input_line_pointer, end - input_line_pointer); name[end - input_line_pointer] = '\0'; +#ifdef tc_canonicalize_section_name + name = tc_canonicalize_section_name (name); +#endif input_line_pointer = end; } SKIP_WHITESPACE (); |