From 6f84b00f990a5ecc181c8967387d03d392cc6110 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 6 Feb 1998 22:30:45 +0000 Subject: [PATCH] * cpu-mips.c (arch_info_struct): Make r5900 pointer size 32bits. --- bfd/ChangeLog | 1 + bfd/cpu-mips.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index cd71af4c4b1..52659a0c77f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,6 @@ Fri Feb 6 11:50:22 1998 Jeffrey A Law (law@cygnus.com) + * cpu-mips.c (arch_info_struct): Make r5900 pointer size 32bits. * elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): For BFD_RELOC_CTOR get the size from bfd_arch_bits_per_address instead of directly from the isa. diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c index 88ea9948d6a..5f8202a3e0b 100644 --- a/bfd/cpu-mips.c +++ b/bfd/cpu-mips.c @@ -60,7 +60,7 @@ static const bfd_arch_info_type arch_info_struct[] = N (64, 64, bfd_mach_mips8000, "mips:8000", false, &arch_info_struct[12]), N (64, 64, bfd_mach_mips10000, "mips:10000", false, &arch_info_struct[13]), - /* start-sanitize-tx19 + /* start-sanitize-tx19 */ #undef A #define A 1 N (32, 32, bfd_mach_mips1900, "mips:1900", false, &arch_info_struct[13+A]), @@ -78,7 +78,7 @@ static const bfd_arch_info_type arch_info_struct[] = /* start-sanitize-r5900 */ #undef D #define D 1 - N (64, 64, bfd_mach_mips5900, "mips:5900", false, &arch_info_struct[13+A+B+C+D]), + N (64, 32, bfd_mach_mips5900, "mips:5900", false, &arch_info_struct[13+A+B+C+D]), /* end-sanitize-r5900 */ /* start-sanitize-sky */ #undef E -- 2.30.2