avr.h: Do not include progmem_section definition when building with IN_TARGET_LIBS.
authorEric B. Weddington <eweddington@cso.atmel.com>
Wed, 24 Oct 2007 21:00:41 +0000 (21:00 +0000)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Wed, 24 Oct 2007 21:00:41 +0000 (01:00 +0400)
* config/avr/avr.h: Do not include progmem_section definition when
building with IN_TARGET_LIBS.

From-SVN: r129614

gcc/ChangeLog
gcc/config/avr/avr.h

index 536ada1c8fdded73cb972d548564c5d345b0d63b..bfbf0639e08d9bb14f953b5b7ca26dca60a9b2ef 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-24  Eric B. Weddington  <eweddington@cso.atmel.com>
+
+       * config/avr/avr.h: Do not include progmem_section definition when
+       building with IN_TARGET_LIBS.
+
 2007-10-24  Richard Sandiford  <rsandifo@nildram.co.uk>
 
        PR target/33755
index f529e1612dec4bc9ea28d8b3dba7ba7f0ce1bc48..1bb72bba054bbd3b630fdbb0d26456c31b5ac104 100644 (file)
@@ -53,7 +53,7 @@ extern int avr_mega_p;
 extern int avr_have_mul_p;
 extern int avr_asm_only_p;
 extern int avr_have_movw_lpmx_p;
-#ifndef IN_LIBGCC2
+#if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS)
 extern GTY(()) section *progmem_section;
 #endif