From: nobody <> Date: Sun, 17 Feb 2002 21:22:25 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch 'binutils- X-Git-Tag: binutils-2_12~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=33efda81cd4f1dd2189e9e82e050d5b577306391;p=thirdparty%2Fbinutils-gdb.git This commit was manufactured by cvs2svn to create branch 'binutils- 2_12-branch'. Cherrypick from master 2002-02-17 21:22:24 UTC Hans-Peter Nilsson ' * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol': ld/testsuite/ld-mmix/sec-7a.s ld/testsuite/ld-mmix/sec-7b.s ld/testsuite/ld-mmix/sec-7c.s ld/testsuite/ld-mmix/sec-7d.s ld/testsuite/ld-mmix/sec-7e.s ld/testsuite/ld-mmix/sec-7m.d --- diff --git a/ld/testsuite/ld-mmix/sec-7a.s b/ld/testsuite/ld-mmix/sec-7a.s new file mode 100644 index 00000000000..607150bd749 --- /dev/null +++ b/ld/testsuite/ld-mmix/sec-7a.s @@ -0,0 +1,6 @@ + .section .debug_info + .byte 42 + .rept 32763 + .byte 0 + .endr + .byte 43 diff --git a/ld/testsuite/ld-mmix/sec-7b.s b/ld/testsuite/ld-mmix/sec-7b.s new file mode 100644 index 00000000000..77474b23a26 --- /dev/null +++ b/ld/testsuite/ld-mmix/sec-7b.s @@ -0,0 +1,6 @@ + .section .debug_info + .byte 44 + .rept 32764 + .byte 0 + .endr + .byte 45 diff --git a/ld/testsuite/ld-mmix/sec-7c.s b/ld/testsuite/ld-mmix/sec-7c.s new file mode 100644 index 00000000000..0631bfb0ab3 --- /dev/null +++ b/ld/testsuite/ld-mmix/sec-7c.s @@ -0,0 +1,6 @@ + .section .debug_info + .byte 46 + .rept 32765 + .byte 0 + .endr + .byte 47 diff --git a/ld/testsuite/ld-mmix/sec-7d.s b/ld/testsuite/ld-mmix/sec-7d.s new file mode 100644 index 00000000000..fe464e45585 --- /dev/null +++ b/ld/testsuite/ld-mmix/sec-7d.s @@ -0,0 +1,6 @@ + .section .debug_info + .byte 48 + .rept 32766 + .byte 0 + .endr + .byte 49 diff --git a/ld/testsuite/ld-mmix/sec-7e.s b/ld/testsuite/ld-mmix/sec-7e.s new file mode 100644 index 00000000000..50b2281f6bc --- /dev/null +++ b/ld/testsuite/ld-mmix/sec-7e.s @@ -0,0 +1,6 @@ + .section .debug_info + .byte 50 + .rept 32767 + .byte 0 + .endr + .byte 51 diff --git a/ld/testsuite/ld-mmix/sec-7m.d b/ld/testsuite/ld-mmix/sec-7m.d new file mode 100644 index 00000000000..c7449549a82 --- /dev/null +++ b/ld/testsuite/ld-mmix/sec-7m.d @@ -0,0 +1,38 @@ +#source: start.s +#source: sec-7a.s +#source: sec-7b.s +#source: sec-7c.s +#source: sec-7d.s +#source: sec-7e.s +#ld: -m mmo +#objcopy_linked_file: +#objdump: -hs + +# When producing mmo output: sections with an input length not a +# multiple of 4, and whose total length in linked output +# exceeded the "chunk size" (32768), would get to-4-padding +# inserted at each chunk division. Also check that section +# sizes aren't rounded up at objcopy. + +.*: 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 \.debug_info 0+27ffb 0+ 0+ 0+ 2\*\*2 +[ ]+CONTENTS, READONLY, DEBUGGING +Contents of section \.text: + 0000 e3fd0001[ ]+.* +Contents of section \.debug_info: + 0000 2a000000 00000000 00000000 00000000 .* +#... + 7ff0 00000000 00000000 00000000 2b2c0000 .* +#... + fff0 00000000 00000000 00002d2e 00000000 .* +#... + 17ff0 00000000 00000000 002f3000 00000000 .* +#... + 1fff0 00000000 00000000 00313200 00000000 .* +#... + 27ff0 00000000 00000000 000033[ ]+.*