From: Ken Raeburn Date: Mon, 12 Jul 1993 15:17:10 +0000 (+0000) Subject: config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d4ef2968b50593fef90cfb97c37fae359142c95;p=binutils-gdb.git config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name. Handle `execinstr' attribute. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 679062f4f94..ee66ea023dd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c index 45eecfad8aa..95ea6df8508 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;