This is the mail archive of the binutils@sources.redhat.com 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: -taso support in LD for x86-64


Alan
any chance to have it implemented?
This would tremendously Fortran developers using g77 on x86-64
whose Fortran code interoperates with C code.
For example, we dynamically allocate memory in Fortran
by using address returned by malloc. Since g77 does not support
the -i8 option (that converts all Fortran integers to 64-bit integers),
whenever malloc returns addresses that exceed 32-bit, the Fortran code is in trouble.


Edo

Alan Modra wrote:

On Fri, Feb 18, 2005 at 01:18:10PM -0800, Edoardo Apra wrote:


Any guess if a -taso option for ld could be implemented on x86-64?



Yes, easily. You would need support in the dynamic linker to ensure shared libs were loaded below 2G too.




-- Edoardo Apra` - PNNL - P.O. Box 999, MS K8-91 - Richland, WA 99352 Fax +1-509-376-0420


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