public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: bfd patch for backward compatibility with older IEEE objects
@ 2000-07-10 11:30 Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2000-07-10 11:30 UTC (permalink / raw)
  To: AAganichev; +Cc: binutils

Hi Alexander,

: +2000-07-10  Alexander Aganichev  <AAganichev@hypercom.com>
: +
: +    * archures.c (bfd_default_scan): Add set of bfd_mach_ cases for
: +    compatibility with older binutils.
: +

Approved and applied.

Cheers
	Nick

PS.  In the future please just send the ChangeLog entry as plain
text, not a diff.

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

* bfd patch for backward compatibility with older IEEE objects
@ 2000-07-09 23:25 Alexander Aganichev
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Aganichev @ 2000-07-09 23:25 UTC (permalink / raw)
  To: binutils

Hi!

The following patch should fix reading older IEEE objects by fresh
binutils. I'm not sure, but it looks like all or a lot of m68k related
cases below the code I've added is useless.

diff -ruNd binutils-000708/bfd/ChangeLog
binutils-000708-hypercom/bfd/ChangeLog
--- binutils-000708/bfd/ChangeLog  Mon Jul 10 09:38:01 2000
+++ binutils-000708-hypercom/bfd/ChangeLog    Mon Jul 10 10:14:02 2000
@@ -1,3 +1,8 @@
+2000-07-10  Alexander Aganichev  <AAganichev@hypercom.com>
+
+    * archures.c (bfd_default_scan): Add set of bfd_mach_ cases for
+    compatibility with older binutils.
+
 2000-07-08  Alan Modra  <alan@linuxcare.com.au>

     * section.c (struct sec): Add id field.  Tidy comment formatting.
diff -ruNd binutils-000708/bfd/archures.c
binutils-000708-hypercom/bfd/archures.c
--- binutils-000708/bfd/archures.c Mon Jul 10 09:38:01 2000
+++ binutils-000708-hypercom/bfd/archures.c   Mon Jul 10 10:15:25 2000
@@ -807,6 +807,18 @@
   switch (number)
     {
       /* FIXME: These are needed to parse IEEE objects.  */
+      /* The following seven case's are here only for compatibility with
+     older binutils (at least IEEE objects from binutils 2.9.1 require
+     these) */
+    case bfd_mach_m68000:
+    case bfd_mach_m68010:
+    case bfd_mach_m68020:
+    case bfd_mach_m68030:
+    case bfd_mach_m68040:
+    case bfd_mach_m68060:
+    case bfd_mach_cpu32:
+      arch = bfd_arch_m68k;
+      break;
     case 68000:
       arch = bfd_arch_m68k;
       number = bfd_mach_m68000;

--
Alexander Aganichev
Software Engineer
Hypercom Europe Limited, Inc.

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

end of thread, other threads:[~2000-07-10 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-10 11:30 bfd patch for backward compatibility with older IEEE objects Nick Clifton
  -- strict thread matches above, loose matches on Subject: below --
2000-07-09 23:25 Alexander Aganichev

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).