Hello,

I'm working on a port <https://github.com/avr-llvm/llvm> of LLVM for AVR. I
am currently adding AVR support to the linker, but I have a question about
something that seems strange.

This relocation is solely for the relative `jmp` and `call` instructions
(if I'm not mistaken).

Both of these instructions have exactly 12 bits for their target address.
Why is the relocation 13 bits then?

Thanks,
Dylan
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to