diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2001-07-31 23:41:46 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-07-31 23:41:46 +0000 |
| commit | 38323c73d1d6c7efa4326f735eda8865cbf8770b (patch) | |
| tree | b3a0c9253bcb51b419232c3c2687253d20791da2 /include | |
| parent | 17404170f4ab76624c2484b592404ea88fc33cd8 (diff) | |
Notes
Diffstat (limited to 'include')
| -rw-r--r-- | include/elf.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/include/elf.h b/include/elf.h index 963308378330..f30ef264b7f4 100644 --- a/include/elf.h +++ b/include/elf.h @@ -1,5 +1,5 @@ /*- - * Copyright (c) 1997 John D. Polstra. + * Copyright (c) 2001 David E. O'Brien. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -31,23 +31,7 @@ #include <sys/types.h> #include <machine/elf.h> - -/* - * Hints file produced by ldconfig. - */ -struct elfhints_hdr { - u_int32_t magic; /* Magic number */ - u_int32_t version; /* File version (1) */ - u_int32_t strtab; /* Offset of string table in file */ - u_int32_t strsize; /* Size of string table */ - u_int32_t dirlist; /* Offset of directory list in - string table */ - u_int32_t dirlistlen; /* strlen(dirlist) */ - u_int32_t spare[26]; /* Room for expansion */ -}; - -#define ELFHINTS_MAGIC 0x746e6845 - -#define _PATH_ELF_HINTS "/var/run/ld-elf.so.hints" +#include <sys/elf32.h> +#include <sys/elf64.h> #endif /* !_ELF_H_ */ |
