config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name.

Handle `execinstr' attribute.
This commit is contained in:
Ken Raeburn 1993-07-12 15:17:10 +00:00
parent e7affb090d
commit 5d4ef2968b
2 changed files with 7 additions and 1 deletions

View File

@ -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)
* config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if

View File

@ -101,7 +101,7 @@ obj_elf_section (xxx)
char *p, oldp;
input_line_pointer++;
if (*input_line_pointer != '#')
if (*input_line_pointer != '#' && *input_line_pointer != '@')
{
as_bad ("unrecognized syntax in .section command");
ignore_rest_of_line ();
@ -115,6 +115,7 @@ obj_elf_section (xxx)
CHECK ("write", SEC_READONLY, 1);
CHECK ("alloc", SEC_ALLOC, 0);
CHECK ("execinstr", SEC_CODE, 1);
#undef CHECK
p = input_line_pointer;