mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
FDPIC: Handle arm*-*-uclinuxfdpiceabi in configure scripts
In libtool.m4, we use uclinuxfdpiceabi in cases where ELF shared libraries support is required, as uclinux does not guarantee that. * libtool.m4: Handle uclinuxfdpiceabi.
This commit is contained in:
parent
14af24e0a8
commit
445ae0cf00
11
libtool.m4
vendored
11
libtool.m4
vendored
@ -2471,7 +2471,12 @@ linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
|
||||
|
||||
# uclinux* changes (here and below) have been submitted to the libtool
|
||||
# project, but have not yet been accepted: they are GCC-local changes
|
||||
# for the time being. (See
|
||||
# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
|
||||
version_type=linux
|
||||
need_lib_prefix=no
|
||||
need_version=no
|
||||
@ -3130,7 +3135,7 @@ irix5* | irix6* | nonstopux*)
|
||||
;;
|
||||
|
||||
# This must be Linux ELF.
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
lt_cv_deplibs_check_method=pass_all
|
||||
;;
|
||||
|
||||
@ -4503,7 +4508,7 @@ _LT_EOF
|
||||
_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
||||
;;
|
||||
|
||||
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
|
||||
tmp_diet=no
|
||||
if test "$host_os" = linux-dietlibc; then
|
||||
case $cc_basename in
|
||||
|
Loading…
Reference in New Issue
Block a user