summaryrefslogtreecommitdiffstats
path: root/lld/test/elf/mergeconstants.test
diff options
context:
space:
mode:
authorShankar Easwaran <shankare@codeaurora.org>2013-09-17 02:56:22 +0000
committerShankar Easwaran <shankare@codeaurora.org>2013-09-17 02:56:22 +0000
commit063b75013f6e39e23a1621ac3a0033aef368743e (patch)
treeb4ad5afd94397c50833edd873684f63c3fa7a6ef /lld/test/elf/mergeconstants.test
parent36399e6b6872c03fec3f370b67366201fd91cafd (diff)
downloadbcm5719-llvm-063b75013f6e39e23a1621ac3a0033aef368743e.tar.gz
bcm5719-llvm-063b75013f6e39e23a1621ac3a0033aef368743e.zip
[lld][ELF] Assign sectionChoice properly to ELF atoms
This sets the sectionChoice property for DefinedAtoms. The output section name is derived by the property of the atom. This also decreases native file size. Adds a test. llvm-svn: 190840
Diffstat (limited to 'lld/test/elf/mergeconstants.test')
-rw-r--r--lld/test/elf/mergeconstants.test2
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/test/elf/mergeconstants.test b/lld/test/elf/mergeconstants.test
index abe132fc13b..08d41073e60 100644
--- a/lld/test/elf/mergeconstants.test
+++ b/lld/test/elf/mergeconstants.test
@@ -12,8 +12,6 @@ mergeAtoms: scope: global
mergeAtoms: type: data
mergeAtoms: content: [ 00, 00, 00, 00, 00, 00, 00, 00 ]
mergeAtoms: alignment: 2^3
-mergeAtoms: section-choice: custom-required
-mergeAtoms: section-name: .data
mergeAtoms: references:
mergeAtoms: - kind: R_X86_64_64
mergeAtoms: offset: 3
OpenPOWER on IntegriCloud