aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arm/preconfigure
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2017-06-08 15:39:03 -0400
committerZack Weinberg <zackw@panix.com>2017-06-08 15:39:03 -0400
commit5046dbb4a7eba5eccfd258f92f4735c9ffc8d069 (patch)
tree4470480d904b65cf14ca524f96f79eca818c3eaf /sysdeps/arm/preconfigure
parent199fc19d3aaaf57944ef036e15904febe877fc93 (diff)
downloadglibc-zack/build-layout-experiment.tar
glibc-zack/build-layout-experiment.tar.gz
glibc-zack/build-layout-experiment.tar.bz2
glibc-zack/build-layout-experiment.zip
Prepare for radical source tree reorganization.zack/build-layout-experiment
All top-level files and directories are moved into a temporary storage directory, REORG.TODO, except for files that will certainly still exist in their current form at top level when we're done (COPYING, COPYING.LIB, LICENSES, NEWS, README), all old ChangeLog files (which are moved to the new directory OldChangeLogs, instead), and the generated file INSTALL (which is just deleted; in the new order, there will be no generated files checked into version control).
Diffstat (limited to 'sysdeps/arm/preconfigure')
-rw-r--r--sysdeps/arm/preconfigure55
1 files changed, 0 insertions, 55 deletions
diff --git a/sysdeps/arm/preconfigure b/sysdeps/arm/preconfigure
deleted file mode 100644
index 33e9501c4f..0000000000
--- a/sysdeps/arm/preconfigure
+++ /dev/null
@@ -1,55 +0,0 @@
-# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
- # Local preconfigure fragment for sysdeps/arm
-
-case "$machine" in
-arm*)
- # If the compiler enables unwind tables by default, this causes
- # problems with undefined symbols in -nostdlib link tests. To
- # avoid this, add -fno-unwind-tables here and remove it in
- # sysdeps/arm/configure.ac after those tests have been run.
- if test "${CFLAGS+set}" != "set"; then
- CFLAGS="-g -O2"
- fi
- CFLAGS="$CFLAGS -fno-unwind-tables"
-
- base_machine=arm
- # Lets ask the compiler which ARM family we've got
- # Unfortunately it doesn't define any flags for implementations
- # that you might pass to -mcpu or -mtune
- # Note if you add patterns here you must ensure that
- # an appropriate directory exists in sysdeps/arm
- archcppflag=`$CC $CFLAGS $CPPFLAGS -E -dM -xc /dev/null |
- sed -n 's/^#define \(__ARM_ARCH_[0-9].*__\) .*$/\1/p'`
-
- case "x$archcppflag" in
- x__ARM_ARCH_89*__)
- machine=armv7
- { $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for something newer than v7 - using v7" >&5
-$as_echo "$as_me: Found compiler is configured for something newer than v7 - using v7" >&6;}
- ;;
-
- x__ARM_ARCH_7A__)
- machine=armv7
- { $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for $machine" >&5
-$as_echo "$as_me: Found compiler is configured for $machine" >&6;}
- ;;
-
- x__ARM_ARCH_6T2__)
- machine=armv6t2
- { $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for $machine" >&5
-$as_echo "$as_me: Found compiler is configured for $machine" >&6;}
- ;;
- x__ARM_ARCH_6*__)
- machine=armv6
- { $as_echo "$as_me:${as_lineno-$LINENO}: Found compiler is configured for $machine" >&5
-$as_echo "$as_me: Found compiler is configured for $machine" >&6;}
- ;;
- *)
- machine=arm
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: arm/preconfigure: Did not find ARM architecture type; using default" >&5
-$as_echo "$as_me: WARNING: arm/preconfigure: Did not find ARM architecture type; using default" >&2;}
- ;;
- esac
-
- machine=arm/$machine
-esac