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]

PATCH ARM: Fix for profiling optimized code on Linux


The linux mcount function will clobber LR.  That's a problem when 
optimizing leaf functions, since these may not see that the LR value has 
been destroyed and so not save it in the prologue.

Fixed with:

2003-06-14  Richard Earnshaw  <rearnsha@arm.com>

	PR target/3724
	* arm/linux-elf.h (PROFILE_HOOK): Define.


Attachment: linux-prof.patch
Description: linux-prof.patch


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