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
16 years 43 weeks ago
16 years 43 weeks ago
16 years 43 weeks ago
16 years 43 weeks ago
16 years 43 weeks ago
16 years 43 weeks ago
16 years 48 weeks ago
17 years 7 weeks ago
17 years 8 weeks ago
17 years 9 weeks ago