* bfd-in.h: Improve comments to make it clear that bfd.h is
authorJohn Gilmore <gnu@cygnus>
Thu, 5 Nov 1992 08:17:56 +0000 (08:17 +0000)
committerJohn Gilmore <gnu@cygnus>
Thu, 5 Nov 1992 08:17:56 +0000 (08:17 +0000)
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.

bfd/ChangeLog
bfd/bfd-in.h

index c35363dba3af3cde87b743382fbb2a0f0b725c99..92f973f1ef81ba073fd22b62eb534cedcbb9201d 100644 (file)
@@ -1,3 +1,11 @@
+Wed Nov  4 22:47:29 1992  John Gilmore  (gnu@cygnus.com)
+
+       * libieee.h:  Add FIXME about removing limit on number of sections.
+       * 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.
+
 Wed Nov  4 13:40:23 1992  Sean Eric Fagan  (sef@cygnus.com)
 
        * coffcode.h (coff_swap_aux_out, coff_swap_aux_in):  check for
index ad343fe73dbcbfdb54b5430a1506e12fdf40a7fe..23fabc6e93d618e5ce5a0e567989ca8d1a29de41 100644 (file)
@@ -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 */
 
This page took 0.027839 seconds and 4 git commands to generate.