[PATCH] D28688: MC: Introduce the ABS8 symbol modifier.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 11:57:30 PST 2017


pcc created this revision.
pcc added reviewers: RKSimon, craig.topper, majnemer.
pcc added a subscriber: llvm-commits.

@ABS8 can be applied to symbols which appear as immediate operands to
instructions that have a 8-bit immediate form for that operand. It causes
the assembler to use the 8-bit form and an 8-bit relocation (e.g. R_386_8
or R_X86_64_8) for the symbol.


https://reviews.llvm.org/D28688

Files:
  llvm/docs/Extensions.rst
  llvm/include/llvm/MC/MCExpr.h
  llvm/lib/MC/MCAssembler.cpp
  llvm/lib/MC/MCExpr.cpp
  llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
  llvm/test/MC/X86/abs8.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28688.84346.patch
Type: text/x-patch
Size: 3492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170113/69739fdf/attachment-0001.bin>


More information about the llvm-commits mailing list