* xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes.
* ecoff.h: Convert to ISO C90 prototypes. Replace PTR by void *.
This commit is contained in:
		| @@ -1,3 +1,9 @@ | |||||||
|  | 2003-06-29  Andreas Jaeger  <aj@suse.de> | ||||||
|  |  | ||||||
|  | 	* xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes. | ||||||
|  |  | ||||||
|  | 	* ecoff.h: Convert to ISO C90 prototypes.  Replace PTR by void *. | ||||||
|  |  | ||||||
| 2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com> | 2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com> | ||||||
|  |  | ||||||
| 	* coff/h8300.h (H8300HNMAGIC, H8300SNMAGIC): New. | 	* coff/h8300.h (H8300HNMAGIC, H8300SNMAGIC): New. | ||||||
| @@ -417,7 +423,7 @@ Wed Jun 26 16:24:26 1996  Ian Lance Taylor  <ian@cygnus.com> | |||||||
| Fri Jun 21 11:17:46 1996  Richard Henderson  <rth@tamu.edu> | Fri Jun 21 11:17:46 1996  Richard Henderson  <rth@tamu.edu> | ||||||
|  |  | ||||||
| 	* alpha.h: Add declarations for relocation types added for Alpha | 	* alpha.h: Add declarations for relocation types added for Alpha | ||||||
|  	OSF/1 3.0. | 	OSF/1 3.0. | ||||||
|  |  | ||||||
| Tue Jun 18 16:04:29 1996  Jeffrey A. Law  <law@rtl.cygnus.com> | Tue Jun 18 16:04:29 1996  Jeffrey A. Law  <law@rtl.cygnus.com> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|    This does not include symbol information, found in sym.h and |    This does not include symbol information, found in sym.h and | ||||||
|    symconst.h. |    symconst.h. | ||||||
|  |  | ||||||
|    Copyright 2001, 2002 Free Software Foundation, Inc. |    Copyright 2001, 2002, 2003 Free Software Foundation, Inc. | ||||||
|  |  | ||||||
|    This program 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 |    it under the terms of the GNU General Public License as published by | ||||||
| @@ -296,21 +296,21 @@ struct ecoff_debug_info | |||||||
|      fields are also used by the assembler to output ECOFF debugging |      fields are also used by the assembler to output ECOFF debugging | ||||||
|      information.  */ |      information.  */ | ||||||
|   unsigned char *line; |   unsigned char *line; | ||||||
|   PTR external_dnr;	/* struct dnr_ext */ |   void *external_dnr;	/* struct dnr_ext */ | ||||||
|   PTR external_pdr;	/* struct pdr_ext */ |   void *external_pdr;	/* struct pdr_ext */ | ||||||
|   PTR external_sym;	/* struct sym_ext */ |   void *external_sym;	/* struct sym_ext */ | ||||||
|   PTR external_opt;	/* struct opt_ext */ |   void *external_opt;	/* struct opt_ext */ | ||||||
|   union aux_ext *external_aux; |   union aux_ext *external_aux; | ||||||
|   char *ss; |   char *ss; | ||||||
|   char *ssext; |   char *ssext; | ||||||
|   PTR external_fdr;	/* struct fdr_ext */ |   void *external_fdr;	/* struct fdr_ext */ | ||||||
|   PTR external_rfd;	/* struct rfd_ext */ |   void *external_rfd;	/* struct rfd_ext */ | ||||||
|   PTR external_ext;	/* struct ext_ext */ |   void *external_ext;	/* struct ext_ext */ | ||||||
|  |  | ||||||
|   /* These fields are used when linking.  They may disappear at some |   /* These fields are used when linking.  They may disappear at some | ||||||
|      point.  */ |      point.  */ | ||||||
|   char *ssext_end; |   char *ssext_end; | ||||||
|   PTR external_ext_end; |   void *external_ext_end; | ||||||
|  |  | ||||||
|   /* When linking, this field holds a mapping from the input FDR |   /* When linking, this field holds a mapping from the input FDR | ||||||
|      numbers to the output numbers, and is used when writing out the |      numbers to the output numbers, and is used when writing out the | ||||||
| @@ -406,32 +406,31 @@ struct ecoff_debug_swap | |||||||
|   bfd_size_type external_rfd_size; |   bfd_size_type external_rfd_size; | ||||||
|   bfd_size_type external_ext_size; |   bfd_size_type external_ext_size; | ||||||
|   /* Functions to swap in external symbolic data.  */ |   /* Functions to swap in external symbolic data.  */ | ||||||
|   void (*swap_hdr_in) PARAMS ((bfd *, PTR, HDRR *)); |   void (*swap_hdr_in) (bfd *, void *, HDRR *); | ||||||
|   void (*swap_dnr_in) PARAMS ((bfd *, PTR, DNR *)); |   void (*swap_dnr_in) (bfd *, void *, DNR *); | ||||||
|   void (*swap_pdr_in) PARAMS ((bfd *, PTR, PDR *)); |   void (*swap_pdr_in) (bfd *, void *, PDR *); | ||||||
|   void (*swap_sym_in) PARAMS ((bfd *, PTR, SYMR *)); |   void (*swap_sym_in) (bfd *, void *, SYMR *); | ||||||
|   void (*swap_opt_in) PARAMS ((bfd *, PTR, OPTR *)); |   void (*swap_opt_in) (bfd *, void *, OPTR *); | ||||||
|   void (*swap_fdr_in) PARAMS ((bfd *, PTR, FDR *)); |   void (*swap_fdr_in) (bfd *, void *, FDR *); | ||||||
|   void (*swap_rfd_in) PARAMS ((bfd *, PTR, RFDT *)); |   void (*swap_rfd_in) (bfd *, void *, RFDT *); | ||||||
|   void (*swap_ext_in) PARAMS ((bfd *, PTR, EXTR *)); |   void (*swap_ext_in) (bfd *, void *, EXTR *); | ||||||
|   void (*swap_tir_in) PARAMS ((int, const struct tir_ext *, TIR *)); |   void (*swap_tir_in) (int, const struct tir_ext *, TIR *); | ||||||
|   void (*swap_rndx_in) PARAMS ((int, const struct rndx_ext *, RNDXR *)); |   void (*swap_rndx_in) (int, const struct rndx_ext *, RNDXR *); | ||||||
|   /* Functions to swap out external symbolic data.  */ |   /* Functions to swap out external symbolic data.  */ | ||||||
|   void (*swap_hdr_out) PARAMS ((bfd *, const HDRR *, PTR)); |   void (*swap_hdr_out) (bfd *, const HDRR *, void *); | ||||||
|   void (*swap_dnr_out) PARAMS ((bfd *, const DNR *, PTR)); |   void (*swap_dnr_out) (bfd *, const DNR *, void *); | ||||||
|   void (*swap_pdr_out) PARAMS ((bfd *, const PDR *, PTR)); |   void (*swap_pdr_out) (bfd *, const PDR *, void *); | ||||||
|   void (*swap_sym_out) PARAMS ((bfd *, const SYMR *, PTR)); |   void (*swap_sym_out) (bfd *, const SYMR *, void *); | ||||||
|   void (*swap_opt_out) PARAMS ((bfd *, const OPTR *, PTR)); |   void (*swap_opt_out) (bfd *, const OPTR *, void *); | ||||||
|   void (*swap_fdr_out) PARAMS ((bfd *, const FDR *, PTR)); |   void (*swap_fdr_out) (bfd *, const FDR *, void *); | ||||||
|   void (*swap_rfd_out) PARAMS ((bfd *, const RFDT *, PTR)); |   void (*swap_rfd_out) (bfd *, const RFDT *, void *); | ||||||
|   void (*swap_ext_out) PARAMS ((bfd *, const EXTR *, PTR)); |   void (*swap_ext_out) (bfd *, const EXTR *, void *); | ||||||
|   void (*swap_tir_out) PARAMS ((int, const TIR *, struct tir_ext *)); |   void (*swap_tir_out) (int, const TIR *, struct tir_ext *); | ||||||
|   void (*swap_rndx_out) PARAMS ((int, const RNDXR *, struct rndx_ext *)); |   void (*swap_rndx_out) (int, const RNDXR *, struct rndx_ext *); | ||||||
|   /* Function to read symbol data and set up pointers in |   /* Function to read symbol data and set up pointers in | ||||||
|      ecoff_debug_info structure.  The section argument is used for |      ecoff_debug_info structure.  The section argument is used for | ||||||
|      ELF, not straight ECOFF.  */ |      ELF, not straight ECOFF.  */ | ||||||
|   bfd_boolean (*read_debug_info) |   bfd_boolean (*read_debug_info) (bfd *, asection *, struct ecoff_debug_info *); | ||||||
|     PARAMS ((bfd *, asection *, struct ecoff_debug_info *)); |  | ||||||
| }; | }; | ||||||
|  |  | ||||||
| #endif /* ! defined (ECOFF_H) */ | #endif /* ! defined (ECOFF_H) */ | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| /* Internal format of XCOFF object file data structures for BFD. | /* Internal format of XCOFF object file data structures for BFD. | ||||||
|  |  | ||||||
|    Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 |    Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 | ||||||
|    Free Software Foundation, Inc. |    Free Software Foundation, Inc. | ||||||
|    Written by Ian Lance Taylor <ian@cygnus.com>, Cygnus Support. |    Written by Ian Lance Taylor <ian@cygnus.com>, Cygnus Support. | ||||||
|  |  | ||||||
| @@ -424,7 +424,7 @@ struct __rtinit | |||||||
| { | { | ||||||
|   /* Pointer to runtime linker.      |   /* Pointer to runtime linker.      | ||||||
|      XXX: Is the parameter really void?  */ |      XXX: Is the parameter really void?  */ | ||||||
|   int	(*rtl) PARAMS ((void));	 |   int	(*rtl) (void);	 | ||||||
|  |  | ||||||
|   /* Offset to array of init functions, 0 if none. */ |   /* Offset to array of init functions, 0 if none. */ | ||||||
|   int	init_offset; |   int	init_offset; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user