Re: [PATCH] make CALLER_ADDRx overwriteable

From: Uwe Kleine-König
Date: Wed Feb 25 2009 - 17:26:38 EST


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 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/