Remove ARI check for multiple calls to warning or error
[deliverable/binutils-gdb.git] / include / bout.h
index 66a7bcfe91c9596f30b8fc7e1e0bff7816c7da0a..79dd32dd89caa7969253cc763e2b64d0efbaf220 100644 (file)
@@ -1,22 +1,23 @@
 /* This file is a modified version of 'a.out.h'.  It is to be used in all
    GNU tools modified to support the i80960 (or tools that operate on
    object files created by such tools).
-   
-   Copyright 2001 Free Software Foundation, Inc.
+
+   Copyright (C) 2001-2019 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
+   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,
    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., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
+   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+   MA 02110-1301, USA.  */
  
 /* All i80960 development is done in a CROSS-DEVELOPMENT environment.  I.e.,
    object code is generated on, and executed under the direction of a symbolic
@@ -86,16 +87,16 @@ struct external_exec
 
 /* These macros use the a_xxx field names, since they operate on the exec
    structure after it's been byte-swapped and realigned on the host machine.  */
-#define N_BADMAG(x)    (((x).a_info)!=BMAGIC)
+#define N_BADMAG(x)    (((x)->a_info)!=BMAGIC)
 #define N_TXTOFF(x)    EXEC_BYTES_SIZE
-#define N_DATOFF(x)    ( N_TXTOFF(x) + (x).a_text )
-#define N_TROFF(x)     ( N_DATOFF(x) + (x).a_data )
+#define N_DATOFF(x)    ( N_TXTOFF(x) + (x)->a_text )
+#define N_TROFF(x)     ( N_DATOFF(x) + (x)->a_data )
 #define N_TRELOFF      N_TROFF
-#define N_DROFF(x)     ( N_TROFF(x) + (x).a_trsize )
+#define N_DROFF(x)     ( N_TROFF(x) + (x)->a_trsize )
 #define N_DRELOFF      N_DROFF
-#define N_SYMOFF(x)    ( N_DROFF(x) + (x).a_drsize )
-#define N_STROFF(x)    ( N_SYMOFF(x) + (x).a_syms )
-#define N_DATADDR(x)   ( (x).a_dload )    
+#define N_SYMOFF(x)    ( N_DROFF(x) + (x)->a_drsize )
+#define N_STROFF(x)    ( N_SYMOFF(x) + (x)->a_syms )
+#define N_DATADDR(x)   ( (x)->a_dload )
 
 /* Address of text segment in memory after it is loaded.  */
 #if !defined (N_TXTADDR)
This page took 0.025524 seconds and 4 git commands to generate.