Hi guys,
I'm new to arm and am having problems to recognize the ouput of objdump. I'm compiling for cortex-m0, and the following is an excerpt of my vector table:
0: 10002000 andne r2, r0, r0 4: 00000305 andeq r0, r0, r5, lsl #6 8: 000002fd strdeq r0, [r0], -sp c: 000002fd strdeq r0, [r0], -spI can upload and debug, so I know the code is fine. This output doesn't match, however, any of the tutorials I could find on the internet. What could I be doing wrong?
I assume the first entry is 32 bits wide (as opossed to 16 it should be, being a thumb only core), as it needs to point to the top of the stack. But if I force thumb output on objdump, I get a bunch of `lsl' instructions which make even less sense to me for a vector table.
Also, `--target-help' will show me `armv6-m' architecture as supported, but then objdump won't show it:
arm-none-eabi-objdump: supported targets: elf32-littlearm elf32-bigarm elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
arm-none-eabi-objdump: supported architectures: arm armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5t armv5te xscale ep9312 iwmmxt iwmmxt2
Can somebody give me hint on any of these?
Regards,