Fix ld-d10v/default_layout to allow for alignment

Nick Clifton nickc@redhat.com
Tue Mar 1 17:07:00 GMT 2005


Hi Guys,

  I am applying the patch below to fix the ld-d10v/default_layout test
  to allow for the fact that the sections are now aligned properly.

Cheers
  Nick

ld/teststuite/ChangeLog
2005-03-01  Nick Clifton  <nickc@redhat.com>

	* ld-d10v/default_layout.d: Adjust expected offsets to allow for
	section alignment.
	
Index: ld/testsuite/ld-d10v/default_layout.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-d10v/default_layout.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 default_layout.d
*** ld/testsuite/ld-d10v/default_layout.d	17 Jun 2002 14:05:52 -0000	1.1
--- ld/testsuite/ld-d10v/default_layout.d	1 Mar 2005 16:58:19 -0000
*************** Sections:
*** 8,16 ****
  Idx Name          Size      VMA       LMA       File off  Algn
    0 \.text         00000004  01014000  01014000  00001000  2\*\*0
                    CONTENTS, ALLOC, LOAD, READONLY, CODE
!   1 \.data         00000000  02000004  02000004  00001004  2\*\*0
                    CONTENTS, ALLOC, LOAD, DATA
!   2 \.bss          00000000  02000004  02000004  00001004  2\*\*0
                    ALLOC
!   3 .stack        00000000  0200bffe  0200bffe  00001004  2\*\*0
                    CONTENTS
--- 8,16 ----
  Idx Name          Size      VMA       LMA       File off  Algn
    0 \.text         00000004  01014000  01014000  00001000  2\*\*0
                    CONTENTS, ALLOC, LOAD, READONLY, CODE
!   1 \.data         00000000  02000000  02000000  00002000  2\*\*0
                    CONTENTS, ALLOC, LOAD, DATA
!   2 \.bss          00000000  02000000  02000000  00002000  2\*\*0
                    ALLOC
!   3 .stack        00000000  0200bffc  0200bffc  00002000  2\*\*0
                    CONTENTS
    



More information about the Binutils mailing list