2018-06-27 06:20:04 +08:00
|
|
|
// REQUIRES: x86
|
2015-09-16 07:12:02 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/abs.s -o %tabs
|
|
|
|
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
|
2015-11-18 14:11:01 +08:00
|
|
|
// RUN: ld.lld %tabs %t -o %tout
|
2015-09-16 20:50:32 +08:00
|
|
|
// RUN: llvm-objdump -d %tout | FileCheck %s
|
2015-09-16 07:12:02 +08:00
|
|
|
|
|
|
|
.global _start
|
|
|
|
_start:
|
|
|
|
movl $abs, %edx
|
|
|
|
|
2015-09-16 20:50:32 +08:00
|
|
|
//CHECK: start:
|
|
|
|
//CHECK-NEXT: movl $66, %edx
|