aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/objc/lang-specs.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 04b94c0..f7ebee3 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-14 Mike Stump <mrs@apple.com>
+
+ * lang-specs.h ("@objective-c"): Use cc1obj when -E is used so
+ that -fobjc-exceptions is accepted.
+
2004-12-30 Ziemowit Laski <zlaski@apple.com>
PR objc/18971
diff --git a/gcc/objc/lang-specs.h b/gcc/objc/lang-specs.h
index eb9e637..510ad46 100644
--- a/gcc/objc/lang-specs.h
+++ b/gcc/objc/lang-specs.h
@@ -24,8 +24,8 @@ Boston, MA 02111-1307, USA. */
{".m", "@objective-c", 0, 0, 0},
{"@objective-c",
- "%{E|M|MM:%(trad_capable_cpp)\
- -lang-objc %(cpp_options) %(cpp_debug_options)}\
+ "%{E|M|MM:cc1obj -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}\
+ %(cpp_options) %(cpp_debug_options)}\
%{!E:%{!M:%{!MM:\
%{traditional|ftraditional|traditional-cpp:\
%eGNU Objective C no longer supports traditional compilation}\