PR gas/12011
commit503687d7b0da22b849a991dd19a86ebbe3b8ec3c
authorAlan Modra <amodra@bigpond.net.au>
Thu, 16 Sep 2010 23:55:08 +0000 (16 23:55 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 16 Sep 2010 23:55:08 +0000 (16 23:55 +0000)
treef5848cc2da9ddaa4e4190f3c4678f733114bcf46
parent494cc8775f8c29be0d041bac67d72b97bb814464
PR gas/12011
* config/obj-elf.c (obj_elf_parse_section_letters): Correct test
for error return from md_elf_section_letter.
* config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
* config/tc-i386.c (x86_64_section_letter): Likewise.
* config/tc-ia64.c (ia64_elf_section_letter): Likewise.
* config/tc-mep.c (mep_elf_section_letter): Likewise.
* gas/elf/bad-section-flag.d, * gas/elf/bad-section-flag.err,
* gas/elf/bad-section-flag.s: New test.
* gas/elf/elf.exp: Run it.
gas/ChangeLog
gas/config/obj-elf.c
gas/config/tc-alpha.c
gas/config/tc-i386.c
gas/config/tc-ia64.c
gas/config/tc-mep.c
gas/testsuite/ChangeLog
gas/testsuite/gas/elf/bad-section-flag.d [new file with mode: 0644]
gas/testsuite/gas/elf/bad-section-flag.err [new file with mode: 0644]
gas/testsuite/gas/elf/bad-section-flag.s [new file with mode: 0644]
gas/testsuite/gas/elf/elf.exp