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: Patch for PR target/19889 (IA64 HP-UX profiling)


On Fri, Jun 17, 2005 at 11:20:03AM -0700, Steve Ellcey wrote:
> + #ifndef NO_PROFILE_COUNTERS
> + #define NO_PROFILE_COUNTERS 0
> + #endif

Not necessary.  A value is provided in ia64.h, so this will always
be defined somehow.

I thought you said that hpux didn't use the profile counters anyway?

> +       label = gen_rtx_SYMBOL_REF (Pmode, label_name);

You also want

	SYMBOL_REF_FLAGS (label) = SYMBOL_FLAG_LOCAL;

so that the proper relocation is used.  Otherwise ok.


r~


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