LD linker script to reserve 4GB of memory

Alessandro alex.pigna@inventati.org
Fri Jun 13 20:20:00 GMT 2008


Hi everyone,
I'm on a x86_64 linux system. I'd like to tell the linker to use only memory 
higher than 4GB, because I need to allocate the lower memory using mmap at 
fixed addresses at program runtime.
Is it possible to do something like that?

Thank a lot,
Alessandro
-- 
Vi Veri Veniversum Vivus Vici
        -Dr. Faustus - Marlowe
Public GPG Key ID 0x650B3ED9 on subkeys.gpg.net
Key Fingerprint 6243 AAD3 E3EC 52D8 DFAA 2A2F 9FCD 0457 650B 3ED9
Encrypted mails are welcome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20080613/c32c17b8/attachment.sig>


More information about the Binutils mailing list