This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix ia64 profiling
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: joseph at codesourcery dot com, rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 8 Jun 2005 13:59:11 -0700 (PDT)
- Subject: Re: fix ia64 profiling
> Well, actually it fixes only the gas warning from 19889.
> I have no idea about the hpux "can't find library" message.
>
>
> r~
The 'can't find library' message should only occur on ia64 hpux if one
uses -static. This test only uses -static for hppa hpux, so I think
that is fine.
The test might start working with Richard's change but I don't think
profiling in general will work on hpux with this change. I did some
changes earlier to use PROFILE_HOOK instead of FUNCTION_PROFILER on
hpux. I talked to Jim Wilson some about doing the same for ia64 linux
but the _mcount routine on linux cannot be called with the standard
procedure conventions. We could call __mcount instead and use
PROFILE_HOOK on linux but linux does not currently make the __mcount
entry point visible to external callers (it is only called by _mcount
right now).
I think I will recreate and retest my patch that makes hpux use
PROFILE_HOOK instead of FUNCTION_PROFILER and submit it.
Steve Ellcey
sje@cup.hp.com