[PATCH] D32991: [ELF] Initial migration of AVR target
Leslie Zhai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 12 02:32:09 PDT 2017
xiangzhai added a comment.
Dear George,
One more question, I have to gotta home :) why the Type of relocation by avr-gcc and `clang --target=avr` is different?
readelf -r avr-gcc-BareMinimum.o
Relocation section '.rela.text' at offset 0x1d0 contains 2 entries:
Offset Info Type Sym.Value Sym. Name + Addend
00000000 00000d03 R_AVR_13_PCREL 00000000 bar + 0
00000002 00000e03 R_AVR_13_PCREL 00000000 foo + 0
^----- see
and
readelf -r clang-BareMinimum.o
Relocation section '.rela.text' at offset 0xb8 contains 2 entries:
Offset Info Type Sym.Value Sym. Name + Addend
00000000 00000212 R_AVR_CALL 00000000 bar + 0
00000004 00000312 R_AVR_CALL 00000000 foo + 0
^----- see
Is the bug of LLVM's AVR target?
Regards,
Leslie Zhai
Repository:
rL LLVM
https://reviews.llvm.org/D32991
More information about the llvm-commits
mailing list