aboutsummaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-02-21 12:06:07 -0800
committerDavid S. Miller <davem@davemloft.net>2012-02-20 17:51:48 -0800
commitc80098a9a05b7d5f8ad1488135f2cee613998c50 (patch)
treecd8d1e7b3de2442f45c88143edd1869eb594a8a2 /config.h.in
parent3a2545a0f345a6c6348e9f7ce56e929aeab61f10 (diff)
downloadglibc-c80098a9a05b7d5f8ad1488135f2cee613998c50.zip
glibc-c80098a9a05b7d5f8ad1488135f2cee613998c50.tar.gz
glibc-c80098a9a05b7d5f8ad1488135f2cee613998c50.tar.bz2
Add sparc configure checks for GOTDATA support.
* config.h.in (HAVE_BINUTILS_GOTDATA): New. (HAVE_GCC_GOTDATA): New. * sysdeps/sparc/elf/configure.in: Test for GOTDATA relocation support in both binutils and gcc. * sysdeps/sparc/elf/configure: Regenerate.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 53c6823..b503454 100644
--- a/config.h.in
+++ b/config.h.in
@@ -87,6 +87,12 @@
certain registers (CR0, MQ, CTR, LR) in asm statements. */
#undef BROKEN_PPC_ASM_CR0
+/* Defined on SPARC if as and ld both support GOTDATA relocations. */
+#undef HAVE_BINUTILS_GOTDATA
+
+/* Defined on SPARC if GCC emits GOTDATA relocations. */
+#undef HAVE_GCC_GOTDATA
+
/* Define if the linker supports the -z combreloc option. */
#undef HAVE_Z_COMBRELOC