diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 66bd938b5ce..b76df940944 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-10-24 Rainer Orth + + * objc/lang-specs.h: Handle -print-objc-runtime-info. + * doc/invoke.texi (Objective-C Dialect Options): Document it. + 2003-10-24 Danny Smith * config/i386/cygwin.asm. Add copyright notice. Add comment diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 52bdd6d1362..66b3f0ef965 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -1959,8 +1959,10 @@ while @code{-Wselector} only performs its checks in the final stage of compilation. This also enforces the coding style convention that methods and selectors must be declared before being used. -@c not documented because only avail via -Wp -@c @item -print-objc-runtime-info +@item -print-objc-runtime-info +@opindex -print-objc-runtime-info +Generate C header describing the largest structure that is passed by +value, if any. @end table diff --git a/gcc/objc/lang-specs.h b/gcc/objc/lang-specs.h index 39cbe5ca39c..fe34bed83fc 100644 --- a/gcc/objc/lang-specs.h +++ b/gcc/objc/lang-specs.h @@ -30,13 +30,13 @@ Boston, MA 02111-1307, USA. */ %{traditional|ftraditional|traditional-cpp:\ %eGNU Objective C no longer supports traditional compilation}\ %{save-temps|no-integrated-cpp:cc1obj -E %(cpp_options) -o %{save-temps:%b.mi} %{!save-temps:%g.mi} \n\ - cc1obj -fpreprocessed %{save-temps:%b.mi} %{!save-temps:%g.mi} %(cc1_options) %{gen-decls}}\ + cc1obj -fpreprocessed %{save-temps:%b.mi} %{!save-temps:%g.mi} %(cc1_options) %{print-objc-runtime-info} %{gen-decls}}\ %{!save-temps:%{!no-integrated-cpp:\ - cc1obj %(cpp_unique_options) %(cc1_options) %{gen-decls}}}\ + cc1obj %(cpp_unique_options) %(cc1_options) %{print-objc-runtime-info} %{gen-decls}}}\ %{!fsyntax-only:%(invoke_as)}}}}", 0}, {".mi", "@objc-cpp-output", 0}, {"@objc-cpp-output", - "%{!M:%{!MM:%{!E:cc1obj -fpreprocessed %i %(cc1_options) %{gen-decls}\ + "%{!M:%{!MM:%{!E:cc1obj -fpreprocessed %i %(cc1_options) %{print-objc-runtime-info} %{gen-decls}\ %{!fsyntax-only:%(invoke_as)}}}}", 0}, {"@objective-c-header", "%{E|M|MM:cc1obj -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}\ @@ -45,10 +45,10 @@ Boston, MA 02111-1307, USA. */ %{traditional|ftraditional|traditional-cpp:\ %eGNU Objective C no longer supports traditional compilation}\ %{save-temps|no-integrated-cpp:cc1obj -E %(cpp_options) -o %{save-temps:%b.mi} %{!save-temps:%g.mi} \n\ - cc1obj -fpreprocessed %b.mi %(cc1_options) %{gen-decls}\ + cc1obj -fpreprocessed %b.mi %(cc1_options) %{print-objc-runtime-info} %{gen-decls}\ -o %g.s %{!o*:--output-pch=%i.gch}\ %W{o*:--output-pch=%*}%V}\ %{!save-temps:%{!no-integrated-cpp:\ - cc1obj %(cpp_unique_options) %(cc1_options) %{gen-decls}\ + cc1obj %(cpp_unique_options) %(cc1_options) %{print-objc-runtime-info} %{gen-decls}\ -o %g.s %{!o*:--output-pch=%i.gch}\ %W{o*:--output-pch=%*}%V}}}}}", 0}, diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 3ba69649907..3032e7a40dd 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,7 @@ +2003-10-24 Rainer Orth + + * Makefile.in (runtime-info.h): Remove -Wp. + 2003-10-21 Rainer Orth * Makefile.in (CC1OBJ): Remove. diff --git a/libobjc/Makefile.in b/libobjc/Makefile.in index 0f112c6764e..1e6c337a6e0 100644 --- a/libobjc/Makefile.in +++ b/libobjc/Makefile.in @@ -155,7 +155,7 @@ OBJS_GC = archive_gc.lo class_gc.lo encoding_gc.lo gc_gc.lo hash_gc.lo \ runtime-info.h: echo "" > tmp-runtime.m echo "/* This file is automatically generated */" > $@ - $(CC) $(MULTIFLAGS) -Wp,-print-objc-runtime-info -S tmp-runtime.m >> $@ + $(CC) $(MULTIFLAGS) -print-objc-runtime-info -S tmp-runtime.m >> $@ rm -f tmp-runtime.m tmp-runtime.s archive_gc.lo: archive.c