[PATCH]: NO_PROFILING_COUNTERS for sparc*-linux

Andreas Tobler andreast-list@fgznet.ch
Wed May 14 21:58:00 GMT 2008


David Miller wrote:
> From: Andreas Tobler <andreast-list@fgznet.ch>
> Date: Wed, 14 May 2008 19:48:31 +0200
> 
>> David Miller wrote:
>>> I noticed that GCC was emitting the counters into the data section for
>>> these targets and that isn't appropriate at all.
>>>
>>> I'll do some research to see if this should be done on Solaris or
>>> other sparc platforms.
>>>
>>> Committed to mainline.
>> And broke bootstrap on sparc Solaris :)
> 
> Sorry about that.
> 
>> We should at least define NO_PROFILE_COUNTERS also in sparc.h, right?
>>
>> According to your comments above I guess it should be defined to 0?
>>
>> Is the attached patch ok?
> 
> Yes, it is.
> 
> Sorry again.

No worry.
Thanks, committed.
Andreas



More information about the Gcc-patches mailing list