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]

FYI: SH ld testsuite fix


This test has been failing on SH for no good reason.  I'm not sure why
the offsets have changed, but they have, and the produced library
looks correct, so I'm checking this in as obvious.

Index: ld/testsuite/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* ld-sh/shared-1.d: Fix incorrect offsets.

Index: ld/testsuite/ld-sh/shared-1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/shared-1.d,v
retrieving revision 1.2
diff -u -p -r1.2 shared-1.d
--- ld/testsuite/ld-sh/shared-1.d 2001/10/15 00:14:37 1.2
+++ ld/testsuite/ld-sh/shared-1.d 2002/02/02 02:18:04
@@ -11,12 +11,12 @@
 # about how, when, where and which addends to use.  A DSO must have the
 # same value in the addend as in the data, so either can be used.
 
-Relocation section '\.rela\.text' at offset 0x32c contains 1 entries:
+Relocation section '\.rela\.text' at offset 0x328 contains 1 entries:
  Offset     Info    Type            Symbol's Value  Symbol's Name          Addend
-00000340  000000a5 R_SH_RELATIVE                                          00000344
+0000033c  000000a5 R_SH_RELATIVE                                          00000344
 
 Hex dump of section '\.rela\.text':
-  0x0000032c          00000344 000000a5 00000340 .*
+  0x00000328          00000340 000000a5 0000033c .*
 
 Hex dump of section '\.text':
-  0x00000338          00000344 00090009 00090009 .*
+  0x00000334          00000340 00090009 00090009 .*

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

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