diff options
author | John Gilmore <gnu@cygnus> | 1992-11-05 08:17:56 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-11-05 08:17:56 +0000 |
commit | 00539ee3b31d69677138be9f11ac0e3d422078d9 (patch) | |
tree | 50b604ae5e81c48ee627079872149559e8af3f80 /bfd/bfd-in.h | |
parent | 1549918a3f39110f41e78ab4ebbd022b4fe3da7d (diff) | |
download | gdb-00539ee3b31d69677138be9f11ac0e3d422078d9.zip gdb-00539ee3b31d69677138be9f11ac0e3d422078d9.tar.gz gdb-00539ee3b31d69677138be9f11ac0e3d422078d9.tar.bz2 |
* bfd-in.h: Improve comments to make it clear that bfd.h is
the wrong place to edit this file.
* Makefile.in (install): Install ansidecl.h and obstack.h in the
same places where we install bfd.h.
* libieee.h: Add FIXME about removing limit on number of sections.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r-- | bfd/bfd-in.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index ad343fe..23fabc6 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -1,5 +1,7 @@ -/* A -*- C -*- header file for the bfd library - Copyright 1990, 1991 Free Software Foundation, Inc. +/* Main header file for the bfd library -- portable access to object files. + ==> The bfd.h file is generated from bfd-in.h and various .c files; if you + ==> change it, your changes will probably be lost. + Copyright 1990, 1991, 1992 Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -20,8 +22,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* bfd.h -- The only header file required by users of the bfd library -This file is generated from various .c files, if you change it, your -bits may be lost. +The bfd.h file is generated from bfd-in.h and various .c files; if you +change it, your changes will probably be lost. All the prototypes and definitions following the comment "THE FOLLOWING IS EXTRACTED FROM THE SOURCE" are extracted from the source files for @@ -65,8 +67,15 @@ typedef struct _bfd bfd; /* Yup, SVR4 has a "typedef enum boolean" in <sys/types.h> -fnf */ typedef enum bfd_boolean {false, true} boolean; -/* Try to avoid breaking stuff */ -typedef long int file_ptr; +/* A pointer to a position in a file. */ +/* FIXME: This should be using off_t from <sys/types.h>. + For now, try to avoid breaking stuff by not including <sys/types.h> here. + This will break on systems with 64-bit file offsets (e.g. 4.4BSD). + Probably the best long-term answer is to avoid using file_ptr AND off_t + in this header file, and to handle this in the BFD implementation + rather than in its interface. */ +/* typedef off_t file_ptr; */ +typedef long int file_ptr; /* Support for different sizes of target format ints and addresses */ |