diff options
Diffstat (limited to 'ld/deffile.h')
-rw-r--r-- | ld/deffile.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/deffile.h b/ld/deffile.h index 1e7a0cb..79953b3 100644 --- a/ld/deffile.h +++ b/ld/deffile.h @@ -53,6 +53,12 @@ typedef struct def_file_import { int data; /* = 1 if data */ } def_file_import; +typedef struct def_file_aligncomm { + struct def_file_aligncomm *next; /* Chain pointer. */ + char *symbol_name; /* Name of common symbol. */ + unsigned int alignment; /* log-2 alignment. */ +} def_file_aligncomm; + typedef struct def_file { /* From the NAME or LIBRARY command. */ char *name; @@ -83,6 +89,10 @@ typedef struct def_file { /* From the VERSION command, -1 if not specified. */ int version_major, version_minor; + + /* Only expected from .drectve sections, not .DEF files. */ + def_file_aligncomm *aligncomms; + } def_file; extern def_file *def_file_empty (void); |