This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]