aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-05-03 16:04:12 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-05-03 16:04:12 +0000
commit711ef82f1d0a4fb40bcec63df99e9beddd125659 (patch)
treec761d6195de76114d16a0aa9d7315cfa44e185e7 /gas/config/obj-elf.c
parent74cb52a637dc91275cfbf4f6b5ff003b0c782e2a (diff)
downloadgdb-711ef82f1d0a4fb40bcec63df99e9beddd125659.zip
gdb-711ef82f1d0a4fb40bcec63df99e9beddd125659.tar.gz
gdb-711ef82f1d0a4fb40bcec63df99e9beddd125659.tar.bz2
gas/
2003-05-03 H.J. Lu <hjl@gnu.org> * config/obj-elf.c (obj_elf_parse_section_letters): Make it a fatal error for unknown section attribute. * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for unknown section attribute. * config/tc-ia64.c (ia64_elf_section_letter): Likewise. * config/tc-ppc.c (ppc_section_letter): Likewise. * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'. (ia64_elf_section_type): Accept "unwind". gas/testsuite/ 2003-05-03 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add unwind. * gas/ia64/unwind.s: New. Test the new section attribute 'o' and the new section type "unwind". * gas/ia64/unwind.d: Likewise.
Diffstat (limited to 'gas/config/obj-elf.c')
-rw-r--r--gas/config/obj-elf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index 08e131f..ac836d7 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -845,10 +845,7 @@ obj_elf_parse_section_letters (str, len)
attr |= md_attr;
else
#endif
- {
- as_warn ("%s", bad_msg);
- attr = -1;
- }
+ as_fatal ("%s", bad_msg);
}
break;
}