| View previous topic :: View next topic |
| Author |
Message |
radad
Joined: 19 May 2004 Posts: 246 Location: Melbourne, Australia
|
Posted: Sat Nov 20, 2004 8:59 pm Post subject: load address |
|
|
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. |
|
| Back to top |
|
 |
boomint
Joined: 13 Apr 2004 Posts: 80 Location: Sheffield, UK
|
Posted: Sat Nov 20, 2004 10:00 pm Post subject: |
|
|
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 _________________ --( someone stole my sig! )-- |
|
| Back to top |
|
 |
|