2003-03-03 Roland McGrath <roland@redhat.com>

* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
	* sysdeps/ia64/dl-machine.h: Likewise.
	* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
	argument type.
	* sysdeps/ia64/dl-lookupcfg.h: Update decl.
This commit is contained in:
Roland McGrath 2003-03-03 09:45:09 +00:00
parent e9104e5530
commit 958528b013
4 changed files with 7 additions and 9 deletions

View File

@ -191,8 +191,7 @@ make_fptr_table (struct link_map *map)
}
Elf64_Addr
__ia64_make_fptr (const struct link_map *map,
const Elf64_Sym *sym, Elf64_Addr ip)
__ia64_make_fptr (struct link_map *map, const Elf64_Sym *sym, Elf64_Addr ip)
{
Elf64_Addr *ftab = map->l_mach.fptr_table;
const Elf64_Sym *symtab;

View File

@ -1,5 +1,5 @@
/* Configuration of lookup functions.
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Copyright (C) 2000, 2001, 2003 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
@ -26,8 +26,7 @@
/* Forward declaration. */
struct link_map;
extern void *_dl_symbol_address (const struct link_map *map,
const Elf64_Sym *ref);
extern void *_dl_symbol_address (struct link_map *map, const Elf64_Sym *ref);
#define DL_SYMBOL_ADDRESS(map, ref) _dl_symbol_address(map, ref)

View File

@ -52,8 +52,8 @@ struct ia64_fdesc_table
struct ia64_fdesc fdesc[0];
};
extern Elf64_Addr __ia64_make_fptr (const struct link_map *,
const Elf64_Sym *, Elf64_Addr);
extern Elf64_Addr __ia64_make_fptr (struct link_map *, const Elf64_Sym *,
Elf64_Addr);
static inline void
__ia64_init_bootstrap_fdesc_table (struct link_map *map)

View File

@ -1,5 +1,5 @@
/* Get the symbol address. IA-64 version.
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2003 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
@ -21,7 +21,7 @@
#include <dl-machine.h>
void *
_dl_symbol_address (const struct link_map *map, const Elf64_Sym *ref)
_dl_symbol_address (struct link_map *map, const Elf64_Sym *ref)
{
Elf64_Addr value = (map ? map->l_addr : 0) + ref->st_value;