Commit 7989e4dc by Rainer Orth Committed by Rainer Orth

Makefile.in (runtime-info.h): Remove -Wp.

	libobjc:
	* 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.

From-SVN: r72870
parent f5c64a69
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> 2003-10-24 Danny Smith <dannysmith@users.sourceforge.net>
* config/i386/cygwin.asm. Add copyright notice. Add comment * config/i386/cygwin.asm. Add copyright notice. Add comment
......
...@@ -1959,8 +1959,10 @@ while @code{-Wselector} only performs its checks in the final stage of ...@@ -1959,8 +1959,10 @@ while @code{-Wselector} only performs its checks in the final stage of
compilation. This also enforces the coding style convention compilation. This also enforces the coding style convention
that methods and selectors must be declared before being used. that methods and selectors must be declared before being used.
@c not documented because only avail via -Wp @item -print-objc-runtime-info
@c @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 @end table
......
...@@ -30,13 +30,13 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,13 +30,13 @@ Boston, MA 02111-1307, USA. */
%{traditional|ftraditional|traditional-cpp:\ %{traditional|ftraditional|traditional-cpp:\
%eGNU Objective C no longer supports traditional compilation}\ %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\ %{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:\ %{!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}, %{!fsyntax-only:%(invoke_as)}}}}", 0},
{".mi", "@objc-cpp-output", 0}, {".mi", "@objc-cpp-output", 0},
{"@objc-cpp-output", {"@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}, %{!fsyntax-only:%(invoke_as)}}}}", 0},
{"@objective-c-header", {"@objective-c-header",
"%{E|M|MM:cc1obj -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}\ "%{E|M|MM:cc1obj -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}\
...@@ -45,10 +45,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -45,10 +45,10 @@ Boston, MA 02111-1307, USA. */
%{traditional|ftraditional|traditional-cpp:\ %{traditional|ftraditional|traditional-cpp:\
%eGNU Objective C no longer supports traditional compilation}\ %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\ %{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}\ -o %g.s %{!o*:--output-pch=%i.gch}\
%W{o*:--output-pch=%*}%V}\ %W{o*:--output-pch=%*}%V}\
%{!save-temps:%{!no-integrated-cpp:\ %{!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}\ -o %g.s %{!o*:--output-pch=%i.gch}\
%W{o*:--output-pch=%*}%V}}}}}", 0}, %W{o*:--output-pch=%*}%V}}}}}", 0},
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> 2003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Makefile.in (CC1OBJ): Remove. * Makefile.in (CC1OBJ): Remove.
......
...@@ -155,7 +155,7 @@ OBJS_GC = archive_gc.lo class_gc.lo encoding_gc.lo gc_gc.lo hash_gc.lo \ ...@@ -155,7 +155,7 @@ OBJS_GC = archive_gc.lo class_gc.lo encoding_gc.lo gc_gc.lo hash_gc.lo \
runtime-info.h: runtime-info.h:
echo "" > tmp-runtime.m echo "" > tmp-runtime.m
echo "/* This file is automatically generated */" > $@ 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 rm -f tmp-runtime.m tmp-runtime.s
archive_gc.lo: archive.c archive_gc.lo: archive.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment