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 

usage of ldscripts/mipsirx.xn... in iop-gcc

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



Joined: 08 Sep 2005
Posts: 5
Location: under the bed

PostPosted: Sat Sep 10, 2005 10:19 am    Post subject: usage of ldscripts/mipsirx.xn... in iop-gcc Reply with quote

Anyone know why the contents of $PS2DEV/iop/iop/ldscripts aren't processed when using iop-gcc??? I'm in the process of evaluating switching from the "dreaded-broken combo EE-IOP C/C++ gcc3.2.2 version of about a year back (which I've used quite happily until I recently found some nasty and unpredictable relocation bugs in the code generated by ps2-gcc).

Part of making C++ work on the iop (nasty comments > /dev/null please), involves fixing the mipsirx.xn script to (a) handle ctor/dtors and (b) pack all the .gnu.linkonce... sections together.

The latest version of iop-gcc appears to ignore ldscripts/* (that is, I can move it to another name and the link still merrily proceeds along)- and of course no globals ctors are called. No matter that, I can call them if only I knew where they were... hence the need to a linker script to allow me to plant some symbols.

yes, I can use -T linkscript (which I am doing), but I was wondering if this had been researched and fixed...
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