aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-11-17 02:01:14 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-11-17 02:01:14 +0000
commit6a0db47ad1a3dd0eb5a861987dec349f6b902ef6 (patch)
tree08589337159a24452c0de127f4d934005b5fb3bf /ld
parentdff70155390c65a498472d688e574431f51a5820 (diff)
downloadfsf-binutils-gdb-6a0db47ad1a3dd0eb5a861987dec349f6b902ef6.zip
fsf-binutils-gdb-6a0db47ad1a3dd0eb5a861987dec349f6b902ef6.tar.gz
fsf-binutils-gdb-6a0db47ad1a3dd0eb5a861987dec349f6b902ef6.tar.bz2
* ld-mmix/sec-1.d: Adjust section order for recent ELF section
rearrangement.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-mmix/sec-1.d13
2 files changed, 13 insertions, 5 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index fe5329f..faba555 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-17 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * ld-mmix/sec-1.d: Adjust section order for recent ELF section
+ rearrangement.
+
2005-11-15 Jan Beulich <jbeulich@novell.com>
* ld-bootstrap/bootstrap.exp: Delete ld-partial.o and ld[123]*
diff --git a/ld/testsuite/ld-mmix/sec-1.d b/ld/testsuite/ld-mmix/sec-1.d
index 9581431..d71641b1 100644
--- a/ld/testsuite/ld-mmix/sec-1.d
+++ b/ld/testsuite/ld-mmix/sec-1.d
@@ -4,27 +4,30 @@
#objcopy_linked_file: -O mmo
#objdump: -sh
+# Test conversion from ELF to mmo with non-mmo-sections present,
+# testing that support.
+
.*: file format mmo
Sections:
Idx Name Size VMA LMA File off Algn
0 \.text 0+4 0+ 0+ 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, CODE
- 1 secname 0+19 0+4 0+4 0+ 2\*\*2
- CONTENTS, ALLOC, LOAD, READONLY, CODE
- 2 \.a\.fourth\.section 0+10 0+20 0+20 0+ 2\*\*2
+ 1 \.a\.fourth\.section 0+10 0+20 0+20 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, READONLY, DATA
+ 2 secname 0+19 0+4 0+4 0+ 2\*\*2
+ CONTENTS, ALLOC, LOAD, READONLY, CODE
3 anothersec 0+13 2000000000000000 2000000000000000 0+ 2\*\*2
CONTENTS, ALLOC, LOAD, DATA
4 thirdsec 0+a 0+ 0+ 0+ 2\*\*2
CONTENTS, READONLY
Contents of section \.text:
0000 e3fd0001 .*
+Contents of section \.a\.fourth\.section:
+ 0020 00000000 0087a238 00000000 302a55a8 .*
Contents of section secname:
0004 00000001 00000002 00000003 00000004 .*
0014 ffffffff fffff827 50 .*
-Contents of section \.a\.fourth\.section:
- 0020 00000000 0087a238 00000000 302a55a8 .*
Contents of section anothersec:
2000000000000000 0000000a 00000009 00000008 00000007 .*
2000000000000010 252729 .*