*** empty log message ***
[deliverable/binutils-gdb.git] / ld / deffile.h
index 6db8bf79d0357fc245e41de98ae0a0b48349400b..79953b350f8fa6d1e3c279b727b0ac61b0ac808d 100644 (file)
@@ -1,15 +1,15 @@
 /* deffile.h - header for .DEF file parser
-   Copyright 1998, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
+   Copyright 1998, 1999, 2000, 2002, 2003, 2007 Free Software Foundation, Inc.
    Written by DJ Delorie dj@cygnus.com
 
-   This file is part of GLD, the Gnu Linker.
+   This file is part of the GNU Binutils.
 
-   GLD is free software; you can redistribute it and/or modify
+   This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2, or (at your option)
+   the Free Software Foundation; either version 3, or (at your option)
    any later version.
 
-   GLD is distributed in the hope that it will be useful,
+   The program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
@@ -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);
This page took 0.022912 seconds and 4 git commands to generate.