diff options
author | Alan Modra <amodra@gmail.com> | 2020-02-27 16:26:19 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-02-28 08:19:42 +1030 |
commit | 5f6028029146629b5fd5732e20c600b5837c20a9 (patch) | |
tree | 5ab6cbc0826239b1753582b4a8cb08359a33e025 /ld/testsuite | |
parent | 49d9fd42acefc1c0ee282b5808874a1074bf1ecd (diff) | |
download | gdb-5f6028029146629b5fd5732e20c600b5837c20a9.zip gdb-5f6028029146629b5fd5732e20c600b5837c20a9.tar.gz gdb-5f6028029146629b5fd5732e20c600b5837c20a9.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ld-mmix/b-fixo2.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mmix/sec-2.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mmix/sec-3.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mmix/sec-4.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mmix/spec802.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mmix/spec803.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mmix/spec804.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mmix/spec805.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mmix/spec806.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mmix/spec807.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mmix/spec808.d | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/ld/testsuite/ld-mmix/b-fixo2.d b/ld/testsuite/ld-mmix/b-fixo2.d index e8e2ff8..3db01eb 100644 --- a/ld/testsuite/ld-mmix/b-fixo2.d +++ b/ld/testsuite/ld-mmix/b-fixo2.d @@ -16,7 +16,7 @@ Idx Name Size VMA LMA File off Algn 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 diff --git a/ld/testsuite/ld-mmix/sec-2.d b/ld/testsuite/ld-mmix/sec-2.d index 10623f3..10a9a52 100644 --- a/ld/testsuite/ld-mmix/sec-2.d +++ b/ld/testsuite/ld-mmix/sec-2.d @@ -13,7 +13,7 @@ Idx Name Size VMA LMA File off Algn 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: diff --git a/ld/testsuite/ld-mmix/sec-3.d b/ld/testsuite/ld-mmix/sec-3.d index 290052b..8074e83 100644 --- a/ld/testsuite/ld-mmix/sec-3.d +++ b/ld/testsuite/ld-mmix/sec-3.d @@ -15,7 +15,7 @@ Idx Name Size VMA LMA File off Algn 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 diff --git a/ld/testsuite/ld-mmix/sec-4.d b/ld/testsuite/ld-mmix/sec-4.d index 251f6a2..16b6589 100644 --- a/ld/testsuite/ld-mmix/sec-4.d +++ b/ld/testsuite/ld-mmix/sec-4.d @@ -11,7 +11,7 @@ Idx Name Size VMA LMA File off Algn 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: diff --git a/ld/testsuite/ld-mmix/spec802.d b/ld/testsuite/ld-mmix/spec802.d index ea0ebc3..cea7de2 100644 --- a/ld/testsuite/ld-mmix/spec802.d +++ b/ld/testsuite/ld-mmix/spec802.d @@ -13,7 +13,7 @@ Idx Name Size VMA LMA File off Algn 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: diff --git a/ld/testsuite/ld-mmix/spec803.d b/ld/testsuite/ld-mmix/spec803.d index b933d6c..cc63844 100644 --- a/ld/testsuite/ld-mmix/spec803.d +++ b/ld/testsuite/ld-mmix/spec803.d @@ -13,7 +13,7 @@ Idx Name Size VMA LMA File off Algn 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: diff --git a/ld/testsuite/ld-mmix/spec804.d b/ld/testsuite/ld-mmix/spec804.d index 170bc5e..fd8f0bf 100644 --- a/ld/testsuite/ld-mmix/spec804.d +++ b/ld/testsuite/ld-mmix/spec804.d @@ -13,7 +13,7 @@ Idx Name Size VMA LMA File off Algn 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: diff --git a/ld/testsuite/ld-mmix/spec805.d b/ld/testsuite/ld-mmix/spec805.d index c4cdd02..d0562eb 100644 --- a/ld/testsuite/ld-mmix/spec805.d +++ b/ld/testsuite/ld-mmix/spec805.d @@ -13,7 +13,7 @@ Idx Name Size VMA LMA File off Algn 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: diff --git a/ld/testsuite/ld-mmix/spec806.d b/ld/testsuite/ld-mmix/spec806.d index 7f64948..64d8bf9 100644 --- a/ld/testsuite/ld-mmix/spec806.d +++ b/ld/testsuite/ld-mmix/spec806.d @@ -13,7 +13,7 @@ Idx Name Size VMA LMA File off Algn 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: diff --git a/ld/testsuite/ld-mmix/spec807.d b/ld/testsuite/ld-mmix/spec807.d index f37e57a..ef2edb9 100644 --- a/ld/testsuite/ld-mmix/spec807.d +++ b/ld/testsuite/ld-mmix/spec807.d @@ -13,7 +13,7 @@ Idx Name Size VMA LMA File off Algn 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: diff --git a/ld/testsuite/ld-mmix/spec808.d b/ld/testsuite/ld-mmix/spec808.d index e1d6784..00a5347 100644 --- a/ld/testsuite/ld-mmix/spec808.d +++ b/ld/testsuite/ld-mmix/spec808.d @@ -13,7 +13,7 @@ Idx Name Size VMA LMA File off Algn 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: |