aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-01-22 08:03:27 +0000
committerRoland McGrath <roland@gnu.org>2005-01-22 08:03:27 +0000
commit91bf35de4c18fb4ed0bb495a8ad81a55311a273f (patch)
treec7151bd67938afb79bccf4dcceaedee7b41fc5fe
parentbe184b1d265431c975332eea4047d3a69f7e9f57 (diff)
downloadglibc-91bf35de4c18fb4ed0bb495a8ad81a55311a273f.zip
glibc-91bf35de4c18fb4ed0bb495a8ad81a55311a273f.tar.gz
glibc-91bf35de4c18fb4ed0bb495a8ad81a55311a273f.tar.bz2
2005-01-21 Roland McGrath <roland@redhat.com>
* elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS. * sysdeps/i386/dl-machine.h: Update decl.
-rw-r--r--elf/dl-runtime.c4
-rw-r--r--sysdeps/i386/dl-machine.h2
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