Patch for HP-UX IA64 (related to PR 24718)
Mark Mitchell
mark@codesourcery.com
Tue Nov 15 01:06:00 GMT 2005
Steve Ellcey wrote:
> The HP-UX linker complains about linking in empty objects and
> libgcc_eh.a would normally be empty on HP-UX IA64 because we use the
> system unwind library. An earlier change created a dummy object
> (eh_dummy.c) to fix this and when using the GNU ar command to create
> libgcc_eh.a, the existing setup works fine.
>
> But if you use the HP ar command then the 'struct eh_dummy;' line is not
> sufficient to make the linker shut up and we need a real object in the
> file like 'int __libgcc_eh_dummy;'
>
> This patch is to make that change and was tested with no regressions, I
> would like to check it in on the 4.0 branch and on ToT. I will submit a
> larger patch for the 3.4 branch because that branch does not have any of
> the eh_dummy code in it yet.
>
> OK for checkin? Is the 4.0 branch open?
OK for mainline and 4.0 branch.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304
More information about the Gcc-patches
mailing list