]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/deffile.h
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / deffile.h
index 1e7a0cbeeddfd2eb306d17149d7bc2966a09fedf..d3354b1a12ca8ab2b2a8e1ba1337e0e1062b9667 100644 (file)
@@ -1,5 +1,6 @@
 /* deffile.h - header for .DEF file parser
-   Copyright 1998, 1999, 2000, 2002, 2003, 2007 Free Software Foundation, Inc.
+   Copyright 1998, 1999, 2000, 2002, 2003, 2005, 2006, 2007, 2009
+   Free Software Foundation, Inc.
    Written by DJ Delorie dj@cygnus.com
 
    This file is part of the GNU Binutils.
@@ -53,6 +54,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 +90,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);