Commit graph

17479 commits

Author SHA1 Message Date
Ian Lance Taylor
9a5acea834 * doc/as.texinfo: Added section on reporting bugs. 1996-11-01 19:37:24 +00:00
Ian Lance Taylor
eb1b89196c add missing d10v sanitization 1996-11-01 19:05:55 +00:00
Ian Lance Taylor
9af4021772 * config/tc-alpha.c: Change uses of void * to PTR. Change the
alpha_macro emit field to expect a const argument, and change the
	arg field to be const.  Fix some spacing to follow the GNU
	standard.

Fri Nov  1 10:32:03 1996  Richard Henderson  <rth@tamu.edu>

	* config/tc-alpha.c (md_parse_option): Add knowledge of 21164pc
	(pca56) and 21264 (ev6) cpus.
	(md_apply_fix): Private relocation types are now negative.
	(alpha_force_relocation): Likewise.
	(tc_gen_reloc): Likewise.
	(emit_insn): Likewise.
	(emit_ldXu): Do the right thing when the hardware can do byte insns.
	(emit_stX): Likewise.
	(emit_sextX): Likewise.
1996-11-01 18:44:14 +00:00
Ian Lance Taylor
1b6263fa2e Fri Nov 1 10:31:02 1996 Richard Henderson <rth@tamu.edu>
* alpha.h: Don't include "bfd.h"; private relocation types are now
 	negative to minimize problems with shared libraries.  Organize
 	instruction subsets by AMASK extensions and PALcode
 	implementation.
	(struct alpha_operand): Move flags slot for better packing.
1996-11-01 18:31:57 +00:00
Ian Lance Taylor
03e9562378 Fri Nov 1 10:29:11 1996 Richard Henderson <rth@tamu.edu>
* alpha-dis.c (print_insn_alpha): Use new NOPAL mask for
	standard disassembly.

	* alpha-opc.c (alpha_operands): Rearrange flags slot.
	(alpha_opcodes): Add new BWX, CIX, and MAX instructions.
	Recategorize PALcode instructions.
1996-11-01 18:30:43 +00:00
Ian Lance Taylor
e6b743a20a * scripttempl/m68kcoff.sc: Make sure the etext and __CTOR_LIST__
symbols are correctly aligned.
1996-11-01 18:01:57 +00:00
Michael Meissner
5db7cc25b8 Make gdb compile & link cleanly on powerpc-linux 1996-11-01 15:53:28 +00:00
Michael Meissner
cf1e294cc0 Powerpc-linux now builds the simulator 1996-11-01 13:08:43 +00:00
Martin Hunt
5c839c675a Thu Oct 31 19:13:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* interp.c (sim_fetch_register, sim_store_register): Fix bug where
	updating the accumulators was overwriting other parts of the global
	State variable.
1996-11-01 03:15:44 +00:00
Ian Lance Taylor
fbc3fbe587 * stabs.c (struct stab_handle): Add bincl_list field.
(parse_stab): Pass value to push_bincl.  Call find_excl for
	N_EXCL.
	(struct bincl_file): Add hash, file and file_types fields.
	(push_bincl): Add hash parameter.  Save it in the new hash field.
	Save the file number in the new file field.
	(pop_bincl): Put the bincl_file on bincl_list, rather than freeing
	it.  Save the file types in the new file_types field.
	(find_excl): New static function.
PR 10980.
1996-11-01 03:06:49 +00:00
Ian Lance Taylor
0098633432 * ieee.c (ieee_lineno): Don't compare line number addresses to
info->highaddr (undo part of October 28 patch).
1996-11-01 02:21:50 +00:00
Stan Shebs
de61c9e1f3 Fix sanitization of D10V script template 1996-11-01 02:14:43 +00:00
Michael Snyder
8665f3dcfa Thu Oct 31 16:37:17 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* m32r-tdep.c: Improved frame_chain and fn prologue analysis.
        * configure.tgt: Add entry for m32r target.
        * monitor.h:   Add a flag to tell monitor_store_register to use
                        (val, regno) instead of (regno, val).
        * monitor.c:   Make monitor_store_register honor the above flag.
                        Make monitor_exp ignore DC1/DC3 for m32r.
                        Increase buf size in monitor_dump_regs.
