config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name.
Handle `execinstr' attribute.
This commit is contained in:
parent
e7affb090d
commit
5d4ef2968b
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue