X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=sim%2Farm%2FChangeLog;h=577579c291d121f7676a8ea015a12a6271070bad;hb=72f4393d8cfc4a47f0e59657f7822668cfad132f;hp=10f023ef09983fa3c717671aba8c1c13fa4d0285;hpb=d6416cdc2356231a0cf55ce7062ede13be5f5597;p=thirdparty%2Fbinutils-gdb.git diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index 10f023ef099..577579c291d 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,5 +1,386 @@ +2015-07-14 Nick Clifton + + * armcopro.c: Remove extraneous whitespace. + * armdefs.h: Likewise. + * armfpe.h: Likewise. + * arminit.c: Likewise. + * armopts.h: Likewise. + * armos.c: Likewise. + * armos.h: Likewise. + * armrdi.c: Likewise. + * armsupp.c: Likewise. + * armvirt.c: Likewise. + * bag.c: Likewise. + * bag.h: Likewise. + * communicate.c: Likewise. + * communicate.h: Likewise. + * dbg_conf.h: Likewise. + * dbg_cp.h: Likewise. + * dbg_hif.h: Likewise. + * dbg_rdi.h: Likewise. + * gdbhost.c: Likewise. + * gdbhost.h: Likewise. + * iwmmxt.c: Likewise. + * iwmmxt.h: Likewise. + * kid.c: Likewise. + * main.c: Likewise. + * maverick.c: Likewise. + * parent.c: Likewise. + * thumbemu.c: Likewise. + * wrapper.c: Likewise. + +2015-07-02 Nick Clifton + + * Makefile.in (SIM_EXTRA_CFLAGS): Revert previous delta. + (SIM_EXTRA_LIBS): Add -lm. + +2015-06-28 Nick Clifton + + * Makefile.in (SIM_EXTRA_CFLAGS): Add -lm. + * armdefs.h (ARMdval, ARMfval): New types. + (ARM_VFP_reg): New union. + (struct ARMul_State): Add VFP_Reg and FPSCR fields. + (VFP_fval, VFP_uword, VFP_sword, VFP_dval, VFP_dword): Accessor + macros for the new VFP_Reg field. + * armemu.c (handle_v6_insn): Add code to handle MOVW, MOVT, + QADD16, QASX, QSAX, QSUB16, QADD8, QSUB8, UADD16, USUB16, UADD8, + USUB8, SEL, REV, REV16, RBIT, BFC, BFI, SBFX and UBFX + instructions. + (handle_VFP_move): New function. + (ARMul_Emulate16): Add checks for newly supported v6 + instructions. Add support for VMRS, VMOV and MRC instructions. + (Multiply64): Allow nRdHi == nRm and/or nRdLo == nRm when + operating in v6 mode. + * armemu.h (t_resolved): Define. + * armsupp.c: Include math.h. + (handle_VFP_xfer): New function. Handles VMOV, VSTM, VSTR, VPUSH, + VSTM, VLDM and VPOP instructions. + (ARMul_LDC): Test for co-processor 10 or 11 and pass call to the + new handle_VFP_xfer function. + (ARMul_STC): Likewise. + (handle_VFP_op): New function. Handles VMLA, VMLS, VNMLA, VNMLS, + VNMUL, VMUL, VADD, VSUB, VDIV, VMOV, VABS, VNEG, VSQRT, VCMP, + VCMPE and VCVT instructions. + (ARMul_CDP): Test for co-processor 10 or 11 and pass call to the + new handle_VFP_op function. + * thumbemu.c (tBIT, tBITS, ntBIT, ntBITS): New macros. + (test_cond): New function. Tests a condition and returns non-zero + if the condition has been met. + (handle_IT_block): New function. + (in_IT_block): New function. + (IT_block_allow): New function. + (ThumbExpandImm): New function. + (handle_T2_insn): New function. Handles T2 thumb instructions. + (handle_v6_thumb_insn): Add next_instr and pc parameters. + (ARMul_ThumbDecode): Add support for IT blocks. Add support for + v6 instructions. + * wrapper.c (sim_create_inferior): Detect a thumb address and call + SETT appropriately. + +2015-06-23 Mike Frysinger + + * configure: Regenerate. + +2015-06-23 Mike Frysinger + + * armdefs.h: Always include stdint.h. + [!__STDC__]: Delete. + [!HAVE_STDINT_H]: Delete. + * dbg_hif.h [!__STDC__]: Delete. + +2015-06-12 Mike Frysinger + + * configure: Regenerate. + +2015-06-12 Mike Frysinger + + * configure: Regenerate. + +2015-04-18 Mike Frysinger + + * sim-main.h (SIM_CPU): Delete. + +2015-04-18 Mike Frysinger + + * sim-main.h (sim_cia): Delete. + +2015-04-17 Mike Frysinger + + * sim-main.h (CIA_GET, CIA_SET): Delete. + +2015-04-17 Mike Frysinger + + * wrapper.c (arm_pc_get, arm_pc_set): New functions. + (sim_open): Declare new local var i. Call CPU_PC_FETCH & + CPU_PC_STORE for all cpus. + +2015-04-15 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-cpu.o. + * sim-main.h (STATE_CPU): Delete. + +2015-04-13 Mike Frysinger + + * configure: Regenerate. + +2015-04-12 Mike Frysinger + + * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list. + +2015-04-06 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-engine.o. + +2015-04-01 Mike Frysinger + + * Makefile.in (armos.o, armcopro.o, maverick.o, iwmmxt.o, arminit.o, + armrdi.o, armsupp.o, thumbemu.o, bag.o, wrapper.o): Delete rules. + * tconfig.h: Delete file. + +2015-03-31 Mike Frysinger + + * config.in, configure: Regenerate. + +2015-03-30 Mike Frysinger + + * Makefile.in (SIM_RUN_OBJS): Delete. + (SIM_EXTRA_CFLAGS): Delete -DSIM_TARGET_SWITCHES and + -DSIM_USE_DEPRECATED_RUN_FRONTEND. + (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS). + * sim-main.h: New file. + * wrapper.c: Delete armdefs.h, sim-utils.h, and run-sim.h includes. + Add sim-main.h and sim-options.h includes. + (sim_callback, mem_size, trace): Add TODO comments. + (state): Delete static and add TODO comment. + (sim_kind, myname, big_endian): Delete. + (init): Change big_endian to CURRENT_TARGET_BYTE_ORDER check. + (sim_size, sim_trace, sim_info, sim_target_display_usage, sim_load, + sim_do_command, sim_set_callbacks, sim_complete_command): Delete. + (sim_target_parse_command_line): Mark static. + (free_state): New function. + (sim_open): Rewrite to use new common logic. + (sim_close): Delete body. + +2015-03-30 Mike Frysinger + + * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK. + * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL, + ui_loop_hook_counter, deprecated_ui_loop_hook): Delete. + (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code. + +2015-03-30 Mike Frysinger + + * armemu.c [MODE32] (handle_v6_insn): Move definition. + (ARMul_Emulate26): Initialize do_int after label target. + * armemu.h (UNDEF_Test, UNDEF_Shift, UNDEF_MSRPC, UNDEF_MRSPC, + UNDEF_MULPCDest, UNDEF_MULDestEQOp1, UNDEF_LSRBPC, + UNDEF_LSRBaseEQOffWb, UNDEF_LSRBaseEQDestWb, UNDEF_LSRPCBaseWb, + UNDEF_LSRPCOffWb, UNDEF_LSMNoRegs, UNDEF_LSMPCBase, + UNDEF_LSMUserBankWb, UNDEF_LSMBaseInListWb, UNDEF_SWPPC, + UNDEF_CoProHS, UNDEF_MCRPC, UNDEF_LSCPCBaseWb, + UNDEF_UndefNotBounced, UNDEF_ShortInt, UNDEF_IllegalMode, + UNDEF_Prog32SigChange, UNDEF_Data32SigChange): Define to while(0). + * armsupp.c (ARMul_Align): Convert old style prototype. + * bag.c (addtolist, killwholelist): Mark static. + (BAG_newbag): Convert old style prototype. + * maverick.c (mv_compute_host_endianness): Delete. + * wrapper.c (verbosity, sim_set_verbose): Delete. + (init): Set state->verbose to 0. + +2015-03-30 Mike Frysinger + + * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT, + SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT, + SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS. + * config.in, configure: Regenerate. + +2015-03-30 Mike Frysinger + + * Makefile.in (COPRO): Delete. + (SIM_OBJS): Expand COPRO. + * configure.ac: Deletd stdint.h check. + (COPRO): Delete. + * configure: Regenerate. + +2015-03-16 Mike Frysinger + + * config.in, configure: Regenerate. + * tconfig.in: Rename file ... + * tconfig.h: ... here. + +2015-03-14 Mike Frysinger + + * Makefile.in (SIM_EXTRA_CFLAGS): Add + -DSIM_USE_DEPRECATED_RUN_FRONTEND. + (SIM_RUN_OBJS): Set to run.o. + +2015-03-14 Mike Frysinger + + * configure.ac (AC_CHECK_HEADERS): Delete unistd.h. + * aclocal.m4, configure: Regenerate. + +2014-08-19 Alan Modra + + * configure: Regenerate. + +2014-08-15 Roland McGrath + + * configure: Regenerate. + * config.in: Regenerate. + +2014-03-18 Nick Clifton + + * wrapper.c: Convert function declarations to ISO C format. + (sim_open): Delete code for handling t,d and z command line + options. + +2014-03-14 Nick Clifton + + * wrapper.c (op_print): New function. + (sim_dis_read): New function. + (print_insn): New function - disassembles the given instruction. + (sim_trace): Note that tracing is now allowed. + (sim_create_inferior): Default to emulating v6. + Initialise the disassembler machinery. + (sim_target_parse_command_line): Add support for -t -d and -z + options. + (sim_target_display_usage): Note existence of -d and -z options. + (sim_open): Parse -t -d and -z options. + * armemu.h: Add exports of trace, disas and trace_funcs. + Add prototype for print_insn. + * armemu.c (ARMul_Emulate26): Add tracing code. + Delete unused variables. + * thumbemu (handle_v6_thumb_insn): Delete unused variable Rd. + Move Rm variable into switch cases. + Add tracing code. + + * armcopro.c (XScale_cp15_init): Add a return value. + (XScale_cp13_init): Likewise. + (XScale_cp14_init): Likewise. + (XScale_cp15_LDC): Delete unused function. + (XScale_cp15_STC): Likewise. + * maverick.c: Delete comment inside comment. + (DSPInit): Delete unused function. + (DSPMCR4): Fix compile time warning about missing parenthesis. + (DSPMCR5): Likewise. + (DSPCDP6): Delete unused variable opcode2. + +2014-03-14 David McQuillan + + PR sim/8388 + * armemu.c (WriteR15Load): New function. Determines if the state + can be changed upon a write to R15. + (LoadMult): Use WriteR15Load. + * armemu.h (WRITEDESTB): Use WriteR15Load. + +2014-03-10 Mike Frysinger + + * wrapper.c (sim_do_command): Add const to cmd. + +2014-03-05 Mike Frysinger + + * wrapper.c (sim_load): Add const to prog. + +2013-09-23 Alan Modra + + * configure: Regenerate. + +2013-06-03 Mike Frysinger + + * aclocal.m4, configure: Regenerate. + +2013-05-07 Jayant Sonar + Kaushik Phatak + + * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT. + +2012-12-19 Joel Brobecker + + * COPYING: Update to GPL version 3. + +2012-09-03 Nick Clifton + + PR sim/14540 + * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction + is denied. + +2012-08-01 Kevin Buettner + + * wrapper.c (libiberty.h): Include. + (sim_store_register, sim_fetch_register): On success, return + length, instead of -1. + +2012-06-15 Joel Brobecker + + * config.in, configure: Regenerate. + +2012-06-13 Nick Clifton + + * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt + binaries (for now). + +2012-05-24 Pedro Alves + + PR gdb/7205 + + Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. + +2012-05-18 Nick Clifton + + PR 14072 + * wrapper.c: Include config.h before system header files. + +2012-03-24 Mike Frysinger + + * aclocal.m4, config.in, configure: Regenerate. + +2011-12-03 Mike Frysinger + + * aclocal.m4: New file. + * configure: Regenerate. + +2011-10-17 Mike Frysinger + + * configure.ac: Change include to common/acinclude.m4. + +2011-10-17 Mike Frysinger + + * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER + call. Replace common.m4 include with SIM_AC_COMMON. + * configure: Regenerate. + +2011-07-01 Nick Clifton + + PR sim/12737 + * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a + signed compare. + (WMAC): Extend computed result before adding to result register. + (WRSA): Sign extend 32-bit values before shifting. + +2011-04-16 Mike Frysinger + + * wrapper.c (sim_complete_command): New stub function. + +2010-05-26 Ozkan Sezer + + * communicate.c (MYread_char): Check error return from accept() call + by its equality to -1 not by it being negative. + (MYread_charwait): Likewise. + * main.c (main): Likewise for both socket() and accept() calls. + +2010-04-14 Mike Frysinger + + * wrapper.c (sim_write): Add const to buffer arg. + +2010-01-09 Ralf Wildenhues + + * configure: Regenerate. + 2009-08-22 Ralf Wildenhues + * config.in: Regenerate. + * configure: Likewise. + * configure: Regenerate. 2008-11-24 Joel Sherrill @@ -12,8 +393,8 @@ * config.in: Ditto. 2008-06-06 Vladimir Prus - Daniel Jacobowitz - Joseph Myers + Daniel Jacobowitz + Joseph Myers * configure: Regenerate. * wrapper.c (sim_target_display_usage): Add help parameter. @@ -121,7 +502,7 @@ set. * wrapper.c (sim_create_inferior): For unknown architectures, default to allowing the v6 instructions. - + 2005-04-18 Nick Clifton * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment @@ -220,25 +601,25 @@ 2003-03-20 Nick Clifton * Contribute support for Cirrus Maverick ARM co-processor, - written by Aldy Hernandez and - Andrew Cagney : + written by Aldy Hernandez and + Andrew Cagney : * maverick.c: New file: Support for Maverick floating point - co-processor. - * Makefile.in: Add maverick.o target. - * configure.in (COPRO): Add maverick.o. - * configure: Regenerate. - * armcopro.c (ARMul_CoProInit): Only initialise co-processors + co-processor. + * Makefile.in: Add maverick.o target. + * configure.in (COPRO): Add maverick.o. + * configure: Regenerate. + * armcopro.c (ARMul_CoProInit): Only initialise co-processors available on target processor. Add code to initialse Maverick co-processor support code. - * armdefs.h (ARMul_state): Add is_ep9312 field. - (ARM_ep9312_Prop): Define. - * armemu.h: Add prototypes for Maverick co-processor + * armdefs.h (ARMul_state): Add is_ep9312 field. + (ARM_ep9312_Prop): Define. + * armemu.h: Add prototypes for Maverick co-processor functions. - * arminit.c (ARMul_SelectProcessor): Initialise the + * arminit.c (ARMul_SelectProcessor): Initialise the co-processor support once the chip has been selected. - * wrapper.c: Add support for Maverick co-processor. - (init): Do not call ARMul_CoProInit. Delays this until the + * wrapper.c: Add support for Maverick co-processor. + (init): Do not call ARMul_CoProInit. Delays this until the chip has been selected. 2003-03-02 Nick Clifton @@ -249,7 +630,7 @@ 2003-02-27 Andrew Cagney * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd. - + 2003-01-10 Ben Elliston * README.Cygnus: Rename from this .. @@ -270,7 +651,7 @@ * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH and MIAxy instructions. - + 2002-06-21 Nick Clifton * armos.h (ADP_Stopped_RunTimeError): Set correct value. @@ -327,7 +708,7 @@ (ARMul_OSInit): For XScale targets, only support the ANGEL SWI interface. (This is at the request if Intel). (ARMul_OSHandleSWI): Examine swi_mask to see if a particular - SWI call should be emulated. + SWI call should be emulated. Do not fall through from AngelSWI_Reason_WriteC. Propagate exit code from RedBoot Exit SWI. * rdi-dgb.h (swi_mask): Prototype. @@ -468,8 +849,8 @@ 2001-03-06 Nick Clifton * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2. - Compute destination address of BLX(1) instruction by - taking bit 1 from PC and not from bit 0 of the offset. + Compute destination address of BLX(1) instruction by + taking bit 1 from PC and not from bit 0 of the offset. 2001-02-27 Nick Clifton @@ -485,10 +866,10 @@ (ARMul_SwapWord): Pass extra parameter to PutWord. (ARMul_SafeReadByte): New Function: Read a byte but do not abort. (ARMul_SafeWriteByte): New Function: Write a byte but do not abort. - + * armdefs.h: Add prototypes for ARMul_SafeReadByte and ARMul_SafeWriteByte. - + * wrapper.c (sim_write): Use ARMul_SafeWriteByte. (sim_read): Use ARMul_SafeReadByte. @@ -500,7 +881,7 @@ (SWIwrite): Use ARMul_SafeReadByte. (ARMul_OSHandleSWI): Remove use of is_SWI_handler. (ARMul_OSException): Remove use of is_SWI_handler. - + 2001-02-16 Nick Clifton * armemu.c: Remove Prefetch abort for breakpoints. Instead set @@ -569,12 +950,12 @@ * armdefs.h (State): Add 'v5e' and 'xscale' fields. (ARM_v5e_Prop): Define. (ARM_XScale_Prop): Define. - + * wrapper.c (sim_create_inferior): Select processor based on machine number. (SWI_vector_installed): New boolean. Set to true if the SWI vector address is written to by the executable. - + * arminit.c (ARMul_NewState): Switch default to 32 bit mode. (ARMul_SelectProcessor): Initialise v5e and xscale signals. (ARMul_Abort): Fix calculation of LR address. @@ -584,13 +965,13 @@ vector, otherwise issue a warning message and continue. * armsupp.c (ARMul_CPSRAltered): Set S bit aswell. - + * thumbemu.c: Add v5 instruction simulation. * armemu.c: Add v5, XScale and El Segundo instruction simulation. * armcopro.c: Add XScale co-processor emulation. * armemu.h: Add exported XScale co-processor functions. - + 2000-09-15 Nick Clifton * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM @@ -750,7 +1131,7 @@ Wed Mar 22 15:24:21 2000 glen mccready * armsupp.c: Fix compile time warning messages. * armvirt.c: Fix compile time warning messages. * bag.c: Fix compile time warning messages. - + 2000-02-02 Bernd Schmidt * *.[ch]: Use indent to make readable. @@ -765,7 +1146,7 @@ Wed Mar 22 15:24:21 2000 glen mccready 1999-10-27 Nick Clifton * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb - breakpoint. + breakpoint. 1999-10-08 Ulrich Drepper @@ -785,7 +1166,7 @@ Thu Sep 2 18:15:53 1999 Andrew Cagney 1999-05-08 Felix Lee * configure: Regenerated to track ../common/aclocal.m4 changes. - + 1999-04-06 Keith Seitz * wrapper.c (stop_simulator): New global. @@ -833,11 +1214,11 @@ Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com) (SWIread): New function. (SWIwrite): New function. (SWIflen): New function. - (ARMul_OSHandleSWI): Call new functions instead of handling + (ARMul_OSHandleSWI): Call new functions instead of handling these here. (ARMul_OSHandleSWI): Handle Angel SWIs correctly. (*): Reformat spacing to be a bit more GNUly. - Most code taken from a patch by Anthony Thompson + Most code taken from a patch by Anthony Thompson (athompso@cambridge.arm.com) Tue Jun 2 15:22:22 1998 Nick Clifton @@ -949,7 +1330,7 @@ Thu Dec 4 09:21:05 1997 Doug Evans Thu Oct 30 13:54:06 1997 Nick Clifton * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch - from Tony Thompson at ARM: athompso@arm.com + from Tony Thompson at ARM: athompso@arm.com * wrapper.c (sim_create_inferior): Add code to create an execution environment. Patch from Tony Thompson at ARM: athompso@arm.com @@ -1119,12 +1500,12 @@ Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, - INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. - (docdir): Removed. - * configure.in (AC_PREREQ): autoconf 2.5 or higher. - (AC_PROG_INSTALL): Added. - * configure: Rebuilt. + * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, + INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. + (docdir): Removed. + * configure.in (AC_PREREQ): autoconf 2.5 or higher. + (AC_PROG_INSTALL): Added. + * configure: Rebuilt. Wed Feb 21 12:14:31 1996 Ian Lance Taylor @@ -1144,7 +1525,7 @@ Mon Nov 20 17:40:38 1995 Doug Evans * wrapper.c (mem_size, verbosity): New static global. (arm_sim_set_mem_size): Renamed from sim_size. Callers updated. (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated. - + Fri Nov 17 19:35:11 1995 Doug Evans * armdefs.h (ARMul_State): New member `verbose'.