mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
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.
This commit is contained in:
@ -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 ();
|
||||
|
Reference in New Issue
Block a user