mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
OBJ_ECOFF in many cases. (mips_any_noreorder): New variable. (mips_cprestore_offset): Initialize to -1. (mips_frame_reg): New variable. (RELAX_ENCODE, RELAX_OLD, RELAX_NEW, RELAX_RELOC1, RELAX_RELOC2, RELAX_RELOC3, RELAX_WARN): New macros. (md_pseudo_table): Handle "gpword" and "cpadd". (md_begin): Initialize ok to false. If OBJ_ELF, set alignment of text, data and bss sections to 4. Set alignment of .reginfo section to 2. If ECOFF_DEBUGGING, create .mdebug section. (ALIGN_ERR, ALIGN_ERR2): Removed unused and useless alignment check. (append_insn, macro_build, macro_build_lui): Take place argument. Changed all callers. (append_insn): If appending a nop, don't emit one. (macro_build): Changed assertion for 'i', 'j', 'o' case. (gp_reference): Removed. (load_address): New function. (macro): If mips_noreorder is used, set mips_any_noreorder. Extensive changes to handle GP and PIC symbols differently. Build both possible code choices using a variant frag, and make a final decision at the end of assembly when all information is known. Added PIC support for all symbol references. (mips_ip): Don't permit anything but a number after $ for a coprocessor register. Don't use .lit4 or .lit8 sections when generating PIC code. If OBJ_ELF, set alignment of .lit4 or .lit8 section to 4. (md_apply_fix): Accept and ignore GOT16 and GPREL32 relocs. (s_change_sec): Set alignment of ELF .rodata or .sdata section to 4. (s_mipsset): If .set noreorder, set mips_any_noreorder. (s_cpload): Ignore .cpload if not generating PIC code. Warn if .cpload is not in noreorder section. (s_cprestore): Ignore .cprestore if not generating PIC code. (s_gpword, s_cpadd): New functions. (tc_get_register): Added frame argument; if true, set mips_frame_reg to return value. Changed all callers. (md_estimate_size_before_relax): Don't error out, but instead determine how much a frag should grow. (tc_gen_reloc): Return multiple relocs if appropriate, as determined by md_estimate_size_before_relax. (md_convert_frag): New function. (mips_elf_final_processing): Set ELF header flags based on mips_any_noreorder and mips_pic. * config/tc-mips.h (RELOC_EXPANSION_POSSIBLE): Define. (MAX_RELOC_EXPANSION): Define to be 3. (md_relax_frag): Define to be 0. (md_convert_frag): Don't define. (tc_get_register): Changed declaration. |
||
---|---|---|
.. | ||
.Sanitize | ||
aout_gnu.h | ||
atof-ieee.c | ||
atof-ns32k.c | ||
atof-tahoe.c | ||
atof-vax.c | ||
coff_gnu.h | ||
cplus-dem.c | ||
ebmon29k.mt | ||
h8300.mt | ||
h8300hds.mt | ||
h8500.mt | ||
ho-ansi.h | ||
ho-decstatn.h | ||
ho-generic.h | ||
ho-go32.h | ||
ho-hppabsd.h | ||
ho-hppaosf.h | ||
ho-hpux.h | ||
ho-i386.h | ||
ho-i386aix.h | ||
ho-irix.h | ||
ho-mipsbsd.h | ||
ho-rs6000.h | ||
ho-sun3.h | ||
ho-sun4.h | ||
ho-sun386.h | ||
ho-sunos.h | ||
ho-sysv.h | ||
ho-vax.h | ||
ho-vms.h | ||
i386coff.mt | ||
m68k.mt | ||
m68kcoff.mt | ||
m88k-opcode.h | ||
m88kcoff.mt | ||
mips-big.mt | ||
mips-lit.mt | ||
obj-aout.c | ||
obj-aout.h | ||
obj-bout.c | ||
obj-bout.h | ||
obj-coff.c | ||
obj-coff.h | ||
obj-coffbfd.c | ||
obj-coffbfd.h | ||
obj-ecoff.c | ||
obj-elf.c | ||
obj-elf.h | ||
obj-generic.c | ||
obj-generic.h | ||
obj-hp300.c | ||
obj-hp300.h | ||
obj-ieee.c | ||
obj-ieee.h | ||
obj-som.c | ||
obj-som.h | ||
obj-vms.c | ||
obj-vms.h | ||
sh.mt | ||
sparc.mt | ||
tc-a29k.c | ||
tc-a29k.h | ||
tc-generic.c | ||
tc-generic.h | ||
tc-h8300.c | ||
tc-h8300.h | ||
tc-h8500.c | ||
tc-h8500.h | ||
tc-hppa.c | ||
tc-hppa.h | ||
tc-i386.c | ||
tc-i386.h | ||
tc-i860.c | ||
tc-i860.h | ||
tc-i960.c | ||
tc-i960.h | ||
tc-m68k.c | ||
tc-m68k.h | ||
tc-m88k.c | ||
tc-m88k.h | ||
tc-m68851.h | ||
tc-mips.c | ||
tc-mips.h | ||
tc-ns32k.c | ||
tc-ns32k.h | ||
tc-sh.c | ||
tc-sparc64.c | ||
tc-sparc64.h | ||
tc-sparc.c | ||
tc-sparc.h | ||
tc-tahoe.c | ||
tc-tahoe.h | ||
tc-vax.c | ||
tc-vax.h | ||
tc-z8k.c | ||
tc-z8k.h | ||
te-dpx2.h | ||
te-generic.h | ||
te-hp300.h | ||
te-hppa.h | ||
te-i386aix.h | ||
te-ic960.h | ||
te-lynx.h | ||
te-sco386.h | ||
te-sun3.h | ||
te-sysv32.h | ||
vax-inst.h | ||
z8k.mt |