Skip to contentSkip to conversation

crt0.s for mips

DISCUSSION Anders Brogestam 4 participants 4 messages Jan 18, 2007 MIPS

lore
Share & tools
lore
#0 lore raw

Hi.

I am looking for a crt0.s file for the MIPS architecture. Included in all the Linux kernels that I downloaded and looked in there are only source for the PPC.

Best Regards
Anders B

#1 lore raw
Quoted 5 lines · Anders Brogestam

Hi.

I am looking for a crt0.s file for the MIPS architecture. Included in all the Linux kernels that I downloaded and looked in there are only source for the PPC.

The Kernel has not much use for crt0.s, look in (userland) libc code instead.

Thiemo

#2 lore raw
In reply to Anders Brogestam
Quoted 3 lines · Anders Brogestam

I am looking for a crt0.s file for the MIPS architecture. Included in all the Linux kernels that I downloaded and looked in there are only source for the PPC.

crt0 is a file used ages ago for a.out. So somehow sounds you're trying a wrong solution - but what problem are you trying to solve anyway?

Ralf

#3 lore raw
In reply to Anders Brogestam
Quoted 3 lines · Anders Brogestam

I am looking for a crt0.s file for the MIPS architecture. Included in all the Linux kernels that I downloaded and looked in there are only source for the PPC.

You can find some example embedded target crt0.s files in the libgloss directory of the newlib package. The newlib package can be found on the sourceware.org web site. This stuff has nothing to do with linux or the linux kernel though. It is meant for running code on bare hardware.

Signature · 1 line
Jim Wilson, GNU Tools Support, http://www.specifix.com