aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-06-30 13:22:52 +0930
committerAlan Modra <amodra@gmail.com>2020-06-30 13:32:04 +0930
commit39d050ee501609fdee937806b7494eb8f2b3088d (patch)
treed2bf906df1bb4500f668872ff20958d671cd632e /ld/scripttempl
parent08ccfccf0ed825be9be2972594d4be4a2207ef13 (diff)
downloadbinutils-39d050ee501609fdee937806b7494eb8f2b3088d.zip
binutils-39d050ee501609fdee937806b7494eb8f2b3088d.tar.gz
binutils-39d050ee501609fdee937806b7494eb8f2b3088d.tar.bz2
microblaze-linux XPASS ld-elf/var1
microblaze-linux uses the standard ELF script, microblaze-elf its own script lacking an input section pattern needed to make this test pass. Add the missing pattern for .data, in line with most other sections that do have .* patterns. * scripttempl/elfmicroblaze.sc (.data): Add .data.* entry. * testsuite/ld-elf/var1.d: Don't xfail microblaze.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elfmicroblaze.sc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/scripttempl/elfmicroblaze.sc b/ld/scripttempl/elfmicroblaze.sc
index 3ac2ac0..65e36cb 100644
--- a/ld/scripttempl/elfmicroblaze.sc
+++ b/ld/scripttempl/elfmicroblaze.sc
@@ -136,6 +136,7 @@ SECTIONS
${RELOCATING+ _fdata = .;}
.data : {
*(.data)
+ ${RELOCATING+*(.data.*)}
${RELOCATING+*(.gnu.linkonce.d.*)}
${CONSTRUCTING+CONSTRUCTORS;} /* Is this needed? */
}