mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 15:17:13 +08:00
When linking binary files into MIPS executables, default to MIPS 3 emaulation for 64-bit objects.
PR 24832 * elfxx-mips.c (mips_set_isa_flags): Default to MIPS 3 for 64-bit mips inputs.
This commit is contained in:

committed by
Nick Clifton

parent
2e6be59c8d
commit
c7c860d2d2
@ -1,3 +1,9 @@
|
|||||||
|
2019-07-25 YunQiang Su <syq@debian.org>
|
||||||
|
|
||||||
|
PR 24832
|
||||||
|
* elfxx-mips.c (mips_set_isa_flags): Default to MIPS 3 for 64-bit
|
||||||
|
mips inputs.
|
||||||
|
|
||||||
2019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
|
2019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
|
||||||
|
|
||||||
* elf32-arc.c (bfd_get_32_me): Add a small description, fix
|
* elf32-arc.c (bfd_get_32_me): Add a small description, fix
|
||||||
|
@ -12193,6 +12193,12 @@ mips_set_isa_flags (bfd *abfd)
|
|||||||
switch (bfd_get_mach (abfd))
|
switch (bfd_get_mach (abfd))
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
|
if (ABI_N32_P (abfd) || ABI_64_P (abfd))
|
||||||
|
val = E_MIPS_ARCH_3;
|
||||||
|
else
|
||||||
|
val = E_MIPS_ARCH_1;
|
||||||
|
break;
|
||||||
|
|
||||||
case bfd_mach_mips3000:
|
case bfd_mach_mips3000:
|
||||||
val = E_MIPS_ARCH_1;
|
val = E_MIPS_ARCH_1;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user