summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-02-20 09:50:50 +0000
committerRoland McGrath <roland@gnu.org>1995-02-20 09:50:50 +0000
commit0923c7a543d377bae9da0ad7075c8f9664ae70dc (patch)
tree7fba8f9a64d1aa1a457537d8f08819ed8c1a6cf4 /config.h.in
parent9c97d688c1798d080a42e024eda0fc6e681aa97f (diff)
Mon Feb 20 04:04:57 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
* config.h.in [HAVE_ELF || HAVE_GNU_LD]: Define HAVE_WEAK_SYMBOLS. * stdlib/strtod.c (PASTE, PASTE1): New helper macros; use these in access to float.h macros. * misc/efgcvt.c: New file. * misc/Makefile (routines): Add efgcvt.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 5761db2c5c..504f77021e 100644
--- a/config.h.in
+++ b/config.h.in
@@ -13,6 +13,13 @@
/* Define if using the GNU assembler, gas. */
#undef HAVE_GNU_AS
+
+/* ELF has weak symbols, and with GNU ld a.out does too. */
+#ifndef HAVE_WEAK_SYMBOLS
+#if defined (HAVE_ELF) || defined (HAVE_GNU_LD)
+#define HAVE_WEAK_SYMBOLS
+#endif
+#endif
/* These symbols might be defined by some sysdeps configures. */