aboutsummaryrefslogtreecommitdiff
path: root/binutils/coffgrok.h
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/coffgrok.h')
-rw-r--r--binutils/coffgrok.h63
1 files changed, 32 insertions, 31 deletions
diff --git a/binutils/coffgrok.h b/binutils/coffgrok.h
index e6d0077..fa423ff 100644
--- a/binutils/coffgrok.h
+++ b/binutils/coffgrok.h
@@ -1,21 +1,22 @@
/* coffgrok.h
- Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright 2001, 2002, 2003, 2007 Free Software Foundation, Inc.
-This file is part of GNU Binutils.
+ This file is part of GNU Binutils.
-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 of the License, or
-(at your option) any later version.
+ 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 3 of the License, or
+ (at your option) any later version.
-This 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.
+ This 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.
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
#define T_NULL 0
#define T_VOID 1 /* function argument (only used by compiler) */
@@ -36,25 +37,25 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
#define T_LNGDBL 16 /* long double */
- struct coff_reloc
- {
- int offset;
- struct coff_symbol *symbol;
- int addend;
- };
+struct coff_reloc
+{
+ int offset;
+ struct coff_symbol *symbol;
+ int addend;
+};
- struct coff_section
- {
- char *name;
- int code;
- int data;
- int address;
- int number; /* 0..n, .text = 0 */
- int nrelocs;
- int size;
- struct coff_reloc *relocs;
- struct bfd_section *bfd_section;
- };
+struct coff_section
+{
+ char *name;
+ int code;
+ int data;
+ int address;
+ int number; /* 0..n, .text = 0 */
+ int nrelocs;
+ int size;
+ struct coff_reloc *relocs;
+ struct bfd_section *bfd_section;
+};
struct coff_ofile
{