source: trunk/binutils/ld/testsuite/ld-mmix/sec-5.d

Last change on this file was 607, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 866 bytes
Line 
1#source: start.s
2#ld: -m mmo -T $srcdir/$subdir/mmosec2.ld
3#objdump: -sh
4
5# Check that sections are automatically created to cope with contents at
6# unexpected addresses. We do this by linking .text at an unexpected
7# address. As .text (like .data) does not get a section descriptor, the
8# output gets a LOP_LOC at an unexpected address, and a unique section is
9# created. This test will have to be changed if .text gets a section
10# descriptor if linked to an unexpected address.
11
12.*: file format mmo
13
14Sections:
15Idx Name Size VMA LMA File off Algn
16 0 \.text 0+ 0+ 0+ 0+ 2\*\*2
17
18 1 \.MMIX\.sec\.0 0+4 1000000000000000 1000000000000000 0+ 2\*\*2
19 CONTENTS, ALLOC, LOAD
20Contents of section \.MMIX\.sec\.0:
21 1000000000000000 e3fd0001 .*
Note: See TracBrowser for help on using the repository browser.