1996-11-01 00:41:21 +00:00
Ian Lance Taylor
527dc0c9ed * symbols.c (resolve_symbol_value): Improve the error message if
an undefined symbol is used in an expression.
1996-11-01 00:35:00 +00:00
David Edelsohn
e468146789 * ansidecl.h (VPARAMS,VA_START): Define. 1996-10-31 22:59:20 +00:00
Gavin Romig-Koch
7fc45edb6c Fix linux build problem. 1996-10-31 19:58:14 +00:00
David Edelsohn
2b5c4499c2 (set_expected_cpus): Add m32r. 1996-10-31 18:59:51 +00:00
David Edelsohn
5477ff627b .Sanitize for config/m32r. 1996-10-31 18:11:44 +00:00
Jeff Law
e740228de7 * scriptempl/v850.sc (zdata): Handle reszdata, romzdata and
romzbss too.
1996-10-31 16:45:02 +00:00
Ian Lance Taylor
fe7e5bdf73 * doc/internals.texi: Rewrite, and add a lot of documentation.
* doc/Makefile.in (internals.info): New target.
1996-10-31 04:16:52 +00:00
Michael Snyder
7e69daa771 Filter changes for m32r target. 1996-10-31 02:31:56 +00:00
Michael Snyder
f8931413c9 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/m32r.exp: New file.
1996-10-31 02:30:32 +00:00
Michael Snyder
afb89dc334 Keep changes, if m32r. 1996-10-31 02:28:56 +00:00
Michael Snyder
70ab088d08 Wed Oct 30 18:14:14 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* m32r-tdep.c, m32r-rom.c: New files.
        * config/m32r/m32r.mt: New file.
        * config/m32r/tm-m32r.h: New file.
1996-10-31 02:27:58 +00:00
Michael Snyder
1d3d059535 Keep new files, modulo m32r. 1996-10-31 02:26:56 +00:00
Jeff Law
7d2759fc5b * v850-opc.c (v850_opcodes): Add relaxing "jbr". 1996-10-30 23:52:31 +00:00
Michael Meissner
b30cdd3565 Fix -t option to work with memory mapping; Print PC in some error messages 1996-10-30 22:43:02 +00:00
Jeff Law
193e41979c * config/tc-v850.h (tc_fix_adjustable): Don't adjust relocs
against weak symbols.
Fixing RW failures.
1996-10-30 21:58:38 +00:00
Jeff Law
8824fb459b * simops.c (OP_10007E0): Handle SYS_times and SYS_gettimeofday.
Check it into devo too.
1996-10-30 16:30:59 +00:00
Jeff Law
6803f89b14 * simops.c (OP_10007E0): Handle SYS_time.
Check into devo too.
1996-10-30 15:51:39 +00:00
Geoffrey Noer
ea5c2d663c Tue Oct 29 16:56:01 1996 Geoffrey Noer <noer@cygnus.com>
* config/i386/xm-cygwin32.h:
        * config/powerpc/xm-cygwin32.h:
        add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly
        truncated
