Wed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
authorIan Lance Taylor <ian@airs.com>
Wed, 7 Aug 1996 18:43:48 +0000 (18:43 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 7 Aug 1996 18:43:48 +0000 (18:43 +0000)
* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
* acconfig.h (NEED_DECLARATION_STRSTR): New macro.
(NEED_DECLARATION_SBRK): New macro.
* configure, config.in: Rebuild.
* sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR.
* ldmain.c (sbrk): Declare if HAVE_SBRK and
NEED_DECLARATION_SBRK.

ld/ChangeLog
ld/acconfig.h

index 3065b4495e015cbd4fd2003c5b63ab630f33cdcc..ba00e68b5dd46c263b0d8d9e550179b4f8abd085 100644 (file)
@@ -1,3 +1,15 @@
+Wed Aug  7 14:40:48 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
+
+       * configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk.
+       * acconfig.h (NEED_DECLARATION_STRSTR): New macro.
+       (NEED_DECLARATION_SBRK): New macro.
+       * configure, config.in: Rebuild.
+       * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR.
+       * ldmain.c (sbrk): Declare if HAVE_SBRK and
+       NEED_DECLARATION_SBRK.
+
+       * ldlang.c (lang_record_phdrs): Cast xmalloc and xrealloc return.
+
 Mon Aug  5 16:26:14 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * ldlex.l: Recognize OVERLAY.
index 75c00ffbc06ba4830fa616cd9557b34cfec7ef7e..7be98654f5603d557a1af87be0a217d0a967ed24 100644 (file)
@@ -1,6 +1,12 @@
 
+/* Whether strstr must be declared even if <string.h> is included.  */
+#undef NEED_DECLARATION_STRSTR
+
 /* Whether free must be declared even if <stdlib.h> is included.  */
 #undef NEED_DECLARATION_FREE
+
+/* Whether sbrk must be declared even if <unistd.h> is included.  */
+#undef NEED_DECLARATION_SBRK
 @TOP@
 
 /* Do we need to use the b modifier when opening binary files?  */