Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
154 user(s) are online (135 user(s) are browsing Forums)

Members: 1
Guests: 153

AmigaSociety, more...

Support us!

Headlines

 
  Register To Post  

DSI Issue
Just popping in
Just popping in


See User information
Hi I am hoping someone might have some insights into some programming issues I am having.

I have been working on porting a PowerPC compiler back- end from 32bit MAC Mach-o to Amiga and have had a pretty easy time making the necessary changes. I have it spitting out assembly and able to Assemble and Link with GCC.

So whats my challenge...

My simple Hello World will work upon clean boot and I can run it multiple times but after running and closing reopening shell it appears that the static variables are not being properly relocated/initialized and the program starts to misbehave or I get a DSI. I load in GDB and run and trace and it looks good. Run again and crash with DSI on access to static variables.

From what I can see by examining the object files/executable the relocation information looks good. Using the verbose option I see "-q" passed to ld so that should indicate to retain link information.

I am protecting the registers as best as I can determine to the ABI.

Anybody have ideas?

Thanks
Doug



Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project