mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (obj_elf_change_section): Allow the ".note.GNU-stack" section has SHF_EXECINSTR.
This commit is contained in:
parent
c848556f07
commit
b9f18452d4
@ -1,3 +1,8 @@
|
||||
2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/obj-elf.c (obj_elf_change_section): Allow the
|
||||
".note.GNU-stack" section has SHF_EXECINSTR.
|
||||
|
||||
2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/obj-elf.c (get_section): Return bfd_boolean.
|
||||
|
@ -600,6 +600,10 @@ obj_elf_change_section (const char *name,
|
||||
|| strcmp (name, ".strtab") == 0
|
||||
|| strcmp (name, ".symtab") == 0))
|
||||
override = TRUE;
|
||||
/* .note.GNU-stack can have SHF_EXECINSTR. */
|
||||
else if (attr == SHF_EXECINSTR
|
||||
&& strcmp (name, ".note.GNU-stack") == 0)
|
||||
override = TRUE;
|
||||
else
|
||||
{
|
||||
if (group_name == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user