dlltool patch

Andrew Haley aph@pasanda.cygnus.co.uk
Thu Dec 23 10:44:00 GMT 1999


This is a fairly obvious (when you find it - sigh :-) thinko.

Andrew.

1999-12-23  Andrew Haley  <aph@cygnus.com>

        * dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the
        jtab; was 8.


Index: dlltool.c
===================================================================
RCS file: /cvs/binutils/binutils/binutils/dlltool.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- dlltool.c	1999/12/17 18:40:42	1.19
+++ dlltool.c	1999/12/23 18:41:13	1.20
@@ -557,7 +557,7 @@
     "jmpi\t1\n\tnop\n\t.long",
     ".global", ".space", ".align\t2",".align\t4", "",
     "pe-mcore-big", bfd_arch_mcore,
-    mcore_be_jtab, sizeof (mcore_be_jtab), 8
+    mcore_be_jtab, sizeof (mcore_be_jtab), 4
   }
   ,
   {
@@ -566,7 +566,7 @@
     "jmpi\t1\n\tnop\n\t.long",
     ".global", ".space", ".align\t2",".align\t4", "-EL",
     "pe-mcore-little", bfd_arch_mcore,
-    mcore_le_jtab, sizeof (mcore_le_jtab), 8
+    mcore_le_jtab, sizeof (mcore_le_jtab), 4
   }
   ,
   {
@@ -575,7 +575,7 @@
     "jmpi\t1\n\tnop\n\t.long",
     ".global", ".space", ".align\t2",".align\t4", "",
     "elf32-mcore-big", bfd_arch_mcore,
-    mcore_be_jtab, sizeof (mcore_be_jtab), 8
+    mcore_be_jtab, sizeof (mcore_be_jtab), 4
   }
   ,
   {
@@ -584,7 +584,7 @@
     "jmpi\t1\n\tnop\n\t.long",
     ".global", ".space", ".align\t2",".align\t4", "-EL",
     "elf32-mcore-little", bfd_arch_mcore,
-    mcore_le_jtab, sizeof (mcore_le_jtab), 8
+    mcore_le_jtab, sizeof (mcore_le_jtab), 4
   }
   ,
   {


More information about the Binutils mailing list