]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgcc/ChangeLog
re PR target/52461 ([avr] XMEGA+EBI: RAMPZ clobbered while reading from flash)
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 7 Mar 2012 10:33:19 +0000 (10:33 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 7 Mar 2012 10:33:19 +0000 (10:33 +0000)
commitb30e10aba7ee054286393da539d4fc4f534b5b5b
tree7638785fce50e0f49c390449f2a2707afca1e1d6
parenteb3e63ccf77951625062082a487a21d199a83b51
re PR target/52461 ([avr] XMEGA+EBI: RAMPZ clobbered while reading from flash)

libgcc/
PR target/52461
PR target/52508
* config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
if RAMPZ affects reading from RAM.
(__tablejump_elpm__): Ditto.
(.xload): Ditto.
(__movmemx_hi): Ditto.
(__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
(__do_global_dtors): Ditto.
(__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
(__movmemx_hi): Ditto.
gcc/
PR target/52461
* gcc/config/avr/avr.c (avr_out_lpm): Clear RAMPZ after usage
if RAMPZ affects reading from RAM.

From-SVN: r185030
gcc/ChangeLog
gcc/config/avr/avr.c
libgcc/ChangeLog
libgcc/config/avr/lib1funcs.S