+2020-02-27 Alan Modra <amodra@gmail.com>
+
+ PR 24511
+ * mmo.c (mmo_scan): Set SEC_DATA for .data.
+
2020-02-27 Alan Modra <amodra@gmail.com>
PR 24511
if (sec != NULL
&& (bfd_section_flags (sec) & SEC_HAS_CONTENTS)
&& !bfd_set_section_flags (sec, (bfd_section_flags (sec)
- | SEC_ALLOC | SEC_LOAD)))
+ | SEC_ALLOC | SEC_LOAD | SEC_DATA)))
error = TRUE;
/* Free whatever resources we took. */
+2020-02-27 Alan Modra <amodra@gmail.com>
+
+ 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.
+
2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
PR ld/25593
0 \.text 0+8 0+ 0+ 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE
1 \.data 0+4 2068098510aa5564 2068098510aa5564 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD
+ CONTENTS, ALLOC, LOAD, DATA
SYMBOL TABLE:
0+4 g \.text Main
0+4 g \.text a
1 \.other 0+50 1000000000000000 1000000000000000 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE, DATA
2 \.data 0+4 2000000000000004 2000000000000004 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD
+ CONTENTS, ALLOC, LOAD, DATA
Contents of section \.text:
0100 e3fd0001 .*
Contents of section \.other:
2 \.a\.fourth\.section 0+10 0+20 0+20 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 \.data 0+4 2000000000000004 2000000000000004 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD
+ CONTENTS, ALLOC, LOAD, DATA
4 anothersec 0+13 2000000000000008 2000000000000008 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, DATA
5 thirdsec 0+a 0+ 0+ 0+ 2\*\*2
0 \.text 0+4 0+100 0+100 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE
1 \.data 0+4 2000000000000004 2000000000000004 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD
+ CONTENTS, ALLOC, LOAD, DATA
2 \.other 0+c 1000000000000000 1000000000000000 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, READONLY, CODE
Contents of section \.text:
0 \.text 0+4 0+ 0+ 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE
1 \.data 0+4 2000000000000000 2000000000000000 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD
+ CONTENTS, ALLOC, LOAD, DATA
2 \.MMIX\.spec_data\.80 0+4 0+ 0+ 0+ 2\*\*2
CONTENTS
Contents of section \.text:
0 \.text 0+4 0+ 0+ 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE
1 \.data 0+4 2000000000000000 2000000000000000 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD
+ CONTENTS, ALLOC, LOAD, DATA
2 \.MMIX\.spec_data\.80 0+c 0+ 0+ 0+ 2\*\*2
CONTENTS
Contents of section \.text:
0 \.text 0+4 0+ 0+ 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE
1 \.data 0+4 2000000000000000 2000000000000000 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD
+ CONTENTS, ALLOC, LOAD, DATA
2 \.MMIX\.spec_data\.80 0+10 0+ 0+ 0+ 2\*\*2
CONTENTS
Contents of section \.text:
0 \.text 0+4 0+ 0+ 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE
1 \.data 0+4 2000000000000000 2000000000000000 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD
+ CONTENTS, ALLOC, LOAD, DATA
2 \.MMIX\.spec_data\.80 0+14 0+ 0+ 0+ 2\*\*2
CONTENTS
Contents of section \.text:
0 \.text 0+4 0+ 0+ 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE
1 \.data 0+4 2000000000000000 2000000000000000 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD
+ CONTENTS, ALLOC, LOAD, DATA
2 \.MMIX\.spec_data\.80 0+18 0+ 0+ 0+ 2\*\*2
CONTENTS
Contents of section \.text:
0 \.text 0+4 0+ 0+ 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE
1 \.data 0+4 2000000000000000 2000000000000000 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD
+ CONTENTS, ALLOC, LOAD, DATA
2 \.MMIX\.spec_data\.80 0+1c 0+ 0+ 0+ 2\*\*2
CONTENTS
Contents of section \.text:
0 \.text 0+4 0+ 0+ 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE
1 \.data 0+4 2000000000000000 2000000000000000 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD
+ CONTENTS, ALLOC, LOAD, DATA
2 \.MMIX\.spec_data\.80 0+20 0+ 0+ 0+ 2\*\*2
CONTENTS
Contents of section \.text: