diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-14 15:38:20 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-14 15:38:20 +0000 |
commit | ebaf7ac3656bdad5707abf9362292f6ebff81bad (patch) | |
tree | fb6889c883ffa8d2bfd499e2462d707809c71d1a | |
parent | 9f27c6d161c4eefcca47e1d96d295f0ec7a5d4d1 (diff) | |
download | gdb-ebaf7ac3656bdad5707abf9362292f6ebff81bad.tar.gz |
2004-02-14 Andrew Cagney <cagney@redhat.com>
* configure.host (HDEFINES): When hppa*-*-hpux*, define
_LARGEFILE64_SOURCE.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/configure.host | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4192e849b7e..0c4caf5726f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2004-02-14 Andrew Cagney <cagney@redhat.com> + + * configure.host (HDEFINES): When hppa*-*-hpux*, define + _LARGEFILE64_SOURCE. + 2004-02-13 Andrew Cagney <cagney@redhat.com> * elf.c (vma_page_aligned_bias): New function. diff --git a/bfd/configure.host b/bfd/configure.host index 69eb17ac958..024ed625420 100644 --- a/bfd/configure.host +++ b/bfd/configure.host @@ -19,7 +19,11 @@ HOST_U_64BIT_TYPE= case "${host}" in -hppa*-*-hpux*) HDEFINES=-DHOST_HPPAHPUX ;; +hppa*-*-hpux*) # HP/UX's ftello64 et.al. declarations are only + # visible when _LARGEFILE64_SOURCE is defined. + # Without those declarations, real_ftell et.al. + # get mis-compiled. + HDEFINES="-DHOST_HPPAHPUX -D_LARGEFILE64_SOURCE" ;; hppa*-*-hiux*) HDEFINES=-DHOST_HPPAHPUX ;; hppa*-*-mpeix*) HDEFINES=-DHOST_HPPAMPEIX ;; hppa*-*-bsd*) HDEFINES=-DHOST_HPPABSD ;; |