Geoffrey Keating wrote:
Andrew Pinski <pinskia@physics.uc.edu> writes:
* Makefile.am (extra_ldflags_libjava): New variable to
substitute in.
(LIBLINK): Add extra_ldflags_libjava to it.
* configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
"-Wl,-single_module".
This is OK.
I'm not very happy with this patch. I already mentioned it to Andrew.
Here on tiger 10.4.2 the situation gets worse. See the figures below.
Would you agree to do this change only for darwin7*?
Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/libjava/configure.ac,v
retrieving revision 1.36
diff -u -r1.36 configure.ac
--- configure.ac 19 Aug 2005 05:14:11 -0000 1.36
+++ configure.ac 20 Aug 2005 06:45:40 -0000
@@ -670,7 +670,7 @@
# extra LD Flags which are required for targets
case "${host}" in
- *-darwin*)
+ *-darwin7*)
# on Darwin -single_module speeds up loading of the dynamic
libraries.
extra_ldflags_libjava=-Wl,-single_module
;;
Afaik, the dyld and co got rewritten in tiger and now we have a slow
down. Maybe ld needs a rewrite too?
Here the figures :)