From 54c3baf3b69a129a60f226ac2500bc21711d043c Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 12 Mar 2005 14:47:32 +0000 Subject: [PATCH] Renamed relocate_image() to arch_relocate_image() and removed the RFLAG_RELOCATED flag handling (done by the architecture independent code now). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11687 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/apps/rld/arch/ppc/rldreloc.inc | 7 +------ src/kernel/apps/rld/arch/x86/rldreloc.inc | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/kernel/apps/rld/arch/ppc/rldreloc.inc b/src/kernel/apps/rld/arch/ppc/rldreloc.inc index 1e92de5636..dd7ee34e4f 100644 --- a/src/kernel/apps/rld/arch/ppc/rldreloc.inc +++ b/src/kernel/apps/rld/arch/ppc/rldreloc.inc @@ -14,15 +14,10 @@ relocate_rel(image_t *image, struct Elf32_Rel *rel, int rel_len) static status_t -relocate_image(image_t *image) +arch_relocate_image(image_t *image) { status_t status = B_NO_ERROR; - if (image->flags & RFLAG_RELOCATED) - return B_OK; - - image->flags |= RFLAG_RELOCATED; - // deal with the rels first if (image->rel) { status = relocate_rel(image, image->rel, image->rel_len); diff --git a/src/kernel/apps/rld/arch/x86/rldreloc.inc b/src/kernel/apps/rld/arch/x86/rldreloc.inc index 6c51fb2af4..1aec2eb56f 100644 --- a/src/kernel/apps/rld/arch/x86/rldreloc.inc +++ b/src/kernel/apps/rld/arch/x86/rldreloc.inc @@ -95,15 +95,10 @@ relocate_rel(image_t *image, struct Elf32_Rel *rel, int rel_len) */ static status_t -relocate_image(image_t *image) +arch_relocate_image(image_t *image) { status_t status; - if (image->flags & RFLAG_RELOCATED) - return B_OK; - - image->flags |= RFLAG_RELOCATED; - // deal with the rels first if (image->rel) { status = relocate_rel(image, image->rel, image->rel_len);