I have a binary No OS program that is being loaded into memory by a bootloader (U-boot or Vivi). At that point, I obviously want to take over interrupts for various purposes. I'm using the GCC toolchain, and I'm not sure how to get linkage to my interrupt routines. Is there a good way to get the right address after relocating a branch instruction? I've been digging around, but I'm not sure what the best way to go about that is.
Rewrite interrupt table
OK, I've found the answer myself, on another site: http://wiki.osdev.org/ARM_Overview Down in the section: Branch Instruction In Vector Table Well, hopefully this helps out others. -Tony