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
This commit is contained in:
@@ -14,15 +14,10 @@ relocate_rel(image_t *image, struct Elf32_Rel *rel, int rel_len)
|
|||||||
|
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
relocate_image(image_t *image)
|
arch_relocate_image(image_t *image)
|
||||||
{
|
{
|
||||||
status_t status = B_NO_ERROR;
|
status_t status = B_NO_ERROR;
|
||||||
|
|
||||||
if (image->flags & RFLAG_RELOCATED)
|
|
||||||
return B_OK;
|
|
||||||
|
|
||||||
image->flags |= RFLAG_RELOCATED;
|
|
||||||
|
|
||||||
// deal with the rels first
|
// deal with the rels first
|
||||||
if (image->rel) {
|
if (image->rel) {
|
||||||
status = relocate_rel(image, image->rel, image->rel_len);
|
status = relocate_rel(image, image->rel, image->rel_len);
|
||||||
|
|||||||
@@ -95,15 +95,10 @@ relocate_rel(image_t *image, struct Elf32_Rel *rel, int rel_len)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static status_t
|
static status_t
|
||||||
relocate_image(image_t *image)
|
arch_relocate_image(image_t *image)
|
||||||
{
|
{
|
||||||
status_t status;
|
status_t status;
|
||||||
|
|
||||||
if (image->flags & RFLAG_RELOCATED)
|
|
||||||
return B_OK;
|
|
||||||
|
|
||||||
image->flags |= RFLAG_RELOCATED;
|
|
||||||
|
|
||||||
// deal with the rels first
|
// deal with the rels first
|
||||||
if (image->rel) {
|
if (image->rel) {
|
||||||
status = relocate_rel(image, image->rel, image->rel_len);
|
status = relocate_rel(image, image->rel, image->rel_len);
|
||||||
|
|||||||
Reference in New Issue
Block a user