mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
This reverts commit r222760. It changed our behaviour on PIC so we don't match gas anymore. It also included lots of unnecessary changes to tests. If those changes are desirable, there should be an independent discussion as they are out of scope for that patch. I will recommit the other bits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222896 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
374 B
ArmAsm
15 lines
374 B
ArmAsm
// RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -filetype=obj -o - | llvm-readobj -r | FileCheck %s
|
|
|
|
// Test that we can use .cfi_startproc without a global symbol.
|
|
|
|
.text
|
|
.space 1000
|
|
.cfi_startproc
|
|
.cfi_endproc
|
|
|
|
// CHECK: Relocations [
|
|
// CHECK-NEXT: Section (5) .rela.eh_frame {
|
|
// CHECK-NEXT: 0x20 R_X86_64_PC32 .text 0x3E8
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: ]
|