mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
* elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce
section names by inserting a new substring after .gnu.linkonce, except for .gnu.linkonce.t.* where the "t." is replaced.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2004-05-17 Bob Wilson <bob.wilson@acm.org>
|
||||||
|
|
||||||
|
* elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce
|
||||||
|
section names by inserting a new substring after .gnu.linkonce, except
|
||||||
|
for .gnu.linkonce.t.* where the "t." is replaced.
|
||||||
|
|
||||||
2004-05-17 Adam Nemet <anemet@lnxw.com>
|
2004-05-17 Adam Nemet <anemet@lnxw.com>
|
||||||
|
|
||||||
* config.bfd (sparc-*-lynxos* case): Add to obsolete list.
|
* config.bfd (sparc-*-lynxos* case): Add to obsolete list.
|
||||||
|
@ -5685,12 +5685,10 @@ xtensa_get_property_section_name (sec, base_name)
|
|||||||
prop_sec_name[linkonce_len + 1] = '.';
|
prop_sec_name[linkonce_len + 1] = '.';
|
||||||
|
|
||||||
suffix = sec->name + linkonce_len;
|
suffix = sec->name + linkonce_len;
|
||||||
while (*suffix)
|
/* For backward compatibility, replace "t." instead of inserting
|
||||||
{
|
the new linkonce_kind. */
|
||||||
suffix += 1;
|
if (strncmp (suffix, "t.", 2) == 0)
|
||||||
if (suffix[-1] == '.')
|
suffix += 2;
|
||||||
break;
|
|
||||||
}
|
|
||||||
strcpy (prop_sec_name + linkonce_len + 2, suffix);
|
strcpy (prop_sec_name + linkonce_len + 2, suffix);
|
||||||
|
|
||||||
return prop_sec_name;
|
return prop_sec_name;
|
||||||
|
Reference in New Issue
Block a user