-/* $NetBSD: exec_elf.h,v 1.129 2013/09/10 16:24:02 matt Exp $ */
+/* $NetBSD: exec_elf.h,v 1.130 2013/10/28 21:36:43 matt Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
#define DT_LOPROC 0x70000000 /* Processor-specific range */
#define DT_HIPROC 0x7fffffff
+/* Flag values for DT_FLAGS */
+#define DF_ORIGIN 0x00000001 /* uses $ORIGIN */
+#define DF_SYMBOLIC 0x00000002 /* */
+#define DF_TEXTREL 0x00000004 /* */
+#define DF_BIND_NOW 0x00000008 /* */
+#define DF_STATICT_LS 0x00000010 /* */
+
/* Flag values for DT_FLAGS_1 (incomplete) */
#define DF_1_BIND_NOW 0x00000001 /* Same as DF_BIND_NOW */
#define DF_1_NODELETE 0x00000008 /* Set the RTLD_NODELETE for object */
void CallFunction(const char* function_name, linker_function_t function);
};
-// The possible DT_FLAGS bits are in
-// http://www.sco.com/developers/gabi/latest/ch5.dynamic.html#dynamic_section
-// but not in the upstream NetBSD <sys/exec_elf.h> header file ours is based on.
-#define DF_ORIGIN 0x1
-#define DF_SYMBOLIC 0x2
-#define DF_TEXTREL 0x4
-#define DF_BIND_NOW 0x8
-#define DF_STATIC_TLS 0x10
-
extern soinfo libdl_info;
void do_android_update_LD_LIBRARY_PATH(const char* ld_library_path);