mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
8ad2a31dd8
* coff-z8k.c: getting closer * coffcode.h (coff_get_relocated_section_contents): allow EXTRA_CASES hooks for different arches to provide different reloc types. * seclet.h: #ifndef around it to allow multiple inclusion * srec.c: minor doc fix
35 lines
526 B
C
35 lines
526 B
C
#ifndef _SECLET_H
|
|
#define _SECLET_H
|
|
typedef enum
|
|
{
|
|
|
|
bfd_indirect_seclet,
|
|
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;
|
|
struct {
|
|
int value;
|
|
} fill;
|
|
}
|
|
u;
|
|
};
|
|
|
|
typedef struct bfd_seclet_struct bfd_seclet_type;
|
|
|
|
bfd_seclet_type *EXFUN(bfd_new_seclet,(bfd*,asection*));
|
|
#endif
|