Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Roland McGrath committed Mar 3, 2003
1 parent e9104e5 commit 958528b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
3 changes: 1 addition & 2 deletions sysdeps/ia64/dl-fptr.c
Expand Up @@ -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;
Expand Down
5 changes: 2 additions & 3 deletions sysdeps/ia64/dl-lookupcfg.h
@@ -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
Expand All @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions sysdeps/ia64/dl-machine.h
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/ia64/dl-symaddr.c
@@ -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
Expand All @@ -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;

Expand Down

0 comments on commit 958528b

Please sign in to comment.