]> git.pld-linux.org Git - packages/gcc.git/blame - gcc-ada-link.patch
- pl for libasan,libtsan,libatomic
[packages/gcc.git] / gcc-ada-link.patch
CommitLineData
468d07c5
PS
1--- a/gcc/ada/link.c 2004-09-13 12:18:40.000000000 +0200
2+++ b/gcc/ada/link.c 2004-09-26 12:24:29.079704096 +0200
1a8eb1fb 3@@ -157,10 +157,10 @@
426f688a 4
6b25254a 5 #elif defined (linux) || defined(__GLIBC__)
1a8eb1fb 6 const char *__gnat_object_file_option = "-Wl,@";
29255619 7-const char *__gnat_run_path_option = "-Wl,-rpath,";
29255619 8+const char *__gnat_run_path_option = "";
6b25254a
PS
9 char __gnat_shared_libgnat_default = STATIC;
10-char __gnat_shared_libgcc_default = STATIC;
11-int __gnat_link_max = 8192;
12+char __gnat_shared_libgcc_default = SHARED;
29255619
PS
13+int __gnat_link_max = 131072;
14 unsigned char __gnat_objlist_file_supported = 1;
29255619 15 const char *__gnat_object_library_extension = ".a";
1a8eb1fb 16 unsigned char __gnat_separate_run_path_options = 0;
37f6de33
PS
17--- a/gcc/ada/gcc-interface/Make-lang.in 2004-09-01 12:46:47.000000000 +0200
18+++ b/gcc/ada/gcc-interface/Make-lang.in 2004-09-26 12:21:15.135188144 +0200
78a4d4d8 19@@ -625,7 +625,7 @@ ada.tags: force
0b901dd0
PS
20 ada/doctools/xgnatugn$(build_exeext): ada/xgnatugn.adb
21 -$(MKDIR) ada/doctools
22 $(CP) $^ ada/doctools
78a4d4d8
AM
23- cd ada/doctools && gnatmake -q xgnatugn
24+ cd ada/doctools && gnatmake -q xgnatugn -aO../rts
0b901dd0 25
78a4d4d8
AM
26 # Note that doc/gnat_ugn.texi and doc/projects.texi do not depend on
27 # xgnatugn being built so we can distribute a pregenerated doc/gnat_ugn.info
37f6de33
PS
28--- a/gcc/ada/gcc-interface/Makefile.in 2005-05-26 10:48:40.000000000 +0000
29+++ b/gcc/ada/gcc-interface/Makefile.in 2005-05-26 10:59:25.000000000 +0000
6b25254a 30@@ -126,7 +126,7 @@
426f688a
JB
31 objext = .o
32 exeext =
33 arext = .a
34-soext = .so
35+soext = .so.1
36 shext =
29255619 37 hyphen = -
426f688a 38
6b25254a
PS
39@@ -193,7 +193,7 @@
40 # Link flags used to build gnat tools. By default we prefer to statically
41 # link with libgcc to avoid a dependency on shared libgcc (which is tricky
42 # to deal with as it may conflict with the libgcc provided by the system).
43-GCC_LINK_FLAGS=-static-libgcc
44+GCC_LINK_FLAGS=
468d07c5 45
6b25254a 46 # End of variables for you to override.
09aa0ab9 47
6b25254a 48@@ -2489,7 +2489,8 @@
29255619 49 -o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
426f688a 50 $(GNATRTL_TASKING_OBJS) \
29255619
PS
51 $(SO_OPTS)libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
52- $(THREADSLIB)
53+ $(THREADSLIB) \
426f688a 54+ ./libgnat-$(LIBRARY_VERSION)$(soext)
37f6de33 55 cd $(RTSDIR); $(LN_S) libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
29255619 56 libgnat$(soext)
37f6de33 57 cd $(RTSDIR); $(LN_S) libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
1fc08f06
AM
58--- a/gcc/ada/gcc-interface/Makefile.in~ 2011-03-27 13:01:06.697666231 +0200
59+++ b/gcc/ada/gcc-interface/Makefile.in 2011-03-27 13:08:55.725801177 +0200
b4627121 60@@ -2612,14 +2612,14 @@
ae704aa8 61 gnatlib
37f6de33 62 $(RM) $(RTSDIR)/libgna*$(soext)
b4627121
AM
63 cd $(RTSDIR); `echo "$(GCC_FOR_TARGET)" \
64- | sed -e 's,\./xgcc,../../xgcc,' -e 's,-B\./,-B../../,'` -shared $(GNATLIBCFLAGS) \
65+ | sed -e 's,\./xgcc,../../xgcc,' -e 's,-B\./,-B../../,'` -shared -shared-libgcc $(GNATLIBCFLAGS) \
66 $(PICFLAG_FOR_TARGET) \
ae704aa8
PS
67 -o libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
68 $(GNATRTL_NONTASKING_OBJS) $(LIBGNAT_OBJS) \
b4627121
AM
69 $(SO_OPTS)libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
70 $(MISCLIB) -lm
71 cd $(RTSDIR); `echo "$(GCC_FOR_TARGET)" \
72- | sed -e 's,\./xgcc,../../xgcc,' -e 's,-B\./,-B../../,'` -shared $(GNATLIBCFLAGS) \
73+ | sed -e 's,\./xgcc,../../xgcc,' -e 's,-B\./,-B../../,'` -shared -shared-libgcc $(GNATLIBCFLAGS) \
74 $(PICFLAG_FOR_TARGET) \
75 -o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
76 $(GNATRTL_TASKING_OBJS) \
1fc08f06 77
This page took 0.059608 seconds and 4 git commands to generate.