]> git.pld-linux.org Git - packages/crossppc-gcc.git/blame - gcc-ada-link.patch
- drop obsolete files
[packages/crossppc-gcc.git] / gcc-ada-link.patch
CommitLineData
ff39d931
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
5ba4f05d 3@@ -164,9 +164,9 @@
56d7e797
JB
4
5 #elif defined (linux)
5ba4f05d
PS
6 const char *__gnat_object_file_option = "";
7-const char *__gnat_run_path_option = "-Wl,-rpath,";
8-char __gnat_shared_libgnat_default = STATIC;
9-int __gnat_link_max = 8192;
10+const char *__gnat_run_path_option = "";
11+char __gnat_shared_libgnat_default = SHARED;
12+int __gnat_link_max = 131072;
13 unsigned char __gnat_objlist_file_supported = 1;
14 unsigned char __gnat_using_gnu_linker = 1;
15 const char *__gnat_object_library_extension = ".a";
3ebcdae7
PS
16--- a/gcc/ada/gcc-interface/Make-lang.in 2004-09-01 12:46:47.000000000 +0200
17+++ b/gcc/ada/gcc-interface/Make-lang.in 2004-09-26 12:21:15.135188144 +0200
63a80112
PS
18@@ -378,7 +378,7 @@
19 ada/doctools/xgnatugn$(build_exeext): ada/xgnatugn.adb
20 -$(MKDIR) ada/doctools
21 $(CP) $^ ada/doctools
ff39d931
PS
22- cd ada/doctools && $(GNATMAKE) -q xgnatugn
23+ cd ada/doctools && $(GNATMAKE) -q xgnatugn -a0../rts
63a80112
PS
24
25 # Note that gnat_ugn_unw.texi does not depend on xgnatugn
26 # being built so we can distribute a pregenerated gnat_ugn_unw.info
3ebcdae7
PS
27--- a/gcc/ada/gcc-interface/Makefile.in 2005-05-26 10:48:40.000000000 +0000
28+++ b/gcc/ada/gcc-interface/Makefile.in 2005-05-26 10:59:25.000000000 +0000
ff39d931 29@@ -138,7 +138,7 @@
56d7e797
JB
30 objext = .o
31 exeext =
32 arext = .a
33-soext = .so
34+soext = .so.1
35 shext =
5ba4f05d 36 hyphen = -
56d7e797 37
ff39d931 38@@ -1669,7 +1669,7 @@
56d7e797 39
3bb02f23 40 LIBGNAT=../rts/libgnat.a
ff39d931 41
63a80112
PS
42-GCC_LINK=$(CC) -static-libgcc $(ADA_INCLUDES)
43+GCC_LINK=$(CC) $(ADA_INCLUDES)
3bb02f23
PS
44
45 # when compiling the tools, the runtime has to be first on the path so that
46 # it hides the runtime files lying with the rest of the sources
ff39d931 47@@ -1948,7 +1948,8 @@
5ba4f05d 48 -o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
56d7e797 49 $(GNATRTL_TASKING_OBJS) \
5ba4f05d
PS
50 $(SO_OPTS)libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
51- $(THREADSLIB)
52+ $(THREADSLIB) \
56d7e797 53+ ./libgnat-$(LIBRARY_VERSION)$(soext)
3ebcdae7 54 cd $(RTSDIR); $(LN_S) libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
5ba4f05d 55 libgnat$(soext)
3ebcdae7 56 cd $(RTSDIR); $(LN_S) libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
ff39d931 57@@ -1995,7 +1996,7 @@
03af934f
PS
58 THREAD_KIND="$(THREAD_KIND)" \
59 gnatlib
3ebcdae7
PS
60 $(RM) $(RTSDIR)/libgna*$(soext)
61- cd $(RTSDIR); ../../xgcc -B../../ -shared $(TARGET_LIBGCC2_CFLAGS) \
62+ cd $(RTSDIR); ../../xgcc -B../../ -shared -shared-libgcc $(TARGET_LIBGCC2_CFLAGS) \
03af934f
PS
63 -o libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
64 $(GNATRTL_NONTASKING_OBJS) $(LIBGNAT_OBJS) \
65 $(SO_OPTS)libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) $(MISCLIB)
This page took 0.339917 seconds and 4 git commands to generate.