[PATCH] D38029: [AVR] Override ParseDirective
Leslie Zhai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 19 21:13:58 PDT 2017
xiangzhai updated this revision to Diff 115958.
xiangzhai added a comment.
Add `R_AVR_DIFF8`, `R_AVR_DIFF16` and `R_AVR_DIFF32` testcase:
$ avr-readelf -r avr-relax.o
Relocation section '.rela.text' at offset 0xe8 contains 1 entries:
Offset Info Type Sym.Value Sym. Name + Addend
00000000 00000212 R_AVR_CALL 00000000 .text + 0
Relocation section '.rela.data' at offset 0xf4 contains 3 entries:
Offset Info Type Sym.Value Sym. Name + Addend
00000000 0000021e R_AVR_DIFF8 00000000 .text + 4
00000001 0000021f R_AVR_DIFF16 00000000 .text + 4
00000003 00000220 R_AVR_DIFF32 00000000 .text + 4
Repository:
rL LLVM
https://reviews.llvm.org/D38029
Files:
include/llvm/BinaryFormat/ELFRelocs/AVR.def
lib/Target/AVR/AsmParser/AVRAsmParser.cpp
lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp
lib/Target/AVR/MCTargetDesc/AVRELFObjectWriter.cpp
lib/Target/AVR/MCTargetDesc/AVRFixupKinds.h
test/MC/AVR/relocations.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38029.115958.patch
Type: text/x-patch
Size: 4873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170920/eca76870/attachment.bin>
More information about the llvm-commits
mailing list