Skip to content

Commit ddbec97

Browse files
committed
not to use ld.lld
1 parent ca3488c commit ddbec97

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lld/test/COFF/reloc-undefined-weak.s

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
// Check that base-relocations for unresolved weak symbols will be omitted.
44

55
// RUN: rm -rf %t.dir && split-file %s %t.dir && cd %t.dir
6-
// RUN: llvm-mc -filetype=obj -triple=x86_64-mingw main.s -o main.o
7-
// RUN: llvm-mc -filetype=obj -triple=x86_64-mingw other.s -o other.o
6+
// RUN: llvm-mc -filetype=obj -triple=x86_64-mingw main.s -o main.obj
7+
// RUN: llvm-mc -filetype=obj -triple=x86_64-mingw other.s -o other.obj
88

9-
// RUN: ld.lld -m i386pep -dll -o other.dll other.o -entry= --export-all-symbols --out-implib other.dll.a
10-
// RUN: ld.lld -m i386pep -o main.exe main.o other.dll.a -e entry --wrap foo --verbose
9+
// RUN: lld-link -lldmingw -machine:x64 -dll -out:other.dll other.obj -noentry -export:foo -implib:other.lib
10+
// RUN: lld-link -lldmingw -machine:x64 -out:main.exe main.obj other.lib -entry:entry -wrap:foo -debug:symtab
1111
// RUN: llvm-readobj --sections --symbols --coff-imports --coff-basereloc main.exe | FileCheck %s --implicit-check-not=other.dll
1212

13-
// CHECK: Number: 4
13+
// CHECK: Number: 3
1414
// CHECK-NEXT: Name: .data
1515
// CHECK-NEXT: VirtualSize:
16-
// CHECK-NEXT: VirtualAddress: 0x[[#%x,SECTOP:0x4000]]
16+
// CHECK-NEXT: VirtualAddress: 0x[[#%x,SECTOP:0x3000]]
1717
// CHECK: Name: ref_foo
1818
// CHECK-NEXT: Value: [[#%d,SYMVAL:]]
1919
// CHECK: BaseReloc [

0 commit comments

Comments
 (0)