forked from OSchip/llvm-project
20 lines
590 B
Plaintext
20 lines
590 B
Plaintext
#
|
|
# Source File:
|
|
# .local absGlobalSymbol
|
|
# .set absLocalSymbol,0xC0000
|
|
# .type absLocalSymbol, @object
|
|
# .globl absGlobalSymbol
|
|
# .set absGlobalSymbol,0xD0000
|
|
# .type absGlobalSymbol, @object
|
|
|
|
# built using: "gcc -m32"
|
|
#
|
|
RUN: lld -flavor gnu -target i386 --output-filetype=yaml -r %p/Inputs/abs-test.i386 | FileCheck -check-prefix=YAML %s
|
|
|
|
YAML: absolute-atoms:
|
|
YAML: - name: absLocalSymbol
|
|
YAML: value: {{0x[0]+C0000}}
|
|
YAML: - name: absGlobalSymbol
|
|
YAML: scope: global
|
|
YAML: value: {{0x[0]+D0000}}
|