diff options
Diffstat (limited to 'bfd/seclet.h')
-rw-r--r-- | bfd/seclet.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bfd/seclet.h b/bfd/seclet.h new file mode 100644 index 0000000..1ef1c30 --- /dev/null +++ b/bfd/seclet.h @@ -0,0 +1,29 @@ +typedef enum +{ + + bfd_indirect_seclet, + +} bfd_seclet_enum_type; + + +struct bfd_seclet_struct +{ + struct bfd_seclet_struct *next; + bfd_seclet_enum_type type; + unsigned int offset; + unsigned int size; + union + { + struct + { + asection *section; + asymbol **symbols; + + } indirect; + } + u; +}; + +typedef struct bfd_seclet_struct bfd_seclet_type; + +bfd_seclet_type *EXFUN(bfd_new_seclet,(bfd*,asection*)); |