summaryrefslogtreecommitdiffstats
path: root/lld/test/core/custom-section-coalesce.objtxt
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/core/custom-section-coalesce.objtxt')
-rw-r--r--lld/test/core/custom-section-coalesce.objtxt32
1 files changed, 2 insertions, 30 deletions
diff --git a/lld/test/core/custom-section-coalesce.objtxt b/lld/test/core/custom-section-coalesce.objtxt
index e9bada56938..fcf04845a7d 100644
--- a/lld/test/core/custom-section-coalesce.objtxt
+++ b/lld/test/core/custom-section-coalesce.objtxt
@@ -1,4 +1,5 @@
-# RUN: lld -core %s | FileCheck %s
+# RUN: lld -core %s %p/Inputs/custom-section-coalesce.objtxt \
+# RUN: %p/Inputs/custom-section-coalesce2.objtxt | FileCheck %s
#
# Test that custom sections are preserved when duplicate merge-by-content
@@ -25,35 +26,6 @@ defined-atoms:
type: constant
merge: by-content
content: [ 01, 02, 03, 04 ]
-
----
-defined-atoms:
- - ref-name: L1
- type: constant
- merge: by-content
- content: [ 01, 02, 03, 04 ]
- section-choice: custom-required
- section-name: .mysection
-
- - ref-name: L2
- type: constant
- merge: by-content
- content: [ 01, 02, 03, 04 ]
- section-choice: custom-required
- section-name: .mysection2
----
-defined-atoms:
- - ref-name: L1
- type: constant
- merge: by-content
- content: [ 05, 06, 07, 08 ]
- section-choice: custom-required
- section-name: .mysection
-
- - ref-name: L2
- type: constant
- merge: by-content
- content: [ 01, 02, 03, 04 ]
...
OpenPOWER on IntegriCloud