mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Add a test for the recent compiler-rt build failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225046 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -15,6 +15,7 @@ _fred:
|
|||||||
|
|
||||||
adrp x3, _data_ext@gotpage
|
adrp x3, _data_ext@gotpage
|
||||||
ldr w2, [x3, _data_ext@gotpageoff]
|
ldr w2, [x3, _data_ext@gotpageoff]
|
||||||
|
adrp x0, L_.str@PAGE
|
||||||
|
|
||||||
.data
|
.data
|
||||||
_data:
|
_data:
|
||||||
@@ -28,10 +29,23 @@ _data:
|
|||||||
.quad _foo@got
|
.quad _foo@got
|
||||||
.long _foo@got - .
|
.long _foo@got - .
|
||||||
|
|
||||||
|
.section __TEXT,__cstring,cstring_literals
|
||||||
|
L_.str:
|
||||||
|
.asciz "foo"
|
||||||
|
|
||||||
|
|
||||||
; CHECK: Relocations [
|
; CHECK: Relocations [
|
||||||
; CHECK-NEXT: Section __text {
|
; CHECK-NEXT: Section __text {
|
||||||
; CHECK-NEXT: Relocation {
|
; CHECK-NEXT: Relocation {
|
||||||
|
; CHECK-NEXT: Offset: 0x24
|
||||||
|
; CHECK-NEXT: PCRel: 1
|
||||||
|
; CHECK-NEXT: Length: 2
|
||||||
|
; CHECK-NEXT: Extern: 1
|
||||||
|
; CHECK-NEXT: Type: ARM64_RELOC_PAGE21 (3)
|
||||||
|
; CHECK-NEXT: Symbol: L_.str
|
||||||
|
; CHECK-NEXT: Scattered: 0
|
||||||
|
; CHECK-NEXT: }
|
||||||
|
; CHECK-NEXT: Relocation {
|
||||||
; CHECK-NEXT: Offset: 0x20
|
; CHECK-NEXT: Offset: 0x20
|
||||||
; CHECK-NEXT: PCRel: 0
|
; CHECK-NEXT: PCRel: 0
|
||||||
; CHECK-NEXT: Length: 2
|
; CHECK-NEXT: Length: 2
|
||||||
|
Reference in New Issue
Block a user