This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Patch for IA64 32-bit function descriptors
- From: Richard Henderson <rth at redhat dot com>
- To: Jessica Han <jessica at cup dot hp dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Tue, 2 Apr 2002 18:49:17 -0800
- Subject: Re: Patch for IA64 32-bit function descriptors
- References: <005b01c1da8c$102e4930$8b63f40f@JH761542>
On Tue, Apr 02, 2002 at 01:19:23PM -0800, Jessica Han wrote:
> The HP linker requires function descriptors to be 8 bytes
> aligned even in 32-bit mode.
Ug. Nice of the linker folk to talk to the abi folk before
coming up with that gem.
I don't like the patch much -- it's too invasive on other
systems, and it infers entirely different behaviour from
the magic value 4.
And is this _really_ the vtable layout the HP folk are using
in ilp32 mode?
Assuming yes, I'd prefer you add a TARGET_VTABLE_ENTRY_ALIGN
define, then use _that_ to set DECL_ALIGN and add the other
necessary spaceing.
r~