Commit Graph

7205 Commits

Author SHA1 Message Date
Ian Lance Taylor
758aeb93fc * remote.c (remote_wait): Added 'W' and 'N' responses. 1993-09-06 19:46:43 +00:00
Ian Lance Taylor
d5808c7cd8 * nlmconv.c (total_bss_size): Removed.
(main): Set the bss vma to always follow the data section.  Move
	symbols into new sections, and adjust values by output_offset.
	(setup_sections): Don't copy all sections, but instead point all
	text sections to .text, all data sections to .data, and all bss
	sections to .bss.
	(copy_sections): Adjust accordingly.
1993-09-06 19:42:12 +00:00
Roland Pesch
6370267a45 @up/@down -> @raisesections/@lowersections 1993-09-04 00:07:46 +00:00
Roland Pesch
a0a55af6a7 * ld.texinfo: re-enable included config file; conditionalize doc
for -oformat to interact properly with SingleFormat doc config
	var; rename @up/@down to @raisesections/@lowersections.
1993-09-03 23:48:59 +00:00
Jim Kingdon
9e19dee1f0 * main.c, utils.c: Add comments about immediate_quit. 1993-09-03 22:53:45 +00:00
David MacKenzie
836a5ee449 tiny additions & fixes 1993-09-03 22:47:04 +00:00
Ken Raeburn
81b407c990 PA and ELF changes 1993-09-03 22:38:18 +00:00
Ken Raeburn
d30c96ce06 obj-elf.h change 1993-09-03 22:37:03 +00:00
Ken Raeburn
5cf4cd1b8b more Utah changes, some cleanup of mine 1993-09-03 22:36:26 +00:00
Ken Raeburn
6a54ad639f (elf_symbol): Fixed name of elf_symbol_type.
No longer conditionalized on sparcv9.
1993-09-03 22:19:09 +00:00
Jim Kingdon
bbf1ff10ad * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
to minimal symbols.
1993-09-03 22:02:59 +00:00
Ken Raeburn
c6d33b2ff2 configure.in, libbfd, elf, elf-hppa (utah) changes 1993-09-03 20:24:07 +00:00
Ken Raeburn
7adbe989b6 Reorganized setting of makefile variables so 64-bit stuff works again. 1993-09-03 20:13:31 +00:00
Ken Raeburn
3a70b01d63 more changes from Utah, see log for details 1993-09-03 20:12:51 +00:00
Ken Raeburn
ee8cb54804 Deleted some fields of elf*_symbol_type and elf_obj_tdata that were getting
set but not used.  Merged elf*_symbol_type into a single elf_symbol_type.
1993-09-03 20:12:05 +00:00
Ken Raeburn
bc750ff1c1 regenerated after doc fix 1993-09-03 20:09:31 +00:00
Ken Raeburn
6affd66ac1 (_do_get*, _do_put*): Renamed via macros to clean up namespace. 1993-09-03 20:04:52 +00:00
Jim Kingdon
ee5e0932d6 * stabs.texinfo: Make info author notice match the TeX author notice. 1993-09-03 17:12:22 +00:00
Jim Kingdon
5ec3ba257b * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
to minimal symbols.
1993-09-03 16:27:35 +00:00
Jim Kingdon
408f6c34c8 * stabs.texinfo: Many minor cleanups. 1993-09-03 16:15:13 +00:00
Jim Kingdon
56bfba9cea * stabs.texinfo: Many minor cleanups. 1993-09-03 16:04:27 +00:00
Jim Kingdon
a1aae90f2e remove obsolete comment about call function stuff being duplicated 1993-09-03 15:56:00 +00:00
Jim Kingdon
38c5f504d1 * target.c (pop_target): Don't try to deal with the stack becoming
empty.  Shouldn't happen and the code that tried was broken.
1993-09-03 15:34:13 +00:00
Jim Kingdon
ac7a377f64 * dcache.c: Cast return value from xmalloc.
* remote.c: Move setting of immediate_quit from remote_open to
	remote_start_dummy and set it back to zero when done.
