Tricks
Fast and simple insert code into crt0.s
Submitted by imajeff on Fri, 2006-09-22 18:22. Advise | TricksSome time ago there was a question of the sort, "How do I make my own crt0.o file". Then the buzz started, and everyone was talking about how to do these things, including relocating RAM and other hardware configuration.
It seemed overly dificult to worry about things like finding the original crt0.s file (I've only found it burried in the GCC source code), and taking chances of changing too much so it didn't properly initialize RAM and such. Well, I have a solution where all I do is insert my startup code in a specific slot within the default crt0.s without having to edit that file!

Recent comments
14 years 51 weeks ago
14 years 51 weeks ago
14 years 51 weeks ago
14 years 51 weeks ago
14 years 51 weeks ago
14 years 51 weeks ago
15 years 4 weeks ago
15 years 15 weeks ago
15 years 16 weeks ago
15 years 17 weeks ago