Browse Source
* 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.binutils-2_21-branch
11 changed files with 30 additions and 7 deletions
@ -0,0 +1,2 @@ |
|||
#name: Check bad section flag |
|||
#error-output: bad-section-flag.err |
|||
@ -0,0 +1,2 @@ |
|||
.*bad-section-flag\.s: Assembler messages: |
|||
.*bad-section-flag\.s:1: Fatal error: .* |
|||
@ -0,0 +1 @@ |
|||
.section ".rodata", "z~&q" |
|||
Loading…
Reference in new issue