packages: gcc/gcc-ada-link.patch - updated for 4.5.0.

pluto pluto at pld-linux.org
Fri Apr 16 10:17:47 CEST 2010


Author: pluto                        Date: Fri Apr 16 08:17:47 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated for 4.5.0.

---- Files affected:
packages/gcc:
   gcc-ada-link.patch (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/gcc/gcc-ada-link.patch
diff -u packages/gcc/gcc-ada-link.patch:1.10 packages/gcc/gcc-ada-link.patch:1.11
--- packages/gcc/gcc-ada-link.patch:1.10	Sat Jan  3 01:09:08 2009
+++ packages/gcc/gcc-ada-link.patch	Fri Apr 16 10:17:42 2010
@@ -1,14 +1,15 @@
 --- a/gcc/ada/link.c	2004-09-13 12:18:40.000000000 +0200
 +++ b/gcc/ada/link.c	2004-09-26 12:24:29.079704096 +0200
-@@ -164,9 +164,9 @@
+@@ -213,10 +213,10 @@
  
- #elif defined (linux)
+ #elif defined (linux) || defined(__GLIBC__)
  const char *__gnat_object_file_option = "";
 -const char *__gnat_run_path_option = "-Wl,-rpath,";
--char __gnat_shared_libgnat_default = STATIC;
--int __gnat_link_max = 8192;
 +const char *__gnat_run_path_option = "";
-+char __gnat_shared_libgnat_default = SHARED;
+ char __gnat_shared_libgnat_default = STATIC;
+-char __gnat_shared_libgcc_default = STATIC;
+-int __gnat_link_max = 8192;
++char __gnat_shared_libgcc_default = SHARED;
 +int __gnat_link_max = 131072;
  unsigned char __gnat_objlist_file_supported = 1;
  unsigned char __gnat_using_gnu_linker = 1;
@@ -26,7 +27,7 @@
  # being built so we can distribute a pregenerated gnat_ugn_unw.info
 --- a/gcc/ada/gcc-interface/Makefile.in	2005-05-26 10:48:40.000000000 +0000
 +++ b/gcc/ada/gcc-interface/Makefile.in	2005-05-26 10:59:25.000000000 +0000
-@@ -138,7 +138,7 @@
+@@ -126,7 +126,7 @@
  objext = .o
  exeext =
  arext  = .a
@@ -35,16 +36,16 @@
  shext  =
  hyphen = -
  
-@@ -1669,7 +1669,7 @@
- 
- LIBGNAT=../rts/libgnat.a 
+@@ -193,7 +193,7 @@
+ # Link flags used to build gnat tools.  By default we prefer to statically
+ # link with libgcc to avoid a dependency on shared libgcc (which is tricky
+ # to deal with as it may conflict with the libgcc provided by the system).
+-GCC_LINK_FLAGS=-static-libgcc
++GCC_LINK_FLAGS=
  
--GCC_LINK=$(CC) -static-libgcc $(ADA_INCLUDES)
-+GCC_LINK=$(CC) $(ADA_INCLUDES)
+ # End of variables for you to override.
  
- # when compiling the tools, the runtime has to be first on the path so that
- # it hides the runtime files lying with the rest of the sources
-@@ -1948,7 +1948,8 @@
+@@ -2489,7 +2489,8 @@
  		-o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
  		$(GNATRTL_TASKING_OBJS) \
  		$(SO_OPTS)libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
@@ -54,7 +55,7 @@
  	cd $(RTSDIR); $(LN_S) libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
  		libgnat$(soext)
  	cd $(RTSDIR); $(LN_S) libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
-@@ -1995,7 +1996,7 @@
+@@ -2546,7 +2547,7 @@
  	     THREAD_KIND="$(THREAD_KIND)" \
               gnatlib
  	$(RM) $(RTSDIR)/libgna*$(soext)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gcc/gcc-ada-link.patch?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list