https://sourceware.org/bugzilla/show_bug.cgi?id=19849
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |amodra at gmail dot com
Resolution|--- |INVALID
--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Your assembler is broken. It is generating SHT_GROUP sections with SHF_GROUP
sh_flags set. SHF_GROUP is set for members of a group, not the SHT_GROUP
section containing section indices for the group.
See http://www.sco.com/developers/gabi/latest/ch4.sheader.html
"A section of type SHT_GROUP defines such a grouping of sections. The name of a
symbol from one of the containing object's symbol tables provides a signature
for the section group. The section header of the SHT_GROUP section specifies
the identifying symbol entry, as described above: the sh_link member contains
the section header index of the symbol table section that contains the entry.
The sh_info member contains the symbol table index of the identifying entry.
The sh_flags member of the section header contains 0. The name of the section
(sh_name) is not specified."
and
"SHF_GROUP
This section is a member (perhaps the only one) of a section group. The
section must be referenced by a section of type SHT_GROUP. The SHF_GROUP flag
may be set only for sections contained in relocatable objects (objects with the
ELF header e_type member set to ET_REL). See below for further details."
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils