2003-10-08 Dave Brolley <brolley@redhat.com>
On behalf of Michael Snyder <msnyder@redhat.com> * archures.c: Add FRV fr550 machine. * cpu-frv.c: Ditto. * elf32-frv.c: Ditto. * bfd-in2.h: Regenerate.
This commit is contained in:
parent
ac7c07acea
commit
9c8ee6396f
5 changed files with 18 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2003-10-08 Dave Brolley <brolley@redhat.com>
|
||||
On behalf of Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* archures.c: Add FRV fr550 machine.
|
||||
* cpu-frv.c: Ditto.
|
||||
* elf32-frv.c: Ditto.
|
||||
* bfd-in2.h: Regenerate.
|
||||
|
||||
2003-10-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||
|
||||
* elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code
|
||||
|
|
|
@ -281,6 +281,7 @@ DESCRIPTION
|
|||
.#define bfd_mach_fr400 400
|
||||
.#define bfd_mach_frvtomcat 499 {* fr500 prototype *}
|
||||
.#define bfd_mach_fr500 500
|
||||
.#define bfd_mach_fr550 550
|
||||
. bfd_arch_mcore,
|
||||
. bfd_arch_ia64, {* HP/Intel ia64 *}
|
||||
.#define bfd_mach_ia64_elf64 64
|
||||
|
|
|
@ -1710,6 +1710,7 @@ enum bfd_architecture
|
|||
#define bfd_mach_fr400 400
|
||||
#define bfd_mach_frvtomcat 499 /* fr500 prototype */
|
||||
#define bfd_mach_fr500 500
|
||||
#define bfd_mach_fr550 550
|
||||
bfd_arch_mcore,
|
||||
bfd_arch_ia64, /* HP/Intel ia64 */
|
||||
#define bfd_mach_ia64_elf64 64
|
||||
|
|
|
@ -46,8 +46,11 @@ static const bfd_arch_info_type arch_info_400
|
|||
static const bfd_arch_info_type arch_info_500
|
||||
= FRV_ARCH (bfd_mach_fr500, "fr500", FALSE, &arch_info_400);
|
||||
|
||||
static const bfd_arch_info_type arch_info_550
|
||||
= FRV_ARCH (bfd_mach_fr550, "fr550", FALSE, &arch_info_500);
|
||||
|
||||
static const bfd_arch_info_type arch_info_simple
|
||||
= FRV_ARCH (bfd_mach_frvsimple, "simple", FALSE, &arch_info_500);
|
||||
= FRV_ARCH (bfd_mach_frvsimple, "simple", FALSE, &arch_info_550);
|
||||
|
||||
static const bfd_arch_info_type arch_info_tomcat
|
||||
= FRV_ARCH (bfd_mach_frvtomcat, "tomcat", FALSE, &arch_info_simple);
|
||||
|
|
|
@ -997,6 +997,7 @@ elf32_frv_machine (abfd)
|
|||
switch (elf_elfheader (abfd)->e_flags & EF_FRV_CPU_MASK)
|
||||
{
|
||||
default: break;
|
||||
case EF_FRV_CPU_FR550: return bfd_mach_fr550;
|
||||
case EF_FRV_CPU_FR500: return bfd_mach_fr500;
|
||||
case EF_FRV_CPU_FR400: return bfd_mach_fr400;
|
||||
case EF_FRV_CPU_FR300: return bfd_mach_fr300;
|
||||
|
@ -1245,6 +1246,7 @@ frv_elf_merge_private_bfd_data (ibfd, obfd)
|
|||
default: strcat (new_opt, " -mcpu=?"); break;
|
||||
case EF_FRV_CPU_GENERIC: strcat (new_opt, " -mcpu=frv"); break;
|
||||
case EF_FRV_CPU_SIMPLE: strcat (new_opt, " -mcpu=simple"); break;
|
||||
case EF_FRV_CPU_FR550: strcat (new_opt, " -mcpu=fr550"); break;
|
||||
case EF_FRV_CPU_FR500: strcat (new_opt, " -mcpu=fr500"); break;
|
||||
case EF_FRV_CPU_FR400: strcat (new_opt, " -mcpu=fr400"); break;
|
||||
case EF_FRV_CPU_FR300: strcat (new_opt, " -mcpu=fr300"); break;
|
||||
|
@ -1256,6 +1258,7 @@ frv_elf_merge_private_bfd_data (ibfd, obfd)
|
|||
default: strcat (old_opt, " -mcpu=?"); break;
|
||||
case EF_FRV_CPU_GENERIC: strcat (old_opt, " -mcpu=frv"); break;
|
||||
case EF_FRV_CPU_SIMPLE: strcat (old_opt, " -mcpu=simple"); break;
|
||||
case EF_FRV_CPU_FR550: strcat (old_opt, " -mcpu=fr550"); break;
|
||||
case EF_FRV_CPU_FR500: strcat (old_opt, " -mcpu=fr500"); break;
|
||||
case EF_FRV_CPU_FR400: strcat (old_opt, " -mcpu=fr400"); break;
|
||||
case EF_FRV_CPU_FR300: strcat (old_opt, " -mcpu=fr300"); break;
|
||||
|
@ -1322,6 +1325,7 @@ frv_elf_print_private_bfd_data (abfd, ptr)
|
|||
{
|
||||
default: break;
|
||||
case EF_FRV_CPU_SIMPLE: fprintf (file, " -mcpu=simple"); break;
|
||||
case EF_FRV_CPU_FR550: fprintf (file, " -mcpu=fr550"); break;
|
||||
case EF_FRV_CPU_FR500: fprintf (file, " -mcpu=fr500"); break;
|
||||
case EF_FRV_CPU_FR400: fprintf (file, " -mcpu=fr400"); break;
|
||||
case EF_FRV_CPU_FR300: fprintf (file, " -mcpu=fr300"); break;
|
||||
|
|
Loading…
Reference in a new issue