fea7751
2004-10-04  Jakub Jelinek  <jakub@redhat.com>
fea7751
fea7751
	* gnat_ugn.texi: Add : and . to direntry.
fea7751
	* gnat-style.texi: Change dircategory to GNU Ada tools.
fea7751
fea7751
2005-02-08  Jakub Jelinek  <jakub@redhat.com>
fea7751
fea7751
	* Makefile.in (gnatlib-shared-default): Disallow dlopening of
fea7751
	libgnat.so.
fea7751
fea7751
--- gcc/ada/gnat-style.texi	(.../gcc-4_0-branch)	(revision 107266)
fea7751
+++ gcc/ada/gnat-style.texi	(.../redhat/gcc-4_0-branch)	(revision 107414)
fea7751
@@ -28,7 +28,7 @@
fea7751
 @setchapternewpage odd
fea7751
 
fea7751
 
fea7751
-@dircategory Programming
fea7751
+@dircategory GNU Ada tools
fea7751
 @direntry
fea7751
 * gnat-style: (gnat-style).      GNAT Coding Style
fea7751
 @end direntry
fea7751
--- gcc/ada/Makefile.in	(.../gcc-4_0-branch)	(revision 107266)
fea7751
+++ gcc/ada/Makefile.in	(.../redhat/gcc-4_0-branch)	(revision 107414)
fea7751
@@ -1316,7 +1316,7 @@
fea7751
   LIBRARY_VERSION := $(LIB_VERSION)
fea7751
 endif
fea7751
 
fea7751
-ifeq ($(strip $(filter-out powerpc% linux%,$(arch) $(osys))),)
fea7751
+ifeq ($(strip $(filter-out powerpc% ppc% linux%,$(arch) $(osys))),)
fea7751
   LIBGNAT_TARGET_PAIRS = \
fea7751
   a-intnam.ads
fea7751
   s-inmaop.adb
fea7751
@@ -1862,7 +1862,7 @@
fea7751
 	     THREAD_KIND="$(THREAD_KIND)" \
fea7751
              gnatlib
fea7751
 	$(RM) rts/libgna*$(soext)
fea7751
-	cd rts; ../../xgcc -B../../ -shared $(TARGET_LIBGCC2_CFLAGS) \
fea7751
+	cd rts; ../../xgcc -B../../ -shared -Wl,-z,nodlopen $(TARGET_LIBGCC2_CFLAGS) \
fea7751
 		-o libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
fea7751
 		$(GNATRTL_NONTASKING_OBJS) $(LIBGNAT_OBJS) \
fea7751
 		$(SO_OPTS)libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
fea7751
--- gcc/ada/gnat_ugn.texi	(.../gcc-4_0-branch)	(revision 107266)
fea7751
+++ gcc/ada/gnat_ugn.texi	(.../redhat/gcc-4_0-branch)	(revision 107414)
fea7751
@@ -101,7 +101,7 @@
fea7751
 @settitle @value{EDITION} User's Guide @value{PLATFORM}
fea7751
 @dircategory GNU Ada tools
fea7751
 @direntry
fea7751
-* @value{EDITION} User's Guide (@value{FILE}) @value{PLATFORM}
fea7751
+* @value{EDITION} User's Guide: (@value{FILE}). User's Guide for GNU Ada Tools.
fea7751
 @end direntry
fea7751
 
fea7751
 @include gcc-common.texi
fea7751
--- gcc/ada/link.c	(.../gcc-4_0-branch)	(revision 107266)
fea7751
+++ gcc/ada/link.c	(.../redhat/gcc-4_0-branch)	(revision 107414)
fea7751
@@ -164,9 +164,9 @@
fea7751
 
fea7751
 #elif defined (linux)
fea7751
 const char *__gnat_object_file_option = "";
fea7751
-const char *__gnat_run_path_option = "-Wl,-rpath,";
fea7751
-char __gnat_shared_libgnat_default = STATIC;
fea7751
-int __gnat_link_max = 8192;
fea7751
+const char *__gnat_run_path_option = "";
fea7751
+char __gnat_shared_libgnat_default = SHARED;
fea7751
+int __gnat_link_max = 131072;
fea7751
 unsigned char __gnat_objlist_file_supported = 1;
fea7751
 unsigned char __gnat_using_gnu_linker = 1;
fea7751
 const char *__gnat_object_library_extension = ".a";