Skip to content

Commit 6423c97

Browse files
committed
Make Driver/pic.c pass
1 parent ec30aeb commit 6423c97

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/test/Driver/pic.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,11 +319,11 @@
319319
// RUN: %clang -fPIC -c %s -target armv7-pc-windows-gnu -### 2>&1 \
320320
// RUN: | FileCheck %s --check-prefix=CHECK-NO-PIC
321321

322-
// RUN: %clang -c --target=s390x-linux-gnu -mno-pic-data-is-text-relative %s \
322+
// RUN: %clang -fpic -c --target=s390x-linux-gnu -mno-pic-data-is-text-relative %s \
323323
// RUN: -### 2>&1 | FileCheck %s --check-prefix=CHECK-NO-PIC-DATA-TEXT-REL
324-
// RUN: %clang -c --target=s390x-linux-gnu -mpic-data-is-text-relative %s -### \
324+
// RUN: %clang -fpic -c --target=s390x-linux-gnu -mpic-data-is-text-relative %s -### \
325325
// RUN: 2>&1 | FileCheck %s --check-prefix=CHECK-PIC-DATA-TEXT-REL
326-
// RUN: %clang -c --target=arm-arm-none-eabi -mno-pic-data-is-text-relative %s \
326+
// RUN: %clang -fpic -c --target=arm-arm-none-eabi -mno-pic-data-is-text-relative %s \
327327
// RUN: -### 2>&1 | FileCheck %s --check-prefix=CHECK-NO-PIC-DATA-TEXT-REL-NON-SYSTEMZ
328-
// RUN: %clang -c --target=arm-arm-none-eabi -mpic-data-is-text-relative %s \
328+
// RUN: %clang -fpic -c --target=arm-arm-none-eabi -mpic-data-is-text-relative %s \
329329
// RUN: -### 2>&1 | FileCheck %s --check-prefix=CHECK-PIC-DATA-TEXT-REL-NON-SYSTEMZ

0 commit comments

Comments
 (0)