Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: jkmccarthy at pacbell.net (Jim McCarthy)
Subject: FC 8 on Alpha question:  GNU linker "ld -taso"  option?
Date: Tue, 22 Apr 2008 23:23:15 -0700	[thread overview]
Message-ID: <EHEJKJMDHFLPCNPFAMOKEENNLOAA.jkmccarthy@pacbell.net> (raw)

Hello --

Browsing here ...

http://buildsys.zero42.at/mash/f8/alpha/os/Packages/

...I find that FC 8 on Alpha includes "binutils-2.17.50" (maybe take my word
for it, since the long list of packages takes a while to load :-).  I
believe the GNU linker "ld" resides inside the binutils package.

Looking here ...

http://sourceware.org/binutils/docs-2.17/ld/Machine-Dependent.html#Machine-D
ependent

...I don't see any "alpha" machine-dependent linker options in the standard
binutils release.  Can someone tell me if, as part of the FC 8 port to
Alpha, were there are any machine=alpha -dependent options (re)introduced
for the GNU linker, ld ?

On my DEC PWS 600au (Miata), I'm currently still using Red Hat 7.2 for
Alpha.  The alpha version of binutils has a linker option "ld -taso" that
restricts executable code to the lower 32-bit range of memory (< 2Gb), such
that pointer address values can be manipulated as 32-bit int values.   I use
a large data analysis package written originally for VAX/VMS, and later
ported to RISC/unix and then x86/Linux, and 32-bit integers are used
throughout to hold pointer address values.  With some expert assistance
years ago, I was able to build this under RH7.2 for Alpha relatively
painlessly by adding "-Wl,-taso" to the gcc options list (which simply
passes the "-taso" switch along to the linker).

So my question is, if I upgrade to the latest FC 8 for Alpha, will I lose
this machine-dependent linker option for alpha with the latest "binutils" in
FC 8 ??

Arguably this would be "good medicine" and motivation to properly upgrade
the IA32 data analysis package's source codes to allow (enforce) 64-bit
pointers on all 64-bit architectures (Alpha, ia64 = Itanium, AMD64, EM64T,
etc.) -- a very sizeable effort [somewhere between "daunting" and
"monumental" for me by myself] but one that would no doubt pay future
dividends....  Still, I'd appreciate knowing if in the meantime the new FC 8
on Alpha might have the "-taso" shortcut I could use to get up-and-running
quickly after upgrading from RH7.2 Alpha.

Thanks,

     -- Jim




             reply	other threads:[~2008-04-23  6:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-23  6:23 jkmccarthy [this message]
2008-04-23  9:24 ` FC 8 on Alpha question: GNU linker "ld -taso" option? oliver
2008-04-24  1:32 ` rm.riches
2008-05-03 19:20 ` Best practice in C to support 64-bit or 32-bit address length with same source file ? jkmccarthy
2008-05-03 20:49   ` davis
2008-05-04 15:05     ` raeburn
2008-05-04 16:38       ` davis
2008-05-05  1:25         ` raeburn
2008-05-03 23:03   ` Jay.Estabrook
2008-05-04 15:13     ` raeburn
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox