old-cross-binutils/bfd/seclet.h

32 lines
483 B
C
Raw Normal View History

typedef enum
{
bfd_indirect_seclet,
1992-04-17 16:14:34 +00:00
bfd_fill_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;
1992-04-17 16:14:34 +00:00
struct {
int value;
} fill;
}
u;
};
typedef struct bfd_seclet_struct bfd_seclet_type;
bfd_seclet_type *EXFUN(bfd_new_seclet,(bfd*,asection*));