Include SEC_CODE so that code sections are assigned the LOAD attribute.
[deliverable/binutils-gdb.git] / libiberty / xmalloc.c
index 433fd5ce3f3e393aa44c120b5d027808bb125e96..c3fe1a84f4d2c21ae9c90c6b3800e1131e1ab81a 100644 (file)
@@ -68,7 +68,7 @@ function will be called to print an error message and terminate execution.
 
 #include <stdio.h>
 
-#ifdef __STDC__
+#ifdef ANSI_PROTOTYPES
 #include <stddef.h>
 #else
 #define size_t unsigned long
@@ -120,7 +120,7 @@ xmalloc_failed (size)
   else
     allocated = (char *) sbrk (0) - (char *) &environ;
   fprintf (stderr,
-          "\n%s%sout of memory allocating %lu bytes after allocating %lu bytes\n",
+          "\n%s%sout of memory allocating %lu bytes after a total of %lu bytes\n",
           name, *name ? ": " : "",
           (unsigned long) size, (unsigned long) allocated);
 #else /* HAVE_SBRK */
This page took 0.024358 seconds and 4 git commands to generate.