]> sourceware.org Git - glibc.git/commitdiff
* sysdeps/generic/readelflib.c (process_elf_file): Fix typo.
authorRoland McGrath <roland@gnu.org>
Thu, 29 Aug 2002 20:39:40 +0000 (20:39 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 29 Aug 2002 20:39:40 +0000 (20:39 +0000)
* iconv/gconv_int.h: Include <stdlib.h> for alloca decl.
(norm_add_slashes): alloca -> __alloca

* sysdeps/generic/readelflib.c (process_elf_file): Make LOADADDR
p_vaddr/p_offset when computing LOADADDR.

ChangeLog
iconv/gconv_int.h

index 60d800183495ffb639d4a0dad08c01cb651ebfbb..ce7fe274f0d241f21566f5aa6c15c306e76185c9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-08-29  Roland McGrath  <roland@redhat.com>
+
+       * sysdeps/generic/readelflib.c (process_elf_file): Fix typo.
+
+       * iconv/gconv_int.h: Include <stdlib.h> for alloca decl.
+       (norm_add_slashes): alloca -> __alloca
+
 2002-08-29  Jakub Jelinek  <jakub@redhat.com>
 
        * stdio-common/vfprintf.c (vfprintf): Add builtin_expect for
@@ -7,11 +14,9 @@
        -mcpu=ultrasparc, not only tune for it.
        (ASFLAGS*): Set unconditionally.
 
-2002-08-29  Jakub Jelinek  <jakub@redhat.com>
-
-       * sysdeps/generic/readelflib.c (process_elf_file): Make loadaddr
+       * sysdeps/generic/readelflib.c (process_elf_file): Make LOADADDR
        ElfW(Addr).  Don't mask upper 32-bits and lower 12 bits off from
-       p_vaddr/p_offset when computing loadaddr.
+       p_vaddr/p_offset when computing LOADADDR.
 
 2002-08-29  Ulrich Drepper  <drepper@redhat.com>
 
index a16a5434d71c3cad76faecbb5aab8e86901c7120..1ac878d900bbef0c3f3b70ea84f5e9281693aca1 100644 (file)
@@ -21,6 +21,7 @@
 #define _GCONV_INT_H   1
 
 #include "gconv.h"
+#include <stdlib.h>            /* For alloca used in macro below.  */
 
 __BEGIN_DECLS
 
@@ -138,7 +139,7 @@ extern const char *__gconv_path_envvar attribute_hidden;
       if (*cp++ == '/')                                                              \
        ++cnt;                                                                \
                                                                              \
-    tmp = result = alloca (cp - (str) + 3 + suffix_len);                     \
+    tmp = result = __alloca (cp - (str) + 3 + suffix_len);                   \
     cp = (str);                                                                      \
     while (*cp != '\0')                                                              \
       *tmp++ = __toupper_l (*cp++, &_nl_C_locobj);                           \
This page took 0.047192 seconds and 5 git commands to generate.