Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 27 Feb 2002 18:11:27 +0000 (18:11 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 27 Feb 2002 18:11:27 +0000 (18:11 +0000)
2002-02-27  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/dl-machine.h (elf_machine_load_address, RTLD_START):
Work around an Alpha gas bug.

2002-02-27  Ulrich Drepper  <drepper@redhat.com>

* catgets/open_catalog.c (__open_catalog): Fix typo in code which
uses read to load the catalog.
Patch by Andy Isaacson <adi@unlimitedscale.com> [PR libc/3011].

inside libc itself.  Use INTDEF and INTDEF2 to define appropriate

ChangeLog
catgets/open_catalog.c
sysdeps/alpha/dl-machine.h

index 41b3243..618100d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2002-02-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/alpha/dl-machine.h (elf_machine_load_address, RTLD_START):
+       Work around an Alpha gas bug.
+
+2002-02-27  Ulrich Drepper  <drepper@redhat.com>
+
+       * catgets/open_catalog.c (__open_catalog): Fix typo in code which
+       uses read to load the catalog.
+       Patch by Andy Isaacson <adi@unlimitedscale.com> [PR libc/3011].
+
 2002-02-26  Ulrich Drepper  <drepper@redhat.com>
 
        * posix/Makefile (distribute): Add regcomp.c, regexec.c,
@@ -32,7 +43,7 @@
 2002-02-25  Ulrich Drepper  <drepper@redhat.com>
 
        * assert/assert-perr.c: Use INTUSE to reference functions and variables
-       inside libc itself.  Ise INTDEF and INTDEF2 to define appropriate
+       inside libc itself.  Use INTDEF and INTDEF2 to define appropriate
        aliases.  Add prototypes for the new aliases.
        * assert/assert.c: Likewise.
        * include/libc-symbols.h: Likewise.
index c38719e..66f1bf2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996-2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper, <drepper@gnu.org>.
 
@@ -237,7 +237,7 @@ __open_catalog (const char *cat_name, const char *nlspath, const char *env_var,
       /* Save read, handle partial reads.  */
       do
        {
-         size_t now = __read (fd, (((char *) &catalog->file_ptr)
+         size_t now = __read (fd, (((char *) catalog->file_ptr)
                                    + (st.st_size - todo)), todo);
          if (now == 0 || now == (size_t) -1)
            {
index 5feb46d..6024f13 100644 (file)
@@ -74,7 +74,7 @@ elf_machine_load_address (void)
       "0:\n\t"
       "br $0, 2f\n"
       "1:\n\t"
-      ".data\n"
+      ".section\t.data\n"
       "2:\n\t"
       ".quad 0b\n\t"
       ".previous"
@@ -294,7 +294,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
    its return value is the user program's entry point.  */
 
 #define RTLD_START asm ("\
-.text                                                          \n\
+       .section .text                                          \n\
        .set at                                                 \n\
        .globl _start                                           \n\
        .ent _start                                             \n\