gdb: Convert language la_word_break_characters field to a method
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mmix / sec-1.d
index d1a9d8df84de4599fa1018d8796ab19f6213741b..5e31b3fd645bae78be09266598d834693af89799 100644 (file)
@@ -1,8 +1,11 @@
 #source: sec-1.s
 #source: start.s
-#ld: -m elf64mmix
+#ld: -m elf64mmix -u _etext -u _edata -u _end
 #objcopy_linked_file: -O mmo
-#objdump: -sh
+#objdump: -sht
+
+# Test conversion from ELF to mmo with non-mmo-sections present,
+# testing that support.
 
 .*:     file format mmo
 
@@ -10,23 +13,32 @@ Sections:
 Idx Name          Size      VMA               LMA               File off  Algn
   0 \.text         0+4  0+  0+  0+  2\*\*2
                   CONTENTS, ALLOC, LOAD, CODE
-  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
+  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
+                  CONTENTS, ALLOC, LOAD, READONLY, DATA
   3 anothersec    0+13  2000000000000000  2000000000000000  0+  2\*\*2
                   CONTENTS, ALLOC, LOAD, DATA
   4 thirdsec      0+a  0+  0+  0+  2\*\*2
                   CONTENTS, READONLY
+
+SYMBOL TABLE:
+#...
+0+1d g +\*ABS\* _etext
+#...
+2000000000000013 g +\*ABS\* __bss_start
+2000000000000013 g +\*ABS\* _edata
+2000000000000018 g +\*ABS\* _end
+
 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:
- 0000 0000000a 00000009 00000008 00000007  .*
- 0010 252729                               .*
2000000000000000 0000000a 00000009 00000008 00000007  .*
2000000000000010 252729                               .*
 Contents of section thirdsec:
  0000 00030d41 000186a2 2628               .*
This page took 0.023937 seconds and 4 git commands to generate.