This adds ABI flags to MIPS/ELF object files.
authorGavin Romig-Koch <gavin@redhat.com>
Tue, 15 Dec 1998 14:10:46 +0000 (14:10 +0000)
committerGavin Romig-Koch <gavin@redhat.com>
Tue, 15 Dec 1998 14:10:46 +0000 (14:10 +0000)
commit02650bd0a97e811838a207da56505e16f1209ae9
tree398f4e5620b0cf6c712d3d061566f1e2169968f0
parent759181e384bb9bda3b8f0219384d42866474ef49
This adds ABI flags to MIPS/ELF object files.

For bfd:
* elf32-mips.c (elf_mips_abi_name): New.
(_bfd_mips_elf_merge_private_bfd_data): Compare EF_MIPS_ABI flags.

For gas:
* config/tc-mips.c (mips_abi_string): New.
(md_parse_option,md_longopts): Add mabi.
(mips_elf_final_processing): Set e_flags based on mabi flag.

For gcc:
* config/mips/mips.h (GAS_ASM_SPEC): Pass mabi to gas.
(ABI_GAS_ASM_SPEC,abi_gas_asm_spec): New.
(EXTRA_SPECS): Added ABI_GAS_ASM_SPEC,abi_gas_asm_spec.

For include/elf:

* mips.h (EF_MIPS_ABI,E_MIPS_ABI_O32,E_MIPS_ABI_O64,
E_MIPS_ABI_EABI32,E_MIPS_ABI_EABI64):
bfd/ChangeLog
bfd/elf32-mips.c
gas/ChangeLog
gas/config/tc-mips.c
include/elf/ChangeLog
include/elf/mips.h