From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,2e34ec8a2eb4f8b1 X-Google-Attributes: gidf7344,public X-Google-Thread: fa528,2e34ec8a2eb4f8b1 X-Google-Attributes: gidfa528,public X-Google-Thread: 102b75,2e34ec8a2eb4f8b1 X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-07-10 07:17:17 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-04!supernews.com!feed.textport.net!newsfeed.stanford.edu!news-proxy.baileynm.com!web.nmti.com!not-for-mail From: peter@abbnm.com (Peter da Silva) Newsgroups: comp.arch,comp.os.vms,comp.unix.tru64 Subject: Re: IA64 volume and low-end dominance Date: 10 Jul 2001 14:02:47 GMT Organization: ABB Network Management Message-ID: <9if1u7$bt8@web.nmti.com> References: <9iaevf$39o$1@pyrite.mv.net> <3B497431.DAF93DDA@peoplepc.com> NNTP-Posting-Host: grendel.eng.baileynm.com Xref: archiver1.google.com comp.arch:13486 comp.os.vms:35562 comp.unix.tru64:3321 In article <3B497431.DAF93DDA@peoplepc.com>, Jack Patteeuw wrote: > One of Alpha/OSF1 least desirable feature was that it only had a 64 bit mode. > No sloppy K&R code could easily be ported. Actually, it did have one. Using it was discouraged, and it still had 64-bit longs, but a lot of all-the-world's-a-sun/vax code ran under it: -taso Directs the linker to load the executable file in the lower 31-bit addressable virtual address range. The -T and -D options to the ld com- mand can also be used, respectively, to ensure that the text and data segments addresses are loaded into low memory. The -taso option, however, in addition to setting default addresses for text and data segments, also causes shared libraries linked outside the 31-bit address space to be appropriately relocated by the loader. If you specify -taso and also specify text and data segment addresses with -T and -D, those addresses override the -taso default addresses. The -taso option can be helpful when porting programs that assume address values can be stored in 32-bit variables (that is, programs that assume that pointers are the same length as int variables). The default mode is not only 64-bit, but it maps out the lowest gigabyte of memory to deliberately catch vaxist code. Most of the code I used, which had already been ported to Xenix-286 and SunOS from the PDP-11, required no changes on the Alpha. -- `-_-' In hoc signo hack, Peter da Silva. 'U` "A well-rounded geek should be able to geek about anything." -- nicolai@esperi.org Disclaimer: WWFD?