llvm-6502/lib/Target/PowerPC/MCTargetDesc
David Majnemer 3f22cc1df6 MC: Add support for treating $ as a reference to the PC
The binutils assembler supports a mode called DOLLAR_DOT which treats
the dollar sign token as a reference to the current program counter if
the dollar sign doesn't precede a constant or identifier.

This commit adds a new MCAsmInfo flag stating whether or not a given
target supports this interpretation of the dollar sign token; by
default, this flag is not enabled.

Further, enable this flag for PPC. The system assembler for AIX and
binutils both support using the dollar sign in this manner.

This fixes PR17353.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191368 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-25 10:47:21 +00:00
..
CMakeLists.txt initial draft of PPCMachObjectWriter.cpp 2013-08-08 20:14:40 +00:00
LLVMBuild.txt
Makefile
PPCAsmBackend.cpp Generate compact unwind encoding from CFI directives. 2013-09-09 02:37:14 +00:00
PPCELFObjectWriter.cpp [PowerPC] Revert r185476 and fix up TLS variant kinds 2013-07-09 16:41:09 +00:00
PPCFixupKinds.h [PowerPC] Support @tls in the asm parser 2013-07-05 12:22:36 +00:00
PPCMachObjectWriter.cpp Move everything depending on Object/MachOFormat.h over to Support/MachO.h. 2013-09-01 04:28:48 +00:00
PPCMCAsmInfo.cpp MC: Add support for treating $ as a reference to the PC 2013-09-25 10:47:21 +00:00
PPCMCAsmInfo.h
PPCMCCodeEmitter.cpp [PowerPC] Fix PR17155 - Ignore COPY_TO_REGCLASS during emit. 2013-09-16 17:25:12 +00:00
PPCMCExpr.cpp Fix use of uninitialized value added in r189400 (found by MemorySanitizer) 2013-08-28 08:30:47 +00:00
PPCMCExpr.h [PowerPC] Always use "assembler dialect" 1 2013-07-08 20:20:51 +00:00
PPCMCTargetDesc.cpp [PowerPC] Support powerpc64le as a syntax-checking target. 2013-07-26 01:35:43 +00:00
PPCMCTargetDesc.h Generate compact unwind encoding from CFI directives. 2013-09-09 02:37:14 +00:00
PPCPredicates.cpp [PowerPC] Add predicted forms of branches 2013-06-24 16:52:04 +00:00
PPCPredicates.h [PowerPC] Add predicted forms of branches 2013-06-24 16:52:04 +00:00