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 i386]: Add for win32 targets pre-prologue profiling feature


On Wed, Jul 28, 2010 at 08:49:45AM -0700, Richard Henderson wrote:
> On 07/28/2010 12:53 AM, Kai Tietz wrote:
> > But well, I can give it a whirl. To
> > make it default for all targets by defining the default in i386.h is
> > fine by me, but this will cause for targets - not providing in their
> > profiler-library this new entry - link-time failures. By defining it
> > for each target separately makes analyzis of support possible, but
> > well, what ever you want here.
> 
> Yes, but there are consumers like the linux kernel that plan to 
> provide their own version of the entry point.

At least on Linux it has to be guarded by the explicit -mfentry 
option for now. Later on the default could be set by testing glibc 
support in autoconf.

I don't see any reason to not enable non default -mfentry on any i386
target.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.


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