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 Only include unwind.h if _RTLD_SOURCE
details: https://anonhg.NetBSD.org/src/rev/21ff91a29379
branches: trunk
changeset: 786282:21ff91a29379
user: matt <matt%NetBSD.org@localhost>
date: Thu Apr 25 06:37:40 2013 +0000
description:
Only include unwind.h if _RTLD_SOURCE
diffstat:
libexec/ld.elf_so/rtld.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r cf8f7ef7cfb6 -r 21ff91a29379 libexec/ld.elf_so/rtld.h
--- a/libexec/ld.elf_so/rtld.h Thu Apr 25 06:36:49 2013 +0000
+++ b/libexec/ld.elf_so/rtld.h Thu Apr 25 06:37:40 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.h,v 1.111 2013/04/24 22:37:20 matt Exp $ */
+/* $NetBSD: rtld.h,v 1.112 2013/04/25 06:37:40 matt Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -46,12 +46,12 @@
#include "rtldenv.h"
#include "link.h"
+#if defined(_RTLD_SOURCE)
+
#ifdef __ARM_EABI__
#include "unwind.h"
#endif
-#if defined(_RTLD_SOURCE)
-
#ifndef RTLD_DEFAULT_LIBRARY_PATH
#define RTLD_DEFAULT_LIBRARY_PATH "/usr/lib"
#endif
@@ -289,7 +289,7 @@
fptr_t *fini_array; /* start of fini array */
size_t fini_arraysz; /* # of entries in it */
#ifdef __ARM_EABI__
- _Unwind_Ptr exidx_start;
+ void *exidx_start;
size_t exidx_sz;
#endif
} Obj_Entry;
Home |
Main Index |
Thread Index |
Old Index