[lld] r193910 - [ELF] Add missing -target options.
Rui Ueyama
ruiu at google.com
Fri Nov 1 20:50:03 PDT 2013
Author: ruiu
Date: Fri Nov 1 22:50:03 2013
New Revision: 193910
URL: http://llvm.org/viewvc/llvm-project?rev=193910&view=rev
Log:
[ELF] Add missing -target options.
These tests assume that the created objects are for x86_64. These tests
failed on non-x86_64 environments, such as 32 bit Windows.
Modified:
lld/trunk/test/elf/entry.objtxt
lld/trunk/test/elf/reloc.test
Modified: lld/trunk/test/elf/entry.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/entry.objtxt?rev=193910&r1=193909&r2=193910&view=diff
==============================================================================
--- lld/trunk/test/elf/entry.objtxt (original)
+++ lld/trunk/test/elf/entry.objtxt Fri Nov 1 22:50:03 2013
@@ -8,7 +8,7 @@
# }
#
-# RUN: lld -flavor gnu %s -e _entrypoint --noinhibit-exec -o %t1
+# RUN: lld -flavor gnu -target x86_64 %s -e _entrypoint --noinhibit-exec -o %t1
# RUN: llvm-nm -n %t1 | FileCheck %s
#
# CHECK: 004001e0 T main
Modified: lld/trunk/test/elf/reloc.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/reloc.test?rev=193910&r1=193909&r2=193910&view=diff
==============================================================================
--- lld/trunk/test/elf/reloc.test (original)
+++ lld/trunk/test/elf/reloc.test Fri Nov 1 22:50:03 2013
@@ -1,4 +1,5 @@
-RUN: lld -flavor gnu --merge-strings -r --output-filetype=yaml %p/Inputs/reloc-test.elf-i386 | FileCheck %s -check-prefix ELF-i386
+RUN: lld -flavor gnu -target x86_64 --merge-strings -r --output-filetype=yaml \
+RUN: %p/Inputs/reloc-test.elf-i386 | FileCheck %s -check-prefix ELF-i386
ELF-i386: defined-atoms:
ELF-i386: - ref-name: [[STRNAMEA:[-a-zA-Z0-9_]+]]
More information about the llvm-commits
mailing list