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 Now that lib/csu no longer uses the object...
details: https://anonhg.NetBSD.org/src/rev/e24df5c49f08
branches: trunk
changeset: 446195:e24df5c49f08
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Nov 26 17:40:26 2018 +0000
description:
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.
diffstat:
libexec/ld.elf_so/rtld.h | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diffs (25 lines):
diff -r ce5c8df9cfd8 -r e24df5c49f08 libexec/ld.elf_so/rtld.h
--- a/libexec/ld.elf_so/rtld.h Mon Nov 26 17:37:44 2018 +0000
+++ b/libexec/ld.elf_so/rtld.h Mon Nov 26 17:40:26 2018 +0000
@@ -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 @@
* 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;
Home |
Main Index |
Thread Index |
Old Index