diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-01-14 06:29:04 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-05-28 05:54:04 -0700 |
commit | 1ea33bb5517516d1d1005b953c92a071454e66d5 (patch) | |
tree | 7c98548c10cbcdb755bdaeaf4ad5b40d01779478 /README.libm | |
parent | 58007e9e68913290b1f4f73afc1055f779a8ed5d (diff) | |
download | glibc-1ea33bb5517516d1d1005b953c92a071454e66d5.zip glibc-1ea33bb5517516d1d1005b953c92a071454e66d5.tar.gz glibc-1ea33bb5517516d1d1005b953c92a071454e66d5.tar.bz2 |
Support compilers defaulting to PIE
To support building glibc with GCC 6 configured with --enable-default-pie,
which generates PIE by default, we need to build programs as PIE. But
elf/tst-dlopen-aout must not be built as PIE since it tests dlopen on
ET_EXEC file and PIE is ET_DYN.
[BZ #17841]
* Makeconfig (no-pie-ldflag): New.
(+link): Set to $(+link-pie) if default to PIE.
(+link-tests): Set to $(+link-pie-tests) if default to PIE.
* config.make.in (build-pie-default): New.
* configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
is default. AC_SUBST.
* configure: Regenerated.
* elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
Diffstat (limited to 'README.libm')
0 files changed, 0 insertions, 0 deletions