Date: Tue, 22 Mar 2011 17:19:35 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/gnu/usr.bin/binutils/ld Makefile.ia64 elf64_ia64_fbsd.sh Message-ID: <201103221719.p2MHJkaK094774@repoman.freebsd.org>
index | next in thread | raw e-mail
marcel 2011-03-22 17:19:35 UTC
FreeBSD src repository
Modified files:
gnu/usr.bin/binutils/ld Makefile.ia64 elf64_ia64_fbsd.sh
Log:
SVN rev 219876 on 2011-03-22 17:19:35Z by marcel
Change the load address from offset 0 in region 1 to offset 4G in region 0.
This (almost) gives us the address space back (at the bottom) that we lost
at the top.
Region 0 has traditionally been reserved for IA-32 emulation, which has not
been of great interest. By starting 64-bit processes at the 4G boundary we
at least preserve some of the advantages:
1. Any invalid pointer cast (from int to pointer and back) will still
always fail and not only when more than 4GB of memory is in use.
2. Memory sharing between 64-bit and 32-bit processes is still possibly
by using addresses < 4G.
Revision Changes Path
1.12 +3 -2 src/gnu/usr.bin/binutils/ld/Makefile.ia64
1.2 +2 -1 src/gnu/usr.bin/binutils/ld/elf64_ia64_fbsd.sh
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103221719.p2MHJkaK094774>
