pdp10-elf36: defined ELF36_SHDR_SIZEOF and ELF36_SYM_SIZEOF

This commit is contained in:
Mikael Pettersson 2013-07-13 20:36:42 +00:00
parent 42f7cb666f
commit a6ff4c9832

View File

@ -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 */