libobjc:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Oct 2003 21:20:54 +0000 (21:20 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Oct 2003 21:20:54 +0000 (21:20 +0000)
* Makefile.in (runtime-info.h): Remove -Wp.

gcc:
* objc/lang-specs.h: Handle -print-objc-runtime-info.
* doc/invoke.texi (Objective-C Dialect Options): Document it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72870 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/invoke.texi
gcc/objc/lang-specs.h
libobjc/ChangeLog
libobjc/Makefile.in

index 66bd938..b76df94 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * objc/lang-specs.h: Handle -print-objc-runtime-info.
+       * doc/invoke.texi (Objective-C Dialect Options): Document it.
+
 2003-10-24  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * config/i386/cygwin.asm. Add copyright notice. Add comment
index 52bdd6d..66b3f0e 100644 (file)
@@ -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
 
index 39cbe5c..fe34bed 100644 (file)
@@ -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},
index 3ba6964..3032e7a 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * Makefile.in (runtime-info.h): Remove -Wp.
+
 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * Makefile.in (CC1OBJ): Remove.
index 0f112c6..1e6c337 100644 (file)
@@ -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