]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 8 Jan 2005 05:47:47 +0000 (05:47 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 8 Jan 2005 05:47:47 +0000 (05:47 +0000)
* sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
* sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
the register and result structures.
* sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
in the 32-bit register and result structures.

ChangeLog
sysdeps/powerpc/powerpc32/bits/link.h
sysdeps/powerpc/powerpc32/dl-machine.c
sysdeps/powerpc/powerpc64/bits/link.h

index cbd15f8e27ebd39c6b87916689c31179a66ba6c0..1a59d3e72b3a69e27f80b776321a80bb3a6651fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,14 @@
 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
+       If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
        * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
        Extend _dl_prof_resolve to add pass extra parameters to
        _dl_profile_fixup and set up structure with register content.
+       * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
+       the register and result structures.
+       * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
+       in the 32-bit register and result structures.
 
        * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
 
index 2d49c09fb4b56a5208634af32cd865d2e15c7405..7f44087120a0d8137ccf4d24ad0e7ad4e1200954 100644 (file)
 /* Registers for entry into PLT on PPC32.  */
 typedef struct La_ppc32_regs
 {
-  uint64_t lr_reg[8];
+  uint32_t lr_reg[8];
   double lr_fp[8];
   uint32_t lr_vreg[12][4];
-  uint64_t lr_r1;
-  uint64_t lr_lr;
+  uint32_t lr_r1;
+  uint32_t lr_lr;
 } La_ppc32_regs;
 
 /* Return values for calls from PLT on PPC32.  */
 typedef struct La_ppc32_retval
 {
-  uint64_t lrv_r3;
-  uint64_t lrv_r4;
+  uint32_t lrv_r3;
+  uint32_t lrv_r4;
   double lrv_fp[8];
   uint32_t lrv_v2[4];
 } La_ppc32_retval;
index 06960716b9de210cfea3d1f46fdcc36b3df56e71..4120a0238214123e293c23fb3e40b4e8d6c8a9c5 100644 (file)
@@ -1,5 +1,5 @@
 /* Machine-dependent ELF dynamic relocation functions.  PowerPC version.
-   Copyright (C) 1995-2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 1995-2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -242,7 +242,8 @@ __elf_machine_runtime_setup (struct link_map *map, int lazy, int profile)
                                         : _dl_runtime_resolve);
          Elf32_Word offset;
 
-         if (profile && _dl_name_match_p (GLRO(dl_profile), map))
+         if (profile && GLRO(dl_profile) != NULL
+             && _dl_name_match_p (GLRO(dl_profile), map))
            /* This is the object we are looking for.  Say that we really
               want profiling and the timers are started.  */
            GL(dl_profile_map) = map;
index 227c7f9a4f45e19a96b7dc361ba4de32cd436efa..34e9a6072663d789a308cf67fa721c768b52703d 100644 (file)
 /* Registers for entry into PLT on PPC32.  */
 typedef struct La_ppc32_regs
 {
-  uint64_t lr_reg[8];
+  uint32_t lr_reg[8];
   double lr_fp[8];
   uint32_t lr_vreg[12][4];
-  uint64_t lr_r1;
-  uint64_t lr_lr;
+  uint32_t lr_r1;
+  uint32_t lr_lr;
 } La_ppc32_regs;
 
 /* Return values for calls from PLT on PPC32.  */
 typedef struct La_ppc32_retval
 {
-  uint64_t lrv_r3;
-  uint64_t lrv_r4;
+  uint32_t lrv_r3;
+  uint32_t lrv_r4;
   double lrv_fp[8];
   uint32_t lrv_v2[4];
 } La_ppc32_retval;
This page took 0.056433 seconds and 5 git commands to generate.