2005-01-21 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Sat, 22 Jan 2005 08:03:27 +0000 (08:03 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 22 Jan 2005 08:03:27 +0000 (08:03 +0000)
* elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
* sysdeps/i386/dl-machine.h: Update decl.

elf/dl-runtime.c
sysdeps/i386/dl-machine.h

index ab177b8..56d2371 100644 (file)
@@ -1,5 +1,5 @@
 /* On-demand PLT fixup for shared objects.
-   Copyright (C) 1995-2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1995-2002,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
@@ -129,7 +129,7 @@ _dl_profile_fixup (
                   ELF_MACHINE_RUNTIME_FIXUP_ARGS,
 #endif
                   struct link_map *l, ElfW(Word) reloc_offset,
-                  ElfW(Addr) retaddr, const void *regs, long int *framesizep)
+                  ElfW(Addr) retaddr, void *regs, long int *framesizep)
 {
   void (*mcount_fct) (ElfW(Addr), ElfW(Addr)) = INTUSE(_dl_mcount);
 
index b7fd448..fa65473 100644 (file)
@@ -162,7 +162,7 @@ extern ElfW(Addr) _dl_fixup (struct link_map *__unbounded l,
      ARCH_FIXUP_ATTRIBUTE;
 extern ElfW(Addr) _dl_profile_fixup (struct link_map *l,
                                     ElfW(Word) reloc_offset,
-                                    ElfW(Addr) retaddr, const void *regs,
+                                    ElfW(Addr) retaddr, void *regs,
                                     long int *framesizep)
      ARCH_FIXUP_ATTRIBUTE;
 # endif