mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 03:27:46 +08:00
bfd/
* elfxx-mips.c: Adjust comments throughout. (mips_elf_relax_delete_bytes): Reshape code. (_bfd_mips_elf_relax_section): Remove check for R_MICROMIPS_GPREL16 relocations. Reshape code. gas/ * config/tc-mips.c: Adjust comments throughout. (reglist_lookup): Reshape code. (jmp_reloc_p, jalr_reloc_p): Reformat. (got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS relocations. (gpr_mod_mask): Remove unused variable. (gpr_read_mask, gpr_write_mask): Reshape code. (fpr_read_mask, fpr_write_mask): Likewise. (nops_for_vr4130): Ensure non-microMIPS mode. (can_swap_branch_p): Correct pinfo2 reference. Reshape code. (append_insn): Skip Loongson 2F workaround in MIPS16 mode. Use the outermost operator of a compound relocation to determines the relocated field. Fix formatting. (md_convert_frag): Reshape code. include/opcode/ * mips.h: Clarify the description of microMIPS instruction manipulation macros. (MICROMIPSOP_MASK_MAJOR, MICROMIPSOP_SH_MAJOR): Remove macros.
This commit is contained in:
parent
c487f2fef5
commit
69138a8bc5
@ -1,3 +1,9 @@
|
||||
2011-07-29 Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
* mips.h: Clarify the description of microMIPS instruction
|
||||
manipulation macros.
|
||||
(MICROMIPSOP_MASK_MAJOR, MICROMIPSOP_SH_MAJOR): Remove macros.
|
||||
|
||||
2011-07-24 Chao-ying Fu <fu@mips.com>
|
||||
Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
|
@ -1329,13 +1329,10 @@ extern int bfd_mips_num_opcodes;
|
||||
extern const struct mips_opcode mips16_opcodes[];
|
||||
extern const int bfd_mips16_num_opcodes;
|
||||
|
||||
/* These are the bitmasks and shift counts used for the different
|
||||
fields in the instruction formats. Other than MAJOR, no masks are
|
||||
provided for the fixed portions of an instruction, since they are
|
||||
not needed. */
|
||||
/* These are the bit masks and shift counts used for the different fields
|
||||
in the microMIPS instruction formats. No masks are provided for the
|
||||
fixed portions of an instruction, since they are not needed. */
|
||||
|
||||
#define MICROMIPSOP_MASK_MAJOR 0x3f
|
||||
#define MICROMIPSOP_SH_MAJOR 26
|
||||
#define MICROMIPSOP_MASK_IMMEDIATE 0xffff
|
||||
#define MICROMIPSOP_SH_IMMEDIATE 0
|
||||
#define MICROMIPSOP_MASK_DELTA 0xffff
|
||||
|
Loading…
x
Reference in New Issue
Block a user