forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

load address

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
radad



Joined: 19 May 2004
Posts: 246
Location: Melbourne, Australia

PostPosted: Sat Nov 20, 2004 8:59 pm    Post subject: load address Reply with quote

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
View user's profile Send private message
boomint



Joined: 13 Apr 2004
Posts: 80
Location: Sheffield, UK

PostPosted: Sat Nov 20, 2004 10:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group