From 5d4ef2968b50593fef90cfb97c37fae359142c95 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 12 Jul 1993 15:17:10 +0000 Subject: config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name. Handle `execinstr' attribute. --- gas/config/obj-elf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gas/config/obj-elf.c') 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; -- cgit v1.1