diff options
| author | skrll <skrll@NetBSD.org> | 2013-08-03 13:17:05 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2013-08-03 13:17:05 +0000 |
| commit | 55aa635d1efe3a4c55f13ea4c0a6b60da6571393 (patch) | |
| tree | b3eadcf27acaac401a617e4939b862a1a890bcaa /libexec/ld.elf_so/map_object.c | |
| parent | 2107df79af1747e1819d7dfa5e741b066739680a (diff) | |
Fix DEBUG build.
Diffstat (limited to 'libexec/ld.elf_so/map_object.c')
| -rw-r--r-- | libexec/ld.elf_so/map_object.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libexec/ld.elf_so/map_object.c b/libexec/ld.elf_so/map_object.c index 45f9b977e42..425b972982b 100644 --- a/libexec/ld.elf_so/map_object.c +++ b/libexec/ld.elf_so/map_object.c @@ -1,4 +1,4 @@ -/* $NetBSD: map_object.c,v 1.51 2013/05/09 15:38:14 christos Exp $ */ +/* $NetBSD: map_object.c,v 1.52 2013/08/03 13:17:05 skrll Exp $ */ /* * Copyright 1996 John D. Polstra. @@ -34,7 +34,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: map_object.c,v 1.51 2013/05/09 15:38:14 christos Exp $"); +__RCSID("$NetBSD: map_object.c,v 1.52 2013/08/03 13:17:05 skrll Exp $"); #endif /* not lint */ #include <errno.h> @@ -189,11 +189,6 @@ _rtld_map_object(const char *path, int fd, const struct stat *sb) segs[nsegs] = phdr; ++nsegs; -#if ELFSIZE == 64 -#define PRImemsz PRIu64 -#else -#define PRImemsz PRIu32 -#endif dbg(("%s: %s %p phsize %" PRImemsz, obj->path, "PT_LOAD", (void *)(uintptr_t)phdr->p_vaddr, phdr->p_memsz)); break; |
