From ae9c9748311238d3a04b424c1bb54dd049083e69 Mon Sep 17 00:00:00 2001 From: rob Date: Tue, 18 Dec 2007 00:09:53 +0000 Subject: [PATCH] add a missing section header table index conversion git-svn-id: https://svn.aros.org:8080/svn/aros/trunk/AROS@27483 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- rom/dos/internalloadseg_elf.c | 2 +- rom/dos/internalloadseg_elf64.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rom/dos/internalloadseg_elf.c b/rom/dos/internalloadseg_elf.c index 02633a1c5..6e161f35d 100644 --- a/rom/dos/internalloadseg_elf.c +++ b/rom/dos/internalloadseg_elf.c @@ -755,7 +755,7 @@ BPTR InternalLoadSeg_ELF #endif /* Does this relocation section refer to a hunk? If so, addr must be != 0 */ - sh[sh[i].info].addr + sh[SHINDEX(sh[i].info)].addr ) { sh[i].addr = load_block(file, sh[i].offset, sh[i].size, funcarray, DOSBase); diff --git a/rom/dos/internalloadseg_elf64.c b/rom/dos/internalloadseg_elf64.c index 3bbe1acce..2cb51f9ca 100644 --- a/rom/dos/internalloadseg_elf64.c +++ b/rom/dos/internalloadseg_elf64.c @@ -611,7 +611,7 @@ BPTR InternalLoadSeg_ELF64 #endif /* Does this relocation section refer to a hunk? If so, addr must be != 0 */ - sh[sh[i].info].addr + sh[SHINDEX(sh[i].info)].addr ) { sh[i].addr = load_block(file, sh[i].offset, sh[i].size, funcarray, DOSBase); -- 2.11.4.GIT