about summary refs log tree commit diff
path: root/ChangeLog.9
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-01-14 06:29:04 -0800
committerH.J. Lu <hjl.tools@gmail.com>2015-05-28 05:54:04 -0700
commit1ea33bb5517516d1d1005b953c92a071454e66d5 (patch)
tree7c98548c10cbcdb755bdaeaf4ad5b40d01779478 /ChangeLog.9
parent58007e9e68913290b1f4f73afc1055f779a8ed5d (diff)
downloadglibc-1ea33bb5517516d1d1005b953c92a071454e66d5.tar.gz
glibc-1ea33bb5517516d1d1005b953c92a071454e66d5.tar.xz
glibc-1ea33bb5517516d1d1005b953c92a071454e66d5.zip
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 'ChangeLog.9')
0 files changed, 0 insertions, 0 deletions