mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-22 00:38:06 +08:00
knetbsd/kfreebsd patches from Robert Millan.
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu. * ltconfig: Likewise. * ltcf-c.sh: Likewise. * ltcf-cxx.sh: Likewise. * ltcf-gcj.sh: Likewise.
This commit is contained in:
parent
9aec2c3c19
commit
0da793ff2b
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
|||||||
|
2004-07-19 Robert Millan <robertmh@gnu.org>
|
||||||
|
|
||||||
|
Synced from gcc:
|
||||||
|
|
||||||
|
2004-04-26 Robert Millan <robertmh@gnu.org>
|
||||||
|
|
||||||
|
Add patches from libtool CVS.
|
||||||
|
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
|
||||||
|
* ltconfig: Likewise.
|
||||||
|
* ltcf-c.sh: Likewise.
|
||||||
|
* ltcf-cxx.sh: Likewise.
|
||||||
|
* ltcf-gcj.sh: Likewise.
|
||||||
|
|
||||||
2004-07-12 Paolo Bonzini <bonzini@gnu.org>
|
2004-07-12 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
* configure.in: Add noconfigdirs for crx-*-*.
|
* configure.in: Add noconfigdirs for crx-*-*.
|
||||||
|
4
libtool.m4
vendored
4
libtool.m4
vendored
@ -577,7 +577,7 @@ darwin* | rhapsody*)
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
freebsd* )
|
freebsd* | kfreebsd*-gnu)
|
||||||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
i*86 )
|
i*86 )
|
||||||
@ -645,7 +645,7 @@ linux-gnu*)
|
|||||||
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
|
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
|
||||||
;;
|
;;
|
||||||
|
|
||||||
netbsd*)
|
netbsd* | knetbsd*-gnu)
|
||||||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
||||||
[lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
|
[lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']
|
||||||
else
|
else
|
||||||
|
@ -185,7 +185,7 @@ EOF
|
|||||||
whole_archive_flag_spec='-all_load $convenience'
|
whole_archive_flag_spec='-all_load $convenience'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
netbsd*)
|
netbsd* | knetbsd*-gnu)
|
||||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||||
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
||||||
wlarc=
|
wlarc=
|
||||||
@ -409,7 +409,7 @@ else
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
||||||
freebsd*)
|
freebsd* | kfreebsd*-gnu)
|
||||||
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
||||||
hardcode_libdir_flag_spec='-R$libdir'
|
hardcode_libdir_flag_spec='-R$libdir'
|
||||||
hardcode_direct=yes
|
hardcode_direct=yes
|
||||||
@ -456,7 +456,7 @@ else
|
|||||||
link_all_deplibs=yes
|
link_all_deplibs=yes
|
||||||
;;
|
;;
|
||||||
|
|
||||||
netbsd*)
|
netbsd* | knetbsd*-gnu)
|
||||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
||||||
else
|
else
|
||||||
|
@ -244,7 +244,7 @@ case $host_os in
|
|||||||
# C++ shared libraries reported to be fairly broken before switch to ELF
|
# C++ shared libraries reported to be fairly broken before switch to ELF
|
||||||
ld_shlibs=no
|
ld_shlibs=no
|
||||||
;;
|
;;
|
||||||
freebsd*)
|
freebsd* | kfreebsd*-gnu)
|
||||||
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
|
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
|
||||||
# conventions
|
# conventions
|
||||||
ld_shlibs=yes
|
ld_shlibs=yes
|
||||||
@ -404,7 +404,7 @@ case $host_os in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
netbsd*)
|
netbsd* | knetbsd*-gnu)
|
||||||
# NetBSD uses g++ - do we need to do anything?
|
# NetBSD uses g++ - do we need to do anything?
|
||||||
;;
|
;;
|
||||||
osf3*)
|
osf3*)
|
||||||
@ -759,7 +759,7 @@ else
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
freebsd*)
|
freebsd* | kfreebsd*-gnu)
|
||||||
# FreeBSD uses GNU C++
|
# FreeBSD uses GNU C++
|
||||||
;;
|
;;
|
||||||
gnu*)
|
gnu*)
|
||||||
|
@ -178,7 +178,7 @@ EOF
|
|||||||
$CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
|
$CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
netbsd*)
|
netbsd* | knetbsd*-gnu)
|
||||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||||
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
||||||
wlarc=
|
wlarc=
|
||||||
@ -402,7 +402,7 @@ else
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
|
||||||
freebsd*)
|
freebsd* | kfreebsd*-gnu)
|
||||||
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
|
||||||
hardcode_libdir_flag_spec='-R$libdir'
|
hardcode_libdir_flag_spec='-R$libdir'
|
||||||
hardcode_direct=yes
|
hardcode_direct=yes
|
||||||
@ -433,7 +433,7 @@ else
|
|||||||
link_all_deplibs=yes
|
link_all_deplibs=yes
|
||||||
;;
|
;;
|
||||||
|
|
||||||
netbsd*)
|
netbsd* | knetbsd*-gnu)
|
||||||
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
|
||||||
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
||||||
else
|
else
|
||||||
|
11
ltconfig
11
ltconfig
@ -1164,6 +1164,17 @@ gnu*)
|
|||||||
hardcode_into_libs=yes
|
hardcode_into_libs=yes
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
kfreebsd*-gnu | knetbsd*-gnu)
|
||||||
|
version_type=linux
|
||||||
|
need_lib_prefix=no
|
||||||
|
need_version=no
|
||||||
|
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
|
||||||
|
soname_spec='${libname}${release}.so$major'
|
||||||
|
shlibpath_var=LD_LIBRARY_PATH
|
||||||
|
shlibpath_overrides_runpath=yes
|
||||||
|
hardcode_into_libs=yes
|
||||||
|
;;
|
||||||
|
|
||||||
hpux9* | hpux10* | hpux11*)
|
hpux9* | hpux10* | hpux11*)
|
||||||
# Give a soname corresponding to the major version so that dld.sl refuses to
|
# Give a soname corresponding to the major version so that dld.sl refuses to
|
||||||
# link against other versions.
|
# link against other versions.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user