* metag-dis.c: Initialize outf->bytes_per_chunk to 4
[deliverable/binutils-gdb.git] / bfd / pef.h
index e909be4027483772f9e8eea1cfdd6f8997371a80..d73ff370c9ccb840bba87f0561ed94d48f6cb43b 100644 (file)
--- a/bfd/pef.h
+++ b/bfd/pef.h
@@ -1,12 +1,12 @@
 /* PEF support for BFD.
-   Copyright 1999, 2000, 2001, 2002
+   Copyright 1999, 2000, 2001, 2002, 2005, 2007
    Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
    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
+   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,
    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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+   MA 02110-1301, USA.  */
 
+#include "sysdep.h"
 #include "bfd.h"
 
 #include <stdio.h>
@@ -43,7 +45,7 @@ struct bfd_pef_loader_header
   long main_section;
   unsigned long main_offset;
   long init_section;
-  unsigned long init_offset; 
+  unsigned long init_offset;
   long term_section;
   unsigned long term_offset;
   unsigned long imported_library_count;
@@ -78,7 +80,7 @@ enum bfd_pef_imported_library_options
 
 struct bfd_pef_imported_symbol
 {
-  unsigned char class;
+  unsigned char symbol_class;
   unsigned long name;
 };
 typedef struct bfd_pef_imported_symbol bfd_pef_imported_symbol;
@@ -176,11 +178,11 @@ struct bfd_pef_xlib_data_struct
 };
 typedef struct bfd_pef_xlib_data_struct bfd_pef_xlib_data_struct;
 
-int  bfd_pef_parse_loader_header    PARAMS ((bfd *, unsigned char *, size_t, bfd_pef_loader_header *));
-int  bfd_pef_print_loader_section   PARAMS ((bfd *, FILE *));
-void bfd_pef_print_loader_header    PARAMS ((bfd *, bfd_pef_loader_header *, FILE *));
-int  bfd_pef_parse_imported_library PARAMS ((bfd *, unsigned char *, size_t, bfd_pef_imported_library *));
-int  bfd_pef_parse_imported_symbol  PARAMS ((bfd *, unsigned char *, size_t, bfd_pef_imported_symbol *));
-int  bfd_pef_scan_section           PARAMS ((bfd *, bfd_pef_section *));
-int  bfd_pef_scan_start_address     PARAMS ((bfd *));
-int  bfd_pef_scan                   PARAMS ((bfd *, bfd_pef_header *));
+int  bfd_pef_parse_loader_header    (bfd *, unsigned char *, size_t, bfd_pef_loader_header *);
+int  bfd_pef_print_loader_section   (bfd *, FILE *);
+void bfd_pef_print_loader_header    (bfd *, bfd_pef_loader_header *, FILE *);
+int  bfd_pef_parse_imported_library (bfd *, unsigned char *, size_t, bfd_pef_imported_library *);
+int  bfd_pef_parse_imported_symbol  (bfd *, unsigned char *, size_t, bfd_pef_imported_symbol *);
+int  bfd_pef_scan_section           (bfd *, bfd_pef_section *);
+int  bfd_pef_scan_start_address     (bfd *);
+int  bfd_pef_scan                   (bfd *, bfd_pef_header *, bfd_pef_data_struct *);
This page took 0.025742 seconds and 4 git commands to generate.