This is the mail archive of the
mailing list for the GCC project.
Re: ARM: Imply frame pointer for arm-linux profiling
On Wed, 2005-05-11 at 15:47, Daniel Jacobowitz wrote:
> That is a devilish trick. Of course to work on earlier cores it would
> need the appropriate relocation for bx ip -> mov pc, ip; ISTR that the
> GNU tools don't implement that yet.
> It won't be right away, but I will look into implementing this for
> arm-eabi and arm-none-linux-gnueabi.
There's another devilish trick for that too...
tst ip, #1
moveq pc, ip
Which works on any core that has a 32-bit program counter (for real
legacy 26-bit PCs it works in user mode too, since the bottom two bits