diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-07-12 15:17:10 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-07-12 15:17:10 +0000 |
commit | 5d4ef2968b50593fef90cfb97c37fae359142c95 (patch) | |
tree | 1fc6922a4968cd2b84cc87f70ea76ecc1d29ee8e /gas | |
parent | e7affb090d4bd0ffc66040f3fd45a9f3c99102dc (diff) | |
download | gdb-5d4ef2968b50593fef90cfb97c37fae359142c95.zip gdb-5d4ef2968b50593fef90cfb97c37fae359142c95.tar.gz gdb-5d4ef2968b50593fef90cfb97c37fae359142c95.tar.bz2 |
config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name.
Handle `execinstr' attribute.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/obj-elf.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 679062f..ee66ea0 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 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; |