[<<][arm][>>][..]
Tue Nov 25 09:50:15 EST 2014

registers and linker

Problem with using linker for register structs is that it will not
optimize the indirection.  I.e. base of struct is patched.

DEV.TIM2.SR

This loads &DEV as 0x40000000, then adds offset of TIM2.SR

Maybe linker can't patch addresses as offsets, i.e. patching a word by
adding to it?





[Reply][About]
[<<][arm][>>][..]