There is no magic in what the linker is doing. It just needs to create an ELF file with two sections and set the start address.
Check this out http://www.muppetlabs.com/~breadbox/software/tiny/teensy.htm...
Check this out http://www.muppetlabs.com/~breadbox/software/tiny/teensy.htm...