This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC] Pointer alignment issues in ld's map_input_to_output_sections
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 9 Jun 2006 09:31:15 +0930
- Subject: Re: [RFC] Pointer alignment issues in ld's map_input_to_output_sections
- References: <Pine.LNX.4.44.0606081648440.1823-100000@www.eyesopen.com>
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