Commit Graph

18896 Commits

Author SHA1 Message Date
Ian Lance Taylor
1361ba7757 * config/tc-alpha.h (tc_frob_file_before_adjust): Define if
OBJ_ECOFF.
	(alpha_frob_file_before_adjust): Declare if OBJ_ECOFF.
	* config/tc-alpha.c (alpha_debug): New static variable.
	(md_parse_option): Set alpha_debug if -g is seen.
 	(alpha_frob_file_before_adjust): New function if OBJ_ECOFF.
1997-03-24 17:14:06 +00:00
Ian Lance Taylor
9537b1d020 * Makefile.in (.c.o): Define TARGET_$(MY_TARGET) when compiling.
* gmon.h: Use bytes counts rather than sizeof in struct raw_phdr
 	and struct raw_arc.
1997-03-24 16:13:38 +00:00
Andrew Cagney
265e7c8ba6 The d30v release has a testsuite directory. 1997-03-24 07:18:02 +00:00
Andrew Cagney
00729fe3c5 Enable testsuite in sim directory. 1997-03-24 06:59:54 +00:00
Andrew Cagney
139d457d4e Growing number of tests for d30v 1997-03-24 06:49:54 +00:00
Martin Hunt
2c268a8551 Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* tc-d30v.c (build_insn): Enable range-checking code.
	(postfix): Stop at space or comma. Fixes PR 11862.
	(md_assemble): Change error message.
1997-03-24 02:27:09 +00:00
Martin Hunt
9c9e75bf03 Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c (build_insn): Enable range-checking code.
	(postfix): Stop at space or comma. Fixes PR 11862.
	(md_assemble): Change error message.
1997-03-24 02:26:54 +00:00
Martin Hunt
b7f7f20702 Sun Mar 23 18:08:10 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v-dis.c (print_insn): Change the way signed constants
	are displayed.
1997-03-24 02:24:51 +00:00
Mark Alexander
87ee36023c Fixes from Peter Schauer:
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE,
	REGISTER_CONVERT_FROM_TYPE): Swap words if target, not host,
	is big-endian and if registers are 32 bits.
	* mips-tdep.c (mips_print_register, mips_extract_return_value,
	mips_store_return_value): Fix floating-point word-order problems on
	little-endian targets introduced by changes of Mar 21.
1997-03-24 00:29:12 +00:00
Stan Shebs
a9b9b4071f * remote.c (target_resume_hook, target_wait_loop_hook): New
globals.
 	(remote_resume, remote_wait): Use them.
	* d10v-tdep.c: Set the above hooks.
	(tracesource): New GDB variable, controls source display in
 	traces.
	(display_trace): Find and display source line if requested.
	(trace_info): Mention empty trace buffer if appropriate.
	(tdisassemble_command): Robustify argument handling.
1997-03-24 00:08:26 +00:00
Stan Shebs
94626fd155 * configure.host: Remove extra bogus Linux case. 1997-03-23 20:50:09 +00:00
Bob Manson
4d400231d9 Moved change from gdb_target_udi to gdb_start. 1997-03-23 04:41:14 +00:00
Bob Manson
fb9eb1371d * config/udi.exp(gdb_target_udi): Make sure UDICONF is set
properly before starting gdb.
1997-03-23 04:01:48 +00:00
Fred Fish
09f0789e93 Add this file too.. 1997-03-22 23:55:06 +00:00
Fred Fish
46c755d495 Forgot this change in last checkin. 1997-03-22 23:53:32 +00:00
Fred Fish
12967062e4 * remote-sim.c (simulator_command): Add comment about dealing with
NULL or empty args.
start-sanitize-tic80
	* Makefile.in (tic80-tdep.o): Add target.
	* configure.tgt: Add tic80 case.
	* tic80-tdep.c: New file.
	* config/tic80/{tic80.mt, tm-tic80.h}: New files.
end-sanitize-tic80
1997-03-22 23:52:04 +00:00
David Edelsohn
ff86eeb590 fix v850 sanitization 1997-03-22 19:42:23 +00:00
David Edelsohn
482a7cddc3 remove m32r sanitization 1997-03-22 19:38:00 +00:00
Ian Lance Taylor
65d7de4fc2 * Makefile.in: Added automatic dependency building.
* dep-in.sed: New file.
1997-03-22 18:53:01 +00:00
Peter Schauer
0742270560 * c-exp.y (yylex): Handle nested template parameter lists.
* symtab.c (decode_line_2):  Fix test for valid choice number.
1997-03-22 10:50:18 +00:00
Mark Alexander
c81a76b311 * mips-tdep.c (mips_push_arguments): On non-EABI architectures,
copy first two floating point arguments to general registers, so that
	MIPS16 functions will receive the arguments correctly.
	(mips_print_register): Print double registers correctly on
	little-endian hosts.
	(mips_extract_return_value): Return double values correctly
	on little-endian hosts.

	* mdebugread.c (parse_procedure): Adjust address of procedure relative
	to address in file descriptor record; this accounts for constant
	strings that may precede functions in the text section.  Remove
	now-useless lowest_pdr_addr from argument list and all calls.
