From c77e3e54818ade3449091f33490601ba4ffbc4f4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 14 Mar 2001 02:27:44 +0000 Subject: Fix typos in ChangeLogs; add coff/external.h; fix copyright dates --- include/aout/ChangeLog | 16 ++++++---- include/aout/adobe.h | 18 ++++++++++- include/aout/aout64.h | 18 ++++++++++- include/aout/ar.h | 18 ++++++++++- include/aout/dynix3.h | 79 ++++++++++++++++++++++++++++-------------------- include/aout/encap.h | 2 +- include/aout/host.h | 28 ++++++++++++++--- include/aout/hp300hpux.h | 2 +- include/aout/ranlib.h | 2 +- include/aout/reloc.h | 2 +- include/aout/stab.def | 2 +- include/aout/stab_gnu.h | 17 +++++++++++ include/aout/sun4.h | 20 ++++++++++-- 13 files changed, 172 insertions(+), 52 deletions(-) (limited to 'include/aout') diff --git a/include/aout/ChangeLog b/include/aout/ChangeLog index 1645a5ac7..f107b8488 100644 --- a/include/aout/ChangeLog +++ b/include/aout/ChangeLog @@ -37,6 +37,10 @@ Wed Jul 12 00:15:13 1995 Ken Raeburn * sun4.h (PAGE_SIZE): Undefine before defining. +Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) + + * aout64.h: Only define QMAGIC if it isn't already defined. + Thu Jun 16 14:22:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * aout64.h (BMAGIC): Define. @@ -171,20 +175,20 @@ Thu Jun 11 01:12:07 1992 John Gilmore (gnu at cygnus.com) Thu Jan 30 18:12:44 1992 John Gilmore (gnu at cygnus.com) - * aout/aout64.h: N_TXTSIZE needs some more parentheses. + * aout64.h: N_TXTSIZE needs some more parentheses. I don't trust C precedence. Wed Dec 18 14:32:01 1991 Per Bothner (bothner at cygnus.com) - * aout/aout64.h: Move common sunos-specific test + * aout64.h: Move common sunos-specific test to recognize shared libraries into new macro N_SHARED_LIB. - Use it to simplify&reformat N_TXTADDR, N_TXTOFF, N_TXTSIZE. + Use it to simplify & reformat N_TXTADDR, N_TXTOFF, N_TXTSIZE. Sat Nov 30 20:34:52 1991 Steve Chamberlain (sac at rtl.cygnus.com) - * ChangeLog, aout64.h, ar.h, encap.h, host.h, hp.h, ranlib.h, - reloc.h, stab.def, stab_gnu.h, sun4.h: All moved from the - devo/include directory + * aout64.h, ar.h, encap.h, host.h, hp.h, ranlib.h, reloc.h, + stab.def, stab_gnu.h, sun4.h: All moved from the devo/include + directory. Local Variables: diff --git a/include/aout/adobe.h b/include/aout/adobe.h index 3d2f15c6c..c751d103a 100644 --- a/include/aout/adobe.h +++ b/include/aout/adobe.h @@ -1,4 +1,20 @@ -/* `a.out.adobe' differences from standard a.out files */ +/* `a.out.adobe' differences from standard a.out files + + Copyright 2001 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 + the Free Software Foundation; either version 2 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. + + 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. */ #ifndef __A_OUT_ADOBE_H__ #define __A_OUT_ADOBE_H__ diff --git a/include/aout/aout64.h b/include/aout/aout64.h index bec844036..a8a8cd1b3 100644 --- a/include/aout/aout64.h +++ b/include/aout/aout64.h @@ -1,4 +1,20 @@ -/* `a.out' object-file definitions, including extensions to 64-bit fields */ +/* `a.out' object-file definitions, including extensions to 64-bit fields + + Copyright 2001 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 + the Free Software Foundation; either version 2 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. + + 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. */ #ifndef __A_OUT_64_H__ #define __A_OUT_64_H__ diff --git a/include/aout/ar.h b/include/aout/ar.h index 7b5dcdabd..15d534c57 100644 --- a/include/aout/ar.h +++ b/include/aout/ar.h @@ -1,4 +1,20 @@ -/* archive file definition for GNU software */ +/* archive file definition for GNU software + + Copyright 2001 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 + the Free Software Foundation; either version 2 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. + + 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. */ /* So far this is correct for BSDish archives. Don't forget that files must begin on an even byte boundary. */ diff --git a/include/aout/dynix3.h b/include/aout/dynix3.h index efeeebfc4..b09d5d70e 100644 --- a/include/aout/dynix3.h +++ b/include/aout/dynix3.h @@ -1,44 +1,59 @@ -/* - * a.out specifics for Sequent Symmetry running Dynix 3.x - */ +/* a.out specifics for Sequent Symmetry running Dynix 3.x + + Copyright 2001 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 + the Free Software Foundation; either version 2 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. + + 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. */ + #ifndef A_OUT_DYNIX3_H #define A_OUT_DYNIX3_H #define external_exec dynix_external_exec /* struct exec for Dynix 3 - * - * a_gdtbl and a_bootstrap are only for standalone binaries. - * Shared data fields are not supported by the kernel as of Dynix 3.1, - * but are supported by Dynix compiler programs. - */ -struct dynix_external_exec { - unsigned char e_info[4]; - unsigned char e_text[4]; - unsigned char e_data[4]; - unsigned char e_bss[4]; - unsigned char e_syms[4]; - unsigned char e_entry[4]; - unsigned char e_trsize[4]; - unsigned char e_drsize[4]; - unsigned char e_g_code[8], e_g_data[8], e_g_desc[8]; - unsigned char e_shdata[4]; - unsigned char e_shbss[4]; - unsigned char e_shdrsize[4]; - unsigned char e_bootstrap[44]; - unsigned char e_reserved[12]; - unsigned char e_version[4]; -}; + + a_gdtbl and a_bootstrap are only for standalone binaries. + Shared data fields are not supported by the kernel as of Dynix 3.1, + but are supported by Dynix compiler programs. */ +struct dynix_external_exec + { + unsigned char e_info[4]; + unsigned char e_text[4]; + unsigned char e_data[4]; + unsigned char e_bss[4]; + unsigned char e_syms[4]; + unsigned char e_entry[4]; + unsigned char e_trsize[4]; + unsigned char e_drsize[4]; + unsigned char e_g_code[8]; + unsigned char e_g_data[8]; + unsigned char e_g_desc[8]; + unsigned char e_shdata[4]; + unsigned char e_shbss[4]; + unsigned char e_shdrsize[4]; + unsigned char e_bootstrap[44]; + unsigned char e_reserved[12]; + unsigned char e_version[4]; + }; #define EXEC_BYTES_SIZE (128) -/* - * All executables under Dynix are demand paged with read-only text, - * Thus no NMAGIC. - * - * ZMAGIC has a page of 0s at virtual 0, - * XMAGIC has an invalid page at virtual 0 - */ +/* All executables under Dynix are demand paged with read-only text, + Thus no NMAGIC. + + ZMAGIC has a page of 0s at virtual 0, + XMAGIC has an invalid page at virtual 0. */ #define OMAGIC 0x12eb /* .o */ #define ZMAGIC 0x22eb /* zero @ 0, demand load */ #define XMAGIC 0x32eb /* invalid @ 0, demand load */ diff --git a/include/aout/encap.h b/include/aout/encap.h index b215d49be..1381557d8 100644 --- a/include/aout/encap.h +++ b/include/aout/encap.h @@ -1,5 +1,5 @@ /* Yet Another Try at encapsulating bsd object files in coff. - Copyright (C) 1988, 1989, 1991 Free Software Foundation, Inc. + Copyright 1988, 1989, 1991 Free Software Foundation, Inc. Written by Pace Willisson 12/9/88 This file is obsolete. It needs to be converted to just define a bunch diff --git a/include/aout/host.h b/include/aout/host.h index 8e3621271..442981ac9 100644 --- a/include/aout/host.h +++ b/include/aout/host.h @@ -1,22 +1,42 @@ -/* Parameters about the a.out format, based on the host system on which - the program is compiled. */ +/* host.h - Parameters about the a.out format, based on the host system + on which the program is compiled. + + Copyright 2001 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 + the Free Software Foundation; either version 2 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. + + 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. */ /* Address of data segment in memory after it is loaded. - It is up to you to define SEGMENT_SIZE - on machines not listed here. */ + It is up to you to define SEGMENT_SIZE on machines not listed here. */ #ifndef SEGMENT_SIZE + #if defined(hp300) || defined(pyr) #define SEGMENT_SIZE page_size #endif + #ifdef sony #define SEGMENT_SIZE 0x1000 #endif /* Sony. */ + #ifdef is68k #define SEGMENT_SIZE 0x20000 #endif + #if defined(m68k) && defined(PORTAR) #define TARGET_PAGE_SIZE 0x400 #define SEGMENT_SIZE TARGET_PAGE_SIZE #endif + #endif /*!defined(SEGMENT_SIZE)*/ diff --git a/include/aout/hp300hpux.h b/include/aout/hp300hpux.h index 44d519614..451b89464 100644 --- a/include/aout/hp300hpux.h +++ b/include/aout/hp300hpux.h @@ -1,5 +1,5 @@ /* Special version of for use under hp-ux. - Copyright (C) 1988,1993 Free Software Foundation, Inc. */ + Copyright 1988, 1993, 1995 Free Software Foundation, Inc. struct hp300hpux_exec_bytes { diff --git a/include/aout/ranlib.h b/include/aout/ranlib.h index 982600514..e4603edf6 100644 --- a/include/aout/ranlib.h +++ b/include/aout/ranlib.h @@ -1,5 +1,5 @@ /* ranlib.h -- archive library index member definition for GNU. - Copyright 1990-1991 Free Software Foundation, Inc. + Copyright 1990, 1991 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 diff --git a/include/aout/reloc.h b/include/aout/reloc.h index 563c552a3..eca3f59b2 100644 --- a/include/aout/reloc.h +++ b/include/aout/reloc.h @@ -1,5 +1,5 @@ /* reloc.h -- Header file for relocation information. - Copyright 1989-1991 Free Software Foundation, Inc. + Copyright 1989, 1990, 1991 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 diff --git a/include/aout/stab.def b/include/aout/stab.def index 9c2d2dd14..67bde35f1 100644 --- a/include/aout/stab.def +++ b/include/aout/stab.def @@ -1,5 +1,5 @@ /* Table of DBX symbol codes for the GNU system. - Copyright (C) 1988, 91, 92, 93, 94, 95, 96, 1998 + Copyright 1988, 1991, 1992, 1993, 1994, 1996, 1998 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify diff --git a/include/aout/stab_gnu.h b/include/aout/stab_gnu.h index 7d18e14a2..c62ac6ed4 100644 --- a/include/aout/stab_gnu.h +++ b/include/aout/stab_gnu.h @@ -1,3 +1,20 @@ +/* gnu_stab.h Definitions for GNU extensions to STABS + + Copyright 2001 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 + the Free Software Foundation; either version 2 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. + + 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. */ #ifndef __GNU_STAB__ /* Indicate the GNU stab.h is in use. */ diff --git a/include/aout/sun4.h b/include/aout/sun4.h index f42a0dd45..623afc131 100644 --- a/include/aout/sun4.h +++ b/include/aout/sun4.h @@ -1,8 +1,24 @@ -/* SPARC-specific values for a.out files */ +/* SPARC-specific values for a.out files + + Copyright 2001 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 + the Free Software Foundation; either version 2 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. + + 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. */ /* Some systems, e.g., AIX, may have defined this in header files already included. */ -#undef TARGET_PAGE_SIZE +#undef TARGET_PAGE_SIZE #define TARGET_PAGE_SIZE 0x2000 /* 8K. aka NBPG in */ /* Note that some SPARCs have 4K pages, some 8K, some others. */ -- cgit v1.2.3