From 73593ea1dde79ae684806254b083da6c0e746673 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 30 Nov 2002 08:39:45 +0000 Subject: s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify comparisons of bfd_boolean vars with TRUE/FALSE. Formatting. --- include/coff/ChangeLog | 5 +++++ include/coff/ecoff.h | 12 ++++++------ include/coff/xcoff.h | 12 ++++++------ 3 files changed, 17 insertions(+), 12 deletions(-) (limited to 'include/coff') diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 23b062735..b2eec4cbe 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,3 +1,8 @@ +2002-11-30 Alan Modra + + * ecoff.h: Replace boolean with bfd_boolean. + * xcoff.h: Likewise. + 2002-03-18 Tom Rix * rs6k64.h: Add U64_TOCMAGIC, AIX 5 64 bit magic number. diff --git a/include/coff/ecoff.h b/include/coff/ecoff.h index 076fdf5be..00d2f2400 100644 --- a/include/coff/ecoff.h +++ b/include/coff/ecoff.h @@ -2,22 +2,22 @@ This does not include symbol information, found in sym.h and symconst.h. - Copyright 2001 Free Software Foundation, Inc. + Copyright 2001, 2002 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 ECOFF_H #define ECOFF_H @@ -430,8 +430,8 @@ struct ecoff_debug_swap /* Function to read symbol data and set up pointers in ecoff_debug_info structure. The section argument is used for ELF, not straight ECOFF. */ - boolean (*read_debug_info) PARAMS ((bfd *, asection *, - struct ecoff_debug_info *)); + bfd_boolean (*read_debug_info) + PARAMS ((bfd *, asection *, struct ecoff_debug_info *)); }; #endif /* ! defined (ECOFF_H) */ diff --git a/include/coff/xcoff.h b/include/coff/xcoff.h index 0bb9d6c1e..b27cececb 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 + Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Written by Ian Lance Taylor , Cygnus Support. @@ -366,10 +366,10 @@ struct xcoff_link_hash_table unsigned long file_align; /* Whether the .text section must be read-only. */ - boolean textro; + bfd_boolean textro; /* Whether garbage collection was done. */ - boolean gc; + bfd_boolean gc; /* A linked list of symbols for which we have size information. */ struct xcoff_link_size_list @@ -391,7 +391,7 @@ struct xcoff_link_hash_table struct xcoff_loader_info { /* Set if a problem occurred. */ - boolean failed; + bfd_boolean failed; /* Output BFD. */ bfd *output_bfd; @@ -400,7 +400,7 @@ struct xcoff_loader_info struct bfd_link_info *info; /* Whether all defined symbols should be exported. */ - boolean export_defineds; + bfd_boolean export_defineds; /* Number of ldsym structures. */ size_t ldsym_count; @@ -604,7 +604,7 @@ struct xcoff_ar_hdr_big /* We often have to distinguish between the old and big file format. Make it a bit cleaner. We can use `xcoff_ardata' here because the `hdr' member has the same size and position in both formats. - is the default format, return true even when xcoff_ardata is + is the default format, return TRUE even when xcoff_ardata is NULL. */ #ifndef SMALL_ARCHIVE /* Creates big archives by default */ -- cgit v1.2.3