diff options
author | Stu Grossman <grossman@cygnus> | 1996-08-08 06:27:01 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1996-08-08 06:27:01 +0000 |
commit | 2055bf857dee9a60960c6d649283c4c1ee3665e3 (patch) | |
tree | 48c5cb18c890bd273d23502565319d2c8f4f17aa /bfd | |
parent | 500992b7435b068f7befedd14f16e0ee1ce7c882 (diff) | |
download | gdb-2055bf857dee9a60960c6d649283c4c1ee3665e3.zip gdb-2055bf857dee9a60960c6d649283c4c1ee3665e3.tar.gz gdb-2055bf857dee9a60960c6d649283c4c1ee3665e3.tar.bz2 |
* 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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 8 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 2 | ||||
-rw-r--r-- | bfd/opncls.c | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 42540a9..34b593b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +Wed Aug 7 23:19:00 1996 Stu Grossman (grossman@critters.cygnus.com) + + * 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 <phdm@info.ucl.ac.be> * configure.in: Call BFD_NEEDED_DECLARATION on strstr and diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index cb365a8..bdf3d75 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -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 diff --git a/bfd/opncls.c b/bfd/opncls.c index 6117d87..ee8d152 100644 --- a/bfd/opncls.c +++ b/bfd/opncls.c @@ -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; } |