From f98abbe0ebed3787b30236b370538956c9c695ca Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 6 Nov 2014 13:08:48 +1100 Subject: libdl: Disable building libdl for the NIOS2. No relocation support. This should have been added. --- cpukit/libdl/rtl-mdreloc-nios2.c | 44 ---------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 cpukit/libdl/rtl-mdreloc-nios2.c (limited to 'cpukit/libdl') diff --git a/cpukit/libdl/rtl-mdreloc-nios2.c b/cpukit/libdl/rtl-mdreloc-nios2.c deleted file mode 100644 index 4f63f07f98..0000000000 --- a/cpukit/libdl/rtl-mdreloc-nios2.c +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Taken from NetBSD and stripped of the relocations not needed on RTEMS. - */ - -/* $NetBSD: mdreloc.c,v 1.26 2010/01/14 11:58:32 skrll Exp $ */ - -#include - -#include -#include -#include -#include - -#include -#include "rtl-elf.h" -#include "rtl-error.h" -#include "rtl-trace.h" - -bool -rtems_rtl_elf_rel_resolve_sym (Elf_Word type) -{ - return true; -} - - -bool -rtems_rtl_elf_relocate_rela (rtems_rtl_obj_t* obj, - const Elf_Rela* rela, - rtems_rtl_obj_sect_t* sect, - Elf_Word symvalue) -{ - - return true; -} - -bool -rtems_rtl_elf_relocate_rel (rtems_rtl_obj_t* obj, - const Elf_Rel* rel, - rtems_rtl_obj_sect_t* sect, - Elf_Word symvalue) -{ - printf ("rtl: rel type record not supported; please report\n"); - return false; -} -- cgit v1.2.3