Re: [PATCH build, libgo, classpath] Remove freebsd1 from libtool.m4 macros and config.rpath.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH build, libgo, classpath] Remove freebsd1 from libtool.m4 macros and config.rpath.

Ralf Wildenhues
[ moving from gcc-patches ]

* Ralf Wildenhues wrote on Sun, Feb 13, 2011 at 12:46:42PM CET:
> I'm applying this patch to remove freebsd1 handling from Libtool macros
> and config.rpath, in order to avoid problems when FreeBSD 10 releases.
> This just pulls in Gerald's patch which has been applied to upstream
> Libtool, regenerates all stuff,
[...]

This syncs the change from GCC to src and rebuilds all related files for
binutils and gdb.

Thanks,
Ralf

ChangeLog:
2011-02-13  Ralf Wildenhues  <[hidden email]>

        Import from Libtool and gnulib:

        2011-01-27  Gerald Pfeifer  <[hidden email]>

        Prepare for supporting FreeBSD 10.
        * config.rpath: Remove handling of freebsd1* which soon would
        match FreeBSD 10.0.

        2011-01-20  Gerald Pfeifer  <[hidden email]>  (tiny change)

        Remove support for FreeBSD 1.x.
        * libtool.m4 (_LT_LINKER_SHLIBS)
        (_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
        soon would incorrectly match FreeBSD 10.0.

bfd/ChangeLog:
2011-02-13  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

gas/ChangeLog:
2011-02-13  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

ld/ChangeLog:
2011-02-13  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

opcodes/ChangeLog:
2011-02-13  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

binutils/ChangeLog:
2011-02-13  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

gprof/ChangeLog:
2011-02-13  Ralf Wildenhues  <[hidden email]>

        * configure: Regenerate.

Index: libtool.m4
===================================================================
RCS file: /cvs/src/src/libtool.m4,v
retrieving revision 1.22
diff -u -r1.22 libtool.m4
--- libtool.m4 9 Jan 2010 21:11:31 -0000 1.22
+++ libtool.m4 13 Feb 2011 20:01:20 -0000
@@ -2266,10 +2266,6 @@
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 
-freebsd1*)
-  dynamic_linker=no
-  ;;
-
 freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.
@@ -4796,10 +4792,6 @@
       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
       ;;
 
-    freebsd1*)
-      _LT_TAGVAR(ld_shlibs, $1)=no
-      ;;
-
     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     # support.  Future versions do this automatically, but an explicit c++rt0.o
     # does not break anything, and helps significantly (at the cost of a little
Index: config.rpath
===================================================================
RCS file: /cvs/src/src/config.rpath,v
retrieving revision 1.2
diff -u -r1.2 config.rpath
--- config.rpath 13 Mar 2008 19:27:44 -0000 1.2
+++ config.rpath 13 Feb 2011 20:01:20 -0000
@@ -284,9 +284,6 @@
     dgux*)
       hardcode_libdir_flag_spec='-L$libdir'
       ;;
-    freebsd1*)
-      ld_shlibs=no
-      ;;
     freebsd2.2*)
       hardcode_libdir_flag_spec='-R$libdir'
       hardcode_direct=yes
@@ -448,8 +445,6 @@
     ;;
   dgux*)
     ;;
-  freebsd1*)
-    ;;
   freebsd*)
     ;;
   gnu*)