I would like to have a look at the source for
C:\devkitPro\devkitPPC\powerpc-eabi\lib\crt0.o
does anyone know the location of the crt0.s (gamecube not wii) also whats the name of the linker script and its location for the gamecube ?
gamecube crt0.o source file ?
Re: gamecube crt0.o source file ?
Code: Select all
$ nm -l /opt/devkitPro/devkitPPC/powerpc-eabi/lib/crt0.o
00000000 G __atexit
U __bss_start
U __sbss_end
U __sbss_start
U __stack
U _end
00000004 T _start /home/davem/projects/devkitpro/buildscripts/.devkitPPC/powerpc-eabi/newlib/powerpc-eabi/libgloss/rs6000/crt0.S:62
U atexit crt0.S:0
U exit /home/davem/projects/devkitpro/buildscripts/.devkitPPC/powerpc-eabi/newlib/powerpc-eabi/libgloss/rs6000/crt0.S:125
U main /home/davem/projects/devkitpro/buildscripts/.devkitPPC/powerpc-eabi/newlib/powerpc-eabi/libgloss/rs6000/crt0.S:122
The linker scripts are in buildscripts/dkppc/crtls/
-
- Site Admin
- Posts: 1955
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: gamecube crt0.o source file ?
That's probably not the crt0 you're looking for - libogc contains it's own crt0. The one at powerpc-eabi\lib\crt0.o is simply there to avoid problems when configuring autotools based projects and libraries for cross compilation.
https://sourceforge.net/p/devkitpro/lib ... ogc_crt0.S
https://sourceforge.net/p/devkitpro/lib ... ogc_crt0.S
-
- Posts: 28
- Joined: Mon May 02, 2011 10:13 pm
Re: gamecube crt0.o source file ?
thanks mtheall / Wintermute.
@ Wintermute yer that link is what I was looking for cheers dude.
@ Wintermute yer that link is what I was looking for cheers dude.
Who is online
Users browsing this forum: No registered users and 0 guests