Patch to add fopen/fopen64 declarations to bfd
Steve Ellcey
sje@cup.hp.com
Mon Nov 7 21:14:00 GMT 2005
> 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" ;;
>
> Can we just do the same thing for ia64-hpux?
OK, here is a new patch, tested on HP-UX IA64. OK for checkin?
Steve Ellcey
sje@cup.hp.com
bfd/ChangeLog
2005-11-04 Steve Ellcey <sje@cup.hp.com>
* configure.host (ia64-*-hpux*): Set _LARGEFILE64_SOURCE
*** src.orig/bfd/configure.host Fri Nov 4 13:48:13 2005
--- src/bfd/configure.host Fri Nov 4 13:50:44 2005
*************** hppa*-*-mpeix*) HDEFINES=-DHOST_HPPAMPE
*** 29,34 ****
--- 29,36 ----
hppa*-*-bsd*) HDEFINES=-DHOST_HPPABSD ;;
hppa*-*-osf*) HDEFINES=-DHOST_HPPAOSF ;;
+ ia64-*-hpux*) HDEFINES=-D_LARGEFILE64_SOURCE
+ host64=true;;
ia64-*-*) host64=true;;
# Workaround for limitations on win9x where file contents are
More information about the Binutils
mailing list