Commit Graph

6494 Commits

Author SHA1 Message Date
Jim Kingdon
d9d9782312 * Rename elf{32,64}-generic.c to *-gen.c for 14 char filenames.
* Makefile.in: Change accordingly.
	(CFILES): Add elf64-gen.c.
1993-07-17 01:28:11 +00:00
David MacKenzie
de793e5f22 posix.2 final changes 1993-07-17 01:10:10 +00:00
Jim Kingdon
0cd1a8d2aa * Makefile.in (TAGS): make work when srcdir != objdir. 1993-07-16 22:28:12 +00:00
David MacKenzie
a2cdf246df remove /dev/null kludge 1993-07-16 22:24:10 +00:00
David D. Zuhn
f358c81426 update for lynx, sgi -x- sh 1993-07-16 21:21:30 +00:00
Ian Lance Taylor
fe619ced4a * ldgram.y (OPTION_Lfile): New token.
(command_line_option): Accept OPTION_L NAME (whitespace after -L).
	* ldlex.l (<COMMAND>): Accept -L without FILENAME.
1993-07-16 21:15:40 +00:00
David Edelsohn
dd8ca662ce h8/300h stuff 1993-07-16 20:46:46 +00:00
David Edelsohn
5448fed531 Fix h8300h support (need own .mt file). 1993-07-16 20:44:05 +00:00
David Edelsohn
fb564b406c h8/300h support 1993-07-16 20:43:14 +00:00
David Edelsohn
f853f4ca53 Fix bit instructions (was setting destination reg and not carry). 1993-07-16 20:26:05 +00:00
David D. Zuhn
9d8c0ead6b work around lynxos /bin/sh lossage 1993-07-16 20:21:43 +00:00
David D. Zuhn
07a17a1bae use mh-lynxos for *-*-lynxos 1993-07-16 20:17:49 +00:00
David D. Zuhn
6a17017c45 new file for lynx 1993-07-16 20:15:44 +00:00
David D. Zuhn
3cbe92bdef use mh-lynxos host fragment 1993-07-16 20:15:19 +00:00
David D. Zuhn
b48eb8b7e3 handle broken test (lynx) 1993-07-16 20:14:38 +00:00
Ian Lance Taylor
763e8ded4b * mips.h: Reworked the hazard information somewhat, and fixed some
bugs in the instruction hazard descriptions.
1993-07-16 17:01:31 +00:00
Ian Lance Taylor
2e9e68699d * mipsread.c: No longer need to undefine ZMAGIC. 1993-07-16 16:58:08 +00:00
Ian Lance Taylor
851f2e3f00 * coff-mips.c: Use MIPS_AOUT_{OZ}MAGIC rather than {OZ}MAGIC. 1993-07-16 16:56:05 +00:00
Ian Lance Taylor
dea7d7574e * mips.h (MIPS_AOUT_{OZ}MAGIC): Renamed from {OZ}MAGIC. 1993-07-16 16:55:20 +00:00
Ian Lance Taylor
becfe05e61 * config/tc-hppa.h (tc_frob_label): Define.
* config/tc-mips.c: Many changes to support simple assembler
	optimization.
	(insn_label, prev_insn, prev_prev_insn, dummy_opcode,
	prev_insn_valid, prev_insn_frag, prev_insn_where,
	prev_insn_fixp, prev_insn_is_delay_slot): New static
	variables.
	(insn_uses_reg, mips_no_prev_insn, mips_emit_delays,
	mips_align, s_stringer, s_mips_space): New static functions.
	(mips_define_label): New global function.
	(md_pseudo_table): For "ascii", "asciz", "asciiz", call
	s_stringer.  Changed argument to float_cons from 0 or 1 to 'f'
	or 'd'.  For "space" call s_mips_space.
	(md_begin): Call mips_no_prev_insn.
	(append_insn): Only insert necessary NOP instructions.
	(macro): Call mips_emit_delays before setting mips_noreorder.
	Increment and decrement mips_noreorder rather than using
	save_reorder_condition.  Don't bother to use noreorder in
	M_L_DOB and M_L_DAB, since append_insn will not insert a NOP.
	(md_atof): Handle floating point numbers correctly for both
	big and little endian targets.
	(s_align, s_cons): Call mips_align rather than frag_align.
	(s_change_seg, s_cons): Call mips_emit_delays.
	(s_float_cons): Let float_cons do the work.
	(s_mipsset): Call mips_emit_delays when setting noreorder.
	* config/tc-mips.h (tc_frob_label): Define to be
	mips_define_label.
1993-07-16 16:26:41 +00:00
Ian Lance Taylor
1e9cf56586 * read.c (float_cons): Simplified parsing logic. If
REPEAT_CONS_EXPRESSIONS is defined, accept a repeat count.

	* symbols.c (colon): Rather than a special case for TC_HPPA,
	use new macro tc_frob_label.
1993-07-16 16:26:03 +00:00
Ian Lance Taylor
04acd059ee * config/obj-ecoff.c (ecoff_build_symbols, ecoff_build_procs,
ecoff_frob_files): Consistently use S_GET_VALUE rather than
	bfd_asymbol_value.  Warn if taking difference of symbols in
	different segments.
