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.
This commit is contained in:
Roland McGrath 2005-01-22 08:03:27 +00:00
parent be184b1d26
commit 91bf35de4c
2 changed files with 3 additions and 3 deletions

View 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);

View 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