aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/elf_common.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2005-12-19 20:20:36 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2005-12-19 20:20:36 +0000
commitf56d8bf1061d928889fab6869f7621212d602713 (patch)
tree56d5c7b71c3a311bf8fe4518082f64dd9271d173 /sys/sys/elf_common.h
parentddacef9fc2c8c016889bc0d8426b1c4713961605 (diff)
downloadsrc-f56d8bf1061d928889fab6869f7621212d602713.tar.gz
src-f56d8bf1061d928889fab6869f7621212d602713.zip
o Add the GNU symbol versioning section constants (SHT_GNU_verdef,
SHT_GNU_verneed, SHT_GNU_versym), o Fix the definition of DT_HIOS -- it was short an 'f'...
Notes
Notes: svn path=/head/; revision=153544
Diffstat (limited to 'sys/sys/elf_common.h')
-rw-r--r--sys/sys/elf_common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 9baa7466f476..0f39f1758a07 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -206,6 +206,9 @@ typedef struct {
#define SHT_GROUP 17 /* Section group. */
#define SHT_SYMTAB_SHNDX 18 /* Section indexes (see SHN_XINDEX). */
#define SHT_LOOS 0x60000000 /* First of OS specific semantics */
+#define SHT_GNU_verdef 0x6ffffffd /* Symbol versions provided */
+#define SHT_GNU_verneed 0x6ffffffe /* Symbol versions required */
+#define SHT_GNU_versym 0x6fffffff /* Symbol version table */
#define SHT_HIOS 0x6fffffff /* Last of OS specific semantics */
#define SHT_LOPROC 0x70000000 /* reserved range for processor */
#define SHT_HIPROC 0x7fffffff /* specific section header types */
@@ -297,7 +300,7 @@ typedef struct {
#define DT_PREINIT_ARRAYSZ 33 /* Size in bytes of the array of
pre-initialization functions. */
#define DT_LOOS 0x6000000d /* First OS-specific */
-#define DT_HIOS 0x6fff0000 /* Last OS-specific */
+#define DT_HIOS 0x6ffff000 /* Last OS-specific */
#define DT_LOPROC 0x70000000 /* First processor-specific type. */
#define DT_HIPROC 0x7fffffff /* Last processor-specific type. */