* 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.
}
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;
/* 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
/* 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)
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)
/* 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
#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;