Patch for IA64 32-bit function descriptors

Richard Henderson rth@redhat.com
Tue Apr 2 18:52:00 GMT 2002


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~



More information about the Libstdc++ mailing list