Commit Graph

15919 Commits

Author SHA1 Message Date
Ian Lance Taylor 024e177923 fix typo in comment 1996-04-11 16:44:19 +00:00
Ian Lance Taylor 65feb78d13 * config/tc-m68k.c (md_estimate_size_before_relax): Correct check
for byte jump to next instruction to skip empty frags.
PR 7044.
1996-04-11 16:41:48 +00:00
Ian Lance Taylor aa59d90e55 * scripttempl/m68kcoff.sc: Remove regions and simplify. 1996-04-11 16:07:40 +00:00
Marilyn Sander 8e85fd5fd0 Propagating 96q2 fix in progressive for bug 12 back into devo 1996-04-11 04:44:32 +00:00
Ian Lance Taylor 456c301f6e * config/tc-alpha.c (alpha_ip): If we are going to call emit_add64
for addq with a 16 bit signed value, just emit a lda instruction
	instead.
PR 6982.
1996-04-10 20:50:02 +00:00
Jeff Law d26c498b31 * scripttempl/h8300.sc: Add the "8-bit area" in the upper 256
bytes of the address space.  Put data from the ".eight" sections
        into the 8-bit area.
        * scripttempl/h8300h.sc: Likewise.
8-bit area changes for hmse.
1996-04-10 20:40:24 +00:00
Jeff Law b3ed89e865 * config/tc-h8300.c (do_a_fix_imm): Don't cut off high bits
of a 32bit operand.
Fix for mov32bug.s.
1996-04-10 20:33:58 +00:00
Jeff Law 6af55660ef * gas/h8300/mov32bug.s: New test.
* gas/h8300/h8300.exp: Run it.
Testcase for c-torture failure caused by a gas bug.
1996-04-10 20:26:19 +00:00
Ian Lance Taylor 176512da76 * versados.c (versados_scan): Check bfd_alloc return value.
(versados_object_p): Check all bfd_read return values.  Require
	that lang field be less than 10, to avoid confusion with Intel Hex
	files.
1996-04-10 18:21:08 +00:00
Ian Lance Taylor 18de3f1908 * libaout.h (WRITE_HEADERS): Write out the relocs even if there
aren't any symbols.
	* aoutx.h (NAME(aout,swap_std_reloc_out)): Set r_index to N_ABS,
	not 0, for an absolute symbol.
	(NAME(aout,swap_ext_reloc_out)): Likewise.
PR 7387.
1996-04-10 18:11:00 +00:00
Ian Lance Taylor 66ab4152a0 * ihex.c (ihex_scan): Accept a length of 4 for record type 5.
(ihex_write_object_contents): For a large start address, output
	the full 32 bit address in record type 5.
PR 9422.
1996-04-10 17:01:35 +00:00
Wilfried Moser f046f4c87a * ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
(calculate_array_length): Move function from here ...

        * ch-exp.c (calculate_array_length): ... to here.
        (parse_primval): If we have a symbol with an array type
        and the length is 0, call calculate_array_length.
1996-04-10 10:01:30 +00:00
Jackie Smith Cashion 8b554809c0 Wed Apr 10 09:51:38 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c (sim_do_command): Complain if callback structure not
 	initialised.
1996-04-10 08:53:24 +00:00
Ian Lance Taylor b7fce5bec1 * ieee.c (ieee_write_byte): Change second parameter from bfd_byte
to int to avoid promotion problems in prototype.
1996-04-10 04:26:18 +00:00
David Edelsohn b279f82e00 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse):
Pass $ARCH to ldfile_set_output_arch instead of setting
	ldfile_output_architecture directly.
1996-04-09 21:11:51 +00:00
Ian Lance Taylor 517a7cafec * ld.texinfo: Rearrange option documentation. 1996-04-09 20:36:27 +00:00
Ian Lance Taylor bf7198b36c tweak last change 1996-04-09 19:30:06 +00:00
Ian Lance Taylor 1ffec9e606 * lexsup.c (ld_options): New static array.
(parse_args): Build shortopts and longopts from ld_options array.
	(help): New static function.
	* ldver.h (help): Don't declare.
	* ldver.c (ldversion): Reindent.
	(help): Remove.