1993-07-16 15:58:08 +00:00
Ian Lance Taylor
cb441b387e * config/tc-m88k.c (omagic): Removed unused variable. 1993-07-15 22:16:39 +00:00
Ian Lance Taylor
e58bd252cb Removed definition of OMAGIC from m88k.h. 1993-07-15 22:10:56 +00:00
Ian Lance Taylor
f75906eb17 * m88k-pinsn.c: Moved code into opcodes/m88k-dis.c.
(print_insn): Now just calls print_insn_m88k.
1993-07-15 22:07:28 +00:00
David MacKenzie
922018a10c remove dupliate include 1993-07-15 22:02:01 +00:00
Ian Lance Taylor
5276e361db * config/obj-ecoff.c (ecoff_frob_file): Discard all open scopes,
with a warning.
1993-07-15 22:01:27 +00:00
David Edelsohn
ccdc578f57 * h8300-tdep.c (examine_prologue): Make prototype match definition. 1993-07-15 21:55:14 +00:00
David Edelsohn
1ca9e7c943 (examine_prologue): Make prototype match definition. 1993-07-15 21:53:51 +00:00
David MacKenzie
c3cbe3f459 source cleanups; fix finding scripts 1993-07-15 21:49:24 +00:00
David Edelsohn
4ab3a31f9e Add h8/300h support. 1993-07-15 21:45:16 +00:00
David MacKenzie
bbd2521f26 source cleanups; fix finding scripts 1993-07-15 21:43:28 +00:00
David Edelsohn
a5ef437e7f h8/300h support 1993-07-15 21:41:50 +00:00
Jim Kingdon
be9af13cb5 minor fixes 1993-07-15 21:16:12 +00:00
Jim Kingdon
38e1c8decb * stabs.texinfo: Cleanups regarding statics. 1993-07-15 20:44:09 +00:00
Jim Kingdon
24dcc70729 * stabs.texinfo: Cleanups regarding statics. 1993-07-15 20:29:23 +00:00
Ian Lance Taylor
2368ec638a * config/obj-coffbfd.c (fixup_segment): If TC_M88K, don't adjust
by md_pcrel_from if we are relocating against a symbol (we still
	need md_pcrel_from for a PC relative relocation within the same
	file).
	* config/tc-m88k.c (md_pcrel_from): Corrected return value.
1993-07-15 20:23:43 +00:00
Ian Lance Taylor
6585e9e347 * coff-m88k.c (howto_table): Corrected bitsize for R_PCR26L from
16 to 26.
1993-07-15 20:06:41 +00:00
Ian Lance Taylor
b0955bc979 * scripttempl/m88kbcs.sc: Removed TARGET statement. Changed
OUTPUT_FORMAT to use ${OUTPUT_FORMAT}.
	* emulparams/m88kbcs.sh: It's coff-m88kbcs, not m88kbcs.
1993-07-15 19:59:21 +00:00
Jim Kingdon
ab17c2d292 * gdbinv-s.texi (Bootstrapping): Document exceptionHandler.
(Debug Session): Mention exceptionHandler.  Add xref to Bootstrapping.
1993-07-15 19:00:08 +00:00
Jim Kingdon
5b336d29ca * NEWS: Mention that remote.c now has a `load' operation. 1993-07-15 18:28:40 +00:00
Ian Lance Taylor
9edc5b2eca * Makefile.in (em_m88kbcs.c): Correct dependency.
(scripttempl/m88kbcs.sc): It's ARCH, not arch.
1993-07-15 17:57:26 +00:00
Jim Kingdon
d08c6f4c11 * hppa-tdep.c (pc_in_linker_stub): New function. 1993-07-15 17:49:41 +00:00
Jim Kingdon
5ac7f56ee8 * hppa-tdep.c (pc_in_linker_stub): New function.
(find_proc_framesize): Return 0 for linker stubs.
	(rp_saved): Tell the caller where rp is saved.
	(frame_chain_valid): Return 1 for linker stubs.
	(frame_saved_pc): Use return value from rp_saved.
1993-07-15 17:38:59 +00:00
Jim Kingdon
0568df2acf * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test. 1993-07-15 17:10:43 +00:00
David Edelsohn
56390ce8d4 * compile.c: Reset HMODE back to zero (accidently set it to 1). 1993-07-15 17:04:39 +00:00
David Edelsohn
cf5b4aa63a * run.c (main): If h8/300h binary detected, call set_h8300h.
* compile.c (sim_resume): Fix O_NEG insn.
1993-07-15 17:01:40 +00:00
Ian Lance Taylor
b3a2b4975f * objdump.c (disassemble_data): Handle the m88k.
(display_bfd): Use bfd_errmsg, rather than just claiming that the
	bfd is not an object file.
1993-07-15 16:46:50 +00:00
Ian Lance Taylor
d909159c16 * m88k.h: Corrected a couple of opcodes. 1993-07-15 16:43:54 +00:00
Ian Lance Taylor
482d6747e8 * dis-asm.h: Added declaration of print_insn_m88k. 1993-07-15 16:42:33 +00:00