[PATCH] fix __buitin_return_address(0) on m32r*-*-*-*
Nick Clifton
nickc@redhat.com
Tue Jun 15 11:49:00 GMT 2004
Hi Kazuhiro,
> 2004-06-15 Kazuhiro Inaoka < inaoka dot kazuhiro at renesas dot com >
>
> * config/m32r/m32r.h (RETURN_ADDR_RTX): Define.
> (INCOMING_RETURN_ADDR_RTX): Define.
> * config/m32r/m32r-protos.h (m32r_return_addr): Added.
> * config/m32r/m32r.c (m32r_exppand_prologue): Changed for
> __builtin_return_address(0).
> (m32r_return_addr): Added for __builtin_return_address(0).
> (m32r_reload_lr): Ditto.
Applied to 3.4 branch and the mainline.
Cheers
Nick
More information about the Gcc-patches
mailing list