PR gas/12011
authorAlan Modra <amodra@gmail.com>
Thu, 16 Sep 2010 23:55:10 +0000 (23:55 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 16 Sep 2010 23:55:10 +0000 (23:55 +0000)
commit8f3bae45202d47cc88273b0060a458841cd46282
treed4787efeb6e0b9decb4271af7a13af17c121d598
parent1558ab4ce71d8db60e2897fc2ea8a963ded878dd
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