mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
c6bfe5c4d7
I've moved the ARM port from ports to the main sysdeps hierarchy. Beyond the README update, the move of the files was simply git mv ports/sysdeps/arm sysdeps/arm git mv ports/sysdeps/unix/arm sysdeps/unix/arm git mv ports/sysdeps/unix/sysv/linux/arm sysdeps/unix/sysv/linux/arm and in addition to the ChangeLog entries here, I put a note at the top of ports/ChangeLog.arm similar to that at the top of ChangeLog.powerpc. There is deliberately no NEWS change, as I think it makes the most sense to put in a general note above all ports having moved if we can achieve that for 2.20. Tested that disassembly of installed shared libraries for arm is the same before and after this patch, except for data (not instructions) in ld.so (there are assertions in sysdeps/arm/dl-machine.h, and the path by which that file is found, and so by which it appears in the assertion message, changes as a result of the move). * sysdeps/arm: Move directory from ports/sysdeps/arm. * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm. * sysdeps/unix/sysv/linux/arm: Move directory from ports/sysdeps/unix/sysv/linux/arm. * README: Update listing for arm-*-linux-gnueabi. ports/ChangeLog.arm: * sysdeps/arm: Move directory to ../sysdeps/arm. * sysdeps/unix/arm: Move directory to ../sysdeps.arm. * sysdeps/unix/sysv/linux/arm: Move directory to ../sysdeps/unix/sysv/linux/arm.
64 lines
2.2 KiB
Plaintext
64 lines
2.2 KiB
Plaintext
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
|
|
# Local preconfigure fragment for sysdeps/arm
|
|
|
|
case "$machine" in
|
|
arm*)
|
|
case $config_os in
|
|
linux-gnueabi*)
|
|
# 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/unix/sysv/linux/arm/configure.ac after those tests have
|
|
# been run.
|
|
if test "${CFLAGS+set}" != "set"; then
|
|
CFLAGS="-g -O2"
|
|
fi
|
|
CFLAGS="$CFLAGS -fno-unwind-tables"
|
|
;;
|
|
linux*)
|
|
as_fn_error $? "Old ABI no longer supported" "$LINENO" 5
|
|
;;
|
|
esac
|
|
|
|
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
|