diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-29 20:23:07 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-29 20:23:07 +0000 |
commit | f084edf40efdf12df707a41a61c9059d777a167e (patch) | |
tree | 114ae99c76004c87492b45e06bd5491731889200 | |
parent | 556a06b1ee591a812359ef2a42a5a32a4f9d6a05 (diff) | |
download | bcm5719-llvm-f084edf40efdf12df707a41a61c9059d777a167e.tar.gz bcm5719-llvm-f084edf40efdf12df707a41a61c9059d777a167e.zip |
Use > and not >> to create the script.
llvm-svn: 282760
-rw-r--r-- | lld/test/ELF/linkerscript/discard-interp.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/ELF/linkerscript/discard-interp.s b/lld/test/ELF/linkerscript/discard-interp.s index 5f2d82ea4ab..6d86389d7ed 100644 --- a/lld/test/ELF/linkerscript/discard-interp.s +++ b/lld/test/ELF/linkerscript/discard-interp.s @@ -2,7 +2,7 @@ // RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %p/../Inputs/shared.s -o %t2.o // RUN: ld.lld -shared %t2.o -o %t2.so // RUN: echo "PHDRS { text PT_LOAD FILEHDR PHDRS; } \ -// RUN: SECTIONS { .text : { *(.text) } : text }" >> %t.script +// RUN: SECTIONS { .text : { *(.text) } : text }" > %t.script // RUN: ld.lld -dynamic-linker /lib64/ld-linux-x86-64.so.2 -rpath foo -rpath bar --script %t.script --export-dynamic %t.o %t2.so -o %t // RUN: llvm-readobj -s %t | FileCheck %s |