mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name.
Handle `execinstr' attribute.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jul 12 11:15:34 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
|
||||||
|
|
||||||
|
* config/obj-elf.c (obj_elf_section): Allow `@' to introduce an
|
||||||
|
attribute name. Handle `execinstr' attribute.
|
||||||
|
|
||||||
Mon Jul 12 07:22:28 1993 Ian Lance Taylor (ian@cygnus.com)
|
Mon Jul 12 07:22:28 1993 Ian Lance Taylor (ian@cygnus.com)
|
||||||
|
|
||||||
* config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
|
* config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
|
||||||
|
@ -101,7 +101,7 @@ obj_elf_section (xxx)
|
|||||||
char *p, oldp;
|
char *p, oldp;
|
||||||
|
|
||||||
input_line_pointer++;
|
input_line_pointer++;
|
||||||
if (*input_line_pointer != '#')
|
if (*input_line_pointer != '#' && *input_line_pointer != '@')
|
||||||
{
|
{
|
||||||
as_bad ("unrecognized syntax in .section command");
|
as_bad ("unrecognized syntax in .section command");
|
||||||
ignore_rest_of_line ();
|
ignore_rest_of_line ();
|
||||||
@ -115,6 +115,7 @@ obj_elf_section (xxx)
|
|||||||
|
|
||||||
CHECK ("write", SEC_READONLY, 1);
|
CHECK ("write", SEC_READONLY, 1);
|
||||||
CHECK ("alloc", SEC_ALLOC, 0);
|
CHECK ("alloc", SEC_ALLOC, 0);
|
||||||
|
CHECK ("execinstr", SEC_CODE, 1);
|
||||||
#undef CHECK
|
#undef CHECK
|
||||||
|
|
||||||
p = input_line_pointer;
|
p = input_line_pointer;
|
||||||
|
Reference in New Issue
Block a user