mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-29 13:29:28 +00:00
This is implemented by handling assignments to the '.' pseudo symbol as ".org" directives. Differential Revision: http://llvm-reviews.chandlerc.com/D2625 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201530 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
568 B
ArmAsm
23 lines
568 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -sections -section-data | FileCheck %s
|
|
|
|
one:
|
|
.quad 0xffffffffffffffff
|
|
|
|
. = . + 16
|
|
two:
|
|
.quad 0xeeeeeeeeeeeeeeee
|
|
|
|
. = 0x20
|
|
three:
|
|
.quad 0xdddddddddddddddd
|
|
|
|
// CHECK: Section {
|
|
// CHECK: Name: .text
|
|
// CHECK-NEXT: Type:
|
|
// CHECK-NEXT: Flags [
|
|
// CHECK: SectionData (
|
|
// CHECK-NEXT: 0000: FFFFFFFF FFFFFFFF 00000000 00000000
|
|
// CHECK-NEXT: 0010: 00000000 00000000 EEEEEEEE EEEEEEEE
|
|
// CHECK-NEXT: 0020: DDDDDDDD DDDDDDDD
|
|
// CHECK-NEXT: )
|