Re: -ffunction-sections and profiling
Greetings!
"John David Anglin" <dave@hiauly1.hia.nrc.ca> writes:
> > I wonder if jda has a comment about how to reach certain functions
> > by means of more complex stubs?
>
> This was done here:
>
> 2003-11-27 Randolph Chung <tausq@debian.org>
> John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
>
> * pa.c (hppa_profile_hook): Split gen_call_profiler into separate
> insns. Use the regular call expander for the call to the profiler.
>
> What version of gcc are you using?
>
3.3.3
> There's always the potential for the stub table to get too large.
> You can play with the ld option --stub-group-size=N. Another possibility
> is to build PA 2.0 code.
Thanks, will try the 2.0. Does this limit the binary in any practical
way?
Take care,
>
> Dave
> --
> J. David Anglin dave.anglin@nrc-cnrc.gc.ca
> National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
>
>
--
Camm Maguire camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
Reply to: