I would like to compile a program so that when it's loaded into memory, all its sections are above 4G space (I am on a x86_64 machine). I try to specify .text, .data, and .bss section, but it seems it's not enough. Is there a convenient way to do what I am trying to do? Thanks.
Note: http://sourceware.org/ml/binutils/2012-08/msg00480.html solve my problem.