|
17 | 17 | # RUN: llvm-readobj -r %t/ld.32.so | FileCheck --check-prefix=LD32-REL %s
|
18 | 18 | # RUN: llvm-readelf -x .got %t/ld.32.so | FileCheck --check-prefix=LD32-GOT %s
|
19 | 19 | # RUN: llvm-objdump -d --no-show-raw-insn %t/ld.32.so | FileCheck --check-prefixes=LD32 %s
|
20 |
| -# RUN: ld.lld -shared %t/a.32.relax.o -o %t/ld.32.relax.so |
| 20 | +# RUN: ld.lld --relax -shared %t/a.32.relax.o -o %t/ld.32.relax.so |
21 | 21 | # RUN: llvm-objdump -d --no-show-raw-insn %t/ld.32.relax.so | FileCheck --check-prefixes=LD32-RELAX %s
|
22 | 22 |
|
23 | 23 | ## LA32 LD -> LE
|
24 | 24 | # RUN: ld.lld %t/a.32.o %t/tga.32.o -o %t/le.32
|
25 | 25 | # RUN: llvm-readelf -r %t/le.32 | FileCheck --check-prefix=NOREL %s
|
26 | 26 | # RUN: llvm-readelf -x .got %t/le.32 | FileCheck --check-prefix=LE32-GOT %s
|
27 | 27 | # RUN: llvm-objdump -d --no-show-raw-insn %t/le.32 | FileCheck --check-prefixes=LE32 %s
|
28 |
| -# RUN: ld.lld %t/a.32.relax.o %t/tga.32.o -o %t/le.32.relax |
| 28 | +# RUN: ld.lld --relax %t/a.32.relax.o %t/tga.32.o -o %t/le.32.relax |
29 | 29 | # RUN: llvm-readelf -x .got %t/le.32.relax | FileCheck --check-prefix=LE32-GOT-RELAX %s
|
30 | 30 | # RUN: llvm-objdump -d --no-show-raw-insn %t/le.32.relax | FileCheck --check-prefixes=LE32-RELAX %s
|
31 | 31 |
|
|
34 | 34 | # RUN: llvm-readobj -r %t/ld.64.so | FileCheck --check-prefix=LD64-REL %s
|
35 | 35 | # RUN: llvm-readelf -x .got %t/ld.64.so | FileCheck --check-prefix=LD64-GOT %s
|
36 | 36 | # RUN: llvm-objdump -d --no-show-raw-insn %t/ld.64.so | FileCheck --check-prefixes=LD64 %s
|
37 |
| -# RUN: ld.lld -shared %t/a.64.relax.o -o %t/ld.64.relax.so |
| 37 | +# RUN: ld.lld --relax -shared %t/a.64.relax.o -o %t/ld.64.relax.so |
38 | 38 | # RUN: llvm-objdump -d --no-show-raw-insn %t/ld.64.relax.so | FileCheck --check-prefixes=LD64-RELAX %s
|
39 | 39 |
|
40 | 40 | ## LA64 LD -> LE
|
41 | 41 | # RUN: ld.lld %t/a.64.o %t/tga.64.o -o %t/le.64
|
42 | 42 | # RUN: llvm-readelf -r %t/le.64 | FileCheck --check-prefix=NOREL %s
|
43 | 43 | # RUN: llvm-readelf -x .got %t/le.64 | FileCheck --check-prefix=LE64-GOT %s
|
44 | 44 | # RUN: llvm-objdump -d --no-show-raw-insn %t/le.64 | FileCheck --check-prefixes=LE64 %s
|
45 |
| -# RUN: ld.lld %t/a.64.relax.o %t/tga.64.o -o %t/le.64.relax |
| 45 | +# RUN: ld.lld --relax %t/a.64.relax.o %t/tga.64.o -o %t/le.64.relax |
46 | 46 | # RUN: llvm-readelf -x .got %t/le.64.relax | FileCheck --check-prefix=LE64-GOT-RELAX %s
|
47 | 47 | # RUN: llvm-objdump -d --no-show-raw-insn %t/le.64.relax | FileCheck --check-prefixes=LE64-RELAX %s
|
48 | 48 |
|
|
0 commit comments