aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2006-10-17 05:43:30 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2006-10-17 05:43:30 +0000
commit9b119ea634896d804128c6f18059abe822ca6964 (patch)
treebbefe4ee030ead7541f1241901acb5d210cd1f72
parent1e118f7ee83199011a0e5678c0ce2aca8912a8f5 (diff)
Notes
-rw-r--r--sys/sys/elf32.h6
-rw-r--r--sys/sys/elf64.h6
2 files changed, 2 insertions, 10 deletions
diff --git a/sys/sys/elf32.h b/sys/sys/elf32.h
index a40a5ac5d6e6..62bf7be680bc 100644
--- a/sys/sys/elf32.h
+++ b/sys/sys/elf32.h
@@ -141,11 +141,7 @@ typedef struct {
/*
* Note entry header
*/
-typedef struct {
- Elf32_Word n_namesz; /* length of note's name */
- Elf32_Word n_descsz; /* length of note's "desc" */
- Elf32_Word n_type; /* type of note */
-} Elf32_Nhdr;
+typedef Elf_Note Elf32_Nhdr;
/*
* Move entry
diff --git a/sys/sys/elf64.h b/sys/sys/elf64.h
index 33b2d4b1bce3..0fbb8ee7c395 100644
--- a/sys/sys/elf64.h
+++ b/sys/sys/elf64.h
@@ -155,11 +155,7 @@ typedef struct {
/*
* Note entry header
*/
-typedef struct {
- Elf64_Word n_namesz; /* length of note's name */
- Elf64_Word n_descsz; /* length of note's "desc" */
- Elf64_Word n_type; /* type of note */
-} Elf64_Nhdr;
+typedef Elf_Note Elf64_Nhdr;
/*
* Move entry