1997-03-22 04:40:03 +00:00
Ian Lance Taylor
7cad1a894b * config/obj-ieee.c (segment_name): Don't define function if this
is a macro.
1997-03-21 23:52:29 +00:00
Ian Lance Taylor
f062ec459f * config/obj-coff.h (DO_STRIP): Don't define.
* config/tc-h8300.h (DO_STRIP): Don't define.
	* config/tc-h8500.h (DO_STRIP): Don't define.
	* config/tc-w65.h (DO_STRIP): Don't define.
	* config/tc-z8k.h (DO_STRIP): Don't define.
1997-03-21 23:13:26 +00:00
Ian Lance Taylor
a71dc20461 * symbols.c (colon): Call obj_frob_label if it is defined.
* config/obj-vms.h (obj_frob_label): Rename from tc_frob_label.
1997-03-21 23:06:08 +00:00
David Edelsohn
c28b08c246 Remove m32r sanitization. 1997-03-21 22:00:22 +00:00
David Edelsohn
37bdd624bd Remove m32r sanitization. 1997-03-21 20:59:30 +00:00
Michael Meissner
23e92f3fbd Make powerpc simulator support in gdb dependent on whether the simulator was configured in 1997-03-21 20:56:10 +00:00
David Edelsohn
ff22a9dbf8 * elf32-m32r.c (m32r_elf_howto_table): Use special function for LO16.
(m32r_hi16_list): New static local.
	(m32r_elf_hi16_reloc): Don't perform reloc, just queue it up.
	(m32r_elf_do_hi16_reloc): Delete.
	(m32r_elf_relocate_hi16): New function.
	(m32r_elf_lo16_reloc): New function.
	(m32r_elf_relocate_section): For HI16 relocs, scan for corresponding
	LO16 reloc.

	* elf32-m32r.c (m32r_elf_create_linker_section): Delete.
	(m32r_elf_add_symbol_hook): Rewrite _SDA_BASE_ support.
	(m32r_elf_final_sda_base): New function.
	(m32r_elf_relocate_section): Rewrite sdata support.
	(m32r_elf_finish_dynamic_sections): Delete.
Bring over from m32r-970131 branch.
1997-03-21 20:51:17 +00:00
Ian Lance Taylor
949f1310de * configure.in: Don't set files and links. Don't call
AC_LINK_FILES.  Substitute te_file.  Create targ-cpu.h,
	obj-format.h, targ-env.h, and itbl-cpu.h in AC_OUTPUT.
	* configure: Rebuild.
	* Makefile.in (TARG_CPU_C): New variable.
	(TARG_CPU_O, TARG_CPU_H): New variables.
	(OBJ_FORMAT_C, OBJ_FORMAT_O, OBJ_FORMAT_H): New variables.
	(TARG_ENV_H, ATOF_TARG_C, ATOF_TARG_O): New variables.
	(SOURCES): Rename from REAL_SOURCES.  Delete old definition.
	(LINKED_SOURCES): Remove.
	(HEADERS): Rename from REAL_HEADERS.  Delete old definition.
	(LINKED_HEADERS): Remove.
	(OBJS): Use $(TARG_CPU_O), etc., rather than targ-cpu.o, etc.
	($(OBJS)): Depend upon $(TARG_ENV_H), etc., rather than
	targ-cpu.h, etc.
	($(TARG_CPU_O), $(OBJ_FORMAT_O) $(ATOF_TARG_O)): New targets.
	(targ-cpu.o, obj-format.o, atof-targ.o): Remove targets.
	(itbl-cpu.h): Remove target.
	(DISTCLEAN_HERE): Remove targ-cpu.c, obj-format.c, atof-targ.c,
	atof-targ.h.
1997-03-21 20:48:27 +00:00
Ian Lance Taylor
f76db60bbb * Makefile.in (BFD_H): New variable.
(HFILES): New variable.
	(CFILES): Add all C files.
	(.dep, .dep1, dep.sed, dep, dep-in): New targets.
	Delete old dependencies, and build new ones.
	* dep-in.sed: New file.
