2014-05-24 20:50:23 +08:00
|
|
|
// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj %s -o - | \
|
2013-04-12 12:06:46 +08:00
|
|
|
// RUN: llvm-readobj -r | FileCheck -check-prefix=OBJ %s
|
2013-01-31 20:12:40 +08:00
|
|
|
|
|
|
|
b somewhere
|
|
|
|
bl somewhere
|
|
|
|
|
2013-04-12 12:06:46 +08:00
|
|
|
// OBJ: Relocations [
|
2015-04-15 23:59:37 +08:00
|
|
|
// OBJ-NEXT: Section {{.*}} .rela.text {
|
2013-04-12 12:06:46 +08:00
|
|
|
// OBJ-NEXT: 0x0 R_AARCH64_JUMP26 somewhere 0x0
|
|
|
|
// OBJ-NEXT: 0x4 R_AARCH64_CALL26 somewhere 0x0
|
|
|
|
// OBJ-NEXT: }
|
|
|
|
// OBJ-NEXT: ]
|