mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 13:13:43 +08:00
ed20b3d9cc
2004-01-13 Ulrich Drepper <drepper@redhat.com> * Makeconfig: Define relro-LDFLAGS if have-z-relro==yes. Add it to LDFLAGS.so and LDFLAGS-rtld. (+link): Add relro-LDFLAGS. * Makeconfig (shlib.lds): Place __libc_subfreeres, __libc_atexit, and __libc_thread_subfreeres sections after .jcr section. * config.make.in: Add have-z-relro. * configure.in: Add check for -z relro option. * include/link.h (struct link_map): Add relro_addr and relro_size members. * elf/dl-load.c (_dl_map_object_from_fd): Recognize PT_GNU_RELRO. * elf/dl-reloc.c (_dl_relocate_object): At the end, make relro part of loaded segments read-only. * elf/elf.h: Define PT_GNU_RELRO. * elf/rtld.c (_dl_start): Recognize PT_GNU_RELRO of ld.so. (dl_main): Recognize PT_GNU_RELRO of the application. Call _dl_debug_initialize and initialize l_info[DT_DEBUG] before relocations.
126 lines
3.0 KiB
Plaintext
126 lines
3.0 KiB
Plaintext
# @configure_input@
|
|
# From $Id$.
|
|
# Don't edit this file. Put configuration parameters in configparms instead.
|
|
|
|
version = @VERSION@
|
|
release = @RELEASE@
|
|
|
|
# Installation prefixes.
|
|
install_root =
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
datadir = @datadir@
|
|
libdir = @libdir@
|
|
slibdir = @libc_cv_slibdir@
|
|
localedir = @libc_cv_localedir@
|
|
sysconfdir = @libc_cv_sysconfdir@
|
|
libexecdir = @libexecdir@
|
|
rootsbindir = @libc_cv_rootsbindir@
|
|
infodir = @infodir@
|
|
includedir = @includedir@
|
|
|
|
# Should we use and build ldconfig?
|
|
use-ldconfig = @use_ldconfig@
|
|
|
|
# Maybe the `ldd' script must be rewritten.
|
|
ldd-rewrite-script = @ldd_rewrite_script@
|
|
|
|
# System configuration.
|
|
config-machine = @host_cpu@
|
|
base-machine = @base_machine@
|
|
config-vendor = @host_vendor@
|
|
config-os = @host_os@
|
|
config-sysdirs = @sysnames@
|
|
|
|
defines = @DEFINES@
|
|
sysincludes = @SYSINCLUDES@
|
|
all-warnings = @all_warnings@
|
|
|
|
elf = @elf@
|
|
have-protected = @libc_cv_asm_protected_directive@
|
|
have-z-nodelete = @libc_cv_z_nodelete@
|
|
have-z-nodlopen = @libc_cv_z_nodlopen@
|
|
have-z-initfirst = @libc_cv_z_initfirst@
|
|
have-z-combreloc = @libc_cv_z_combreloc@
|
|
have-z-execstack = @libc_cv_z_execstack@
|
|
have-initfini = @libc_cv_have_initfini@
|
|
have-z-relro = @libc_cv_z_relro@
|
|
have-Bgroup = @libc_cv_Bgroup@
|
|
need-nopic-initfini = @nopic_initfini@
|
|
with-fp = @with_fp@
|
|
with-cvs = @with_cvs@
|
|
old-glibc-headers = @old_glibc_headers@
|
|
unwind-find-fde = @libc_cv_gcc_unwind_find_fde@
|
|
have-initfini-array = @libc_cv_initfinit_array@
|
|
have-cpp-asm-debuginfo = @libc_cv_cpp_asm_debuginfo@
|
|
enable-check-abi = @enable_check_abi@
|
|
have-forced-unwind = @libc_cv_forced_unwind@
|
|
have-fpie = @libc_cv_fpie@
|
|
have-cc-with-libunwind = @libc_cv_cc_with_libunwind@
|
|
fno-unit-at-a-time = @fno_unit_at_a_time@
|
|
|
|
static-libgcc = @libc_cv_gcc_static_libgcc@
|
|
|
|
versioning = @VERSIONING@
|
|
oldest-abi = @oldest_abi@
|
|
no-whole-archive = @no_whole_archive@
|
|
exceptions = @exceptions@
|
|
have_doors = @linux_doors@
|
|
|
|
mach-interface-list = @mach_interface_list@
|
|
|
|
have-bash2 = @libc_cv_have_bash2@
|
|
have-ksh = @libc_cv_have_ksh@
|
|
|
|
sizeof-long-double = @sizeof_long_double@
|
|
|
|
# Configuration options.
|
|
gnu-as = @gnu_as@
|
|
gnu-ld = @gnu_ld@
|
|
build-static = @static@
|
|
build-shared = @shared@
|
|
build-pic-default= @pic_default@
|
|
build-profile = @profile@
|
|
build-omitfp = @omitfp@
|
|
build-bounded = @bounded@
|
|
build-static-nss = @static_nss@
|
|
add-ons = @subdirs@
|
|
cross-compiling = @cross_compiling@
|
|
force-install = @force_install@
|
|
|
|
# Build tools.
|
|
CC = @CC@
|
|
CXX = @CXX@
|
|
BUILD_CC = @BUILD_CC@
|
|
CFLAGS = @CFLAGS@
|
|
ASFLAGS-config = @ASFLAGS_config@
|
|
AR = @AR@
|
|
RANLIB = @RANLIB@
|
|
MAKEINFO = @MAKEINFO@
|
|
AS = $(CC) -c
|
|
MIG = @MIG@
|
|
PWD_P = @PWD_P@
|
|
BISON = @BISON@
|
|
AUTOCONF = @AUTOCONF@
|
|
OBJDUMP = @OBJDUMP@
|
|
|
|
# Installation tools.
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_INFO = @INSTALL_INFO@
|
|
LN_S = @LN_S@
|
|
MSGFMT = @MSGFMT@
|
|
|
|
# Script execution tools.
|
|
BASH = @BASH@
|
|
KSH = @KSH@
|
|
AWK = @AWK@
|
|
PERL = @PERL@
|
|
|
|
# Additional libraries.
|
|
LIBGD = @LIBGD@
|
|
|
|
# More variables may be inserted below by configure.
|