diff options
-rw-r--r-- | bfd/ChangeLog | 8 | ||||
-rw-r--r-- | bfd/archures.c | 22 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 4 | ||||
-rw-r--r-- | bfd/cpu-m68k.c | 26 | ||||
-rw-r--r-- | bfd/ieee.c | 6 | ||||
-rw-r--r-- | bfd/po/bfd.pot | 42 |
6 files changed, 80 insertions, 28 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8029deb..5c7002b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2001-03-06 Igor Shevlyakov <igor@windriver.com> + + * archures.c (bfd_default_scan): Add Coldfire CPUs. + * bfd-in2.h: Regenerate. + * cpu-m68k.c: Add Coldfire CPUs for arch table. + * ieee.c (ieee_write_processor): Set proper id for + Coldfire CPUs. + 2001-03-01 D.J. Barrow <djbarrow@de.ibm.com,barrow_dj@yahoo.com> * configure.in: Add s390 target. diff --git a/bfd/archures.c b/bfd/archures.c index 7ca1c06..7185d5a 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -1,5 +1,5 @@ /* BFD library support routines for architectures. - Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 97, 98, 1999, 2000 + Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 97, 98, 1999, 2000, 2001 Free Software Foundation, Inc. Hacked by John Gilmore and Steve Chamberlain of Cygnus Support. @@ -79,6 +79,10 @@ DESCRIPTION .#define bfd_mach_m68040 6 .#define bfd_mach_m68060 7 .#define bfd_mach_cpu32 8 +.#define bfd_mach_mcf5200 9 +.#define bfd_mach_mcf5206e 10 +.#define bfd_mach_mcf5307 11 +.#define bfd_mach_mcf5407 12 . bfd_arch_vax, {* DEC Vax *} . bfd_arch_i960, {* Intel 960 *} . {* The order of the following is important. @@ -856,6 +860,22 @@ bfd_default_scan (info, string) arch = bfd_arch_m68k; number = bfd_mach_cpu32; break; + case 5200: + arch = bfd_arch_m68k; + number = bfd_mach_mcf5200; + break; + case 5206: + arch = bfd_arch_m68k; + number = bfd_mach_mcf5206e; + break; + case 5307: + arch = bfd_arch_m68k; + number = bfd_mach_mcf5307; + break; + case 5407: + arch = bfd_arch_m68k; + number = bfd_mach_mcf5407; + break; case 32000: arch = bfd_arch_we32k; diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 46240ec..122d85e 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -1348,6 +1348,10 @@ enum bfd_architecture #define bfd_mach_m68040 6 #define bfd_mach_m68060 7 #define bfd_mach_cpu32 8 +#define bfd_mach_mcf5200 9 +#define bfd_mach_mcf5206e 10 +#define bfd_mach_mcf5307 11 +#define bfd_mach_mcf5407 12 bfd_arch_vax, /* DEC Vax */ bfd_arch_i960, /* Intel 960 */ /* The order of the following is important. diff --git a/bfd/cpu-m68k.c b/bfd/cpu-m68k.c index 6b67f18..22d82fa 100644 --- a/bfd/cpu-m68k.c +++ b/bfd/cpu-m68k.c @@ -1,5 +1,5 @@ /* BFD library support routines for architectures. - Copyright (C) 1990, 91, 92, 93, 94, 95, 97, 1998 + Copyright (C) 1990, 91, 92, 93, 94, 95, 97, 1998, 2001 Free Software Foundation, Inc. Hacked by Steve Chamberlain of Cygnus Support. @@ -27,16 +27,20 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ { 32, 32, 8, bfd_arch_m68k, name, "m68k",print,2,d,bfd_default_compatible,bfd_default_scan, next, } static const bfd_arch_info_type arch_info_struct[] = -{ - N(bfd_mach_m68000, "m68k:68000", false, &arch_info_struct[1]), - N(bfd_mach_m68008, "m68k:68008", false, &arch_info_struct[2]), - N(bfd_mach_m68010, "m68k:68010", false, &arch_info_struct[3]), - N(bfd_mach_m68020, "m68k:68020", false, &arch_info_struct[4]), - N(bfd_mach_m68030, "m68k:68030", false, &arch_info_struct[5]), - N(bfd_mach_m68040, "m68k:68040", false, &arch_info_struct[6]), - N(bfd_mach_cpu32, "m68k:cpu32", false, &arch_info_struct[7]), - N(bfd_mach_m68060, "m68k:68060", false, 0), -}; + { + N(bfd_mach_m68000, "m68k:68000", false, &arch_info_struct[1]), + N(bfd_mach_m68008, "m68k:68008", false, &arch_info_struct[2]), + N(bfd_mach_m68010, "m68k:68010", false, &arch_info_struct[3]), + N(bfd_mach_m68020, "m68k:68020", false, &arch_info_struct[4]), + N(bfd_mach_m68030, "m68k:68030", false, &arch_info_struct[5]), + N(bfd_mach_m68040, "m68k:68040", false, &arch_info_struct[6]), + N(bfd_mach_cpu32, "m68k:cpu32", false, &arch_info_struct[7]), + N(bfd_mach_mcf5200,"m68k:5200", false, &arch_info_struct[8]), + N(bfd_mach_mcf5206e,"m68k:5206e",false, &arch_info_struct[9]), + N(bfd_mach_mcf5307, "m68k:5307", false, &arch_info_struct[10]), + N(bfd_mach_mcf5407, "m68k:5407", false, &arch_info_struct[11]), + N(bfd_mach_m68060, "m68k:68060", false, 0), + }; const bfd_arch_info_type bfd_m68k_arch = N(0, "m68k", true, &arch_info_struct[0]); @@ -1,5 +1,5 @@ /* BFD back-end for ieee-695 objects. - Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 97, 98, 1999 + Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 97, 98, 1999, 2001 Free Software Foundation, Inc. Written by Steve Chamberlain of Cygnus Support. @@ -3581,6 +3581,10 @@ ieee_write_processor (abfd) case bfd_mach_m68040: id = "68040"; break; case bfd_mach_m68060: id = "68060"; break; case bfd_mach_cpu32: id = "cpu32"; break; + case bfd_mach_mcf5200:id = "5200"; break; + case bfd_mach_mcf5206e:id = "5206e"; break; + case bfd_mach_mcf5307:id = "5307"; break; + case bfd_mach_mcf5407:id = "5407"; break; } if (! ieee_write_id (abfd, id)) diff --git a/bfd/po/bfd.pot b/bfd/po/bfd.pot index f7d540f..de27e27 100644 --- a/bfd/po/bfd.pot +++ b/bfd/po/bfd.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-02-26 17:19-0800\n" +"POT-Creation-Date: 2001-03-06 11:39-0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -49,7 +49,7 @@ msgstr "" msgid "*unknown*" msgstr "" -#: aoutx.h:3681 +#: aoutx.h:3682 #, c-format msgid "%s: relocateable link from %s to %s not supported" msgstr "" @@ -326,42 +326,42 @@ msgstr "" msgid "Warning: Clearing the interworking flag of %s due to outside request" msgstr "" -#: coffcode.h:1080 +#: coffcode.h:1078 #, c-format msgid "%s (%s): Section flag %s (0x%x) ignored" msgstr "" -#: coffcode.h:2194 +#: coffcode.h:2192 #, c-format msgid "Unrecognized TI COFF target id '0x%x'" msgstr "" -#: coffcode.h:4252 +#: coffcode.h:4250 #, c-format msgid "%s: warning: illegal symbol index %ld in line numbers" msgstr "" -#: coffcode.h:4266 +#: coffcode.h:4264 #, c-format msgid "%s: warning: duplicate line number information for `%s'" msgstr "" -#: coffcode.h:4626 +#: coffcode.h:4624 #, c-format msgid "%s: Unrecognized storage class %d for %s symbol `%s'" msgstr "" -#: coffcode.h:4757 +#: coffcode.h:4755 #, c-format msgid "warning: %s: local symbol `%s' has no section" msgstr "" -#: coff-tic54x.c:376 coffcode.h:4868 +#: coff-tic54x.c:376 coffcode.h:4866 #, c-format msgid "%s: warning: illegal symbol index %ld in relocs" msgstr "" -#: coffcode.h:4906 +#: coffcode.h:4904 #, c-format msgid "%s: illegal relocation type %d at address 0x%lx" msgstr "" @@ -699,27 +699,39 @@ msgstr "" msgid " [Version1 EABI]" msgstr "" -#: elf32-arm.h:2232 +#: elf32-arm.h:2232 elf32-arm.h:2243 msgid " [sorted symbol table]" msgstr "" -#: elf32-arm.h:2234 +#: elf32-arm.h:2234 elf32-arm.h:2245 msgid " [unsorted symbol table]" msgstr "" #: elf32-arm.h:2240 +msgid " [Version2 EABI]" +msgstr "" + +#: elf32-arm.h:2248 +msgid " [dynamic symbols use segment index]" +msgstr "" + +#: elf32-arm.h:2251 +msgid " [mapping symbols precede others]" +msgstr "" + +#: elf32-arm.h:2258 msgid " <EABI version unrecognised>" msgstr "" -#: elf32-arm.h:2247 +#: elf32-arm.h:2265 msgid " [relocatable executable]" msgstr "" -#: elf32-arm.h:2250 +#: elf32-arm.h:2268 msgid " [has entry point]" msgstr "" -#: elf32-arm.h:2255 +#: elf32-arm.h:2273 msgid "<Unrecognised flag bits set>" msgstr "" |