]> Git Repo - binutils.git/commitdiff
* aoutx.h bfd-in.h bfd-in2.h opncls.c riscix.c som.c targets.c:
authorStu Grossman <grossman@cygnus>
Thu, 8 Aug 1996 06:27:01 +0000 (06:27 +0000)
committerStu Grossman <grossman@cygnus>
Thu, 8 Aug 1996 06:27:01 +0000 (06:27 +0000)
Change NO_FLAGS to BFD_NO_FLAGS to avoid conflict with an HPUX
include file.
* libbfd.c:  Create dummy getpagesize() macro if HAVE_GETPAGESIZE
isn't defined.

bfd/ChangeLog
bfd/bfd-in2.h
bfd/opncls.c

index 42540a900dbe76a5e378e986f87a54ee24a6b702..34b593b0cda37fa7586df4881aa6960026fbb097 100644 (file)
@@ -1,3 +1,11 @@
+Wed Aug  7 23:19:00 1996  Stu Grossman  ([email protected])
+
+       * aoutx.h bfd-in.h bfd-in2.h opncls.c riscix.c som.c targets.c:
+       Change NO_FLAGS to BFD_NO_FLAGS to avoid conflict with an HPUX
+       include file.
+       * libbfd.c:  Create dummy getpagesize() macro if HAVE_GETPAGESIZE
+       isn't defined.
+
 Wed Aug  7 14:11:44 1996  Philippe De Muyter  <[email protected]>
 
        * configure.in: Call BFD_NEEDED_DECLARATION on strstr and
index cb365a8c097ec107b95effb90257fc6fda39bb5b..bdf3d7539750e4a6802b21d623af1ffda532aec3 100644 (file)
@@ -199,7 +199,7 @@ typedef enum bfd_format {
    to another, and are not necessarily correct).  */
 
 /* No flags.  */
-#define NO_FLAGS       0x00
+#define BFD_NO_FLAGS           0x00
 
 /* BFD contains relocation entries.  */
 #define HAS_RELOC      0x01
index 6117d875cd755e6e4bb11f77fefeedd9743f7a48..ee8d152ceec862aee13a24e7c4d7609838b61301 100644 (file)
@@ -1,5 +1,5 @@
 /* opncls.c -- open and close a BFD.
-   Copyright (C) 1990 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
+   Copyright (C) 1990 91, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
    Written by Cygnus Support.
 
 This file is part of BFD, the Binary File Descriptor library.
@@ -88,7 +88,7 @@ _bfd_new_bfd ()
   nbfd->section_count = 0;
   nbfd->usrdata = (PTR)NULL;
   nbfd->cacheable = false;
-  nbfd->flags = NO_FLAGS;
+  nbfd->flags = BFD_NO_FLAGS;
   nbfd->mtime_set = false;
 
   return nbfd;
@@ -259,6 +259,7 @@ bfd_fdopenr (filename, target, fd)
                                
   if (! bfd_cache_init (nbfd))
     return NULL;
+  nbfd->opened_once = true;
 
   return nbfd;
 }
This page took 0.062467 seconds and 4 git commands to generate.