[RFC] Pointer alignment issues in ld's map_input_to_output_sections

Alan Modra amodra@bigpond.net.au
Fri Jun 9 00:04:00 GMT 2006


On Thu, Jun 08, 2006 at 05:16:37PM -0600, Roger Sayle wrote:
> One suggestion was to change the output_statement_hash_entry struct
> to make "os" be a lang_statement_union_type instead of a
> lang_output_section_statement_type, but unfortunately this would
> mean increasing the size of each hash table entry to the largest
> member of that union.

This is the right solution.  lang_output_section_statement_type is one
of the largest elements of lang_statement_union_type.  It might even be
the largest.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list