public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* make check failures...
@ 1999-08-30 11:08 scottb
  1999-08-30 20:15 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: scottb @ 1999-08-30 11:08 UTC (permalink / raw)
  To: binutils mailing list

Hi,

I get the following two failures when running make check on the current
CVS tree on a NetWinder.

Running /home/scottb/cvstree/binutils/gas/testsuite/gas/elf/elf.exp ...
FAIL: elf section0
FAIL: elf section1

I looked into this and found the output different from the .d files it
is compared against.  It seems section alignment is to blame.  A patch
that fixed it for me is attached.  

1999-08-30  Scott Bambrough  <scottb@netwinder.org>

	* gas/testsuite/gas/elf/section0.d: Fixed to match output
	  from objdump -s.
	* gas/testsuite/gas/elf/section1.d: Fixed to match output
	  from objdump -s.
Index: section0.d
===================================================================
RCS file: /cvs/binutils/binutils/gas/testsuite/gas/elf/section0.d,v
retrieving revision 1.1
diff -u -p -r1.1 section0.d
--- section0.d	1999/06/05 23:14:42	1.1
+++ section0.d	1999/08/30 17:39:17
@@ -5,10 +5,10 @@
 
 Contents of section .text:
 Contents of section .data:
- 0000 0000                                 ..              
+ 0000 00000000                             ....            
 Contents of section A:
- 0000 010101                               ...             
+ 0000 01010100                             ....            
 Contents of section B:
- 0000 0202                                 ..              
+ 0000 02020000                             ....            
 Contents of section C:
- 0000 03                                   .               
+ 0000 03000000                             ....            
Index: section1.d
===================================================================
RCS file: /cvs/binutils/binutils/gas/testsuite/gas/elf/section1.d,v
retrieving revision 1.1
diff -u -p -r1.1 section1.d
--- section1.d	1999/06/05 23:14:42	1.1
+++ section1.d	1999/08/30 17:39:17
@@ -5,10 +5,10 @@
 
 Contents of section .text:
 Contents of section .data:
- 0000 000000                               ...             
+ 0000 00000000                             ....            
 Contents of section A:
- 0000 01010101 0101                        ......          
+ 0000 01010101 01010000                    ........        
 Contents of section B:
- 0000 02020202 02                          .....           
+ 0000 02020202 02000000                    ........        
 Contents of section C:
- 0000 0303                                 ..              
+ 0000 03030000                             ....            

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: make check failures...
  1999-08-30 11:08 make check failures scottb
@ 1999-08-30 20:15 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 1999-08-30 20:15 UTC (permalink / raw)
  To: scottb; +Cc: binutils

   Date: Mon, 30 Aug 1999 14:05:25 -0400
   From: scottb <scottb@netwinder.org>

   I get the following two failures when running make check on the current
   CVS tree on a NetWinder.

   Running /home/scottb/cvstree/binutils/gas/testsuite/gas/elf/elf.exp ...
   FAIL: elf section0
   FAIL: elf section1

   I looked into this and found the output different from the .d files it
   is compared against.  It seems section alignment is to blame.  A patch
   that fixed it for me is attached.  

For an ELF target I would not expect any section alignment of this
sort.  The tests pass correctly for me for ELF targets, and indeed
your patch would cause the tests to fail.  Your sections appear to be
aligned to 4 byte boundaries.  Why is this happening?

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-30 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-30 11:08 make check failures scottb
1999-08-30 20:15 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).