This is the mail archive of the binutils@sources.redhat.com 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]

Committed, MMIX: gas testsuite updates for readelf changes


This fixes the breakages to the MMIX testsuite caused by the
readelf change in output format.  Tested on mmix-knuth-mmixware
(cross from i686-pc-linux-gnu, without tests requiring cross
gcc).

	* gas/mmix/bspec-1.d, gas/mmix/bspec-2.d, gas/mmix/comment-1.d:
	Adjust to changes in readelf output.

Index: gas/mmix/bspec-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mmix/bspec-1.d,v
retrieving revision 1.2
diff -p -c -r1.2 bspec-1.d
*** bspec-1.d	2001/11/11 11:29:22	1.2
--- bspec-1.d	2002/02/24 17:09:49
*************** There are 9 section headers, starting at
*** 7,14 ****
         0+18  0+18           7     4     8
  #...
  Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x... contains 1 entries:
! [ 	]+Offset[ 	]+Info[ 	]+Type[ 	]+Symbol's Value[ 	]+Symbol's Name[ 	]+Addend
! 0+  0+500000004 R_MMIX_32             0+  forw                      \+ 0

  Symbol table '\.symtab' contains 6 entries:
     Num:    Value          Size Type    Bind   Vis      Ndx Name
--- 7,14 ----
         0+18  0+18           7     4     8
  #...
  Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x... contains 1 entries:
! .*
! 0+  0+500000004 R_MMIX_32 +0+ +forw +\+ 0

  Symbol table '\.symtab' contains 6 entries:
     Num:    Value          Size Type    Bind   Vis      Ndx Name
Index: gas/mmix/bspec-2.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mmix/bspec-2.d,v
retrieving revision 1.2
diff -p -c -r1.2 bspec-2.d
*** bspec-2.d	2001/11/11 11:29:22	1.2
--- bspec-2.d	2002/02/24 17:09:49
*************** There are 11 section headers, starting a
*** 11,23 ****
         0+18  0+18           9     6     8
  #...
  Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x4.. contains 2 entries:
! [ 	]+Offset[ 	]+Info[ 	]+Type[ 	]+Symbol's Value[ 	]+Symbol's Name[ 	]+Addend
! 0+  0+600000004 R_MMIX_32             0+  forw                      \+ 0
! 0+8  0+700000005 R_MMIX_64             0+  other                     \+ 0

  Relocation section '\.rela\.MMIX\.spec_data\.3' at offset 0x4.. contains 1 entries:
! [ 	]+Offset[ 	]+Info[ 	]+Type[ 	]+Symbol's Value[ 	]+Symbol's Name[ 	]+Addend
! 0+  0+700000005 R_MMIX_64             0+  other                     \+ 0

  Hex dump of section '\.text':
    0x0+ fd010203                            .*
--- 11,23 ----
         0+18  0+18           9     6     8
  #...
  Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x4.. contains 2 entries:
! .*
! 0+  0+600000004 R_MMIX_32 +0+ +forw +\+ 0
! 0+8  0+700000005 R_MMIX_64 +0+ +other +\+ 0

  Relocation section '\.rela\.MMIX\.spec_data\.3' at offset 0x4.. contains 1 entries:
! .*
! 0+  0+700000005 R_MMIX_64 +0+ +other +\+ 0

  Hex dump of section '\.text':
    0x0+ fd010203                            .*
Index: gas/mmix/comment-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mmix/comment-1.d,v
retrieving revision 1.2
diff -p -c -r1.2 comment-1.d
*** comment-1.d	2001/11/11 11:29:22	1.2
--- comment-1.d	2002/02/24 17:09:49
*************** There are 10 section headers, starting a
*** 8,19 ****
         0+8  0+   W       0     0     1
  #...
  Relocation section '\.rela\.text' at offset 0x... contains 5 entries:
! [ 	]+Offset[ 	]+Info[ 	]+Type[ 	]+Symbol's Value[ 	]+Symbol's Name[ 	]+Addend
! 0+34  0+90000001e R_MMIX_ADDR19         0+  target                    \+ 2c
! 0+46  0+a00000002 R_MMIX_16             0+  target2                   \+ 30
! 0+48  0+b0000001f R_MMIX_ADDR27         0+  target3                   \+ 38
! 0+54  0+b0000001e R_MMIX_ADDR19         0+  target3                   \+ 0
! 0+78  0+23 R_MMIX_LOCAL                                   0+30

  Symbol table '\.symtab' contains 12 entries:
     Num:    Value          Size Type    Bind   Vis      Ndx Name
--- 8,19 ----
         0+8  0+   W       0     0     1
  #...
  Relocation section '\.rela\.text' at offset 0x... contains 5 entries:
! .*
! 0+34  0+90000001e R_MMIX_ADDR19 +0+ +target +\+ 2c
! 0+46  0+a00000002 R_MMIX_16 +0+ +target2 +\+ 30
! 0+48  0+b0000001f R_MMIX_ADDR27 +0+ +target3 +\+ 38
! 0+54  0+b0000001e R_MMIX_ADDR19 +0+ +target3 +\+ 0
! 0+78  0+23 R_MMIX_LOCAL +0+30

  Symbol table '\.symtab' contains 12 entries:
     Num:    Value          Size Type    Bind   Vis      Ndx Name

brgds, H-P


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