Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so/arch/arm Use relocbase, not mapbase.
details: https://anonhg.NetBSD.org/src/rev/d200679574e8
branches: trunk
changeset: 786291:d200679574e8
user: matt <matt%NetBSD.org@localhost>
date: Thu Apr 25 13:15:26 2013 +0000
description:
Use relocbase, not mapbase.
diffstat:
libexec/ld.elf_so/arch/arm/find_exidx.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r cf7f39d18dcf -r d200679574e8 libexec/ld.elf_so/arch/arm/find_exidx.c
--- a/libexec/ld.elf_so/arch/arm/find_exidx.c Thu Apr 25 13:14:41 2013 +0000
+++ b/libexec/ld.elf_so/arch/arm/find_exidx.c Thu Apr 25 13:15:26 2013 +0000
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: find_exidx.c,v 1.1 2013/04/24 22:32:29 matt Exp $");
+__RCSID("$NetBSD: find_exidx.c,v 1.2 2013/04/25 13:15:26 matt Exp $");
#endif /* not lint */
#include "debug.h"
@@ -62,7 +62,7 @@
* need to see if the address matches a PT_LOAD section.
*/
if (obj != NULL && obj->exidx_start != NULL) {
- va -= (vaddr_t)obj->mapbase;
+ va -= (vaddr_t)obj->relocbase;
const Elf_Phdr *ph = obj->phdr;
const Elf_Phdr * const phlimit = ph + obj->phsize / sizeof(*ph);
for (; ph < phlimit; ph++) {
Home |
Main Index |
Thread Index |
Old Index