2001-09-30 H.J. Lu <hjl@gnu.org>
* config/obj-elf.c (obj_elf_parse_section_letters): Accept "am" and "ams" for compatibility.
This commit is contained in:
parent
146be91a2b
commit
34105363c2
@ -1,3 +1,8 @@
|
||||
2001-09-30 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* config/obj-elf.c (obj_elf_parse_section_letters): Accept "am"
|
||||
and "ams" for compatibility.
|
||||
|
||||
2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
|
||||
|
||||
* config/tc-sh.c (md_pcrel_from_section): Transformed from
|
||||
|
@ -757,6 +757,18 @@ obj_elf_parse_section_letters (str, len)
|
||||
case 'S':
|
||||
attr |= SHF_STRINGS;
|
||||
break;
|
||||
/* Compatibility. */
|
||||
case 'm':
|
||||
if (*(str - 1) == 'a')
|
||||
{
|
||||
attr |= SHF_MERGE;
|
||||
if (len > 1 && str[1] == 's')
|
||||
{
|
||||
attr |= SHF_STRINGS;
|
||||
str++, len--;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
char *bad_msg = _("Unrecognized .section attribute: want a,w,x,M,S");
|
||||
|
Loading…
Reference in New Issue
Block a user