diff options
Diffstat (limited to 'lld/test/elf/rosegment.test')
-rw-r--r-- | lld/test/elf/rosegment.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/elf/rosegment.test b/lld/test/elf/rosegment.test index 32638d8fce6..675dc386186 100644 --- a/lld/test/elf/rosegment.test +++ b/lld/test/elf/rosegment.test @@ -1,8 +1,8 @@ # Tests that the option --rosegment produces an output file with a separate # segment created for read only data. -RUN: lld -flavor gnu -target x86_64 %p/Inputs/rodata.o -o %t1.elf \ +RUN: lld -flavor old-gnu -target x86_64 %p/Inputs/rodata.o -o %t1.elf \ RUN: --noinhibit-exec -RUN: lld -flavor gnu -target x86_64 %p/Inputs/rodata.o --rosegment -o %t2.elf \ +RUN: lld -flavor old-gnu -target x86_64 %p/Inputs/rodata.o --rosegment -o %t2.elf \ RUN: --noinhibit-exec RUN: llvm-readobj -program-headers %t1.elf | FileCheck %s -check-prefix=NORO-SEGMENT RUN: llvm-readobj -program-headers %t2.elf | FileCheck %s -check-prefix=RO-SEGMENT |