[lld] r282760 - Use > and not >> to create the script.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 13:23:08 PDT 2016


Author: rafael
Date: Thu Sep 29 15:23:07 2016
New Revision: 282760

URL: http://llvm.org/viewvc/llvm-project?rev=282760&view=rev
Log:
Use > and not >> to create the script.

Modified:
    lld/trunk/test/ELF/linkerscript/discard-interp.s

Modified: lld/trunk/test/ELF/linkerscript/discard-interp.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/discard-interp.s?rev=282760&r1=282759&r2=282760&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript/discard-interp.s (original)
+++ lld/trunk/test/ELF/linkerscript/discard-interp.s Thu Sep 29 15:23:07 2016
@@ -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
 




More information about the llvm-commits mailing list