From 91bf35de4c18fb4ed0bb495a8ad81a55311a273f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 22 Jan 2005 08:03:27 +0000 Subject: [PATCH] 2005-01-21 Roland McGrath * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS. * sysdeps/i386/dl-machine.h: Update decl. --- elf/dl-runtime.c | 4 ++-- sysdeps/i386/dl-machine.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c index ab177b8..56d2371 100644 --- a/elf/dl-runtime.c +++ b/elf/dl-runtime.c @@ -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); diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h index b7fd448..fa65473 100644 --- a/sysdeps/i386/dl-machine.h +++ b/sysdeps/i386/dl-machine.h @@ -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 -- 2.7.4