bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: aburgess at broadcom dot com
Subject: [Bug gas/12011] Incorrect handling of invalid ELF section flags.
Date: 13 Sep 2010 10:42:04 -0000

------- 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 error, anything else is assumed to be a flag and is merged,
this includes 0, this allows targets to ignore flags if they want (I think this
is pretty useful).

I've changed all the targets to comply, and while I was in the area I've
tweaked the error message so it includes the offending flag character, and fix
the capitalisation on the error message to match.

-- 


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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]