1993-09-03 14:26:29 +00:00
Jim Kingdon
eba94f7d0d * m88k-tdep.c: Remove a bunch of unused #includes. 1993-09-02 21:23:16 +00:00
Jim Kingdon
e808f62943 * libhppa.h (hppa_field_adjust): Remove unused `init_value' variable. 1993-09-02 19:24:33 +00:00
Jim Kingdon
a3178c64fd * language.h: Add comment about current_language. 1993-09-02 19:12:37 +00:00
Ian Lance Taylor
ff3a5c1866 Reverted previous change, and added this one instead:
* config/tc-mips.c (macro_build): Accept 'z', and ignore it.
	(macro): Use "z,s,t" for div instructions to match corresponding
	change in opcode table.
	(mips_ip): Added 'z'--must be zero register.
1993-09-02 17:19:14 +00:00
Ian Lance Taylor
547998d2c8 * mips-opc.c: Change div machine instruction to be z,s,t rather
than s,t.  Change div macro to be d,v,t rather than d,s,t.
	Likewise for divu, ddiv, ddivu.  Added z,s,t case for drem, dremu,
	rem and remu which generates only the corresponding div
	instruction.  This is for compatibility with the MIPS assembler,
	which only generates the simple machine instruction when an
	explicit destination of $0 is used.
	* mips-dis.c (print_insn_arg): Handle 'z' (always register zero).
1993-09-02 17:14:10 +00:00
Jim Kingdon
fb27a96270 * mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
from var_uinteger to var_zinteger.
1993-09-02 16:50:45 +00:00
Ian Lance Taylor
a6762b1069 Only build nlmconv if configured for a NetWare target.
* configure.in: If we have some *-*-netware* target, or are using
	all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile.
	* Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than
	$(NLMCONV_PROG).
1993-09-02 16:36:36 +00:00
Ian Lance Taylor
1849d6464f * config/tc-mips.c (macro): If $0 is destination of divide, just
generate the simple machine instruction, for compatibility with
	the MIPS assembler.
1993-09-02 14:46:54 +00:00
Ian Lance Taylor
a9c686adf5 * mips-opc.c: Move div machine instruction after macro forms.
Change d,s,t form to d,v,t.  Likewise for divu, ddiv and ddivu.
	This is for compatibility with the MIPS assembler, which only
	generates the simple machine instruction when an explicit
	destination of $0 is used.
1993-09-02 14:42:31 +00:00
Jim Kingdon
f9440640b2 * m88k-tdep.c: Include sys/dir.h before sys/user.h.
Include sys/types.h regardless of USG.

	* configure.in: Fix typo (delta88r4 -> delta88v4).

	* config/m88k/xm-delta88.h: Don't include sys/siginfo.h.  It was
	to make this work on SVR4 before SVR4 had its own configuration,
	and it breaks SVR3.
1993-09-02 06:20:20 +00:00
Jim Kingdon
7f5a51a460 * config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o. 1993-09-02 06:13:28 +00:00
Jim Kingdon
aa93c577df * hosts/delta88v4.h: New for SVR4.
* configure.hosts: Use it.
1993-09-02 06:06:40 +00:00
Jim Kingdon
d9a23ef770 * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
* config/m88k/m88k.mh: Use xm-dgux.h.
	* config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
	MAKEVA_END and MAKEVA_ARG.
	* config/m88k/xm-*.h: Include m88k/xm-m88k.h.
	* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
1993-09-02 05:57:33 +00:00
Jim Kingdon
d44759e1c0 new for /proc support on svr4 delta88 1993-09-02 05:57:31 +00:00
Jim Kingdon
d0aa33a64e * printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h. 1993-09-02 05:46:57 +00:00
Jim Kingdon
8acf767cf1 * printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h. 1993-09-02 05:45:11 +00:00
Jim Kingdon
22202966ce * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
* config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
	MAKEVA_END and MAKEVA_ARG.
	* config/m88k/xm-*.h: Include m88k/xm-m88k.h.
	* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
1993-09-02 05:35:49 +00:00
Jim Kingdon
ca4cb0ded9 renamed from xm-m88k.h 1993-09-02 05:06:30 +00:00
Jim Kingdon
a80193badd * remote-udi.c (udi_wait): Call warning' not error'. 1993-09-02 05:00:48 +00:00
Jim Kingdon
83f00e88d7 * remote-udi.c (udi_wait): Call warning' not error'. 1993-09-02 04:39:59 +00:00
Jim Kingdon
67a64bec4e * symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
demangling, don't put the mangled form in the completion list.
1993-09-02 02:25:34 +00:00
Jim Kingdon
996ccb3043 * symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c
	partial-stab.h, symmisc.c, gdbtypes.c: Lint.  Remove (or put
	inside #if) unused variables and labels.  Fix unclosed comment.
	Deal with enumeration values unhandled in switch statements.  Make
	sure non-void functions return values.  Include appropriate
	headers.
	* dbxread.c (elfstab_build_psymtabs): Don't check for unsigned
	value < 0.
1993-09-02 01:41:40 +00:00
Rob Savoye
e4d30c7e6a Load the udi library procedures. 1993-09-02 01:12:20 +00:00
Jim Kingdon
be7d4f3f6d * symtab.c (find_pc_line, find_line_common),
symtab.h (struct linetable), xcoffread.c (arrange_linetable):
	Revise comments re linetable sorting.
	* buildsym.c (compare_line_numbers): Sort by pc, not by line.
	* coffread.c: Tell end_symtab to sort the line table.

	* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
	in buildsym.c.  This includes coff_finish_block, coff_context_stack,
	coff_local_symbols, coff_file_symbols, coff_global_symbols,
	coff_end_symtab and coff_add_symbol_to_list.
	(read_enum_type): Deal with it now that we have a "struct pending"
	not a "struct coff_pending".

	* buildsym.c (end_symtab): Don't realloc subfile->linetable.
1993-09-02 00:24:46 +00:00
Jim Kingdon
6b510f8feb * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c.  This includes coff_finish_block, coff_context_stack,
	coff_local_symbols, coff_file_symbols, coff_global_symbols,
	coff_end_symtab and coff_add_symbol_to_list.
	(read_enum_type): Deal with it now that we have a "struct pending"
	not a "struct coff_pending".
1993-09-01 23:43:07 +00:00
Jim Kingdon
3ffb74b9ab * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c.  This includes coff_finish_block, coff_context_stack,
	coff_local_symbols, coff_file_symbols, coff_global_symbols,
	coff_end_symtab and coff_add_symbol_to_list.
	(read_enum_type): Deal with it now that we have a "struct pending"
	not a "struct coff_pending".
1993-09-01 23:11:30 +00:00