1996-04-09 19:20:04 +00:00
Michael Meissner 28ad0357c6 Put .init/.fini in correct places. 1996-04-09 18:23:54 +00:00
Ian Lance Taylor 7ec9d82515 * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic. 1996-04-09 16:19:51 +00:00
Ian Lance Taylor f400f35863 * configure.host: Use ${srcdir} when looking for picfrag. 1996-04-09 16:09:14 +00:00
Ian Lance Taylor 3d9a598662 * configure.host: Switch on ${libdir}, not $(libdir). From
alan@spri.levels.unisa.edu.au (Alan Modra).
1996-04-09 16:01:26 +00:00
Ian Lance Taylor f1b45745b4 * aoutx.h (aout_link_add_symbols): Always call add_dynamic_symbols
entry point, not just for DYNAMIC objects.
	* sunos.c (sunos_add_dynamic_symbols): Always call
	sunos_create_dynamic_sections.  If called with a non DYNAMIC
	object, don't do anything else.
	(sunos_add_one_symbol): Don't call sunos_create_dynamic_sections.
1996-04-09 15:46:41 +00:00
Wilfried Moser a539f6d8b9 * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET:
Add some checks for powerset compatibility.

        * valops.c (value_slice): Use lowbound instead of lowerbound for
        call to slice_range_type to get correct bounds.
1996-04-09 08:28:50 +00:00
Wilfried Moser cc1583dac2 * gch981.{ch,exp}, gch1041.{ch,exp}: New test cases. 1996-04-09 08:19:58 +00:00
Fred Fish 5579919f7d * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and
dependencies.
	* scm-lang.c (gdb_string.h): Include.
	* objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
	call to correct type (char *).
	* cp-valprint.c (cp_print_static_field): Ditto.
	* somsolib.c (som_solib_create_inferior_hook): Add a declaration
	for external find_unwind_entry function (from hppa-tdep.c).
	* remote-pa.c (remote_write_bytes, remote_read_bytes): Change
	type of second arg to "char *" to be type compatible with
	dcache.
	(remote_wait): Cast second arg to strtol to correct type.
	* hppa-tdep.c (compare_unwind_entries): Change argument types to
	"const void *" to be type compatible with qsort, and then
	assign to local args prior to use.
1996-04-09 06:09:33 +00:00
Jeff Law 50d45d1b2f * compile.c (sim_resume): Fix overflow checks for ALU insns.
So that int-compare.c passes.
1996-04-09 05:57:15 +00:00
Jeff Law 75eb523103 * infptrace.c (kill_inferior): Remove call to "kill"; update
comments.
The "kill" call was declared bogus years ago and is causing problems
on hpux10 (PR 9410).
1996-04-08 21:34:12 +00:00
Geoffrey Noer 7782ee45c4 Modified remote-e7000.c so that :23 isn't appended to the target port
if __WIN32__ is defined.  This is necessary to make e7000 support work
for WinGDB.
1996-04-08 21:08:38 +00:00
Michael Meissner 95bc20ec8d Add 860 specific registers 1996-04-08 21:07:28 +00:00
Ian Lance Taylor 4fea1383f1 formatting change 1996-04-08 20:27:38 +00:00
Michael Meissner 6e005d44f1 Add Solaris on PowerPC support 1996-04-08 20:21:37 +00:00
Ian Lance Taylor 0c4d3f6fc7 * emultempl/elf32.em: When checking for a native emulation, check
that the current emulation is the default emulation.
	* emultempl/sunos.em: Likewise.
1996-04-08 20:03:53 +00:00
Ian Lance Taylor feb522ad4a fix last patch 1996-04-08 19:33:54 +00:00
Ian Lance Taylor d4be776500 * configure.in: Permit --enable-shared to specify a list of
directories.
1996-04-08 18:46:26 +00:00
Ian Lance Taylor b4cb4ea2ac * configure.in: Permit --enable-shared to specify a list of
directories.
	* configure: Rebuild.
1996-04-08 18:45:08 +00:00
Ian Lance Taylor 571177859d Use BFD_PICLIST. 1996-04-08 18:33:43 +00:00
Ian Lance Taylor 639b5a093c * configure.in: Permit --enable-shared to specify a list of
directories.
	* configure: Rebuild.
1996-04-08 18:01:49 +00:00
Ian Lance Taylor 6f21f2e307 * configure.host: Set HLDFLAGS and SHLIB_CFLAGS for *-dec-osf*
host when configuring with --enable-shard.
1996-04-08 16:22:17 +00:00
Ian Lance Taylor 90ba7e6508 * lexsup.c (parse_args): Add -E as a synonym for -export-dynamic,
for HP/UX compatibility.
1996-04-08 15:57:57 +00:00
Fred Fish ce0787ef68 From: Miles Bader <miles@gnu.ai.mit.edu>
* gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c,
	msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk,
	config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h,
	m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.
1996-04-08 05:50:30 +00:00
Fred Fish 7b032c5fed * configure.in (*-*-gnu*): New host. 1996-04-08 05:20:25 +00:00
Fred Fish e5821a93ce From: Miles Bader <miles@gnu.ai.mit.edu>
* config/mh-gnu: New file.
1996-04-08 05:09:57 +00:00
Fred Fish ed086b0a71 From: Miles Bader <miles@gnu.ai.mit.edu>
* configure.in: Use AC_CHECK_TOOL to find AR & RANLIB.
	* configure: Regenerate using autoconf.
1996-04-08 04:56:53 +00:00
Fred Fish 125c17af91 * configure.in (case host): Add i386sco5 host.
* configure: Regenerate.

	From: Robert Lipe <robertl@dgii.com>
	Add support for SCO OpenServer 5 (a.k.a. 3.2v5*)  This
	target is an SVR3.2 with COFF, ELF, and shared libes, but
	no /proc.
	* config/i386/i386sco5.mh:  New file.
	* config/i386/nm-i386sco5.h:  New file.
1996-04-07 21:04:21 +00:00
Fred Fish 230e9ef4a6 From: Robert Lipe <robertl@dgii.com>
* configure.in: SCO OpenServer 5 (a.k.a 3.2v5*) is more like
	SCO 3.2v4 than 3.2v2.
1996-04-07 21:00:40 +00:00
Fred Fish a6b65627d4 * bcache.c (bcache): When size of chunk to cache is exactly equal to
BCACHE_MAXLENGTH, stash chunk as unique copy.
1996-04-06 17:40:03 +00:00
Fred Fish eae8aa302e * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
(add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
	use it, rather than calling add_psymbol_addr_to_list.
	(add_psymbol_addr_to_list): Delete.
	(add_psymbol_to_list): Make psymbol static to avoid random data in
	gaps due to alignment of structure members.
	* symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
 	ADD_PSYMBOL_ADDR_TO_LIST): Remove.  Real world tests show no
	performance improvements by inlining via complicated macros and
	they just make gdb larger and harder to maintain.
	* dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
	and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
	add_psymbol_to_list with appropriate long or CORE_ADDR args.
	(add_partial_symbol): Ditto.
	* partial-stab.h: Ditto.
	* os9kread.c (read_os9k_psymtab): Ditto
	* mdebugread.c (parse_partial_symbols): Ditto.
	(handle_psymbol_enumerators): Ditto.
	(demangle.h): Include.
	* hpread.c (hpread_build_psymtabs): Ditto.
	(hpread_build_psymtabs): Ditto.
	(demangle.h): Include
1996-04-06 10:19:19 +00:00
Jeff Law e24146ec95 * compile.c (decode): Use "bit" to hold L_3 immediates instead
of holding them in "abs".  Handle ABS8MEM memory references aka
        8-bit area.  Replace ABSMOV references with ABS8MEM.
So we've got a chance of simulating something like btst #0,@40:8 correctly.
hmse.
1996-04-06 00:21:35 +00:00
Jeff Law d2f6ce6ac2 * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates,
not "abs", which may be needed for the absolute in something
        like btst #0,@10:8.  Print L_3 immediates separately from other
        immediates.  Change ABSMOV reference to ABS8MEM.
One day we'll actually disassemble btst #0,@10:8 correctly...  But not
yet.  hmse.
1996-04-06 00:14:04 +00:00