about summary refs log tree commit diff
path: root/nptl/pthread_spin_trylock.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-06-26 12:46:08 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-06-28 11:13:24 -0700
commit0bece22943b76e739396f41c3929c5ff426839c7 (patch)
treeaaeefee5c3f21e5cd25e9c9de2001eaac60c0b57 /nptl/pthread_spin_trylock.c
parent82c62e711080e9cb81d5cde1065b4f88e736830d (diff)
downloadglibc-hjl/pr14995.tar.gz
glibc-hjl/pr14995.tar.xz
glibc-hjl/pr14995.zip
Check linker support for INSERT in linker script hjl/pr14995
Since gold doesn't support INSERT in linker script:

https://sourceware.org/bugzilla/show_bug.cgi?id=15373

tst-split-dynreloc fails to link with gold.  Check if linker supports
INSERT in linker script before using it.

	* config.make.in (have-insert): New.
	* configure.ac (libc_cv_insert): New.  Set to yes if linker
	supports INSERT in linker script.
	(AC_SUBST(libc_cv_insert): New.
	* configure: Regenerated.
	* sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
	if $(have-insert) == yes.
Diffstat (limited to 'nptl/pthread_spin_trylock.c')
0 files changed, 0 insertions, 0 deletions