]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* ld-mmix/sec-1.d, ld-mmix/sec-3.d: Force end-of-section symbols
authorHans-Peter Nilsson <hp@axis.com>
Mon, 10 Sep 2012 10:15:26 +0000 (10:15 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Mon, 10 Sep 2012 10:15:26 +0000 (10:15 +0000)
to be emitted and checked.
* ld-mmix/data-1.s, ld-mmix/orph-.d, ld-mmix/orph-awp.d,
ld-mmix/orph-d-a.d, ld-mmix/orph-d-awn.d, ld-mmix/orph-d-awp.d,
ld-mmix/orph-d-awpe.d, ld-mmix/orph-d.d, ld-mmix/orph-dc-ap.d,
ld-mmix/orph-dc-awp.d, ld-mmix/orph-dc.d, ld-mmix/tm-ae.s,
ld-mmix/tm-ape.s, ld-mmix/tm-awne.s, ld-mmix/tm-awpe.s,
ld-mmix/tm-d-ap.s, ld-mmix/tm-d-awp.s, ld-mmix/tm-d.s,
ld-mmix/tm-e.s, ld-mmix/tm-orph1.s: New test files.

ld/testsuite/ChangeLog
ld/testsuite/ld-mmix/sec-1.d
ld/testsuite/ld-mmix/sec-3.d

index b9abfbd8e33199e9318ef1249e1fe86f29d5b103..6623c4097175817d6d8f9e296f687c9d003394bf 100644 (file)
@@ -1,3 +1,15 @@
+2012-09-10  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * ld-mmix/sec-1.d, ld-mmix/sec-3.d: Force end-of-section symbols
+       to be emitted and checked.
+       * ld-mmix/data-1.s, ld-mmix/orph-.d, ld-mmix/orph-awp.d,
+       ld-mmix/orph-d-a.d, ld-mmix/orph-d-awn.d, ld-mmix/orph-d-awp.d,
+       ld-mmix/orph-d-awpe.d, ld-mmix/orph-d.d, ld-mmix/orph-dc-ap.d,
+       ld-mmix/orph-dc-awp.d, ld-mmix/orph-dc.d, ld-mmix/tm-ae.s,
+       ld-mmix/tm-ape.s, ld-mmix/tm-awne.s, ld-mmix/tm-awpe.s,
+       ld-mmix/tm-d-ap.s, ld-mmix/tm-d-awp.s, ld-mmix/tm-d.s,
+       ld-mmix/tm-e.s, ld-mmix/tm-orph1.s: New test files.
+
 2012-08-28  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * ld-elf/export-class.sd: New test.
index eab62a2f03ae67205554852f41987ea2800cca86..5e31b3fd645bae78be09266598d834693af89799 100644 (file)
@@ -1,8 +1,8 @@
 #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.
@@ -21,6 +21,15 @@ Idx Name          Size      VMA               LMA               File off  Algn
                   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 secname:
index 791b5ea2aa1645796ec4ce23983e2103e1a1c7da..290052b99ebd2fc26d9788b35f91957f0fbb9ec3 100644 (file)
@@ -1,8 +1,8 @@
 #source: sec-1.s
 #source: start.s
 #source: data1.s
-#ld: -m mmo
-#objdump: -sh
+#ld: -m mmo -u __etext -u __Sdata -u __Edata -u __Sbss -u __Ebss -u __Eall
+#objdump: -sht
 
 .*:     file format mmo
 
@@ -20,6 +20,17 @@ Idx Name          Size      VMA               LMA               File off  Algn
                   CONTENTS, ALLOC, LOAD, DATA
   5 thirdsec      0+a  0+  0+  0+  2\*\*2
                   CONTENTS, READONLY
+
+SYMBOL TABLE:
+#...
+0+30 g +\*ABS\* __etext
+200000000000001c g +\*ABS\* __Ebss
+200000000000001b g +\*ABS\* __Edata
+#...
+200000000000001c g +\*ABS\* __Eall
+20+ g +\.data __Sdata
+200000000000001c g +\*ABS\* __Sbss
+
 Contents of section \.text:
  0000 e3fd0001                             .*
 Contents of section secname: