From a6ff4c9832191a65574fc6674872bc03c76929e4 Mon Sep 17 00:00:00 2001 From: Mikael Pettersson Date: Sat, 13 Jul 2013 20:36:42 +0000 Subject: [PATCH] pdp10-elf36: defined ELF36_SHDR_SIZEOF and ELF36_SYM_SIZEOF --- include/pdp10-elf36.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/pdp10-elf36.h b/include/pdp10-elf36.h index a2dcd22..c31f59b 100644 --- a/include/pdp10-elf36.h +++ b/include/pdp10-elf36.h @@ -458,6 +458,8 @@ typedef struct { Elf36_Word sh_entsize; /* Entry size if section holds table */ } Elf36_Shdr; +#define ELF36_SHDR_SIZEOF (10 * 4) + /* Special section indices, which may show up in st_shndx fields, among other places. */ @@ -580,6 +582,8 @@ typedef struct { Elf36_Half st_shndx; /* Associated section index */ } Elf36_Sym; +#define ELF36_SYM_SIZEOF ((3 * 4) + 2 + 2) + #if 0 typedef struct { pdp10_uint9_t est_shndx[4]; /* Section index */