1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o 3# RUN: echo "SECTIONS { foo = ABSOLUTE(.) + 1; };" > %t.script 4# RUN: ld.lld -o %t --script %t.script %t.o 5# RUN: llvm-readobj --symbols %t | FileCheck %s 6 7# CHECK: Name: foo 8# CHECK-NEXT: Value: 9# CHECK-NEXT: Size: 10# CHECK-NEXT: Binding: 11# CHECK-NEXT: Type: 12# CHECK-NEXT: Other: 13# CHECK-NEXT: Section: Absolute 14# CHECK-NEXT: } 15 16.text 17.globl _start 18_start: 19