summaryrefslogtreecommitdiffstats
path: root/libebl/ppc64_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'libebl/ppc64_init.c')
-rw-r--r--libebl/ppc64_init.c49
1 files changed, 0 insertions, 49 deletions
diff --git a/libebl/ppc64_init.c b/libebl/ppc64_init.c
deleted file mode 100644
index c8a93546..00000000
--- a/libebl/ppc64_init.c
+++ /dev/null
@@ -1,49 +0,0 @@
-/* Initialization of PPC64 specific backend library.
- Copyright (C) 2004, 2005 Red Hat, Inc.
- Written by Ulrich Drepper <[email protected]>, 2004.
-
- This program is Open Source software; you can redistribute it and/or
- modify it under the terms of the Open Software License version 1.0 as
- published by the Open Source Initiative.
-
- You should have received a copy of the Open Software License along
- with this program; if not, you may obtain a copy of the Open Software
- License version 1.0 from http://www.opensource.org/licenses/osl.php or
- by writing the Open Source Initiative c/o Lawrence Rosen, Esq.,
- 3001 King Ranch Road, Ukiah, CA 95482. */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#define BACKEND ppc64_
-#define RELOC_PREFIX R_PPC64_
-#include "libebl_CPU.h"
-
-/* This defines the common reloc hooks based on ppc64_reloc.def. */
-#include "common-reloc.c"
-
-
-const char *
-ppc64_init (elf, machine, eh, ehlen)
- Elf *elf __attribute__ ((unused));
- GElf_Half machine __attribute__ ((unused));
- Ebl *eh;
- size_t ehlen;
-{
- /* Check whether the Elf_BH object has a sufficent size. */
- if (ehlen < sizeof (Ebl))
- return NULL;
-
- /* We handle it. */
- eh->name = "PowerPC 64-bit";
- ppc64_init_reloc (eh);
- eh->reloc_simple_type = ppc64_reloc_simple_type;
- eh->dynamic_tag_name = ppc64_dynamic_tag_name;
- eh->dynamic_tag_check = ppc64_dynamic_tag_check;
- eh->copy_reloc_p = ppc64_copy_reloc_p;
- eh->check_special_symbol = ppc64_check_special_symbol;
- eh->bss_plt_p = ppc64_bss_plt_p;
-
- return MODVERSION;
-}