The following test was on an i386 target, but the bug is not specific, most of the targets that use md_elf_section_letter are currently broken.
Using the test program (test.s): .section ".rodata", "z" .global foo foo: .word 1 Then assemble with: > gas -o test test.s test.s: Assembler messages: test.s:1: Warning: entity size for SHF_MERGE not specified test.s:1: Warning: group name for SHF_GROUP not specified test.s:1: Warning: setting incorrect section attributes for .rodata /projects/firepath_work/aburgess/GNU-binutils/build/gas/as-new: test: warning: sh_link not set for section `.rodata' The "z" section flag is invalid, and it didn't assemble, so I got what I deserved :) but we're not stopping with the correct error message in the correct place. I've got a patch for this and will append to this defect. -- Summary: Incorrect handling of invalid ELF section flags. Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: aburgess at broadcom dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=12011 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils