[lld] r276582 - [ELF] Move linker script tests to a subdirectory. NFCI.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 24 16:29:19 PDT 2016


Author: davide
Date: Sun Jul 24 18:29:18 2016
New Revision: 276582

URL: http://llvm.org/viewvc/llvm-project?rev=276582&view=rev
Log:
[ELF] Move linker script tests to a subdirectory. NFCI.

Added:
    lld/trunk/test/ELF/linkerscript/
    lld/trunk/test/ELF/linkerscript/Inputs/
    lld/trunk/test/ELF/linkerscript/Inputs/libsearch-dyn.s
    lld/trunk/test/ELF/linkerscript/Inputs/libsearch-st.s
    lld/trunk/test/ELF/linkerscript/linkerscript-align.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-align.s
    lld/trunk/test/ELF/linkerscript/linkerscript-diagnostic.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-diagnostic.s
    lld/trunk/test/ELF/linkerscript/linkerscript-locationcounter.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-locationcounter.s
    lld/trunk/test/ELF/linkerscript/linkerscript-orphans.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-orphans.s
    lld/trunk/test/ELF/linkerscript/linkerscript-ouputformat.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-ouputformat.s
    lld/trunk/test/ELF/linkerscript/linkerscript-outputarch.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-outputarch.s
    lld/trunk/test/ELF/linkerscript/linkerscript-phdr-check.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-phdr-check.s
    lld/trunk/test/ELF/linkerscript/linkerscript-phdrs-flags.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-phdrs-flags.s
    lld/trunk/test/ELF/linkerscript/linkerscript-phdrs.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-phdrs.s
    lld/trunk/test/ELF/linkerscript/linkerscript-provide-in-section.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-provide-in-section.s
    lld/trunk/test/ELF/linkerscript/linkerscript-repsection-va.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-repsection-va.s
    lld/trunk/test/ELF/linkerscript/linkerscript-sections-constraint.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-sections-constraint.s
    lld/trunk/test/ELF/linkerscript/linkerscript-sections-keep.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-sections-keep.s
    lld/trunk/test/ELF/linkerscript/linkerscript-sections-padding.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-sections-padding.s
    lld/trunk/test/ELF/linkerscript/linkerscript-sections.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-sections.s
    lld/trunk/test/ELF/linkerscript/linkerscript-symbol-conflict.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-symbol-conflict.s
    lld/trunk/test/ELF/linkerscript/linkerscript-symbols.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-symbols.s
    lld/trunk/test/ELF/linkerscript/linkerscript-undef.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-undef.s
    lld/trunk/test/ELF/linkerscript/linkerscript-va.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript-va.s
    lld/trunk/test/ELF/linkerscript/linkerscript.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript.s
    lld/trunk/test/ELF/linkerscript/linkerscript2.s
      - copied, changed from r276579, lld/trunk/test/ELF/linkerscript2.s
Removed:
    lld/trunk/test/ELF/linkerscript-align.s
    lld/trunk/test/ELF/linkerscript-diagnostic.s
    lld/trunk/test/ELF/linkerscript-locationcounter.s
    lld/trunk/test/ELF/linkerscript-orphans.s
    lld/trunk/test/ELF/linkerscript-ouputformat.s
    lld/trunk/test/ELF/linkerscript-outputarch.s
    lld/trunk/test/ELF/linkerscript-phdr-check.s
    lld/trunk/test/ELF/linkerscript-phdrs-flags.s
    lld/trunk/test/ELF/linkerscript-phdrs.s
    lld/trunk/test/ELF/linkerscript-provide-in-section.s
    lld/trunk/test/ELF/linkerscript-repsection-va.s
    lld/trunk/test/ELF/linkerscript-sections-constraint.s
    lld/trunk/test/ELF/linkerscript-sections-keep.s
    lld/trunk/test/ELF/linkerscript-sections-padding.s
    lld/trunk/test/ELF/linkerscript-sections.s
    lld/trunk/test/ELF/linkerscript-symbol-conflict.s
    lld/trunk/test/ELF/linkerscript-symbols.s
    lld/trunk/test/ELF/linkerscript-undef.s
    lld/trunk/test/ELF/linkerscript-va.s
    lld/trunk/test/ELF/linkerscript.s
    lld/trunk/test/ELF/linkerscript2.s

Removed: lld/trunk/test/ELF/linkerscript-align.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-align.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-align.s (original)
+++ lld/trunk/test/ELF/linkerscript-align.s (removed)
@@ -1,41 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-# RUN: echo "SECTIONS { \
-# RUN:  . = 0x10000; \
-# RUN:  .aaa : \
-# RUN:  { \
-# RUN:   *(.aaa) \
-# RUN:  } \
-# RUN:  . = ALIGN(4096); \
-# RUN:  .bbb : \
-# RUN:  { \
-# RUN:   *(.bbb) \
-# RUN:  } \
-# RUN:  . = ALIGN(4096 * 4); \
-# RUN:  .ccc : \
-# RUN:  { \
-# RUN:   *(.ccc) \
-# RUN:  } \
-# RUN: }" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t1 | FileCheck %s
-# CHECK:      Sections:
-# CHECK-NEXT: Idx Name          Size      Address          Type
-# CHECK-NEXT:   0               00000000 0000000000000000
-# CHECK-NEXT:   1 .aaa          00000008 0000000000010000 DATA
-# CHECK-NEXT:   2 .bbb          00000008 0000000000011000 DATA
-# CHECK-NEXT:   3 .ccc          00000008 0000000000014000 DATA
-
-.global _start
-_start:
- nop
-
-.section .aaa, "a"
-.quad 0
-
-.section .bbb, "a"
-.quad 0
-
-.section .ccc, "a"
-.quad 0

Removed: lld/trunk/test/ELF/linkerscript-diagnostic.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-diagnostic.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-diagnostic.s (original)
+++ lld/trunk/test/ELF/linkerscript-diagnostic.s (removed)
@@ -1,66 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-## Take some valid script with multiline comments
-## and check it actually works:
-# RUN: echo "SECTIONS {" > %t.script
-# RUN: echo ".text : { *(.text) }" >> %t.script
-# RUN: echo ".keep : { *(.keep) } /*" >> %t.script
-# RUN: echo "comment line 1" >> %t.script
-# RUN: echo "comment line 2 */" >> %t.script
-# RUN: echo ".temp : { *(.temp) } }" >> %t.script
-# RUN: ld.lld -shared %t -o %t1 --script %t.script
-
-## Change ":" to "+" at line 2, check that error
-## message starts from correct line number:
-# RUN: echo "SECTIONS {" > %t.script
-# RUN: echo ".text + { *(.text) }" >> %t.script
-# RUN: echo ".keep : { *(.keep) } /*" >> %t.script
-# RUN: echo "comment line 1" >> %t.script
-# RUN: echo "comment line 2 */" >> %t.script
-# RUN: echo ".temp : { *(.temp) } }" >> %t.script
-# RUN: not ld.lld -shared %t -o %t1 --script %t.script 2>&1 | FileCheck -check-prefix=ERR1 %s
-# ERR1: line 2:
-
-## Change ":" to "+" at line 3 now, check correct error line number:
-# RUN: echo "SECTIONS {" > %t.script
-# RUN: echo ".text : { *(.text) }" >> %t.script
-# RUN: echo ".keep + { *(.keep) } /*" >> %t.script
-# RUN: echo "comment line 1" >> %t.script
-# RUN: echo "comment line 2 */" >> %t.script
-# RUN: echo ".temp : { *(.temp) } }" >> %t.script
-# RUN: not ld.lld -shared %t -o %t1 --script %t.script 2>&1 | FileCheck -check-prefix=ERR2 %s
-# ERR2: line 3:
-
-## Change ":" to "+" at line 6, after multiline comment,
-## check correct error line number:
-# RUN: echo "SECTIONS {" > %t.script
-# RUN: echo ".text : { *(.text) }" >> %t.script
-# RUN: echo ".keep : { *(.keep) } /*" >> %t.script
-# RUN: echo "comment line 1" >> %t.script
-# RUN: echo "comment line 2 */" >> %t.script
-# RUN: echo ".temp + { *(.temp) } }" >> %t.script
-# RUN: not ld.lld -shared %t -o %t1 --script %t.script 2>&1 | FileCheck -check-prefix=ERR5 %s
-# ERR5: line 6:
-
-## Check that text of lines and pointer to 'bad' token are working ok.
-# RUN: echo "UNKNOWN_TAG {" > %t.script
-# RUN: echo ".text : { *(.text) }" >> %t.script
-# RUN: echo ".keep : { *(.keep) }" >> %t.script
-# RUN: echo ".temp : { *(.temp) } }" >> %t.script
-# RUN: not ld.lld -shared %t -o %t1 --script %t.script > %t.log 2>&1
-# RUN: FileCheck -check-prefix=ERR6 %s < %t.log
-# ERR6:      line 1:
-# ERR6-NEXT: UNKNOWN_TAG {
-# RUN: grep '^^' %t.log
-
-## One more check that text of lines and pointer to 'bad' token are working ok.
-# RUN: echo "SECTIONS {" > %t.script
-# RUN: echo ".text : { *(.text) }" >> %t.script
-# RUN: echo ".keep : { *(.keep) }" >> %t.script
-# RUN: echo "boom .temp : { *(.temp) } }" >> %t.script
-# RUN: not ld.lld -shared %t -o %t1 --script %t.script > %t.log 2>&1
-# RUN: FileCheck -check-prefix=ERR7 %s < %t.log
-# ERR7:      line 4: : expected, but got .temp
-# ERR7-NEXT: boom .temp : { *(.temp) } }
-# RUN: grep '^     ^' %t.log

Removed: lld/trunk/test/ELF/linkerscript-locationcounter.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-locationcounter.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-locationcounter.s (original)
+++ lld/trunk/test/ELF/linkerscript-locationcounter.s (removed)
@@ -1,401 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-# RUN: echo "SECTIONS { \
-# RUN:  . = 0xFFF0; \
-# RUN:  . = . + 0x10; \
-# RUN:  .plus : { *(.plus) } \
-# RUN:  . = 0x11010 - 0x10; \
-# RUN:  .minus : { *(.minus) } \
-# RUN:  . = 0x24000 / 0x2; \
-# RUN:  .div : { *(.div) } \
-# RUN:  . = 0x11000 + 0x1000 * 0x2; \
-# RUN:  .mul : { *(.mul) } \
-# RUN:  . = 0x10000 + (0x1000 + 0x1000) * 0x2; \
-# RUN:  .bracket : { *(.bracket) } \
-# RUN:  . = 0x17000 & 0x15000; \
-# RUN:  .and : { *(.and) } \
-# RUN:  . = 0x1 ? 0x16000 : 0x999999; \
-# RUN:  .ternary1 : { *(.ternary1) } \
-# RUN:  . = 0x0 ? 0x999999 : 0x17000; \
-# RUN:  .ternary2 : { *(.ternary2) } \
-# RUN:  . = 0x0 < 0x1 ? 0x18000 : 0x999999; \
-# RUN:  .less : { *(.less) } \
-# RUN:  . = 0x1 <= 0x1 ? 0x19000 : 0x999999; \
-# RUN:  .lesseq : { *(.lesseq) } \
-# RUN:  . = 0x1 > 0x0 ? 0x20000 : 0x999999; \
-# RUN:  .great : { *(.great) } \
-# RUN:  . = 0x1 >= 0x1 ? 0x21000 : 0x999999; \
-# RUN:  .greateq : { *(.greateq) } \
-# RUN:  . = 0x1 == 0x1 ? 0x22000 : 0x999999; \
-# RUN:  .eq : { *(.eq) } \
-# RUN:  . = 0x2 != 0x1 ? 0x23000 : 0x999999; \
-# RUN:  .neq : { *(.neq) } \
-# RUN:  . = CONSTANT (MAXPAGESIZE) * 0x24; \
-# RUN:  .maxpagesize : { *(.maxpagesize) } \
-# RUN:  . = CONSTANT (COMMONPAGESIZE) * 0x25; \
-# RUN:  .commonpagesize : { *(.commonpagesize) } \
-# RUN:  . = DATA_SEGMENT_ALIGN (CONSTANT (MAXPAGESIZE), CONSTANT (COMMONPAGESIZE)); \
-# RUN:  .datasegmentalign : { *(.datasegmentalign) } \
-# RUN:  . = DATA_SEGMENT_END (.); \
-# RUN: }" > %t.script
-# RUN: ld.lld %t --script %t.script -o %t2
-# RUN: llvm-readobj -s %t2 | FileCheck %s
-
-# CHECK: Section {
-# CHECK:   Index: 1
-# CHECK:   Name: .plus
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x10000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index: 2
-# CHECK-NEXT:   Name: .minus
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x11000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index: 3
-# CHECK-NEXT:   Name: .div
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x12000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index: 4
-# CHECK-NEXT:   Name: .mul
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x13000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index: 5
-# CHECK-NEXT:   Name: .bracket
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x14000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .and
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x15000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .ternary1
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x16000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .ternary2
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x17000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .less
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x18000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .lesseq
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x19000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .great
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x20000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .greateq
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x21000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .eq
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x22000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .neq
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x23000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .maxpagesize
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x24000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize: 0
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .commonpagesize
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x25000
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-# CHECK-NEXT: Section {
-# CHECK-NEXT:   Index:
-# CHECK-NEXT:   Name: .datasegmentalign
-# CHECK-NEXT:   Type: SHT_PROGBITS
-# CHECK-NEXT:   Flags [
-# CHECK-NEXT:     SHF_ALLOC
-# CHECK-NEXT:   ]
-# CHECK-NEXT:   Address: 0x26008
-# CHECK-NEXT:   Offset:
-# CHECK-NEXT:   Size:
-# CHECK-NEXT:   Link:
-# CHECK-NEXT:   Info:
-# CHECK-NEXT:   AddressAlignment:
-# CHECK-NEXT:   EntrySize:
-# CHECK-NEXT: }
-
-## Mailformed number error.
-# RUN: echo "SECTIONS { \
-# RUN:  . = 0x12Q41; \
-# RUN: }" > %t.script
-# RUN: not ld.lld %t --script %t.script -o %t2 2>&1 | \
-# RUN:  FileCheck --check-prefix=NUMERR %s
-# NUMERR: malformed number: 0x12Q41
-
-## Missing closing bracket.
-# RUN: echo "SECTIONS { \
-# RUN:  . = 0x10000 + (0x1000 + 0x1000 * 0x2; \
-# RUN: }" > %t.script
-# RUN: not ld.lld %t --script %t.script -o %t2 2>&1 | \
-# RUN:  FileCheck --check-prefix=BRACKETERR %s
-# BRACKETERR: ) expected, but got ;
-
-## Missing opening bracket.
-# RUN: echo "SECTIONS { \
-# RUN:  . = 0x10000 + 0x1000 + 0x1000) * 0x2; \
-# RUN: }" > %t.script
-# RUN: not ld.lld %t --script %t.script -o %t2 2>&1 | \
-# RUN:  FileCheck --check-prefix=BRACKETERR2 %s
-# BRACKETERR2: ; expected, but got )
-
-## Empty expression.
-# RUN: echo "SECTIONS { \
-# RUN:  . = ; \
-# RUN: }" > %t.script
-# RUN: not ld.lld %t --script %t.script -o %t2 2>&1 | \
-# RUN:  FileCheck --check-prefix=ERREXPR %s
-# ERREXPR: malformed number: ;
-
-## Div by zero error.
-# RUN: echo "SECTIONS { \
-# RUN:  . = 0x10000 / 0x0; \
-# RUN: }" > %t.script
-# RUN: not ld.lld %t --script %t.script -o %t2 2>&1 | \
-# RUN:  FileCheck --check-prefix=DIVZERO %s
-# DIVZERO: division by zero
-
-## Broken ternary operator expression.
-# RUN: echo "SECTIONS { \
-# RUN:  . = 0x1 ? 0x2; \
-# RUN: }" > %t.script
-# RUN: not ld.lld %t --script %t.script -o %t2 2>&1 | \
-# RUN:  FileCheck --check-prefix=TERNERR %s
-# TERNERR: : expected, but got ;
-
-.globl _start
-_start:
-nop
-
-.section .plus, "a"
-.quad 0
-
-.section .minus, "a"
-.quad 0
-
-.section .div, "a"
-.quad 0
-
-.section .mul, "a"
-.quad 0
-
-.section .bracket, "a"
-.quad 0
-
-.section .and, "a"
-.quad 0
-
-.section .ternary1, "a"
-.quad 0
-
-.section .ternary2, "a"
-.quad 0
-
-.section .less, "a"
-.quad 0
-
-.section .lesseq, "a"
-.quad 0
-
-.section .great, "a"
-.quad 0
-
-.section .greateq, "a"
-.quad 0
-
-.section .eq, "a"
-.quad 0
-
-.section .neq, "a"
-.quad 0
-
-.section .maxpagesize, "a"
-.quad 0
-
-.section .commonpagesize, "a"
-.quad 0
-
-.section .datasegmentalign, "a"
-.quad 0

Removed: lld/trunk/test/ELF/linkerscript-orphans.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-orphans.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-orphans.s (original)
+++ lld/trunk/test/ELF/linkerscript-orphans.s (removed)
@@ -1,31 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-# RUN: echo "SECTIONS { .writable : { *(.writable) } }" > %t.script
-# RUN: ld.lld -o %t.out --script %t.script %t
-# RUN: llvm-objdump -section-headers %t.out | \
-# RUN:   FileCheck -check-prefix=TEXTORPHAN %s
-
-# RUN: echo "SECTIONS { .text : { *(.text) } }" > %t.script
-# RUN: ld.lld -o %t.out --script %t.script %t
-# RUN: llvm-objdump -section-headers %t.out | \
-# RUN:   FileCheck -check-prefix=WRITABLEORPHAN %s
-
-# TEXTORPHAN:      Sections:
-# TEXTORPHAN-NEXT: Idx Name
-# TEXTORPHAN-NEXT:   0
-# TEXTORPHAN-NEXT:   1 .writable
-# TEXTORPHAN-NEXT:   2 .text
-
-# WRITABLEORPHAN:      Sections:
-# WRITABLEORPHAN-NEXT: Idx Name
-# WRITABLEORPHAN-NEXT:   0
-# WRITABLEORPHAN-NEXT:   1 .text
-# WRITABLEORPHAN-NEXT:   2 .writable
-
-.global _start
-_start:
- nop
-
-.section .writable,"aw"
- .zero 4

Removed: lld/trunk/test/ELF/linkerscript-ouputformat.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-ouputformat.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-ouputformat.s (original)
+++ lld/trunk/test/ELF/linkerscript-ouputformat.s (removed)
@@ -1,10 +0,0 @@
-# REQUIRES: x86
-# RUN: echo "OUTPUT_FORMAT(x, y, z)" > %t.script
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s -o %t1
-# RUN: ld.lld -shared -o %t2 %t1 %t.script
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "OUTPUT_FORMAT(x, y)" > %t.script
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s -o %t1
-# RUN: not ld.lld -shared -o %t2 %t1 %t.script
-# RUN: llvm-readobj %t2 > /dev/null

Removed: lld/trunk/test/ELF/linkerscript-outputarch.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-outputarch.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-outputarch.s (original)
+++ lld/trunk/test/ELF/linkerscript-outputarch.s (removed)
@@ -1,10 +0,0 @@
-# REQUIRES: x86
-# RUN: echo "OUTPUT_ARCH(x)" > %t.script
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s -o %t1
-# RUN: ld.lld -shared -o %t2 %t1 %t.script
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "OUTPUT_ARCH(x, y)" > %t.script
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s -o %t1
-# RUN: not ld.lld -shared -o %t2 %t1 %t.script
-# RUN: llvm-readobj %t2 > /dev/null

Removed: lld/trunk/test/ELF/linkerscript-phdr-check.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-phdr-check.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-phdr-check.s (original)
+++ lld/trunk/test/ELF/linkerscript-phdr-check.s (removed)
@@ -1,15 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-# RUN: echo "SECTIONS { . = 0x10000000; .text : {*(.text.*)} }" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-readobj -program-headers %t1 | FileCheck %s
-# CHECK:      ProgramHeaders [
-# CHECK-NEXT:  ProgramHeader {
-# CHECK-NEXT:    Type: PT_PHDR (0x6)
-# CHECK-NEXT:    Offset: 0x40
-# CHECK-NEXT:    VirtualAddress: 0xFFFF040
-
-.global _start
-_start:
- nop

Removed: lld/trunk/test/ELF/linkerscript-phdrs-flags.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-phdrs-flags.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-phdrs-flags.s (original)
+++ lld/trunk/test/ELF/linkerscript-phdrs-flags.s (removed)
@@ -1,34 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-# RUN: echo "PHDRS {all PT_LOAD FILEHDR PHDRS FLAGS (1);} \
-# RUN:       SECTIONS { \
-# RUN:           . = 0x10000200; \
-# RUN:           .text : {*(.text.*)} :all \
-# RUN:           .foo : {*(.foo.*)} :all \
-# RUN:           .data : {*(.data.*)} :all}" > %t.script
-
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-readobj -program-headers %t1 | FileCheck %s
-# CHECK:     ProgramHeaders [
-# CHECK-NEXT:  ProgramHeader {
-# CHECK-NEXT:    Type: PT_LOAD (0x1)
-# CHECK-NEXT:    Offset: 0x0
-# CHECK-NEXT:    VirtualAddress: 0x10000000
-# CHECK-NEXT:    PhysicalAddress: 0x10000000
-# CHECK-NEXT:    FileSize: 521
-# CHECK-NEXT:    MemSize: 521
-# CHECK-NEXT:    Flags [ (0x1)
-# CHECK-NEXT:      PF_X (0x1)
-# CHECK-NEXT:    ]
-
-.global _start
-_start:
- nop
-
-.section .foo.1,"a"
-foo1:
- .long 0
-
-.section .foo.2,"aw"
-foo2:
- .long 0

Removed: lld/trunk/test/ELF/linkerscript-phdrs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-phdrs.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-phdrs.s (original)
+++ lld/trunk/test/ELF/linkerscript-phdrs.s (removed)
@@ -1,36 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-# RUN: echo "PHDRS {all PT_LOAD FILEHDR PHDRS ;} \
-# RUN:       SECTIONS { \
-# RUN:           . = 0x10000200; \
-# RUN:           .text : {*(.text.*)} :all \
-# RUN:           .foo : {*(.foo.*)} :all \
-# RUN:           .data : {*(.data.*)} :all}" > %t.script
-
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-readobj -program-headers %t1 | FileCheck %s
-# CHECK:     ProgramHeaders [
-# CHECK-NEXT:  ProgramHeader {
-# CHECK-NEXT:    Type: PT_LOAD (0x1)
-# CHECK-NEXT:    Offset: 0x0
-# CHECK-NEXT:    VirtualAddress: 0x10000000
-# CHECK-NEXT:    PhysicalAddress: 0x10000000
-# CHECK-NEXT:    FileSize: 521
-# CHECK-NEXT:    MemSize: 521
-# CHECK-NEXT:    Flags [ (0x7)
-# CHECK-NEXT:      PF_R (0x4)
-# CHECK-NEXT:      PF_W (0x2)
-# CHECK-NEXT:      PF_X (0x1)
-# CHECK-NEXT:    ]
-
-.global _start
-_start:
- nop
-
-.section .foo.1,"a"
-foo1:
- .long 0
-
-.section .foo.2,"aw"
-foo2:
- .long 0

Removed: lld/trunk/test/ELF/linkerscript-provide-in-section.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-provide-in-section.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-provide-in-section.s (original)
+++ lld/trunk/test/ELF/linkerscript-provide-in-section.s (removed)
@@ -1,20 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-# RUN: echo \
-# RUN: "SECTIONS { . = 1000; .blah : { PROVIDE(foo = .); } }" \
-# RUN:   > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t -shared
-# RUN: llvm-objdump -t %t1 | FileCheck %s
-# CHECK: 00000000000003e8         *ABS*           00000000 foo
-
-# RUN: echo \
-# RUN: "SECTIONS { . = 1000; .blah : { PROVIDE_HIDDEN(foo = .); } }" \
-# RUN:   > %t2.script
-# RUN: ld.lld -o %t2 --script %t2.script %t -shared
-# RUN: llvm-objdump -t %t2 | FileCheck %s --check-prefix=HIDDEN
-# HIDDEN: 00000000000003e8         *ABS*           00000000 .hidden foo
-
-.section blah
-.globl patatino
-patatino:
-  movl $foo, %edx

Removed: lld/trunk/test/ELF/linkerscript-repsection-va.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-repsection-va.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-repsection-va.s (original)
+++ lld/trunk/test/ELF/linkerscript-repsection-va.s (removed)
@@ -1,24 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-# RUN: echo "SECTIONS {.foo : {*(.foo.*)} }" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t1 | FileCheck %s
-# CHECK:      Sections:
-# CHECK-NEXT: Idx Name          Size      Address          Type
-# CHECK-NEXT:   0               00000000 0000000000000000
-# CHECK-NEXT:   1 .foo          00000004 0000000000000158 DATA
-# CHECK-NEXT:   2 .foo          00000004 000000000000015c DATA
-# CHECK-NEXT:   3 .text         00000001 0000000000000160 TEXT DATA
-
-.global _start
-_start:
- nop
-
-.section .foo.1,"a"
-foo1:
- .long 0
-
-.section .foo.2,"aw"
-foo2:
- .long 0

Removed: lld/trunk/test/ELF/linkerscript-sections-constraint.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-sections-constraint.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-sections-constraint.s (original)
+++ lld/trunk/test/ELF/linkerscript-sections-constraint.s (removed)
@@ -1,35 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-# RUN: echo "SECTIONS { \
-# RUN:  .writable : ONLY_IF_RW { *(.writable) } \
-# RUN:  .readable : ONLY_IF_RO { *(.readable) }}" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t1 | \
-# RUN:   FileCheck -check-prefix=BASE %s
-# BASE: Sections:
-# BASE-NEXT: Idx Name          Size      Address          Type
-# BASE-NEXT:   0               00000000 0000000000000000
-# BASE-NEXT:   1 .writable     00000004 0000000000000190 DATA
-# BASE-NEXT:   2 .readable     00000004 0000000000000194 DATA
-
-# RUN: echo "SECTIONS { \
-# RUN:  .writable : ONLY_IF_RO { *(.writable) } \
-# RUN:  .readable : ONLY_IF_RW { *(.readable) }}" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t1 | \
-# RUN:   FileCheck -check-prefix=NOSECTIONS %s
-# NOSECTIONS: Sections:
-# NOSECTIONS-NOT: .writable
-# NOSECTIONS-NOT: .readable
-
-.global _start
-_start:
-  nop
-
-.section .writable, "aw"
-writable:
- .long 1
-
-.section .readable, "a"
-readable:
- .long 2

Removed: lld/trunk/test/ELF/linkerscript-sections-keep.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-sections-keep.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-sections-keep.s (original)
+++ lld/trunk/test/ELF/linkerscript-sections-keep.s (removed)
@@ -1,80 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-## First check that section "keep" is garbage collected without using KEEP
-# RUN: echo "SECTIONS { \
-# RUN:  .text : { *(.text) } \
-# RUN:  .keep : { *(.keep) } \
-# RUN:  .temp : { *(.temp) }}" > %t.script
-# RUN: ld.lld --gc-sections -o %t1 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t1 | \
-# RUN:   FileCheck -check-prefix=SECGC %s
-# SECGC:      Sections:
-# SECGC-NEXT: Idx Name          Size      Address          Type
-# SECGC-NEXT:   0               00000000 0000000000000000
-# SECGC-NEXT:   1 .text         00000007 0000000000000158 TEXT DATA
-# SECGC-NEXT:   2 .temp         00000004 000000000000015f DATA
-
-## Now apply KEEP command to preserve the section.
-# RUN: echo "SECTIONS { \
-# RUN:  .text : { *(.text) } \
-# RUN:  .keep : { KEEP(*(.keep)) } \
-# RUN:  .temp : { *(.temp) }}" > %t.script
-# RUN: ld.lld --gc-sections -o %t1 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t1 | \
-# RUN:   FileCheck -check-prefix=SECNOGC %s
-# SECNOGC:      Sections:
-# SECNOGC-NEXT: Idx Name          Size      Address          Type
-# SECNOGC-NEXT:   0               00000000 0000000000000000
-# SECNOGC-NEXT:   1 .text         00000007 0000000000000158 TEXT DATA
-# SECNOGC-NEXT:   2 .keep         00000004 000000000000015f DATA
-# SECNOGC-NEXT:   3 .temp         00000004 0000000000000163 DATA
-
-## A section name matches two entries in the SECTIONS directive. The
-## first one doesn't have KEEP, the second one does. If section that have
-## KEEP is the first in order then section is NOT collected.
-# RUN: echo "SECTIONS { \
-# RUN:  .keep : { KEEP(*(.keep)) } \
-# RUN:  .nokeep : { *(.keep) }}" > %t.script
-# RUN: ld.lld --gc-sections -o %t1 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t1 | FileCheck -check-prefix=MIXED1 %s
-# MIXED1:      Sections:
-# MIXED1-NEXT: Idx Name          Size      Address         Type
-# MIXED1-NEXT:   0               00000000 0000000000000000
-# MIXED1-NEXT:   1 .keep         00000004 0000000000000120 DATA
-# MIXED1-NEXT:   2 .temp         00000004 0000000000000124 DATA
-# MIXED1-NEXT:   3 .text         00000007 0000000000000128 TEXT DATA
-# MIXED1-NEXT:   4 .symtab       00000060 0000000000000000
-# MIXED1-NEXT:   5 .shstrtab     0000002d 0000000000000000
-# MIXED1-NEXT:   6 .strtab       00000012 0000000000000000
-
-## The same, but now section without KEEP is at first place.
-## gold and bfd linkers disagree here. gold collects .keep while
-## bfd keeps it. Our current behavior is compatible with bfd although
-## we can choose either way.
-# RUN: echo "SECTIONS { \
-# RUN:  .nokeep : { *(.keep) } \
-# RUN:  .keep : { KEEP(*(.keep)) }}" > %t.script
-# RUN: ld.lld --gc-sections -o %t1 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t1 | FileCheck -check-prefix=MIXED2 %s
-# MIXED2:      Sections:
-# MIXED2-NEXT: Idx Name          Size      Address         Type
-# MIXED2-NEXT:   0               00000000 0000000000000000
-# MIXED2-NEXT:   1 .nokeep       00000004 0000000000000120 DATA
-# MIXED2-NEXT:   2 .temp         00000004 0000000000000124 DATA
-# MIXED2-NEXT:   3 .text         00000007 0000000000000128 TEXT DATA
-# MIXED2-NEXT:   4 .symtab       00000060 0000000000000000
-# MIXED2-NEXT:   5 .shstrtab     0000002f 0000000000000000
-# MIXED2-NEXT:   6 .strtab       00000012 0000000000000000
-
-.global _start
-_start:
- mov temp, %eax
-
-.section .keep, "a"
-keep:
- .long 1
-
-.section .temp, "a"
-temp:
- .long 2

Removed: lld/trunk/test/ELF/linkerscript-sections-padding.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-sections-padding.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-sections-padding.s (original)
+++ lld/trunk/test/ELF/linkerscript-sections-padding.s (removed)
@@ -1,44 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-## Check that padding value works:
-# RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =0x112233445566778899 }" > %t.script
-# RUN: ld.lld -o %t.out --script %t.script %t
-# RUN: hexdump -C %t.out | FileCheck -check-prefix=YES %s
-# YES: 00000120  66 22 33 44 55 66 77 88 99 11 22 33 44 55 66 77
-
-## Confirming that address was correct:
-# RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =0x998877665544332211 }" > %t.script
-# RUN: ld.lld -o %t.out --script %t.script %t
-# RUN: hexdump -C %t.out | FileCheck -check-prefix=YES2 %s
-# YES2: 00000120  66 88 77 66 55 44 33 22 11 99 88 77 66 55 44
-
-## Default padding value is 0x00:
-# RUN: echo "SECTIONS { .mysec : { *(.mysec*) } }" > %t.script
-# RUN: ld.lld -o %t.out --script %t.script %t
-# RUN: hexdump -C %t.out | FileCheck -check-prefix=NO %s
-# NO: 00000120  66 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
-
-## Filler should be a hex value (1):
-# RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =99 }" > %t.script
-# RUN: not ld.lld -o %t.out --script %t.script %t 2>&1 \
-# RUN:   | FileCheck --check-prefix=ERR %s
-# ERR: filler should be a hexadecimal value
-
-## Filler should be a hex value (2):
-# RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =0x99XX }" > %t.script
-# RUN: not ld.lld -o %t.out --script %t.script %t 2>&1 \
-# RUN:   | FileCheck --check-prefix=ERR2 %s
-# ERR2: not a hexadecimal value: XX
-
-.section        .mysec.1,"a"
-.align  16
-.byte   0x66
-
-.section        .mysec.2,"a"
-.align  16
-.byte   0x66
-
-.globl _start
-_start:
- nop

Removed: lld/trunk/test/ELF/linkerscript-sections.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-sections.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-sections.s (original)
+++ lld/trunk/test/ELF/linkerscript-sections.s (removed)
@@ -1,119 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-# Empty SECTIONS command.
-# RUN: echo "SECTIONS {}" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t1 | \
-# RUN:   FileCheck -check-prefix=SEC-DEFAULT %s
-
-# SECTIONS command with the same order as default.
-# RUN: echo "SECTIONS { \
-# RUN:          .text : { *(.text) } \
-# RUN:          .data : { *(.data) } }" > %t.script
-# RUN: ld.lld -o %t2 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t2 | \
-# RUN:   FileCheck -check-prefix=SEC-DEFAULT %s
-
-#             Idx Name          Size
-# SEC-DEFAULT: 1 .text         0000000e {{[0-9a-f]*}} TEXT DATA
-# SEC-DEFAULT: 2 .data         00000020 {{[0-9a-f]*}} DATA
-# SEC-DEFAULT: 3 other         00000003 {{[0-9a-f]*}} DATA
-# SEC-DEFAULT: 4 .bss          00000002 {{[0-9a-f]*}} BSS
-# SEC-DEFAULT: 5 .shstrtab     00000002 {{[0-9a-f]*}}
-# SEC-DEFAULT: 6 .symtab       00000030 {{[0-9a-f]*}}
-# SEC-DEFAULT: 7 .shstrtab     00000032 {{[0-9a-f]*}}
-# SEC-DEFAULT: 8 .strtab       00000008 {{[0-9a-f]*}}
-
-# Sections are put in order specified in linker script.
-# RUN: echo "SECTIONS { \
-# RUN:          .bss : { *(.bss) } \
-# RUN:          other : { *(other) } \
-# RUN:          .shstrtab : { *(.shstrtab) } \
-# RUN:          .symtab : { *(.symtab) } \
-# RUN:          .strtab : { *(.strtab) } \
-# RUN:          .data : { *(.data) } \
-# RUN:          .text : { *(.text) } }" > %t.script
-# RUN: ld.lld -o %t3 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t3 | \
-# RUN:   FileCheck -check-prefix=SEC-ORDER %s
-
-#           Idx Name          Size
-# SEC-ORDER: 1 .bss          00000002 {{[0-9a-f]*}} BSS
-# SEC-ORDER: 2 other         00000003 {{[0-9a-f]*}} DATA
-# SEC-ORDER: 3 .shstrtab     00000002 {{[0-9a-f]*}}
-# SEC-ORDER: 4 .shstrtab     00000032 {{[0-9a-f]*}}
-# SEC-ORDER: 5 .symtab       00000030 {{[0-9a-f]*}}
-# SEC-ORDER: 6 .strtab       00000008 {{[0-9a-f]*}}
-# SEC-ORDER: 7 .data         00000020 {{[0-9a-f]*}} DATA
-# SEC-ORDER: 8 .text         0000000e {{[0-9a-f]*}} TEXT DATA
-
-# .text and .data have swapped names but proper sizes and types.
-# RUN: echo "SECTIONS { \
-# RUN:          .data : { *(.text) } \
-# RUN:          .text : { *(.data) } }" > %t.script
-# RUN: ld.lld -o %t4 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t4 | \
-# RUN:   FileCheck -check-prefix=SEC-SWAP-NAMES %s
-
-#                Idx Name          Size
-# SEC-SWAP-NAMES: 1 .data         0000000e {{[0-9a-f]*}} TEXT DATA
-# SEC-SWAP-NAMES: 2 .text         00000020 {{[0-9a-f]*}} DATA
-# SEC-SWAP-NAMES: 3 other         00000003 {{[0-9a-f]*}} DATA
-# SEC-SWAP-NAMES: 4 .bss          00000002 {{[0-9a-f]*}} BSS
-# SEC-SWAP-NAMES: 5 .shstrtab     00000002 {{[0-9a-f]*}}
-# SEC-SWAP-NAMES: 6 .symtab       00000030 {{[0-9a-f]*}}
-# SEC-SWAP-NAMES: 7 .shstrtab     00000032 {{[0-9a-f]*}}
-# SEC-SWAP-NAMES: 8 .strtab       00000008 {{[0-9a-f]*}}
-
-# .shstrtab from the input object file is discarded.
-# RUN: echo "SECTIONS { \
-# RUN:          /DISCARD/ : { *(.shstrtab) } }" > %t.script
-# RUN: ld.lld -o %t5 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t5 | \
-# RUN:   FileCheck -check-prefix=SEC-DISCARD %s
-
-#             Idx Name          Size
-# SEC-DISCARD: 1 .text         0000000e {{[0-9a-f]*}} TEXT DATA
-# SEC-DISCARD: 2 .data         00000020 {{[0-9a-f]*}} DATA
-# SEC-DISCARD: 3 other         00000003 {{[0-9a-f]*}} DATA
-# SEC-DISCARD: 4 .bss          00000002 {{[0-9a-f]*}} BSS
-# SEC-DISCARD: 5 .symtab       00000030 {{[0-9a-f]*}}
-# SEC-DISCARD: 6 .shstrtab     00000032 {{[0-9a-f]*}}
-# SEC-DISCARD: 7 .strtab       00000008 {{[0-9a-f]*}}
-
-# Multiple SECTIONS command specifying additional input section descriptions
-# for the same output section description - input sections are merged into
-# one output section.
-# RUN: echo "SECTIONS { \
-# RUN:          .text : { *(.text) } \
-# RUN:          .data : { *(.data) } } \
-# RUN:       SECTIONS { \
-# RUN:          .data : { *(other) } }" > %t.script
-# RUN: ld.lld -o %t6 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t6 | \
-# RUN:   FileCheck -check-prefix=SEC-MULTI %s
-
-#           Idx Name          Size
-# SEC-MULTI: 1 .text         0000000e {{[0-9a-f]*}} TEXT DATA
-# SEC-MULTI: 2 .data         00000023 {{[0-9a-f]*}} DATA
-# SEC-MULTI: 3 .bss          00000002 {{[0-9a-f]*}} BSS
-# SEC-MULTI: 4 .shstrtab     00000002 {{[0-9a-f]*}}
-# SEC-MULTI: 5 .symtab       00000030 {{[0-9a-f]*}}
-# SEC-MULTI: 6 .shstrtab     0000002c {{[0-9a-f]*}}
-# SEC-MULTI: 7 .strtab       00000008 {{[0-9a-f]*}}
-
-.globl _start
-_start:
-    mov $60, %rax
-    mov $42, %rdi
-
-.section .data,"aw"
-.quad 10, 10, 20, 20
-.section other,"aw"
-.short 10
-.byte 20
-.section .shstrtab,""
-.short 20
-.section .bss,"", at nobits
-.short 0

Removed: lld/trunk/test/ELF/linkerscript-symbol-conflict.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-symbol-conflict.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-symbol-conflict.s (original)
+++ lld/trunk/test/ELF/linkerscript-symbol-conflict.s (removed)
@@ -1,11 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-# RUN: echo "SECTIONS {.text : {*(.text.*)} end = .;}" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -t %t1 | FileCheck %s
-# CHECK: 0000000000000121         *ABS*    00000000 end
-
-.global _start
-_start:
- nop

Removed: lld/trunk/test/ELF/linkerscript-symbols.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-symbols.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-symbols.s (original)
+++ lld/trunk/test/ELF/linkerscript-symbols.s (removed)
@@ -1,43 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-# Simple symbol assignment. Should raise conflict in case we 
-# have duplicates in any input section, but currently simply
-# replaces the value.
-# RUN: echo "SECTIONS {.text : {*(.text.*)} text_end = .;}" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -t %t1 | FileCheck --check-prefix=SIMPLE %s
-# SIMPLE: 0000000000000121         *ABS*    00000000 text_end
-
-# Provide new symbol. The value should be 1, like set in PROVIDE()
-# RUN: echo "SECTIONS { PROVIDE(newsym = 1);}" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -t %t1 | FileCheck --check-prefix=PROVIDE1 %s
-# PROVIDE1: 0000000000000001         *ABS*    00000000 newsym
-
-# Provide new symbol (hidden). The value should be 1
-# RUN: echo "SECTIONS { PROVIDE_HIDDEN(newsym = 1);}" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -t %t1 | FileCheck --check-prefix=HIDDEN1 %s
-# HIDDEN1: 0000000000000001         *ABS*    00000000 .hidden newsym
-
-# Provide existing symbol. The value should be 0, even though we 
-# have value of 1 in PROVIDE()
-# RUN: echo "SECTIONS { PROVIDE(somesym = 1);}" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -t %t1 | FileCheck --check-prefix=PROVIDE2 %s
-# PROVIDE2: 0000000000000000         *ABS*    00000000 somesym
-
-# Provide existing symbol. The value should be 0, even though we 
-# have value of 1 in PROVIDE(). Visibility should not change
-# RUN: echo "SECTIONS { PROVIDE(somesym = 1);}" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -t %t1 | FileCheck --check-prefix=HIDDEN2 %s
-# HIDDEN2: 0000000000000000         *ABS*    00000000 somesym
-
-.global _start
-_start:
- nop
-
-.global somesym
-somesym = 0

Removed: lld/trunk/test/ELF/linkerscript-undef.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-undef.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-undef.s (original)
+++ lld/trunk/test/ELF/linkerscript-undef.s (removed)
@@ -1,11 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-# RUN: echo "SECTIONS { patatino = 0x1234; }" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -t %t1 | FileCheck %s
-# CHECK: 0000000000001234         *ABS*    00000000 patatino
-
-.global _start
-_start:
-  call patatino

Removed: lld/trunk/test/ELF/linkerscript-va.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript-va.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript-va.s (original)
+++ lld/trunk/test/ELF/linkerscript-va.s (removed)
@@ -1,24 +0,0 @@
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-
-# RUN: echo "SECTIONS {}" > %t.script
-# RUN: ld.lld -o %t1 --script %t.script %t
-# RUN: llvm-objdump -section-headers %t1 | FileCheck %s
-# CHECK:      Sections:
-# CHECK-NEXT: Idx Name          Size      Address          Type
-# CHECK-NEXT:   0               00000000 0000000000000000
-# CHECK-NEXT:   1 .foo          00000004 0000000000000120 DATA
-# CHECK-NEXT:   2 .boo          00000004 0000000000000124 DATA
-# CHECK-NEXT:   3 .text         00000001 0000000000000128 TEXT DATA
-
-.global _start
-_start:
- nop
-
-.section .foo, "a"
-foo:
- .long 0
-
-.section .boo, "a"
-boo:
- .long 0

Removed: lld/trunk/test/ELF/linkerscript.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript.s (original)
+++ lld/trunk/test/ELF/linkerscript.s (removed)
@@ -1,120 +0,0 @@
-# There is some bad quoting interaction between lit's internal shell, which is
-# implemented in Python, and the Cygwin implementations of the Unix utilities.
-# Avoid running these tests on Windows for now by requiring a real shell.
-
-# REQUIRES: shell
-
-# REQUIRES: x86
-# RUN: mkdir -p %t.dir
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux \
-# RUN:   %p/Inputs/libsearch-st.s -o %t2.o
-# RUN: rm -f %t.dir/libxyz.a
-# RUN: llvm-ar rcs %t.dir/libxyz.a %t2.o
-
-# RUN: echo "EXTERN( undef undef2 )" > %t.script
-# RUN: ld.lld %t -o %t2 %t.script
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "GROUP(\"%t\")" > %t.script
-# RUN: ld.lld -o %t2 %t.script
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "INPUT(\"%t\")" > %t.script
-# RUN: ld.lld -o %t2 %t.script
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "GROUP(\"%t\" libxyz.a )" > %t.script
-# RUN: not ld.lld -o %t2 %t.script
-# RUN: ld.lld -o %t2 %t.script -L%t.dir
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "GROUP(\"%t\" =libxyz.a )" > %t.script
-# RUN: not ld.lld -o %t2 %t.script
-# RUN: ld.lld -o %t2 %t.script --sysroot=%t.dir
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "GROUP(\"%t\" -lxyz )" > %t.script
-# RUN: not ld.lld -o %t2 %t.script
-# RUN: ld.lld -o %t2 %t.script -L%t.dir
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "GROUP(\"%t\" libxyz.a )" > %t.script
-# RUN: not ld.lld -o %t2 %t.script
-# RUN: ld.lld -o %t2 %t.script -L%t.dir
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "GROUP(\"%t\" /libxyz.a )" > %t.script
-# RUN: echo "GROUP(\"%t\" /libxyz.a )" > %t.dir/xyz.script
-# RUN: not ld.lld -o %t2 %t.script
-# RUN: not ld.lld -o %t2 %t.script --sysroot=%t.dir
-# RUN: ld.lld -o %t2 %t.dir/xyz.script --sysroot=%t.dir
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "GROUP(\"%t.script2\")" > %t.script1
-# RUN: echo "GROUP(\"%t\")" > %t.script2
-# RUN: ld.lld -o %t2 %t.script1
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "ENTRY(_label)" > %t.script
-# RUN: ld.lld -o %t2 %t.script %t
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "ENTRY(_wrong_label)" > %t.script
-# RUN: not ld.lld -o %t2 %t.script %t > %t.log 2>&1
-# RUN: FileCheck -check-prefix=ERR-ENTRY %s < %t.log
-
-# ERR-ENTRY: undefined symbol: _wrong_label
-
-# -e has precedence over linker script's ENTRY.
-# RUN: echo "ENTRY(_label)" > %t.script
-# RUN: ld.lld -e _start -o %t2 %t.script %t
-# RUN: llvm-readobj -file-headers -symbols %t2 | \
-# RUN:   FileCheck -check-prefix=ENTRY-OVERLOAD %s
-
-# ENTRY-OVERLOAD: Entry: [[ENTRY:0x[0-9A-F]+]]
-# ENTRY-OVERLOAD: Name: _start
-# ENTRY-OVERLOAD-NEXT: Value: [[ENTRY]]
-
-# RUN: echo "OUTPUT_FORMAT(elf64-x86-64) /*/*/ GROUP(\"%t\" )" > %t.script
-# RUN: ld.lld -o %t2 %t.script
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "GROUP(AS_NEEDED(\"%t\"))" > %t.script
-# RUN: ld.lld -o %t2 %t.script
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: rm -f %t.out
-# RUN: echo "OUTPUT(\"%t.out\")" > %t.script
-# RUN: ld.lld %t.script %t
-# RUN: llvm-readobj %t.out > /dev/null
-
-# RUN: echo "SEARCH_DIR(/lib/foo/blah)" > %t.script
-# RUN: ld.lld %t.script %t
-# RUN: llvm-readobj %t.out > /dev/null
-
-# RUN: echo ";SEARCH_DIR(x);SEARCH_DIR(y);" > %t.script
-# RUN: ld.lld %t.script %t
-# RUN: llvm-readobj %t.out > /dev/null
-
-# RUN: echo ";" > %t.script
-# RUN: ld.lld %t.script %t
-# RUN: llvm-readobj %t.out > /dev/null
-
-# RUN: echo "INCLUDE \"%t.script2\" OUTPUT(\"%t.out\")" > %t.script1
-# RUN: echo "GROUP(\"%t\")" > %t.script2
-# RUN: ld.lld %t.script1
-# RUN: llvm-readobj %t2 > /dev/null
-
-# RUN: echo "FOO(BAR)" > %t.script
-# RUN: not ld.lld -o foo %t.script > %t.log 2>&1
-# RUN: FileCheck -check-prefix=ERR1 %s < %t.log
-
-# ERR1: unknown directive: FOO
-
-.globl _start, _label
-_start:
-  mov $60, %rax
-  mov $42, %rdi
-_label:
-  syscall

Added: lld/trunk/test/ELF/linkerscript/Inputs/libsearch-dyn.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/Inputs/libsearch-dyn.s?rev=276582&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript/Inputs/libsearch-dyn.s (added)
+++ lld/trunk/test/ELF/linkerscript/Inputs/libsearch-dyn.s Sun Jul 24 18:29:18 2016
@@ -0,0 +1,3 @@
+.globl _bar,_dynamic
+_bar:
+_dynamic:

Added: lld/trunk/test/ELF/linkerscript/Inputs/libsearch-st.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/Inputs/libsearch-st.s?rev=276582&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript/Inputs/libsearch-st.s (added)
+++ lld/trunk/test/ELF/linkerscript/Inputs/libsearch-st.s Sun Jul 24 18:29:18 2016
@@ -0,0 +1,3 @@
+.globl _bar,_static
+_bar:
+_static:

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-align.s (from r276579, lld/trunk/test/ELF/linkerscript-align.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-align.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-align.s&p1=lld/trunk/test/ELF/linkerscript-align.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-diagnostic.s (from r276579, lld/trunk/test/ELF/linkerscript-diagnostic.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-diagnostic.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-diagnostic.s&p1=lld/trunk/test/ELF/linkerscript-diagnostic.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-locationcounter.s (from r276579, lld/trunk/test/ELF/linkerscript-locationcounter.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-locationcounter.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-locationcounter.s&p1=lld/trunk/test/ELF/linkerscript-locationcounter.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-orphans.s (from r276579, lld/trunk/test/ELF/linkerscript-orphans.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-orphans.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-orphans.s&p1=lld/trunk/test/ELF/linkerscript-orphans.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-ouputformat.s (from r276579, lld/trunk/test/ELF/linkerscript-ouputformat.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-ouputformat.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-ouputformat.s&p1=lld/trunk/test/ELF/linkerscript-ouputformat.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-outputarch.s (from r276579, lld/trunk/test/ELF/linkerscript-outputarch.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-outputarch.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-outputarch.s&p1=lld/trunk/test/ELF/linkerscript-outputarch.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-phdr-check.s (from r276579, lld/trunk/test/ELF/linkerscript-phdr-check.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-phdr-check.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-phdr-check.s&p1=lld/trunk/test/ELF/linkerscript-phdr-check.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-phdrs-flags.s (from r276579, lld/trunk/test/ELF/linkerscript-phdrs-flags.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-phdrs-flags.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-phdrs-flags.s&p1=lld/trunk/test/ELF/linkerscript-phdrs-flags.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-phdrs.s (from r276579, lld/trunk/test/ELF/linkerscript-phdrs.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-phdrs.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-phdrs.s&p1=lld/trunk/test/ELF/linkerscript-phdrs.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-provide-in-section.s (from r276579, lld/trunk/test/ELF/linkerscript-provide-in-section.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-provide-in-section.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-provide-in-section.s&p1=lld/trunk/test/ELF/linkerscript-provide-in-section.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-repsection-va.s (from r276579, lld/trunk/test/ELF/linkerscript-repsection-va.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-repsection-va.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-repsection-va.s&p1=lld/trunk/test/ELF/linkerscript-repsection-va.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-sections-constraint.s (from r276579, lld/trunk/test/ELF/linkerscript-sections-constraint.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-sections-constraint.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-sections-constraint.s&p1=lld/trunk/test/ELF/linkerscript-sections-constraint.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-sections-keep.s (from r276579, lld/trunk/test/ELF/linkerscript-sections-keep.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-sections-keep.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-sections-keep.s&p1=lld/trunk/test/ELF/linkerscript-sections-keep.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-sections-padding.s (from r276579, lld/trunk/test/ELF/linkerscript-sections-padding.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-sections-padding.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-sections-padding.s&p1=lld/trunk/test/ELF/linkerscript-sections-padding.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-sections.s (from r276579, lld/trunk/test/ELF/linkerscript-sections.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-sections.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-sections.s&p1=lld/trunk/test/ELF/linkerscript-sections.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-symbol-conflict.s (from r276579, lld/trunk/test/ELF/linkerscript-symbol-conflict.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-symbol-conflict.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-symbol-conflict.s&p1=lld/trunk/test/ELF/linkerscript-symbol-conflict.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-symbols.s (from r276579, lld/trunk/test/ELF/linkerscript-symbols.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-symbols.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-symbols.s&p1=lld/trunk/test/ELF/linkerscript-symbols.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-undef.s (from r276579, lld/trunk/test/ELF/linkerscript-undef.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-undef.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-undef.s&p1=lld/trunk/test/ELF/linkerscript-undef.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript-va.s (from r276579, lld/trunk/test/ELF/linkerscript-va.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript-va.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript-va.s&p1=lld/trunk/test/ELF/linkerscript-va.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript.s (from r276579, lld/trunk/test/ELF/linkerscript.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript.s&p1=lld/trunk/test/ELF/linkerscript.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Copied: lld/trunk/test/ELF/linkerscript/linkerscript2.s (from r276579, lld/trunk/test/ELF/linkerscript2.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/linkerscript2.s?p2=lld/trunk/test/ELF/linkerscript/linkerscript2.s&p1=lld/trunk/test/ELF/linkerscript2.s&r1=276579&r2=276582&rev=276582&view=diff
==============================================================================
    (empty)

Removed: lld/trunk/test/ELF/linkerscript2.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript2.s?rev=276581&view=auto
==============================================================================
--- lld/trunk/test/ELF/linkerscript2.s (original)
+++ lld/trunk/test/ELF/linkerscript2.s (removed)
@@ -1,17 +0,0 @@
-# There is some bad quoting interaction between lit's internal shell, which is
-# implemented in Python, and the Cygwin implementations of the Unix utilities.
-# Avoid running these tests on Windows for now by requiring a real shell.
-
-# REQUIRES: shell
-
-# REQUIRES: x86
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s -o %t
-# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd \
-# RUN:   %p/Inputs/libsearch-dyn.s -o %tdyn.o
-# RUN: mkdir -p %t.dir
-# RUN: ld.lld -shared %tdyn.o -o %t.dir/libls.so
-# RUN: echo "SEARCH_DIR(\"%t.dir\")" > %t.script
-# RUN: ld.lld -o %t2 --script %t.script -lls %t
-
-.globl _start,_bar
-_start:




More information about the llvm-commits mailing list