This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to add fopen/fopen64 declarations to bfd


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]