aboutsummaryrefslogtreecommitdiff
path: root/opcodes/hppa-dis.c
AgeCommit message (Collapse)AuthorFilesLines
2021-01-01Update year range in copyright notice of binutils filesAlan Modra1-1/+1
2020-01-20ubsan: hppa: negation of -2147483648Alan Modra1-1/+1
* hppa-dis.c (fput_const): Remove useless cast.
2020-01-01Update year range in copyright notice of binutils filesAlan Modra1-1/+1
2019-12-20ubsan: hppa: left shift of negative valueAlan Modra1-8/+8
bfd/ * libhppa.h (hppa_field_adjust, bfd_hppa_insn2fmt): Delete forward declaration. Move ATTRIBUTE_UNUSED to definition. (sign_extend, low_sign_extend, sign_unext, low_sign_unext), (re_assemble_3, re_assemble_12, re_assemble_14, re_assemble_16), (re_assemble_17, re_assemble_21, re_assemble_22): Likewise. Make args and return value unsigned. Use unsigned variables. (hppa_rebuild_insn): Similarly. opcodes/ * hppa-dis.c (extract_16, extract_21, print_insn_hppa): Use unsigned variables.
2019-01-01Update year range in copyright notice of binutils filesAlan Modra1-1/+1
2018-05-09PR22069, Several instances of register accidentally spelled as regsiterAlan Modra1-1/+1
PR 22069 binutils/ * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming. cpu/ChangeLog * or1kcommon.cpu (spr-reg-info): Typo fix. include/ChangeLog * mach-o/unwind.h (MACH_O_UNWIND_X86_64_RBP_FRAME_REGISTERS): Rename from MACH_O_UNWIND_X86_64_RBP_FRAME_REGSITERS. (MACH_O_UNWIND_X86_EBP_FRAME_REGISTERS): Rename from MACH_O_UNWIND_X86_EBP_FRAME_REGSITERS. opcodes/ChangeLog * cr16-opc.c (cr16_instruction): Comment typo fix. * hppa-dis.c (print_insn_hppa): Likewise. sim/ppc/ChangeLog * e500_registers.h: Comment typo fix. * ppc-instructions (ppc_insn_mfcr): Likewise.
2018-01-03Update year range in copyright notice of binutils filesAlan Modra1-1/+1
2017-05-24Move print_insn_XXX to an opcodes internal headerYao Qi1-1/+1
With the changes done in previous patches, print_insn_XXX functions don't have to be external visible out of opcodes, because both gdb and objdump select disassemblers through a single interface. This patch moves these print_insn_XXX declarations from include/dis-asm.h to opcodes/disassemble.h, which is a new header added by this patch. include: 2017-05-24 Yao Qi <yao.qi@linaro.org> * dis-asm.h: Move some function declarations to opcodes/disassemble.h. opcodes: 2017-05-24 Yao Qi <yao.qi@linaro.org> * alpha-dis.c: Include disassemble.h, don't include dis-asm.h. * avr-dis.c, bfin-dis.c, cr16-dis.c: Likewise. * crx-dis.c, d10v-dis.c, d30v-dis.c: Likewise. * disassemble.c, dlx-dis.c, epiphany-dis.c: Likewise. * fr30-dis.c, ft32-dis.c, h8300-dis.c, h8500-dis.c: Likewise. * hppa-dis.c, i370-dis.c, i386-dis.c: Likewise. * i860-dis.c, i960-dis.c, ip2k-dis.c: Likewise. * iq2000-dis.c, lm32-dis.c, m10200-dis.c: Likewise. * m10300-dis.c, m32r-dis.c, m68hc11-dis.c: Likewise. * m68k-dis.c, m88k-dis.c, mcore-dis.c: Likewise. * metag-dis.c, microblaze-dis.c, mmix-dis.c: Likewise. * moxie-dis.c, msp430-dis.c, mt-dis.c: * nds32-dis.c, nios2-dis.c, ns32k-dis.c: Likewise. * or1k-dis.c, pdp11-dis.c, pj-dis.c: Likewise. * ppc-dis.c, pru-dis.c, riscv-dis.c: Likewise. * rl78-dis.c, s390-dis.c, score-dis.c: Likewise. * sh-dis.c, sh64-dis.c, tic30-dis.c: Likewise. * tic4x-dis.c, tic54x-dis.c, tic6x-dis.c: Likewise. * tic80-dis.c, tilegx-dis.c, tilepro-dis.c: Likewise. * v850-dis.c, vax-dis.c, visium-dis.c: Likewise. * w65-dis.c, wasm32-dis.c, xc16x-dis.c: Likewise. * xgate-dis.c, xstormy16-dis.c, xtensa-dis.c: Likewise. * z80-dis.c, z8k-dis.c: Likewise. * disassemble.h: New file.
2017-01-02Update year range in copyright notice of all files.Alan Modra1-1/+1
2016-01-01Copyright update for binutilsAlan Modra1-1/+1
2015-09-23Fix compile time warnings generated when compiling with clang.Nick Clifton1-2/+2
bfd * bout.c (b_out_slurp_reloc_table): Cast constant to unsigned in order to avoid problems with left shifting negative values. (abs32code): Likewise. * mach-o.c (FILE_ALIGN): Likewise. * coff-rs6000.c (xcoff_debug_sections): Delete unused static array. * elf32-visium.c (visium_reloc_map): Likewise. * elf32-arm.c (elf32_arm_final_link_relocate): Remove useless calls to abs function. * elf32-frv.c (_frvfdpic_relax_tls_entries): Likewise. * elf32-score.c (score_elf_final_link_relocate): Likewise. * elf32-score7.c (score_elf_final_link_relocate): Likewise. * elf32-i860.c (i860_howto_pc26_reloc): Use multiplication instead of shifting to create a negative mask. * elf32-msp430.c (elf_backend_special_sections): Define. * elfxx-mips.c (got_ofst_reloc_p): Delete unused function. (got_hi16_reloc_p): Delete unused function. * ppcboot.c (ppcboot_bfd_print_private_bfd_data): Fix test of partition name. gas * config/tc-ppc.c (insn_validate): Cast PPC_OPSHIFT_INV to an int. opcode * ppc.h (PPC_OPSHIFT_INV): Use an unsigned constant when left shifting. ld * emultempl/elf32.em (ehdr_start_empty): New static variable. (before_allocation): Use it to initialise ehdr_start_save. * emultempl/pe.em (write_build_id): Remove useless double parenthesis. * emultempl/pep.em (write_build_id): Likewise. opcodes * bfin-dis.c (fmtconst): Remove unnecessary call to the abs function. * tic30-dis.c (print_branch): Likewise. * cgen-asm.c (cgen_parse_signed_integer): Cast integer to signed value before left shifting. * fr30-ibld.c (fr30_cgen_extract_operand): Likewise. * hppa-dis.c (print_insn_hppa): Likewise. * mips-dis.c (mips_cp0sel_names_mipsr5900): Delete unused static array. * msp430-dis.c (msp430_singleoperand): Likewise. (msp430_doubleoperand): Likewise. (print_insn_msp430): Likewise. * nds32-asm.c (parse_operand): Likewise. * sh-opc.h (MASK): Likewise. * v850-dis.c (get_operand_value): Likewise.
2015-01-02ChangeLog rotatation and copyright year updateAlan Modra1-1/+1
2014-03-05Update copyright yearsAlan Modra1-2/+1
2012-07-24 PR binutils/13135Nick Clifton1-4/+4
* arm-dis.c: Add necessary casts for printing integer values. Use %s when printing string values. * hppa-dis.c: Likewise. * m68k-dis.c: Likewise. * microblaze-dis.c: Likewise. * mips-dis.c: Likewise. * ppc-dis.c: Likewise. * sparc-dis.c: Likewise. * dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2.
2010-12-31 PR gas/11395Dave Anglin1-5/+5
* config/tc-hppa.c (pa_ip): Revert last change. Add variable need_cond to determine whether a 64-bit condition is needed for 'A' and 'S' conditions. Default to 32-bit never condition for logical and unit instructions. Add error message for missing branch on bit condition. * hppa.h (pa_opcodes): Revert last change. Exchange 32 and 64-bit "bb" entries. * hppa-dis.c (compare_cond_64_names): Change never condition to ",*". (add_cond_64_names): Likewise. (logical_cond_64_names): Likewise. (unit_cond_64_names): Likewise.
2007-07-05Change source files over to GPLv3.Nick Clifton1-8/+10
2005-08-14 * hppa-dis.c (print_insn_hppa): Don't print '%' before register names.Dave Anglin1-4/+4
Use "rp" instead of "%r2" in "b,l" insns.
2005-08-05 * hppa-dis.c (print_insn_hppa): Prefix 21-bit values with "L%".Dave Anglin1-0/+1
2005-07-17 * hppa-dis.c (print_insn_hppa): Add space after 'w' in wide-modeDave Anglin1-1/+1
mfctl disassembly.
2005-07-01Update function declarations to ISO C90 formattingNick Clifton1-139/+121
2005-05-07Update the address and phone number of the FSFNick Clifton1-1/+1
2003-02-25 * hppa-dis.c: Formatting.Alan Modra1-142/+188
* hppa-dis.c (print_insn_hppa): Implement fcnv instruction modifiers.
2003-02-25 * hppa-dis.c (print_insn_hppa <2 bit space register>): Do not printAlan Modra1-2/+6
the space register when the value is zero.
2001-12-31 * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,Jeff Law1-2/+14
'X', 'M', and 'A'. No longer emit a space after 'x' or 's'. Always emit a space after 'H'.
2001-03-13Fix typos in ChangeLogs; fix dates in copyright noticesNick Clifton1-1/+1
2001-01-14Adds assembly and dis-assembly support for the HPPA wideAlan Modra1-1/+3
mode, 16 bit forms of ldi, ldo, ldw and stw instructions.
2000-07-09Add some prototypes, and fix a few warnings.Alan Modra1-7/+31
2000-04-21 * hppa-dis.c (extract_16): New function.Jeff Law1-19/+71
(print_insn_hppa): Fix incorrect handling of 'fe'. Added handling of new operand types l,y,&,fe,fE,fx.
2000-04-14More portability patches. Include sysdep.h everywhere.Alan Modra1-1/+0
1999-11-25 * hppa-dis.c (unit_cond_names): Add PA2.0 unit condition names.Jeff Law1-2/+3
(print_insn_hppa): Handle 'B' operand.
1999-10-10 * hppa-dis.c (print_insn_hppa): Add new codes 'cc', 'cd', 'cC',Jeff Law1-25/+39
'co', '@'. * hppa-dis.c (print_insn_hppa): Removed unused args. Fix '?W'. * hppa-dis.c (print_insn_hppa): Implement codes "?N", "?Q".
1999-09-23Remove accidental case duplication.Jeff Law1-4/+0
1999-09-23 * hppa-dis.c (print_insn_hppa): Replace 'B', 'M', 'g' and 'l' withJeff Law1-11/+17
cleaner code using completer prefixes. Add 'Y'.
1999-09-19 * hppa-dis.c: (print_insn_hppa): Correct 'cJ', 'cc'.Jeff Law1-12/+56
1999-09-19 * hppa-dis.c (extract_22): New function.Jeff Law1-1/+11
1999-09-19 * hppa-dis.c (print_insn_hppa): Handle 'J', 'K', and 'cc'.Jeff Law1-0/+7
1999-09-19 * hppa-dis.c (print_insn_hppa): Handle 'fe' and 'cJ'.Jeff Law1-0/+13
1999-09-19 * hppa-dis.c (print_insn_hppa): Handle '#', 'd', and 'cq'.Jeff Law1-0/+37
1999-09-19 * hppa-dis.c (print_insn_hppa): Handle 'm', 'h', '='.Jeff Law1-0/+49
1999-09-19 * hppa-dis.c (print_insn_hppa): Handle 'X' operand.Jeff Law1-0/+5
1999-09-19 * hppa-dis.c (print_insn_hppa): Handle 'B' operand.Jeff Law1-0/+3
1999-09-19 * hppa-dis.c (print_insn_hppa): Handle 'M' and 'L' operands.Jeff Law1-0/+6
1999-09-19 * hppa-dis.c (print_insn_hppa): Handle 'l' operand.Jeff Law1-0/+3
1999-09-19 * hppa-dis.c (print_insn_hppa): Handle 'g' operand.Jeff Law1-0/+3
1999-09-18 * hppa-dis.c (print_insn_hppa): Output a space after 'X' completer.Jeff Law1-1/+1
1999-09-18 * hppa-dis.c: (print_insn_hppa): Do output a space before a 'v'Jeff Law1-1/+1
operand.
1999-09-18 * hppa-dis.c: (print_insn_hppa): Handle 'fX'.Jeff Law1-0/+10
1999-09-18 * hppa-dis.c: (print_insn_hppa): Add missing break afterJeff Law1-0/+1
FP register case.
1999-09-18 * hppa-dis.c: Finish constifying various completers, registerJeff Law1-20/+18
names, etc etc.
1999-09-07 * hppa-dis.c (print_insn_hppa): Escape '%' in output strings.Jeff Law1-2/+2