aboutsummaryrefslogtreecommitdiff
path: root/include/coff/alpha.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-03-14 02:27:44 +0000
committerNick Clifton <nickc@redhat.com>2001-03-14 02:27:44 +0000
commitc77e3e54818ade3449091f33490601ba4ffbc4f4 (patch)
treea4a898f8d950a5cda3ffaf19373d2ede44c63478 /include/coff/alpha.h
parent1d39c83a329b80334ae1ea9163f6a98767c60551 (diff)
downloadnewlib-c77e3e54818ade3449091f33490601ba4ffbc4f4.zip
newlib-c77e3e54818ade3449091f33490601ba4ffbc4f4.tar.gz
newlib-c77e3e54818ade3449091f33490601ba4ffbc4f4.tar.bz2
Fix typos in ChangeLogs; add coff/external.h; fix copyright dates
Diffstat (limited to 'include/coff/alpha.h')
-rw-r--r--include/coff/alpha.h36
1 files changed, 28 insertions, 8 deletions
diff --git a/include/coff/alpha.h b/include/coff/alpha.h
index 076cbcb..e5210a5 100644
--- a/include/coff/alpha.h
+++ b/include/coff/alpha.h
@@ -1,9 +1,26 @@
/* ECOFF support on Alpha machines.
- coff/ecoff.h must be included before this file. */
-
+ coff/ecoff.h must be included before this file.
+
+ 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. */
+
/********************** FILE HEADER **********************/
-struct external_filehdr {
+struct external_filehdr
+{
unsigned char f_magic[2]; /* magic number */
unsigned char f_nscns[2]; /* number of sections */
unsigned char f_timdat[4]; /* time & date stamp */
@@ -28,7 +45,6 @@ struct external_filehdr {
/********************** AOUT "OPTIONAL HEADER" **********************/
-
typedef struct external_aouthdr
{
unsigned char magic[2]; /* type of file */
@@ -54,7 +70,8 @@ typedef struct external_aouthdr
/********************** SECTION HEADER **********************/
-struct external_scnhdr {
+struct external_scnhdr
+{
unsigned char s_name[8]; /* section name */
unsigned char s_paddr[8]; /* physical address, aliased s_nlib */
unsigned char s_vaddr[8]; /* virtual address */
@@ -72,7 +89,8 @@ struct external_scnhdr {
/********************** RELOCATION DIRECTIVES **********************/
-struct external_reloc {
+struct external_reloc
+{
unsigned char r_vaddr[8];
unsigned char r_symndx[4];
unsigned char r_bits[4];
@@ -150,7 +168,8 @@ struct external_reloc {
/* File header as a set of bytes */
-struct hdr_ext {
+struct hdr_ext
+{
unsigned char h_magic[2];
unsigned char h_vstamp[2];
unsigned char h_ilineMax[4];
@@ -180,7 +199,8 @@ struct hdr_ext {
/* File descriptor external record */
-struct fdr_ext {
+struct fdr_ext
+{
unsigned char f_adr[8];
unsigned char f_cbLineOffset[8];
unsigned char f_cbLine[8];