aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r--gas/config/obj-elf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index 45eecfa..95ea6df 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -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;