From: Andreas Jaeger Date: Sun, 29 Jun 2003 13:52:02 +0000 (+0000) Subject: * xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6f5b2c3bf2f155d743bbf38912282c09ad8f08b;p=binutils-gdb.git * xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes. * ecoff.h: Convert to ISO C90 prototypes. Replace PTR by void *. --- diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index b6db3064d4f..0f33171c717 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,4 +1,10 @@ -2003-04-24 Dhananjay Deshpande +2003-06-29 Andreas Jaeger + + * 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 * coff/h8300.h (H8300HNMAGIC, H8300SNMAGIC): New. (H8300HNBADMAG, H8300SNBADMAG): New. @@ -11,7 +17,7 @@ 2003-03-25 Stan Cox Nick Clifton - + Contribute support for Intel's iWMMXt chip - an ARM variant: * arm.h (ARM_NOTE_SECTION): Define. @@ -28,26 +34,26 @@ 2002-02-01 Tom Rix * xcoff.h: Conditionally support for pre AIX 4.3. - + 2002-01-31 Ivan Guzvinec * or32.h: New file. 2001-12-24 Tom Rix - * xcoff.h (xcoff_big_format_p): Make the default archive + * xcoff.h (xcoff_big_format_p): Make the default archive format. - (XCOFFARMAG_ELEMENT_SIZE, XCOFFARMAGBIG_ELEMENT_SIZE): Define for - archive header ascii elements. + (XCOFFARMAG_ELEMENT_SIZE, XCOFFARMAGBIG_ELEMENT_SIZE): Define for + archive header ascii elements. 2001-12-17 Tom Rix * xcoff.h : Add .except and .typchk section string and styp flags. - Fix xcoff_big_format_p macro. + Fix xcoff_big_format_p macro. 2001-12-16 Tom Rix - * xcoff.h : Clean up formatting. + * xcoff.h : Clean up formatting. 2002-01-15 Richard Earnshaw @@ -57,9 +63,9 @@ * ti.h: Move arch-specific stuff from here... (COFF_ADJUST_SYM_IN/OUT): Optionally put page flag into symbol - value. + value. * tic54x.h: ...to here. - + 2001-10-26 Christian Groessler * external.h (GET_LINENO_LNNO): Fix usage of H_GET_32/16. @@ -83,7 +89,7 @@ 2001-09-05 Tom Rix * xcoff.h : Add XCOFF_SYSCALL32 and XCOFF_SYSCALL64 hash table flags. - + 2001-08-27 Andreas Jaeger * xcoff.h (struct __rtinit): Make proper prototype for rtl. @@ -94,12 +100,12 @@ Fri Aug 24 01:18:51 2001 J"orn Rennecke 2001-04-05 Tom Rix - * rs6000.h : move xcoff32 external structures from xcofflink. - * rs6k64.h : move xcoff64 external structures from xcofflink. + * rs6000.h : move xcoff32 external structures from xcofflink. + * rs6k64.h : move xcoff64 external structures from xcofflink. * internal.h : promote 32 bit structure elements to 64 bit for xcoff64 support * xcoff.h : New file. - + 2001-03-23 Nick Clifton * a29k.h: Fix compile time warning. @@ -166,10 +172,10 @@ Fri Aug 24 01:18:51 2001 J"orn Rennecke * rs6k64.h: New file. 2000-04-17 Timothy Wall - + * ti.h: Load page cleanup. * intental.h: Add load page field. - + Mon Apr 17 16:44:01 2000 David Mosberger * pe.h (PEP64AOUTHDR): New header for PE+. @@ -195,15 +201,15 @@ Mon Apr 17 16:44:01 2000 David Mosberger 2000-04-11 Timothy Wall * ti.h: Remove load page references until load pages are - reimplemented. + reimplemented. * tic54x.h: Ditto. - + 2000-04-07 Timothy Wall * internal.h: Fix some comments related to TI COFF (instead of tic80). * ti.h: New. * tic54x.h: New. - + Wed Apr 5 22:08:41 2000 J"orn Rennecke * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define. @@ -223,7 +229,7 @@ Wed Apr 5 22:08:41 2000 J"orn Rennecke * arm.h: Add Windows CE definitions. * mipspe.h: New file: Windows CE definitions for MIPS. * pe.h: Add constants for ILF support. - + 2000-01-05 Nick Clifton * pe.h: Fix formatting of comments. @@ -295,7 +301,7 @@ Mon May 17 13:35:35 1999 Stan Cox 1999-04-08 Nick Clifton * mcore.h: New header file. Defines for Motorola's MCore - processor. + processor. Sun Dec 6 21:36:37 1998 Mark Elbrecht @@ -306,11 +312,11 @@ Wed Jan 27 13:35:35 1999 Stan Cox * arm.h (F_PIC_INT, F_ARM_2, F_ARM_3, F_ARM_4, F_APCS26): Changed values to avoid clashing with IMAGE_FILE_* coff header flag values. - + Wed Apr 1 16:06:15 1998 Nick Clifton * internal.h: Document numbers associated with Thumb symbol - types. + types. Fri Mar 27 17:16:57 1998 Ian Lance Taylor @@ -417,7 +423,7 @@ Wed Jun 26 16:24:26 1996 Ian Lance Taylor Fri Jun 21 11:17:46 1996 Richard Henderson * 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 @@ -443,7 +449,7 @@ Tue May 7 00:36:39 1996 Jeffrey A Law (law@cygnus.com) (R_MOV16B1, R_MOV16B2): Renamed from R_MOVB1 and R_MOVB2. (R_MOV24B1, R_MOV24B2): Renamed from R_MOVLB1 and R_MOVLB2. (R_MOVL1, R_MOVL2): New relocs. - + Fri May 3 13:01:12 1996 Jeffrey A Law (law@cygnus.com) * internal.h (R_PCRWORD_B): Define for the h8300 relaxing @@ -473,7 +479,7 @@ Thu Mar 21 16:25:57 1996 David Mosberger-Tang Thu Mar 14 15:22:44 1996 Jeffrey A Law (law@cygnus.com) * internal.h (R_MEM_INDIRECT): New reloc for the h8300. - + Fri Feb 9 10:44:11 1996 Ian Lance Taylor * aux-coff.h: Rename from aux.h, to avoid problems on hapless DOS @@ -522,7 +528,7 @@ Wed Nov 1 15:25:18 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 - * sym.h: #if 0'd out runtime_pdr struct because it chokes + * sym.h: #if 0'd out runtime_pdr struct because it chokes Visual C++ and there aren't any references to it elsewhere in gdb. Mon Oct 16 11:12:24 1995 Ian Lance Taylor diff --git a/include/coff/ecoff.h b/include/coff/ecoff.h index 00d2f240086..3a7aa4fbbb5 100644 --- a/include/coff/ecoff.h +++ b/include/coff/ecoff.h @@ -2,7 +2,7 @@ This does not include symbol information, found in sym.h and 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 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 information. */ unsigned char *line; - PTR external_dnr; /* struct dnr_ext */ - PTR external_pdr; /* struct pdr_ext */ - PTR external_sym; /* struct sym_ext */ - PTR external_opt; /* struct opt_ext */ + void *external_dnr; /* struct dnr_ext */ + void *external_pdr; /* struct pdr_ext */ + void *external_sym; /* struct sym_ext */ + void *external_opt; /* struct opt_ext */ union aux_ext *external_aux; char *ss; char *ssext; - PTR external_fdr; /* struct fdr_ext */ - PTR external_rfd; /* struct rfd_ext */ - PTR external_ext; /* struct ext_ext */ + void *external_fdr; /* struct fdr_ext */ + void *external_rfd; /* struct rfd_ext */ + void *external_ext; /* struct ext_ext */ /* These fields are used when linking. They may disappear at some point. */ char *ssext_end; - PTR external_ext_end; + void *external_ext_end; /* When linking, this field holds a mapping from the input FDR 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_ext_size; /* Functions to swap in external symbolic data. */ - void (*swap_hdr_in) PARAMS ((bfd *, PTR, HDRR *)); - void (*swap_dnr_in) PARAMS ((bfd *, PTR, DNR *)); - void (*swap_pdr_in) PARAMS ((bfd *, PTR, PDR *)); - void (*swap_sym_in) PARAMS ((bfd *, PTR, SYMR *)); - void (*swap_opt_in) PARAMS ((bfd *, PTR, OPTR *)); - void (*swap_fdr_in) PARAMS ((bfd *, PTR, FDR *)); - void (*swap_rfd_in) PARAMS ((bfd *, PTR, RFDT *)); - void (*swap_ext_in) PARAMS ((bfd *, PTR, EXTR *)); - void (*swap_tir_in) PARAMS ((int, const struct tir_ext *, TIR *)); - void (*swap_rndx_in) PARAMS ((int, const struct rndx_ext *, RNDXR *)); + void (*swap_hdr_in) (bfd *, void *, HDRR *); + void (*swap_dnr_in) (bfd *, void *, DNR *); + void (*swap_pdr_in) (bfd *, void *, PDR *); + void (*swap_sym_in) (bfd *, void *, SYMR *); + void (*swap_opt_in) (bfd *, void *, OPTR *); + void (*swap_fdr_in) (bfd *, void *, FDR *); + void (*swap_rfd_in) (bfd *, void *, RFDT *); + void (*swap_ext_in) (bfd *, void *, EXTR *); + void (*swap_tir_in) (int, const struct tir_ext *, TIR *); + void (*swap_rndx_in) (int, const struct rndx_ext *, RNDXR *); /* Functions to swap out external symbolic data. */ - void (*swap_hdr_out) PARAMS ((bfd *, const HDRR *, PTR)); - void (*swap_dnr_out) PARAMS ((bfd *, const DNR *, PTR)); - void (*swap_pdr_out) PARAMS ((bfd *, const PDR *, PTR)); - void (*swap_sym_out) PARAMS ((bfd *, const SYMR *, PTR)); - void (*swap_opt_out) PARAMS ((bfd *, const OPTR *, PTR)); - void (*swap_fdr_out) PARAMS ((bfd *, const FDR *, PTR)); - void (*swap_rfd_out) PARAMS ((bfd *, const RFDT *, PTR)); - void (*swap_ext_out) PARAMS ((bfd *, const EXTR *, PTR)); - void (*swap_tir_out) PARAMS ((int, const TIR *, struct tir_ext *)); - void (*swap_rndx_out) PARAMS ((int, const RNDXR *, struct rndx_ext *)); + void (*swap_hdr_out) (bfd *, const HDRR *, void *); + void (*swap_dnr_out) (bfd *, const DNR *, void *); + void (*swap_pdr_out) (bfd *, const PDR *, void *); + void (*swap_sym_out) (bfd *, const SYMR *, void *); + void (*swap_opt_out) (bfd *, const OPTR *, void *); + void (*swap_fdr_out) (bfd *, const FDR *, void *); + void (*swap_rfd_out) (bfd *, const RFDT *, void *); + void (*swap_ext_out) (bfd *, const EXTR *, void *); + void (*swap_tir_out) (int, const TIR *, struct tir_ext *); + void (*swap_rndx_out) (int, const RNDXR *, struct rndx_ext *); /* Function to read symbol data and set up pointers in ecoff_debug_info structure. The section argument is used for ELF, not straight ECOFF. */ - bfd_boolean (*read_debug_info) - PARAMS ((bfd *, asection *, struct ecoff_debug_info *)); + bfd_boolean (*read_debug_info) (bfd *, asection *, struct ecoff_debug_info *); }; #endif /* ! defined (ECOFF_H) */ diff --git a/include/coff/xcoff.h b/include/coff/xcoff.h index b27cececb0d..64a9ee164ce 100644 --- a/include/coff/xcoff.h +++ b/include/coff/xcoff.h @@ -1,6 +1,6 @@ /* 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. Written by Ian Lance Taylor , Cygnus Support. @@ -424,7 +424,7 @@ struct __rtinit { /* Pointer to runtime linker. XXX: Is the parameter really void? */ - int (*rtl) PARAMS ((void)); + int (*rtl) (void); /* Offset to array of init functions, 0 if none. */ int init_offset;