avr-libc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-commit] [2257] 2011-09-26 Eric B.


From: Eric Weddington
Subject: [avr-libc-commit] [2257] 2011-09-26 Eric B.
Date: Mon, 26 Sep 2011 16:59:36 +0000

Revision: 2257
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2257
Author:   arcanum
Date:     2011-09-26 16:59:36 +0000 (Mon, 26 Sep 2011)
Log Message:
-----------
2011-09-26  Eric B. Weddington <address@hidden>

        Partial fix for bug #32945.
        * common/macros.inc (LPM_R0_ZPLUS_* macros): Replace condition of
    BIG_CODE with __AVR_HAVE_ELPM__.

Ticket Links:
------------
    http://savannah.gnu.org/bugs/?32945

Modified Paths:
--------------
    trunk/avr-libc/ChangeLog
    trunk/avr-libc/common/macros.inc

Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog    2011-09-26 15:39:20 UTC (rev 2256)
+++ trunk/avr-libc/ChangeLog    2011-09-26 16:59:36 UTC (rev 2257)
@@ -1,5 +1,11 @@
 2011-09-26  Eric B. Weddington <address@hidden>
 
+       Partial fix for bug #32945.
+       * common/macros.inc (LPM_R0_ZPLUS_* macros): Replace condition of
+    BIG_CODE with __AVR_HAVE_ELPM__.
+
+2011-09-26  Eric B. Weddington <address@hidden>
+
        Partial fix for bug #33716.
        * include/avr/pgmspace.h: Deprecate typedefs with __progmem__ attribute.
        Document as such.

Modified: trunk/avr-libc/common/macros.inc
===================================================================
--- trunk/avr-libc/common/macros.inc    2011-09-26 15:39:20 UTC (rev 2256)
+++ trunk/avr-libc/common/macros.inc    2011-09-26 16:59:36 UTC (rev 2257)
@@ -342,7 +342,7 @@
 
        .macro  LPM_R0_ZPLUS_INIT hhi
 #if __AVR_ENHANCED__
-  #if BIG_CODE
+  #if __AVR_HAVE_ELPM__
        out     AVR_RAMPZ_ADDR, \hhi
   #endif
 #endif
@@ -350,7 +350,7 @@
 
        .macro  LPM_R0_ZPLUS_NEXT hhi
 #if __AVR_ENHANCED__
-  #if BIG_CODE
+  #if __AVR_HAVE_ELPM__
     /* ELPM with RAMPZ:Z post-increment, load RAMPZ only once */
        elpm    r0, Z+
   #else
@@ -358,7 +358,7 @@
        lpm     r0, Z+
   #endif
 #else
-  #if BIG_CODE
+  #if __AVR_HAVE_ELPM__
     /* ELPM without post-increment, load RAMPZ each time (ATmega103) */
        out     AVR_RAMPZ_ADDR, \hhi
        elpm




reply via email to

[Prev in Thread] Current Thread [Next in Thread]