Module Name: src
Committed By: joerg
Date: Mon Nov 26 17:40:26 UTC 2018
Modified Files:
src/libexec/ld.elf_so: rtld.h
Log Message:
Now that lib/csu no longer uses the object handle, drop the magic and
version field from the internal object. It is kept in the legacy version
of the main object.
To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/libexec/ld.elf_so/rtld.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ld.elf_so/rtld.h
diff -u src/libexec/ld.elf_so/rtld.h:1.134 src/libexec/ld.elf_so/rtld.h:1.135
--- src/libexec/ld.elf_so/rtld.h:1.134 Wed Oct 17 23:36:58 2018
+++ src/libexec/ld.elf_so/rtld.h Mon Nov 26 17:40:26 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.h,v 1.134 2018/10/17 23:36:58 joerg Exp $ */
+/* $NetBSD: rtld.h,v 1.135 2018/11/26 17:40:26 joerg Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -138,15 +138,9 @@ typedef struct _rtld_library_xform_t {
* when the structure is destroyed.
*/
-#define RTLD_MAGIC 0xd550b87a
-#define RTLD_VERSION 1
-
typedef void (*fptr_t)(void);
typedef struct Struct_Obj_Entry {
- Elf32_Word magic; /* Magic number (sanity check) */
- Elf32_Word version; /* Version number of struct format */
-
struct Struct_Obj_Entry *next;
char *path; /* Pathname of underlying file (%) */
int refcount;