diff options
author | marcel <marcel@FreeBSD.org> | 2014-07-07 00:27:09 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-07-07 00:27:09 +0000 |
commit | 9f28abd980752efcf77578cd494f1015083c2a2b (patch) | |
tree | 98db2559cee662a9de7212211dd5c69176b58254 /sys/kern/link_elf.c | |
parent | 43f783bfcf60b349841acd57895767177114e4ae (diff) | |
download | FreeBSD-src-9f28abd980752efcf77578cd494f1015083c2a2b.zip FreeBSD-src-9f28abd980752efcf77578cd494f1015083c2a2b.tar.gz |
Remove ia64.
This includes:
o All directories named *ia64*
o All files named *ia64*
o All ia64-specific code guarded by __ia64__
o All ia64-specific makefile logic
o Mention of ia64 in comments and documentation
This excludes:
o Everything under contrib/
o Everything under crypto/
o sys/xen/interface
o sys/sys/elf_common.h
Discussed at: BSDcan
Diffstat (limited to 'sys/kern/link_elf.c')
-rw-r--r-- | sys/kern/link_elf.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/kern/link_elf.c b/sys/kern/link_elf.c index 631ba75..ecee5a7 100644 --- a/sys/kern/link_elf.c +++ b/sys/kern/link_elf.c @@ -317,10 +317,6 @@ link_elf_delete_gdb(struct link_map *l) } #endif /* GDB */ -#ifdef __ia64__ -Elf_Addr link_elf_get_gp(linker_file_t); -#endif - /* * The kernel symbol table starts here. */ @@ -1454,21 +1450,6 @@ link_elf_each_function_nameval(linker_file_t file, return (0); } -#ifdef __ia64__ -/* - * Each KLD has its own GP. The GP value for each load module is given by - * DT_PLTGOT on ia64. We need GP to construct function descriptors, but - * don't have direct access to the ELF file structure. The link_elf_get_gp() - * function returns the GP given a pointer to a generic linker file struct. - */ -Elf_Addr -link_elf_get_gp(linker_file_t lf) -{ - elf_file_t ef = (elf_file_t)lf; - return ((Elf_Addr)ef->got); -} -#endif - const Elf_Sym * elf_get_sym(linker_file_t lf, Elf_Size symidx) { |