Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 605660
Collapse All | Expand All

(-)a/ChangeLog (-8 lines)
Lines 2806-2819 Link Here
2806
	(huge): Remove variable.
2806
	(huge): Remove variable.
2807
	(__ceill): Do not force "inexact" exception.
2807
	(__ceill): Do not force "inexact" exception.
2808
2808
2809
2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2810
2811
	* config.h.in (BIND_NOW): New.
2812
	* configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
2813
	* configure: Regenerated.
2814
	* sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2815
	indirect branch via the GOT slot.
2816
2817
2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2809
2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2818
2810
2819
	[BZ #19765]
2811
	[BZ #19765]
(-)a/config.h.in (-3 lines)
Lines 91-99 Link Here
91
   include/libc-symbols.h that avoid PLT slots in the shared objects.  */
91
   include/libc-symbols.h that avoid PLT slots in the shared objects.  */
92
#undef	NO_HIDDEN
92
#undef	NO_HIDDEN
93
93
94
/* Define this to disable lazy relocations in DSOs.  */
95
#undef	BIND_NOW
96
97
/* AArch64 big endian ABI */
94
/* AArch64 big endian ABI */
98
#undef HAVE_AARCH64_BE
95
#undef HAVE_AARCH64_BE
99
96
(-)a/configure (-4 lines)
Lines 3417-3426 else Link Here
3417
fi
3417
fi
3418
3418
3419
3419
3420
if test "x$bindnow" = xyes; then
3421
  $as_echo "#define BIND_NOW 1" >>confdefs.h
3422
3423
fi
3424
3420
3425
# Check whether --enable-static-nss was given.
3421
# Check whether --enable-static-nss was given.
3426
if test "${enable_static_nss+set}" = set; then :
3422
if test "${enable_static_nss+set}" = set; then :
(-)a/configure.ac (-3 lines)
Lines 231-239 AC_ARG_ENABLE([bind-now], Link Here
231
	      [bindnow=$enableval],
231
	      [bindnow=$enableval],
232
	      [bindnow=no])
232
	      [bindnow=no])
233
AC_SUBST(bindnow)
233
AC_SUBST(bindnow)
234
if test "x$bindnow" = xyes; then
235
  AC_DEFINE(BIND_NOW)
236
fi
237
234
238
dnl On some platforms we cannot use dynamic loading.  We must provide
235
dnl On some platforms we cannot use dynamic loading.  We must provide
239
dnl static NSS modules.
236
dnl static NSS modules.
(-)a/sysdeps/x86_64/sysdep.h (-7 / +2 lines)
Lines 90-102 lose: \ Link Here
90
90
91
#undef JUMPTARGET
91
#undef JUMPTARGET
92
#ifdef PIC
92
#ifdef PIC
93
# ifdef BIND_NOW
93
#define JUMPTARGET(name)	name##@PLT
94
#  define JUMPTARGET(name)	*name##@GOTPCREL(%rip)
95
# else
96
#  define JUMPTARGET(name)	name##@PLT
97
# endif
98
#else
94
#else
99
# define JUMPTARGET(name)	name
95
#define JUMPTARGET(name)	name
100
#endif
96
#endif
101
97
102
/* Local label name for asm code. */
98
/* Local label name for asm code. */
103
- 

Return to bug 605660