glibc/sysdeps/arm
Joseph Myers cb403c34c6 Remove relro configure test.
This patch removes the configure test for working -z relro.

The use of -z relro in Makeconfig became unconditional with

commit 2e6ab1df44c412bb9d30b26a4d8a679150a7e375
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Sat Oct 28 06:44:04 2006 +0000

    Remove conditional code which now is unnecessary.

(commit reference from git://repo.or.cz/glibc/history), so since then
the configure test has not controlled anything about how glibc is
built - simply about whether configure succeeds and allows a build to
be attempted.  The test for whether the option did something useful
(as opposed to whether it exists - which we can certainly just assume
by now) was originally added in
<https://sourceware.org/ml/libc-hacker/2004-09/msg00069.html> to
disable the option in a case when it did nothing useful on ia64 (as a
result of something deliberate in the linker on ia64).  Since 2006
that disabling has been of no effect, and given that the current test
does not set libc_relro_required for ia64, it does nothing whatever
useful for the original motivating case.  Also at around the same time
in 2006 the test was made to give an error for missing or broken -z
relro support on various architectures.

So effectively all the test does now is verify that, on certain
architectures, the linker has not been changed deliberately to make
the option ineffective.  I see no apparent reason why such a change
should be expected, or why the build should be stopped if it were to
be made (any more than we disallow build on ia64); I think we can
trust binutils patch review to point out the consequences of any
change to COMMONPAGESIZE setting.  The only thing that might now make
sense would be disabling the -z relro use on an architecture-specific
basis if there were an architecture-specific reason to consider that
to make sense; it would be for the ia64 maintainer to decide if that
makes sense for ia64 at present, but I think that could be done
through sysdeps Makefiles - no special configure tests needed.

Tested for x86_64 that this patch makes no change to the installed
shared libraries.

Together with
<https://sourceware.org/ml/libc-alpha/2014-06/msg00788.html> (pending
review) this substantially eliminates architecture-specific cases from
architecture-independent configure.ac files.  There remains an i386
case in sysdeps/mach/hurd/configure.ac that should properly move to
the i386 subdirectory.  (There are also OS-specific cases outside
OS-specific directories; in principle I think should should also
move.)

	* configure.ac (libc_commonpagesize): Remove variable.
	(libc_relro_required): Likewise.
	(libc_cv_z_relro): Remove configure test.
	* configure: Regenerated.
	* sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
	variable.
	(libc_relro_required): Likewise.
	* sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
	(libc_relro_required): Likewise.
	* sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
	(libc_relro_required): Likewise.
	* sysdeps/arm/preconfigure: Regenerated.
	* sysdeps/ia64/preconfigure: Remove file.
	* sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
	variable.
	(libc_relro_required): Likewise.
