Page 1 of 1

load address

Posted: Sat Nov 20, 2004 8:59 pm
by radad
How do you set the load address of the elf I build?

I need it to be out of the way so that I can load and run other elfs.

Posted: Sat Nov 20, 2004 10:00 pm
by boomint
You need to specify the address using a linker script, or by passing the address through to ld using the -Ttext option in your makefiles EE_LDFLAGS.

See the ps2link makefile in cvs for an example of this:

http://cvs.ps2dev.org/ps2link/ee/Makefile