Commit Graph

17108 Commits

Author SHA1 Message Date
David Edelsohn 8c84dfa139 m32r.h: new file 1996-09-23 16:18:01 +00:00
Stan Shebs 12ffa10c1d * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to
be consistent with GCC.
	(FPUL_REGNUM, etc): Renumber to match list changes.
	(ADDR_BITS_REMOVE): Delete.
	* sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names):
	Rearrange to match REGISTER_NAMES.
	* sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto.
PR 9457
1996-09-20 23:20:58 +00:00
Martin Hunt c58a1ec2aa Fri Sep 20 15:36:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* interp.c (sim_create_inferior): Reinitialize State every time
	sim_create_inferior() is called.
1996-09-20 22:39:45 +00:00
Ian Lance Taylor 149ee67274 * gencode.c (process_instructions): Call build_endian_shift when
expanding STORE RIGHT, to fix swr.
	* support.h (SIGNEXTEND): If the sign bit is not set, explicitly
	clear the high bits.
	* interp.c (Convert): Fix fmt_single to fmt_long to not truncate.
	Fix float to int conversions to produce signed values.
1996-09-20 19:49:49 +00:00
Ian Lance Taylor e12ab364d2 * aoutx.h (aout_link_input_section_ext): When doing a relocateable
link, adjust the symbol index of a base relative reloc.  Don't
	change the addend of a PC relative reloc if pcrel_offset is set.
	* sunos.c (bfd_sunos_size_dynamic_sections): Don't do anything for
	a relocateable link.
PR 10692.
1996-09-20 16:33:44 +00:00
Ian Lance Taylor a5a43df165 * reloc.c (bfd_perform_relocation): Apply the relocation even if
it is zero, in case src_mask matters.
	(bfd_install_relocation): Likewise.
PR 10685.
1996-09-20 15:44:49 +00:00
Michael Meissner ed9714ab65 Lose doc directory until we DOS-ize it; Add doc/.Sanitize 1996-09-20 13:11:37 +00:00
Michael Meissner 183632b238 Add documentation files 1996-09-20 12:46:09 +00:00
Michael Meissner fd96c1f320 PSIM 1996/9/19 update 1996-09-20 12:36:54 +00:00
Ian Lance Taylor 458e1f58e6 Fix multiplication, ldxc1, and floating point conversion. See ChangeLog. 1996-09-20 03:07:43 +00:00
Michael Meissner c12f5c678e Make sure cmp{,eq,u}i use correct casts 1996-09-20 01:42:15 +00:00
Martin Hunt 81dc176f58 Thu Sep 19 16:19:01 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v-tdep.c:  Stack chain should work now.
1996-09-19 23:21:56 +00:00
Ian Lance Taylor c05d17211e * interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC.
It's OK to have a mult follow a mult.  What's not OK is to have a
	mult follow an mfhi.
1996-09-19 22:52:26 +00:00
Ian Lance Taylor 47c6ce6c2d * gencode.c (process_instructions): Correct shift count for 32
bit shift instructions.  Correct sign extension for arithmetic
	shifts to not shift the number of bits in the type.
1996-09-19 21:55:10 +00:00
Ian Lance Taylor cc5201d78c * gencode.c (process_instructions): Correct handling of nor
instruction.
1996-09-19 19:35:09 +00:00
Michael Meissner addb61a5b2 Fix tracing info 1996-09-19 17:23:21 +00:00
Ian Lance Taylor 72f70020f3 * config/obj-coff.c (fixup_segment): Don't adjust PC relative
reloc for the i960 for a reloc in the same section.  This undoes
	one of the two changes made Aug 19.
PR 10672.
1996-09-19 16:25:11 +00:00
Ian Lance Taylor e425358ff1 * xcofflink.c (xcoff_link_add_symbols): Always initialize
keep_syms.
 	(_bfd_xcoff_bfd_final_link): Don't set target_index
	to an uninitialized value.
1996-09-19 15:08:58 +00:00
Michael Meissner f061ddf67d Make sure there is a trailing space after the instruction 1996-09-19 15:06:37 +00:00
Michael Meissner 891513ee79 Provide macros that can be overriden for the width of the PC & line number fields 1996-09-19 15:02:27 +00:00
Michael Meissner 74473ea10c Add dependencies on lib{bfd,iberity}.a 1996-09-19 14:31:01 +00:00
Ian Lance Taylor 913d896f5b * gas/all/cofftag.s: Use .p2align rather than .align. 1996-09-18 16:15:10 +00:00
Ian Lance Taylor ab2998440b * config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT
symbols to the position of the debugging information.
PR 10668.
1996-09-18 16:14:29 +00:00
Michael Meissner 0535fa1aa0 Rename sim_bfd -> exec_bfd for gdb compatibility 1996-09-18 13:56:57 +00:00
Michael Meissner a49a15ade8 Make exit/stop return correct exit value; Add line number tracing. 1996-09-18 13:23:31 +00:00
Martin Hunt 8ebc98911a Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* tm-d10v.h: Snapshot.
1996-09-18 01:50:06 +00:00
Martin Hunt e05bda9f12 Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot.
1996-09-18 01:49:50 +00:00
Ian Lance Taylor 8d784abe56 * coff-sh.c (sh_relocate_section): Check for an illegal symbol
index.
1996-09-17 20:10:59 +00:00
Ian Lance Taylor 7f21c97c44 * coffcode.h (coff_slurp_line_table): Warn about illegal symbol
indices, rather than crashing.
	(coff_slurp_reloc_table): Likewise.  Check whether the howto field
	is NULL.
