-taso support in LD for x86-64

Edoardo Apra edoardo.apra@pnl.gov
Tue Feb 22 10:13:00 GMT 2005
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



More information about the Binutils mailing list