Hi all,

I am new to this linker scripts. I am trying to build a 64 bit program
on x86-64 arch. I would like to run the program in lower 32 bit address
space, whether it is statically linked or dynamically linked. The
loader should always load the program in lower 32 bit address space so
that I get all the pointer values in 32 bit. And my existing program
needs very minimal change if I am able do this.

I found that gcc on DEC Alpha provide an option which is equivalent to
-taso option of cxx compiler. But this option is not seem to be
available in gcc for x86-64. I also found that it is possible via
linker scripts. Can some one point to me the place or guide me on how
to write such linker script?

Or if there is any other way of doing this, pls do help me. Thanks in
advacne.

Regards,
-Dhamu-

_______________________________________________
help-gnu-utils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to