Re: [PATCH] make CALLER_ADDRx overwriteable

Uwe Kleine-König
2009-02-25T22:26:38Z

On Wed, Feb 25, 2009 at 05:20:13PM -0500, Mike Frysinger wrote:
> On Wed, Feb 25, 2009 at 17:16, Uwe Kleine-König wrote:
> > The current definition of CALLER_ADDRx isn't suitable for all platforms.
> > E.g. for ARM __builtin_return_address(N) doesn't work for N > 0
>
> afaik, the same applies to the Blackfin port. we looked at
> implementing __builtin_return_address(N) and decided it wasnt worth
> the hassle.
I think the same applies for ARM:

http://thread.gmane.org/gmane.comp.gcc.devel/103804

Best regards
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Strasse 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |