[Bug gas/12011] Incorrect handling of invalid ELF section flags.

2010-09-13 Thread aburgess at broadcom dot com
--- Additional Comments From aburgess at broadcom dot com 2010-09-13 11:34 --- Created an attachment (id=4979) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4979&action=view) New test for this issue The tar file contains a new test for this issue that could be added to the src/

[Bug gas/12011] Incorrect handling of invalid ELF section flags.

2010-09-13 Thread aburgess at broadcom dot com
--- Additional Comments From aburgess at broadcom dot com 2010-09-13 10:42 --- Created an attachment (id=4978) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4978&action=view) Proposed patch The patch changes the behaviour so that md_elf_section_letter returns (bfd_vma)-1 for er

[Bug gas/12011] New: Incorrect handling of invalid ELF section flags.

2010-09-13 Thread aburgess at broadcom dot com
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