]>
Commit | Line | Data |
---|---|---|
29255619 PS |
1 | --- gcc-4.0-20040919/gcc/ada/link.c.orig 2004-09-13 12:18:40.000000000 +0200 |
2 | +++ gcc-4.0-20040919/gcc/ada/link.c 2004-09-26 12:24:29.079704096 +0200 | |
3 | @@ -164,9 +164,9 @@ | |
426f688a JB |
4 | |
5 | #elif defined (linux) | |
29255619 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"; | |
0561766d PS |
16 | --- gcc-4.0-20040919/gcc/ada/Make-lang.in.orig 2004-09-01 12:46:47.000000000 +0200 |
17 | +++ gcc-4.0-20040919/gcc/ada/Make-lang.in 2004-09-26 12:21:15.135188144 +0200 | |
18 | @@ -378,7 +378,7 @@ | |
19 | ada/doctools/xgnatugn$(build_exeext): ada/xgnatugn.adb | |
20 | -$(MKDIR) ada/doctools | |
21 | $(CP) $^ ada/doctools | |
22 | - cd ada/doctools && gnatmake -q xgnatugn | |
23 | + cd ada/doctools && gnatmake -q xgnatugn -a0../rts | |
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 | |
ae704aa8 PS |
27 | --- gcc-4.1-20050522/gcc/ada/Makefile.in.orig 2005-05-26 10:48:40.000000000 +0000 |
28 | +++ gcc-4.1-20050522/gcc/ada/Makefile.in 2005-05-26 10:59:25.000000000 +0000 | |
29255619 | 29 | @@ -139,7 +139,7 @@ |
426f688a JB |
30 | objext = .o |
31 | exeext = | |
32 | arext = .a | |
33 | -soext = .so | |
34 | +soext = .so.1 | |
35 | shext = | |
29255619 | 36 | hyphen = - |
426f688a | 37 | |
09aa0ab9 PS |
38 | @@ -1364,7 +1414,7 @@ |
39 | s-[a-o]*.adb s-[p-z]*.adb s-[a-o]*.ads s-[p-z]*.ads | |
426f688a | 40 | |
09aa0ab9 | 41 | LIBGNAT=../rts/libgnat.a |
8b8d3532 PS |
42 | -GCC_LINK=$(CC) -static-libgcc $(ADA_INCLUDES) |
43 | +GCC_LINK=$(CC) $(ADA_INCLUDES) | |
09aa0ab9 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 | |
47 | @@ -1644,7 +1694,8 @@ | |
29255619 | 48 | -o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \ |
426f688a | 49 | $(GNATRTL_TASKING_OBJS) \ |
29255619 PS |
50 | $(SO_OPTS)libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \ |
51 | - $(THREADSLIB) | |
52 | + $(THREADSLIB) \ | |
426f688a | 53 | + ./libgnat-$(LIBRARY_VERSION)$(soext) |
29255619 PS |
54 | cd rts; $(LN_S) libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \ |
55 | libgnat$(soext) | |
56 | cd rts; $(LN_S) libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \ | |
09aa0ab9 | 57 | @@ -1691,7 +1742,7 @@ |
ae704aa8 PS |
58 | THREAD_KIND="$(THREAD_KIND)" \ |
59 | gnatlib | |
60 | $(RM) rts/libgna*$(soext) | |
61 | - cd rts; ../../xgcc -B../../ -shared $(TARGET_LIBGCC2_CFLAGS) \ | |
62 | + cd rts; ../../xgcc -B../../ -shared -shared-libgcc $(TARGET_LIBGCC2_CFLAGS) \ | |
63 | -o libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \ | |
64 | $(GNATRTL_NONTASKING_OBJS) $(LIBGNAT_OBJS) \ | |
65 | $(SO_OPTS)libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) $(MISCLIB) |