2014-06-27 16:51:22 +00:00
..
armv6 Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
armv6t2 Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
armv7 Make armv7 strcmp assembly compatible with ARM mode and SFI. 2014-05-09 13:22:00 -07:00
bits Fix -Wundef warnins for __FP_FAST_FMA* 2014-03-21 17:28:43 +05:30
include/bits ARM: Add SystemTap probes to longjmp and setjmp. 2014-02-25 10:07:04 +00:00
nptl ARM: Move more aeabi routine magic out of Linux-specific directories 2014-06-26 15:08:29 -07:00
soft-fp ARM: soft-fp NaN representation correction 2014-05-16 23:10:29 +01:00
sys Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
__longjmp.S ARM: Fix up setjmp/longjmp changes sfi_* macro use. 2014-03-11 10:59:01 -07:00
abi-note.S Fix whitespace in ARM files to allow move. 2014-02-08 01:52:38 +00:00
add_n.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
addmul_1.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_assert.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_atexit.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_errno_addr.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_lcsts.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_localeconv.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_math.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_mb_cur_max.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_memclr.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_memcpy.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_memmove.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_memset.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_sighandlers.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_unwind_cpp_pr1.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
arm-features.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
arm-mcount.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
backtrace.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
bsd-_setjmp.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
bsd-setjmp.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
configure Remove configure tests for assembler CFI support. 2014-06-26 17:33:32 +00:00
configure.ac Remove configure tests for assembler CFI support. 2014-06-26 17:33:32 +00:00
crti.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
crtn.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
dl-irel.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
dl-lookupcfg.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
dl-machine.h [BZ #17075] ARM: Fix immediate calculation of R_ARM_TLS_DESC 2014-06-20 20:22:42 +01:00
dl-sysdep.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
dl-tls.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
dl-tlsdesc.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
dl-tlsdesc.S ARM: Fix handling of concurrent TLS descriptor resolution 2014-05-27 10:39:18 +01:00
dl-trampoline.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
fclrexcpt.c Speed up the ARM fenv implementation by avoiding unnecessary FPSCR 2014-06-24 12:04:27 +00:00
fedisblxcpt.c Speed up the ARM fenv implementation by avoiding unnecessary FPSCR 2014-06-24 12:04:27 +00:00
feenablxcpt.c Speed up the ARM fenv implementation by avoiding unnecessary FPSCR 2014-06-24 12:04:27 +00:00
fegetenv.c ARM: Improve fenv implementation 2014-05-15 15:23:27 +01:00
fegetexcept.c ARM: Improve fenv implementation 2014-05-15 15:23:27 +01:00
fegetround.c Use libc calls defined by fenv_private.h to implement several fenv functions 2014-06-24 11:13:08 +00:00
feholdexcpt.c Cleanup fenv implementation 2014-06-24 14:57:32 +00:00
fenv_private.h Add _FPU_MASK_RM and use it instead of FE_TOWARDZERO. 2014-06-24 15:02:51 +00:00
fesetenv.c Add missing #include <fpu_control.h> to ARM fesetenv/feupdateenv. 2014-06-26 13:35:31 -07:00
fesetround.c Add _FPU_MASK_RM and use it instead of FE_TOWARDZERO. 2014-06-24 15:02:51 +00:00
feupdateenv.c Add missing #include <fpu_control.h> to ARM fesetenv/feupdateenv. 2014-06-26 13:35:31 -07:00
fgetexcptflg.c Use libc calls defined by fenv_private.h to implement several fenv functions 2014-06-24 11:13:08 +00:00
find_exidx.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
fpu_control.h Add _FPU_MASK_RM and use it instead of FE_TOWARDZERO. 2014-06-24 15:02:51 +00:00
fraiseexcpt.c Cleanup fenv implementation 2014-06-24 14:57:32 +00:00
frame.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
framestate.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
fsetexcptflg.c Remove an unused include. 2014-06-24 15:00:01 +00:00
ftestexcept.c Use libc calls defined by fenv_private.h to implement several fenv functions 2014-06-24 11:13:08 +00:00
gcc-compat.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
gccframe.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
get-rounding-mode.h Add _FPU_MASK_RM and use it instead of FE_TOWARDZERO. 2014-06-24 15:02:51 +00:00
gmp-mparam.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
Implies Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
jmpbuf-unwind.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ldsodefs.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
libc-aeabi_read_tp.S ARM: Move more aeabi routine magic out of Linux-specific directories 2014-06-26 15:08:29 -07:00
libc-tls.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
libm-test-ulps Don't include individual test ulps in libm-test-ulps. 2014-03-05 15:02:38 +00:00
machine-gmon.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
Makefile ARM: Move more aeabi routine magic out of Linux-specific directories 2014-06-26 15:08:29 -07:00
math_private.h [ARM] Add support for fenv_private on ARM. 2014-04-28 10:53:04 +01:00
math-tests.h Add fenv test support for targets which don't have FP traps. 2014-04-17 09:39:27 +01:00
memcpy.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
memmove.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
memset.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
memusage.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
nptl-aeabi_unwind_cpp_pr1.c ARM: Move more aeabi routine magic out of Linux-specific directories 2014-06-26 15:08:29 -07:00
preconfigure Remove relro configure test. 2014-06-27 16:51:22 +00:00
preconfigure.ac Remove relro configure test. 2014-06-27 16:51:22 +00:00
rt-aeabi_unwind_cpp_pr1.c ARM: Move more aeabi routine magic out of Linux-specific directories 2014-06-26 15:08:29 -07:00
rtld-global-offsets.sym Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
s_fma.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
s_fmaf.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setfpucw.c Speed up the ARM fenv implementation by avoiding unnecessary FPSCR 2014-06-24 12:04:27 +00:00
setjmp.S ARM: Fix up setjmp/longjmp changes sfi_* macro use. 2014-03-11 10:59:01 -07:00
shlib-versions Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
sotruss-lib.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
stackinfo.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
start.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
static-stubs.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
strlen.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
sub_n.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
submul_1.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
sysdep.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
test-fpucw.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
tls-macros.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
tlsdesc.c Factor mmap/munmap of PT_LOAD segments out of _dl_map_object_from_fd et al. 2014-04-03 10:47:14 -07:00
tlsdesc.sym Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
tst-armtlsdescextlazy.c [BZ #17075] ARM: Fix immediate calculation of R_ARM_TLS_DESC 2014-06-20 20:22:42 +01:00
tst-armtlsdescextlazymod.c [BZ #17075] ARM: Fix immediate calculation of R_ARM_TLS_DESC 2014-06-20 20:22:42 +01:00
tst-armtlsdescextnow.c [BZ #17075] ARM: Fix immediate calculation of R_ARM_TLS_DESC 2014-06-20 20:22:42 +01:00
tst-armtlsdescextnowmod.c [BZ #17075] ARM: Fix immediate calculation of R_ARM_TLS_DESC 2014-06-20 20:22:42 +01:00
tst-armtlsdescloc.c [BZ #17075] ARM: Fix immediate calculation of R_ARM_TLS_DESC 2014-06-20 20:22:42 +01:00
tst-armtlsdesclocmod.c [BZ #17075] ARM: Fix immediate calculation of R_ARM_TLS_DESC 2014-06-20 20:22:42 +01:00
tst-audit.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
unwind-dw2-fde-glibc.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
unwind-pe.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
unwind.h Move ARM internal unwind.h header to the right sysdeps directory. 2014-05-06 15:55:20 -07:00
Versions Move arm from ports to libc. 2014-02-08 01:49:39 +00:00