1996-09-17 18:20:06 +00:00
Ian Lance Taylor 88907d73ef * configure.in: Add cases for MIPS 5000 like MIPS 4300.
* configure: Rebuild.
1996-09-17 16:23:23 +00:00
Ian Lance Taylor 4dfa884891 * configure.tgt: Add cases for MIPS 5000 like MIPS 4300. 1996-09-17 16:19:44 +00:00
Ian Lance Taylor 800bda836e * mips-opc.c: Add a case for "div" and "divu" with two registers
and a destination of $0.
PR 10654.
1996-09-17 16:07:41 +00:00
Dawn Perchik 5b59224e91 * ser-e7kpc.c: Added wingdb support for target e7000pc. 1996-09-17 10:16:30 +00:00
Jackie Smith Cashion 3733d1095f Tue Sep 17 11:04:50 1996 James G. Smith <jsmith@cygnus.co.uk>
* run.c (main): Explicitly cast malloc() parameter.

This is needed because for certain builds the size field being given
to malloc() is actually 64bits long, and without a cast or malloc
prototype the resulting value used by malloc() depended on the host
endianness, and how long long paramaters are passed into functions.
1996-09-17 10:10:35 +00:00
Jackie Smith Cashion 1db0c2f75c Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk>
* remote-mips.c (pmon_wait): CAIRO PMON does not require forced
 	re-entry back into debug mode.
1996-09-17 10:03:02 +00:00
Ian Lance Taylor 1153e84b7b * coff-arm.c (aoutarm_std_reloc_howto): Change dst_mask for ARM26D
reloc to 0.
	(coff_arm_adjust_symndx): New static function.
	(coff_adjust_symndx): Define.
Fix ld -r.
1996-09-16 22:31:16 +00:00
Ian Lance Taylor 190de8a7a6 * scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix
syntax error on __end__ line.
1996-09-16 22:12:46 +00:00
Ian Lance Taylor df6b92ed1b * scripttempl/armcoff.sc: For -N or -n, don't align .data. From
Chris Hadley <Christopher.Hadley@cl.cam.ac.uk>
1996-09-16 21:56:33 +00:00
Ian Lance Taylor 81530f93ef * ieee.c (struct ieee_write_type): Add reflocalp field.
(ieee_pointer_type): Set reflocalp after pushing type.
	(ieee_function_type): If reflocalp is set, make this type local.
	(ieee_range_type, ieee_array_type, ieee_set_type): Likewise.
	(ieee_const_type, ieee_volatile_type): Likewise.
	(ieee_struct_field, ieee_class_baseclass): Likewise.
PR 10638.
1996-09-16 21:45:01 +00:00
Ian Lance Taylor cd0ae55807 * configure.in: Use a single line for host_tools and native_only. 1996-09-16 21:02:11 +00:00
Ian Lance Taylor 0dcbbb6029 * ieee.c (struct ieee_info): Add global_types field.
(parse_ieee_bb): When starting a BB1, initialize the types field
	to the global_types field.
	(parse_ieee_be): When ending a BB2, copy the types field to the
	global_types field.
1996-09-16 19:33:04 +00:00
Ian Lance Taylor 9859bc3192 * srec.c (srec_scan): Accept multiple symbols on a single line.
From Pascal Martin <pmartin@alsys.com>.
1996-09-16 17:05:12 +00:00
Ian Lance Taylor b876014567 * README: New file. 1996-09-16 16:40:13 +00:00
Ian Lance Taylor 1540599959 * expr.c (expr): Always use unsigned right shifts for >>.
PR 10630.
1996-09-16 15:42:47 +00:00
Jackie Smith Cashion aeb8f981df Mon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk>
* remote-mips.c (mips_load): Ensure that the PC is explicitly
 	loaded after a load to a CAIRO PMON system.
1996-09-16 13:37:02 +00:00
Jackie Smith Cashion f24b7b69ee Mon Sep 16 11:38:16 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c (sim_monitor): Improved monitor printf
 	simulation. Tidied up simulator warnings, and added "--log" option
 	for directing warning message output.
	* gencode.c: Use sim_warning() rather than WARNING macro.
1996-09-16 10:47:20 +00:00
Jeff Law 9d879ade50 * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS.
Something Mark noticed.
1996-09-16 04:09:17 +00:00
Mark Alexander 3e92569690 * emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put
stack at top of simulator memory.
1996-09-15 17:41:13 +00:00
Michael Meissner 215ac9533c Fix brf0{t,f}.s <label> -> instruction not to execute instruction if branch succeeds 1996-09-15 03:46:52 +00:00
Ian Lance Taylor ad0d14e7a2 * Makefile.in (CC_FOR_BUILD): New variable.
(AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
	(RANLIB, CC): Likewise.
	(end): Use $(CC_FOR_BUILD), not $(CC).
	* configure.in: Set CC_FOR_BUILD.
	* configure: Rebuild.
1996-09-14 04:05:41 +00:00