# ELF files can have mergeable strings which are global!, treat them as global
# defined atoms
RUN: lld -flavor gnu --output-filetype=yaml %p/Inputs/globalconst.o.x86-64 \
-RUN: --noinhibit-exec | FileCheck -check-prefix=globalatoms %s
+RUN: --noinhibit-exec -target x86_64 | FileCheck -check-prefix=globalatoms %s
globalatoms: - name: mystr
globalatoms: scope: global
-RUN: lld -flavor gnu -shared -o test.so %p/Inputs/stripped-empty.x86_64
+RUN: lld -flavor gnu -shared -o test.so \
+RUN: -target x86_64 %p/Inputs/stripped-empty.x86_64
test that we handle files without a symbol table.