1996-10-30 00:58:26 +00:00
David Edelsohn
be951827ed * Makefile.in (all-target-winsup): Depend on all-target-librx. 1996-10-30 00:42:06 +00:00
Michael Meissner
3f7401733d Allow bi-endian support in PowerPC 1996-10-29 23:40:58 +00:00
Stan Shebs
62c0cf2405 * TODO: Add item suggesting an "info bfd" command. 1996-10-29 23:20:54 +00:00
David Edelsohn
affcfcf9af * elf32-m32r.c (elf_m32r_howto_table, R_M32R_24): Use
complain_overflow_unsigned.
1996-10-29 23:09:51 +00:00
Michael Meissner
b9f74e0b24 Add access, sigaltstack, sigaction emulations 1996-10-29 23:02:33 +00:00
Ian Lance Taylor
3c02d99662 * gas/mips/*.d: Update for disassembler changes. 1996-10-29 22:22:35 +00:00
Ian Lance Taylor
c0e8bfc01c add missing end-sanitize-v850 1996-10-29 22:04:56 +00:00
Ian Lance Taylor
af9168428d * objdump.c (objdump_print_value): Don't print the empty string
for zero.
1996-10-29 21:41:28 +00:00
Ian Lance Taylor
b56c3d6cee * mips-dis.c (_print_insn_mips): Don't print a trailing tab if
there are no operand types.
1996-10-29 21:31:22 +00:00
Jeff Law
c500c07496 * simops.c: Include <sys/stat.h>.
(OP_10007E0): Handle SYS_stat.
For RW testing.
1996-10-29 21:24:01 +00:00
Jeff Law
baf385b5fc * config/tc-v850.c (md_assemble): Don't lose for relaxable
addresses like .+6.
Fixing more problems with new relaxing code.
1996-10-29 21:16:17 +00:00
Martin Hunt
421a2956fe Tue Oct 29 12:53:46 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* elf32-d10v.c (elf_d10v_howto_table): Don't complain on
	overflows for R_D10V_16 and R_D10V_18.
1996-10-29 20:55:52 +00:00
Martin Hunt
089f0d4540 Tue Oct 29 12:48:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap.
	(TARGET_READ_FP,TARGET_WRITE_FP): Define.
1996-10-29 20:53:04 +00:00
Martin Hunt
19414cdfb0 Tue Oct 29 12:48:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10v-tdep.c: Snapshot that supports D10V-EVA board.

	* config/d10v/tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap.
	(TARGET_READ_FP,TARGET_WRITE_FP): Define.
1996-10-29 20:52:52 +00:00
Martin Hunt
acaf1d19e6 Tue Oct 29 12:33:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* d10velf.sh: Changes needed for D10V-EVA board.
	Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to
	0x2000000.
1996-10-29 20:44:33 +00:00
Martin Hunt
2f19ce7814 Tue Oct 29 12:33:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* emulparams/d10velf.sh: Changes needed for D10V-EVA board.
	Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to
	0x2000000.

	* scripttempl/elfd10v.sc:  Fix calculation of .text.  Change
	.stack to start at 0x2007ffe.
1996-10-29 20:44:15 +00:00
Martin Hunt
c422ecc7a4 Tue Oct 29 12:13:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
* interp.c (sim_size): Now allocates unified memory for imap segments
	0,1,2, and 127. Initializes imap0 and imap1 to 0x1000.  Initializes dmap to 0.
	(sim_write): Just call xfer_mem().
	(sim_read): Just call xfer_mem().
	(xfer_mem): New function. Does appropriate memory mapping and copies bytes.
	(dmem_addr): New function. Reads dmap register and translates data
 	addresses to local addresses.
	(pc_addr): New function. Reads imap register and computes local address
	corresponding to contents of the PC.
	(sim_resume): Change to use pc_addr().
	(sim_create_inferior): Change reinitialization code. Also reinitializes
	imap[01] and dmap.
	(sim_fetch_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.
	(sim_store_register): Add fake registers 32,33,34 for imap0, imap1, and dmap.

	* simops.c (MEMPTR): Redefine to use dmem_addr().
	(OP_5F00): Replace references to STate.imem with dmem_addr().

	* d10v-sim.h (State): Remove mem_min and mem_max. Add umem[128].
	(RB,SW,RW,SLW,RLW): Redefine to use dmem_addr().
	(IMAP0,IMAP1,DMAP,SET_IMAP,SET_IMAP1,SET_DMAP): Define.
1996-10-29 20:31:08 +00:00
Jeff Law
2385d90a81 * config/tc-v850.c (md_convert_frag): Make sure we insert the
fixup at the right address within the frag.
1996-10-29 20:07:13 +00:00
Jeff Law
bc49fab8ea * config/tc-v850.c (md_convert_frag): Don't set fragP->fr_fix
to an absolute value, instead increment it as needed.
1996-10-29 19:48:18 +00:00