aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-01-14 18:47:52 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2011-01-14 18:47:52 +0000
commite7f2f53750d33ca0926925646c041abec3c76634 (patch)
treeccbaac4274e8c71ff7d881ad51f71d3e73c78b41
parent5ebe1114f9ef33e1112da8a8fb30749b208f6205 (diff)
downloadgcc-e7f2f53750d33ca0926925646c041abec3c76634.zip
gcc-e7f2f53750d33ca0926925646c041abec3c76634.tar.gz
gcc-e7f2f53750d33ca0926925646c041abec3c76634.tar.bz2
avr.h (CPP_SPEC): Don't handle -posix.
* config/avr/avr.h (CPP_SPEC): Don't handle -posix. (CC1_SPEC): Don't handle -profile. From-SVN: r168807
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/avr/avr.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 144c9b4..6989f9d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2011-01-14 Joseph Myers <joseph@codesourcery.com>
+ * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
+ (CC1_SPEC): Don't handle -profile.
+
+2011-01-14 Joseph Myers <joseph@codesourcery.com>
+
* config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
* config/mips/mips.h (CC1_SPEC): Likewise.
diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h
index 9ad914e..9a71078 100644
--- a/gcc/config/avr/avr.h
+++ b/gcc/config/avr/avr.h
@@ -1,7 +1,7 @@
/* Definitions of target machine for GNU compiler,
for ATMEL AVR at90s8515, ATmega103/103L, ATmega603/603L microcontrollers.
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
- 2008, 2009, 2010
+ 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
Contributed by Denis Chertykov (chertykov@gmail.com)
@@ -739,9 +739,9 @@ extern const char *avr_device_to_devicelib (int argc, const char **argv);
{ "device_to_startfile", avr_device_to_startfiles }, \
{ "device_to_devicelib", avr_device_to_devicelib },
-#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}"
+#define CPP_SPEC ""
-#define CC1_SPEC "%{profile:-p}"
+#define CC1_SPEC ""
#define CC1PLUS_SPEC "%{!frtti:-fno-rtti} \
%{!fenforce-eh-specs:-fno-enforce-eh-specs} \