* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Don't
[glibc.git] / sysdeps / ia64 / dl-lookupcfg.h
blob884968e895092fb0f7fcc8a989de5f35082fac87
1 /* Configuration of lookup functions.
2 Copyright (C) 2000 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 02111-1307 USA. */
20 /* The ia64 need more information from the symbol lookup function
21 than just the address. */
22 #define DL_LOOKUP_RETURNS_MAP
23 #define ELF_FUNCTION_PTR_IS_SPECIAL
24 #define DL_UNMAP_IS_SPECIAL
26 extern void *_dl_symbol_address (const struct link_map *map,
27 const Elf64_Sym *ref);
29 #define DL_SYMBOL_ADDRESS(map, ref) _dl_symbol_address(map, ref)
31 extern Elf64_Addr _dl_lookup_address (const void *address);
33 #define DL_LOOKUP_ADDRESS(addr) _dl_lookup_address (addr)
35 extern void _dl_unmap (struct link_map *map);
37 #define DL_UNMAP(map) _dl_unmap (map)
39 extern Elf64_Addr _dl_function_address (const struct link_map *map,
40 Elf64_Addr start);
42 #define DL_FUNCTION_ADDRESS(map, addr) _dl_function_address (map, addr)
43 #define DL_DT_INIT_ADDRESS(map, addr) DL_FUNCTION_ADDRESS (map, addr)
44 #define DL_DT_FINI_ADDRESS(map, addr) DL_FUNCTION_ADDRESS (map, addr)