commit | d305035155ef3d138e102434bf5a733ea2e32405 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Apr 14 04:40:28 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Apr 14 04:40:28 2010 +0000 |
tree | f1cb1e92a945673af6516c893e00eceebfc044b2 | |
parent | ff1ef6bdf18abbd2303d5081c1ba812304c2f039 [diff] |
implement mc asmparser support for '.', which gets the current PC. rdar://7834775 We now produce an identical .o file compared to the cctools assembler for something like this: _f0: L0: jmp L1 .long . - L0 L1: jmp A .long . - L1 .zerofill __DATA,_bss,A,0 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101227 91177308-0d34-0410-b5e6-96231b3b80d8