diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2012-03-07 10:36:30 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2012-03-07 10:36:30 +0000 |
commit | 611082257d0365f045685d125954cb5294a8c7b8 (patch) | |
tree | d974173fcc910f559c632ce71aa04b29bba151f4 /libgcc | |
parent | b30e10aba7ee054286393da539d4fc4f534b5b5b (diff) | |
download | gcc-611082257d0365f045685d125954cb5294a8c7b8.tar.gz |
re PR target/52505 ([avr]: __memx address space reading unintentionally from RAM)
libgcc/
PR target/52505
* config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
from RAM.
gcc/
PR target/52505
* config/avr/avr.c (avr_out_xload): Don't read unintentionally
from RAM.
* config/avr/avr.md (xload_8): Adjust insn length.
From-SVN: r185031
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/avr/lib1funcs.S | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index a85c6948e10..95024243732 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,5 +1,11 @@ 2012-03-07 Georg-Johann Lay <avr@gjlay.de> + PR target/52505 + * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally + from RAM. + +2012-03-07 Georg-Johann Lay <avr@gjlay.de> + PR target/52461 PR target/52508 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage diff --git a/libgcc/config/avr/lib1funcs.S b/libgcc/config/avr/lib1funcs.S index 1a8c7a1ce8b..6e6c390059b 100644 --- a/libgcc/config/avr/lib1funcs.S +++ b/libgcc/config/avr/lib1funcs.S @@ -2131,6 +2131,7 @@ ENDF __load_4 #if defined (L_xload_1) DEFUN __xload_1 #if defined (__AVR_HAVE_LPMX__) && !defined (__AVR_HAVE_ELPM__) + sbrc HHI8, 7 ld D0, Z sbrs HHI8, 7 lpm D0, Z |