diff options
author | Alexey Neyman <stilor@att.net> | 2019-09-30 23:43:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-30 23:43:24 -0700 |
commit | fdcfffebf60811aa70897319fb3b1d210ea876e1 (patch) | |
tree | 2ae146923a8f6b61924ababae29e974a91f18961 /packages/glibc | |
parent | c5cd702e25f2b6ededd1a7c291b2ee98036dcf79 (diff) | |
parent | 01e21d90f793d86d07ab532ef9456bea8003edf8 (diff) | |
download | crosstool-ng-fdcfffebf60811aa70897319fb3b1d210ea876e1.tar.gz crosstool-ng-fdcfffebf60811aa70897319fb3b1d210ea876e1.tar.bz2 crosstool-ng-fdcfffebf60811aa70897319fb3b1d210ea876e1.zip |
Merge pull request #1233 from cpackham/fixup-arc-patch
glibc: arc: Don't interfere with other architectures
Diffstat (limited to 'packages/glibc')
-rw-r--r-- | packages/glibc/2.29/0001-Add-ARC-architecture.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/glibc/2.29/0001-Add-ARC-architecture.patch b/packages/glibc/2.29/0001-Add-ARC-architecture.patch index 11b3aea8..f7441dde 100644 --- a/packages/glibc/2.29/0001-Add-ARC-architecture.patch +++ b/packages/glibc/2.29/0001-Add-ARC-architecture.patch @@ -2290,16 +2290,16 @@ index 00000000000..1152a179c4a +arc*) + base_machine=arc + machine=arc ++ ++ gccfloat=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | grep __ARC_FPU_| wc -l` ++ if test "$gccfloat" != "0"; then ++ echo "glibc being configured for double precision floating point" ++ with_fp_cond=1 ++ else ++ with_fp_cond=0 ++ fi + ;; +esac -+ -+gccfloat=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null | grep __ARC_FPU_| wc -l` -+if test "$gccfloat" != "0"; then -+ echo "glibc being configured for double precision floating point" -+ with_fp_cond=1 -+else -+ with_fp_cond=0 -+fi diff --git a/sysdeps/arc/setjmp.S b/sysdeps/arc/setjmp.S new file mode 100644 index 00000000000..518545a99e8 |