This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix sec-to-seg tests


Hi Guys,

  My recent patch to add tests of the mapping of sections to segments
  was failing on a few targets because the test data was not aligned
  to a 4-byte boundary.  So I am checking in the patch below to fix
  this problem.

Cheers
  Nick

ld/testsuite/ChangeLog
2008-08-17  Nick Clifton  <nickc@redhat.com>

	* ld-elf/sec-to-seg1.s: Shorten test data to align the section to
	a 4-byte boundary.

Index: ld/testsuite/ld-elf/sec-to-seg1.s
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/sec-to-seg1.s,v
retrieving revision 1.1
diff -c -3 -p -r1.1 sec-to-seg1.s
*** ld/testsuite/ld-elf/sec-to-seg1.s	30 Jul 2008 10:28:31 -0000	1.1
--- ld/testsuite/ld-elf/sec-to-seg1.s	17 Aug 2008 20:40:16 -0000
***************
*** 2,9 ****
  
  	.section	.rodata
  	.align	2
! 	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\000"
  	.align	2
! 	.ascii	"00000000000000000000000000000000\000"
  
  
--- 2,9 ----
  
  	.section	.rodata
  	.align	2
! 	.ascii	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\000"
  	.align	2
! 	.ascii	"0000000000000000000000000000000\000"
  
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]