-# REQUIRES: Mips
+# REQUIRES: mips
# Check executable base address configuration. Base address should be
# equal to 0x400000 and the MIPS_BASE_ADDRESS dynamic tag's value should
-# REQUIRES: X86
+# REQUIRES: x86
# This test checks that IRELATIVE relocations are created for symbols that
# need relocation even for static links.
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
# This tests verifies that TLS variables have correct offsets
RUN: lld -flavor gnu -target x86_64-linux %p/Inputs/tls.x86-64 -static \
RUN: --output-filetype=yaml --noinhibit-exec | FileCheck %s -check-prefix=YAML
-REQUIRES: X86
+REQUIRES: x86
RUN: lld -flavor gnu -target x86_64-linux -o %t1 %p/Inputs/relocs.x86-64 \
RUN: -e _start -static
config.available_features.add('arm')
if re.search(r'Mips', llvm_config_output_list[2]):
config.available_features.add('mips')
+if re.search(r'X86', llvm_config_output_list[2]):
+ config.available_features.add('x86')
llvm_config_cmd.wait()
# Check if Windows resource file compiler exists.
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
# RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t \
# RUN: %p/Inputs/libSystem.yaml
# RUN: llvm-objdump -lazy-bind %t | FileCheck %s
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
# RUN: yaml2obj %p/Inputs/alternatename1.obj.yaml > %t1.obj
# RUN: yaml2obj %p/Inputs/alternatename2.obj.yaml > %t2.obj
# RUN: yaml2obj %p/Inputs/alternatename3.obj.yaml > %t3.obj
-# REQUIRES: ARM
-#
+# REQUIRES: arm
+
# RUN: yaml2obj -format coff -o %t.obj %p/Inputs/armnt-blx23t.obj.yaml
# RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
# RUN: lld -flavor link /entry:function /subsystem:console /out:%t.exe %t.obj
-# REQUIRES: ARM
-#
+# REQUIRES: arm
+
# RUN: yaml2obj -format coff -o %t.obj %p/Inputs/armnt-branch24t.obj.yaml
# RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
# RUN: lld -flavor link /entry:function /subsystem:console /out:%t.exe %t.obj
-# REQUIRES: ARM
-#
+# REQUIRES: arm
+
# RUN: yaml2obj -format coff -o %t.obj %p/Inputs/armnt-mov32t-exec.obj.yaml
# RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
# RUN: lld -flavor link /out:%t.exe /subsystem:console /entry:get_function %t.obj
-# REQUIRES: ARM
-#
+# REQUIRES: arm
+
# RUN: yaml2obj -format coff -o %t.obj %p/Inputs/armnt-mov32t.obj.yaml
# RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
# RUN: lld -flavor link /entry:get_buffer /subsystem:console /out:%t.exe %t.obj
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
# RUN: yaml2obj %p/Inputs/common-symbol.obj.yaml > %t.obj
#
# RUN: lld -flavor link /machine:x64 /out:%t.exe /subsystem:console /force \
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
# RUN: yaml2obj %p/Inputs/hello64.obj.yaml > %t.obj
# RUN: lld -flavor link /out:%t.exe /subsystem:windows /machine:x64 \
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
# RUN: yaml2obj %p/Inputs/imagebase.obj.yaml > %t.obj
# RUN: lld -flavor link /out:%t1.exe /subsystem:console /entry:_start \
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
# Verify that lld can handle .lib files. "main.obj" refers "var" and
# "fn" defined in "vars.lib".
#
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
# Verify that lld can handle a library file.
#
# RUN: yaml2obj %p/Inputs/main.obj.yaml > %t.obj
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
# Verify that lld can handle multiple input files.
#
# RUN: yaml2obj %p/Inputs/main.obj.yaml > %t1.obj
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
# RUN: yaml2obj %p/Inputs/reloc.obj.yaml > %t.obj
#
# RUN: lld -flavor link /out:%t.exe /subsystem:console /force /opt:noref \
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
# RUN: yaml2obj %p/Inputs/reloc64.obj.yaml > %t.obj
# RUN: lld -flavor link /out:%t.exe /subsystem:console /machine:x64 \