2017-01-31 02:49:38 +08:00
|
|
|
# REQUIRES: aarch64
|
2017-01-31 02:20:07 +08:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-freebsd %s -o %t
|
|
|
|
# RUN: ld.lld %t -o %t2
|
2019-05-01 13:49:01 +08:00
|
|
|
# RUN: llvm-readobj -l %t2 | FileCheck %s
|
2017-01-31 02:20:07 +08:00
|
|
|
|
|
|
|
# CHECK: Type: PT_GNU_RELRO
|
|
|
|
# CHECK-NEXT: Offset:
|
|
|
|
# CHECK-NEXT: VirtualAddress:
|
|
|
|
# CHECK-NEXT: PhysicalAddress:
|
|
|
|
# CHECK-NEXT: FileSize:
|
|
|
|
# CHECK-NEXT: MemSize: 4096
|
|
|
|
|
|
|
|
.section .data.rel.ro,"aw",%progbits
|
|
|
|
.byte 1
|