mmix-mmo set SEC_DATA for .data section
authorAlan Modra <amodra@gmail.com>
Thu, 27 Feb 2020 05:56:19 +0000 (16:26 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 27 Feb 2020 21:49:42 +0000 (08:19 +1030)
commit5f6028029146629b5fd5732e20c600b5837c20a9
tree5ab6cbc0826239b1753582b4a8cb08359a33e025
parent49d9fd42acefc1c0ee282b5808874a1074bf1ecd
mmix-mmo set SEC_DATA for .data section

With the bfd_decode_symclass change, ld SIZEOF test fails due to
data_end being reported as type '?'.

bfd/
PR 24511
* mmo.c (mmo_scan): Set SEC_DATA for .data.
ld/
PR 24511
* testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
* testsuite/ld-mmix/sec-2.d: Likewise.
* testsuite/ld-mmix/sec-3.d: Likewise.
* testsuite/ld-mmix/sec-4.d: Likewise.
* testsuite/ld-mmix/spec802.d: Likewise.
* testsuite/ld-mmix/spec803.d: Likewise.
* testsuite/ld-mmix/spec804.d: Likewise.
* testsuite/ld-mmix/spec805.d: Likewise.
* testsuite/ld-mmix/spec806.d: Likewise.
* testsuite/ld-mmix/spec807.d: Likewise.
* testsuite/ld-mmix/spec808.d: Likewise.
14 files changed:
bfd/ChangeLog
bfd/mmo.c
ld/ChangeLog
ld/testsuite/ld-mmix/b-fixo2.d
ld/testsuite/ld-mmix/sec-2.d
ld/testsuite/ld-mmix/sec-3.d
ld/testsuite/ld-mmix/sec-4.d
ld/testsuite/ld-mmix/spec802.d
ld/testsuite/ld-mmix/spec803.d
ld/testsuite/ld-mmix/spec804.d
ld/testsuite/ld-mmix/spec805.d
ld/testsuite/ld-mmix/spec806.d
ld/testsuite/ld-mmix/spec807.d
ld/testsuite/ld-mmix/spec808.d