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.
This commit is contained in:
joerg 2018-11-26 17:40:26 +00:00
parent 463db15fc5
commit 335f313f07

View File

@ -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;