aboutsummaryrefslogtreecommitdiff
path: root/libtool.m4
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@st.com>2023-08-07 13:07:36 +0200
committerAlan Modra <amodra@gmail.com>2023-08-12 10:25:06 +0930
commit445ae0cf004aeb0d0f9eadd407dbcfe11b745a9f (patch)
treed89c55e49bd03edfbe10466aced28a7195c6702b /libtool.m4
parent14af24e0a83bbda49e26fc8af7c06cfe39611add (diff)
downloadbinutils-445ae0cf004aeb0d0f9eadd407dbcfe11b745a9f.zip
binutils-445ae0cf004aeb0d0f9eadd407dbcfe11b745a9f.tar.gz
binutils-445ae0cf004aeb0d0f9eadd407dbcfe11b745a9f.tar.bz2
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.
Diffstat (limited to 'libtool.m4')
-rw-r--r--libtool.m411
1 files changed, 8 insertions, 3 deletions
diff --git a/libtool.m4 b/libtool.m4
index 1f726c9..e36fdd3 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -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