Commit graph

18 commits

Author SHA1 Message Date
Gavin Romig-Koch
02650bd0a9 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):
1998-12-15 14:10:46 +00:00
Gavin Romig-Koch
f14397f057 for bfd:
* archures.c,bfd-in2.h (bfd_mach_mips4121): New.
	* cpu-mips.c: Added vr4121.
	* elf32-mips.c (elf_mips_mach): Same.
	(_bfd_mips_elf_final_write_processing): Same.

for gas:
	* config/tc-mips.c (mips_4121): New.
	(md_begin,mips_ip,md_longopts,md_parse_option): Add vr4121.

for gcc:
	* config/mips/mips.c (override_options): Add vr4121.
	* config/mips/t-vr4xxx (MULTILIB_MATCHES): Same.

for include/elf:
	* mips.h (E_MIPS_MACH_4121): New.

for include/opcode:
	* mips.h (INSN_4121): New.

for opcodes:
	* mips-dis.c (set_mips_isa_type): Add bfd_mach_mips4121.
	(_print_insn_mips): Same.
	* mips-opc.c: Add vr4121.

for sim/mips:
	* configure.in,mips.igen,vr.igen: Add vr4121.
	* configure: Rebuilt.
1998-12-13 16:14:24 +00:00
Ulrich Drepper
46ab34a185 Add more LL_* options from Irix 6.5. 1998-12-02 23:36:56 +00:00
Ulrich Drepper
47a5b9f337 Add R_MIPS_JALR and adjust R_MIPS_max appropriately. 1998-12-02 21:46:19 +00:00
Jeff Law
ddbe80f79c * mips.h (R_MIPS16_S3): Change to a higher value. 1998-07-24 05:29:01 +00:00
Nick Clifton
36dd637fc4 Reloc macros tidied up. i386 and v850 reloc macros added.
New file created to contain reloc macros: reloc-macros.h
1998-07-22 23:27:31 +00:00
Ulrich Drepper
86b9b00b99 Rewrite relocation definition using macros. 1998-07-22 22:01:56 +00:00
Ulrich Drepper
fea6fcb9c7 Fix typo. 1998-07-22 20:50:46 +00:00
Ulrich Drepper
0d930c6c88 Rewrite relocation definition using macros. 1998-07-22 20:40:09 +00:00
Ulrich Drepper
c27d2e1867 Add R_MIPS_* and SHT_MIPS_* entries. 1998-07-21 20:11:08 +00:00
Ulrich Drepper
1b734be6cf Add lots of DT_MIPS_* symbols. 1998-07-19 23:30:10 +00:00
Ulrich Drepper
55412e05e2 (PT_MIPS_OPTIONS): New symbol. 1998-07-19 22:27:05 +00:00
Doug Evans
d15f4fd0b1 * mips.h (SHT_DVP_OVERLAY_TABLE,SHT_DVP_OVERLAY): New section types.
(SHNAME_DVP_OVERLAY_{TABLE,STRTAB,PREFIX}): Section names.
	(Elf64_Dvp_Internal_Overlay,Elf64_Dvp_External_Overlay): New types.
	(bfd_dvp_elf64_swap_overlay_in,bfd_dvp_elf64_swap_overlay_out):
	Declare.
1998-05-31 22:50:05 +00:00
Doug Evans
4086bde1cd txvu.h deleted in favor of generating mips files 1998-01-28 17:45:50 +00:00
Ian Lance Taylor
687455201c * mips.h (E_MIPS_ARCH_4): Define. 1996-05-30 16:36:27 +00:00
Ian Lance Taylor
80483b240f * mips.h (Elf64_Mips_External_Rel): Define.
(Elf64_Mips_Internal_Rel): Define.
	(Elf64_Mips_External_Rela, Elf64_Mips_Internal_Rela): Define.
	(RSS_*): Define.
1996-05-29 19:36:40 +00:00
Peter Schauer
4c040a649b * internal.h: Remove Elf32_*, Elf64_* typedefs. These names
cause conflicts with system headers, e.g. link.h in gdb/solib.c.
	Combine 32- and 64-bit versions of *_Internal_Dyn.
	* common.h:  Replace uses of Elf64_Word, Elf64_Xword typedefs
	by their expansion.
	* mips.h:  Replace uses of Elf32_Word, Elf32_Sword, Elf32_Addr
	typedefs by their expansion. Add DT_MIPS_RLD_MAP definition.
1994-03-05 22:39:47 +00:00
Ian Lance Taylor
55d5703fff * mips.h: New file. MIPS ABI specific information. 1993-10-12 14:29:51 +00:00