1997-03-21 19:39:26 +00:00
Ian Lance Taylor
0727fe1023 * elf32-sparc.c (elf32_sparc_size_dynamic_sections): If there is
no .rela.plt section, don't output a DT_PLTGOT dynamic entry.
Handles the case of a shared library with no function calls.
1997-03-21 18:09:12 +00:00
Ian Lance Taylor
7aef7107a8 x 1997-03-21 17:35:20 +00:00
Ian Lance Taylor
6d4314e031 Fri Mar 21 12:28:41 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* emulparams/delta68.sh (OUTPUT_FORMAT): Set to "m68k-coff-sysv".
1997-03-21 17:29:13 +00:00
Jeff Law
fe380dcc43 * mn10200-tdep.c (mn10200_analyze_prologue): Look for save of "a1"
in the prologue too.
1997-03-21 06:15:27 +00:00
Jeff Law
aa7cec3fb8 * run.c: Include alloca-conf.h. 1997-03-21 05:41:28 +00:00
Jeff Law
7c058c9e50 * callback.c (os_evprintf_filtered): Fix typo. 1997-03-21 04:53:13 +00:00
Jeff Law
1afd299b8f * size.c (usage): Make definition match its prototype.
(display_bfd, lprint_number, rprint_number): Likewise.
        (print_berkeley_format, sysv_internal_printer): Likewise.
        (print_sysv_format): Likewise.
        * nm.c (set_print_radix, set_output_format): Likewise.
        * objcopy.c (filter_bytes): Likewise.
1997-03-21 04:28:24 +00:00
Andrew Cagney
fa21d299e6 Pass GCC -W... 1997-03-21 03:56:07 +00:00
Jeff Law
011fa67124 * remote-sim.c (gdb_os_vprintf_filtered): Fix to work with non-ANSI
compilers.
        (gdb_os_evprintf_filtered): Similarly.
1997-03-21 03:53:59 +00:00
Ian Lance Taylor
527cabaf29 * i386.h: Change DW to W for cmpxchg and xadd, since they don't
take a direction bit.
1997-03-21 00:53:24 +00:00
Ian Lance Taylor
35cfacf0da * doc/as.texinfo (Symbol Names): Don't use obsolete @ctrl macro. 1997-03-21 00:19:44 +00:00
Ian Lance Taylor
9b07de4901 Thu Mar 20 19:03:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* m68k-opc.c (m68k_opcode_aliases): Added blo and blo{s,b,w,l}.
1997-03-21 00:04:16 +00:00
Ian Lance Taylor
39ab5d3a82 * config/m68k-parse.y (motorola_operand): Allow (zdireg,EXPR). 1997-03-20 22:00:37 +00:00
Geoffrey Noer
aefe80633b Fixed .Sanitize 1997-03-20 21:52:10 +00:00
Ian Lance Taylor
0dfeb41faa Thu Mar 20 16:49:14 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.c (mri_chip): Replace calls to get_symbol_end by
	open coded loop that does not require the name to start with a
	name beginner.
1997-03-20 21:51:00 +00:00
Ian Lance Taylor
ac388f2a39 Based on patches from Philippe De Muyter <phdm@info.ucl.ac.be>.
* coff-svm68k.c: New file.  Just defines some macros and includes
	coff-m68k.c.
	* coff-m68k.c: Add functions to handle common addends, moved in
	from cf-m68klynx.c.  Control them using COFF_COMMON_ADDEND macro.
	Control whether relocs are visible using STATIC_RELOCS.
	* cf-m68klynx.c: Simplify greatly: just define macros to control
	coff-m68k.c.
	* coff-aux.c: Likewise.  Just leave add_one_symbol routine.
	* targets. (m68ksysvcoff_vec): Declare.
	(bfd_target_vector): Add m68ksysvcoff_vec.
	* config.bfd (m68*-motorola-sysv*): New target.
	* configure.in (m68ksysvcoff_vec): New vector.
	* configure: Rebuild.
	* Makefile.in: Rebuild dependencies.
 	(BFD32_BACKENDS): Add coff-svm68k.o.
	(BFD32_BACKENDS_CFILES): Add coff-svm68k.c.
1997-03-20 21:23:10 +00:00
Jeff Law
593f97fe13 Fix minor sanitization problems 1997-03-20 20:30:29 +00:00
Ian Lance Taylor
f59fb6cac7 Thu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>
* frags.c (frag_var): Change offset parameter to offsetT.
	(frag_variant): Likewise.
	* frags.h (frag_variant, frag_var): Update declarations.
	* config/tc-m68k.c (struct m68k_it): Change foff field to
	offsetT.
	(add_frag): Change off parameter to offsetT.
	* Several files: Add casts to calls to frag_var.
1997-03-20 19:08:35 +00:00
Jeff Law
65b784d8a5 * simops.c: Fix register extraction for a two "movbu" variants.
Somewhat simplify "sub" instructions.
        Correctly sign extend operands for "mul".  Put the correct
        half of the result in MDR for "mul" and "mulu".
        Implement remaining instructions.
        Tweak opcode for "syscall".
1997-03-20 19:02:44 +00:00
Ian Lance Taylor
29bc322d8d Thu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>
* Makefile.in (m68k-parse.c): Depend upon itbl-parse.c, to
	serialize a parallel make.
	(itbl-parse.h): Split target out from itbl-parse.c.
1997-03-20 18:43:10 +00:00