Commit Graph

8322 Commits

Author SHA1 Message Date
Ian Lance Taylor
cdbfad1cd7 * libnlm.h (struct nlm_backend_data): New fields
optional_prefix_size, nlm_backend_object_p, nlm_write_prefix,
	nlm_set_public_section, nlm_get_public_offset.  Removed unused
	nlm_write_reloc field.  Changed nlm_write_import to remove
	unnecessary symbol argument.  Renamed nlm_write_externals to
	nlm_write_external, and changed cound argument from bfd_vma to
	bfd_size_type.
	(nlm_optional_prefix_size, nlm_backend_object_p_func,
	nlm_write_prefix_func, nlm_set_public_section_func,
	nlm_get_public_offset_func): New accessor macros.
	(nlm_write_reloc_func): Removed.
	(nlm_write_external_func): Adjusted for field renaming.
	* nlm32-i386.c (nlm_i386_write_import): Renamed from
	nlm_i386_write_reloc.  Removed old nlm_i386_write_import which
	just called old nlm_i386_write_reloc.
	(nlm_i386_write_external): Renamed from nlm_i386_write_externals.
	Declared.  Changed second argument from bfd_vma to bfd_size_type.
	(nlm32_i386_backend): Adjusted for changes to fields and names.
	* nlm32-sparc.c (nlm_sparc_mangle_relocs): Removed unused,
	ifdeffed out code.
	(nlm_sparc_write_import): Removed second argument.
	(nlm_sparc_write_external): Renamed from
	nlm_sparc_write_externals.  Changed second argument from bfd_vma
	to bfd_size_type.
	(nlm32_sparc_backend): Adjusted for changes to fields and names.
	* nlmcode.h: Removed some unused code.
	(nlm_object_p): Don't destroy tdata pointer.  Call
	backend_object_p function if it exists.
	(nlm_slurp_symbol_table): Removed unused variable rcount.  Call
	set_public_section_func if it exists instead of checking
	NLM_HIBIT.
	(nlm_compute_section_file_positions): Account for
	optional_prefix_size.
	(nlm_write_object_contents): Account for optional_prefix_size.
	Removed useless variable write_reloc_func.  Changed declaration
	and call of write_import_func.  Call write_prefix_func if it
	exists.  Removed unused variables len and temp.  Call
	get_public_offset_func if it exists rather than setting NLM_HIBIT.
1993-12-02 02:22:35 +00:00
Ian Lance Taylor
f7912fb476 * nlmswap.h: Declare functions. 1993-12-02 02:19:25 +00:00
Ian Lance Taylor
1bbabdad48 New files for preliminary Alpha NetWare support. 1993-12-02 01:46:53 +00:00
Ian Lance Taylor
3fa2ae535b Remove unused declaration from nlmconv.c. Add ChangeLog entry for
Sean's change.
1993-12-02 01:05:45 +00:00
Ian Lance Taylor
a30f59a465 Restore changes clobbered by Sean's check in. 1993-12-02 01:03:03 +00:00
Jason Merrill
d8aa61eb11 Wed Dec 1 17:00:33 1993 Jason Merrill (jason@deneb.cygnus.com)
* Makefile.in (GZIPPROG): Renamed from GZIP, which gzip uses for
	default arguments -- so it tried to compress itself.
1993-12-02 01:01:53 +00:00
Ian Lance Taylor
8e964b071d * ldgram.y (OPTION_Oval): New token.
(command_line_option): Accept and ignore it.
	* ldlex.l (<COMMAND>): Handle -On where n is a number.
1993-12-02 00:25:48 +00:00
Jason Merrill
a0bd8e187b Fix gnatsishness 1993-12-01 23:20:23 +00:00
Ken Raeburn
9a048e4868 changes so far 1993-12-01 23:00:57 +00:00
Ken Raeburn
2713382f20 include fopen-bin.h 1993-12-01 22:53:14 +00:00
Ken Raeburn
848ace961e various 1993-12-01 22:37:57 +00:00
Ken Raeburn
6a6676fbcc handle sparccoff_vec 1993-12-01 22:27:03 +00:00
Ken Raeburn
5984f609d0 declare sparccoff_vec 1993-12-01 22:26:33 +00:00
Ken Raeburn
fff9ad371a handle sparc*-*-coff* 1993-12-01 22:26:06 +00:00
Ken Raeburn
d05ac46bc6 * configure.in: Group targets by CPU. Merge some m68k target entries with
different CPU specs that use the same ld_target values.

* configure.in: Add sparc*-*-coff.
* config/coff-sparc.mt, emulparams/coff_sparc.sh: New files.
* Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o.
(em_coff_sparc.c): Add dependencies and build rules.
1993-12-01 22:14:05 +00:00
Ken Raeburn
9acba7e204 New file for bare sparc-coff support. 1993-12-01 22:12:20 +00:00
Ian Lance Taylor
2f555d79cd Various entries. Added entries for NetWare changes made by Sean a
couple of weeks ago.
1993-12-01 20:06:43 +00:00
Ian Lance Taylor
074c4a12b1 Added copyright notice and comments. 1993-12-01 20:01:08 +00:00
Ian Lance Taylor
e92512bb28 * hosts/alphaosf.h (uint64_typeLOW, uint64_typeHIGH): Cast results
to unsigned long.
1993-12-01 19:51:19 +00:00
Ian Lance Taylor
5dac2dd5a4 * config.bfd: Don't set target64 here, as the setting is ignored.
* configure.in (ecoffalpha_little_vec): Set target64.
1993-12-01 19:47:15 +00:00
Ian Lance Taylor
4aed7f2496 * bfd-in.h (uint64_typeLOW, uint64_typeHIGH): Fully parenthesize
for clarity.
	(fprintf_vma, sprintf_vma): Use %lx, not %x.
	* bfd-in2.h: Rebuilt.
1993-12-01 19:41:16 +00:00
Ian Lance Taylor
4032d3f09e * config/tc-mips.c (macro): From wilson@cygnus.com: for M_L_DAB,
set coproc before doing goto ld.
1993-12-01 19:26:45 +00:00
Jeff Law
44c0de5363 * config/tc-hppa.c (hppa_elf_mark_end_of_function): New function.
(pa_process_exit, pa_procend): Call it for ELF objects.
1993-12-01 18:43:53 +00:00
Ian Lance Taylor
f651733a12 * ldgram.y (OPTION_call_shared, OPTION_non_shared): New tokens.
(command_line_option): Accept and ignore them (for now).
	* ldlex.l (<COMMAND>): Handle -non_shared and -call_shared.
1993-12-01 17:22:03 +00:00
Ian Lance Taylor
777ad64d69 * config/tc-mips.c (macro): Subtract 8 from offset in non PIC l.d
case.  See comment.
1993-12-01 17:13:12 +00:00
Ian Lance Taylor
7f0e0b1b4e Add copyright notices and comments and a ChangeLog entry for Sean's
work.
1993-11-30 22:42:47 +00:00
Ian Lance Taylor
7cd39d6914 Irix 4 core support entries. 1993-11-30 21:58:09 +00:00
Ian Lance Taylor
dabfe2f665 * irix-core.c: New file for Irix 4 and Irix 5 core support.
Functions taken out of coff-mips.c.  Handle vmap type VMAPFILE.
	* coff-mips.c: Irix 4 core file support moved to irix-core.c.
	* targets.c: If IRIX_CORE defined, include irix_core_vec in
	target_vector.
	* config/irix4.mh (HDEFINES): Add -DIRIX_CORE.
	(HDEPFILES): Define to be irix-core.o.
	* config/irix5.mh (HDEFINES): Define to be -DIRIX_CORE.
	(HDEPFILES): Define to be irix-core.o.
	* Makefile.in (OPTIONAL_BACKENDS): Added irix-core.o.  Removed
	sco-core.o, which no longer exists.
	(CFILES): Added all *-core.c files.
	Rebuilt dependencies.
1993-11-30 21:56:40 +00:00
David D. Zuhn
bed5e19f10 handle space quoting issues 1993-11-30 21:46:34 +00:00
Ian Lance Taylor
7ce1a44680 New file for Irix 4 and Irix 5 core file support. Split out of
coff-mips.c.
1993-11-30 21:45:15 +00:00
Jeff Law
b28171d0d0 * gas/hppa/more.parse/parse.exp: Test for error on for subspace
directive is an XFAIL for SOM assmeblers.

        * gas/hppa/reloc/reloc.exp: Remove XFAIL for relocation on
        cross-subspace call test.
1993-11-30 21:44:41 +00:00
Jeff Law
335d35c8bc * write.c (TC_FORCE_RELOCATION): Provide a default definition.
(fixup_segment): Allow the target machine to specify that a
        relocation must be generated for a particular fixup.  Remove
        #ifndef TC_HPPA hack.

        * config/tc-hppa.h (TC_FORCE_RELOCATION): Define.

        * config/tc-hppa.c (md_apply_fix_1): Never change fx_addsy to
        be NULL.  Only fixup_segment is supposed to do that.
        (hppa_force_relocation): New function.
1993-11-30 21:43:15 +00:00
Ian Lance Taylor
1f44fb57ca * Makefile.in (check): Do not use subdir_do, so that
TARGET_FLAGS_TO_PASS is used correctly.
1993-11-30 20:26:35 +00:00
Ian Lance Taylor
c751ad1914 * Makefile.in (stabs.o): Added dependencies. 1993-11-30 16:25:18 +00:00
Ian Lance Taylor
018f2bba3f * config/obj-ecoff.c (ecoff_frob_file): Don't call bfd_set_symtab. 1993-11-30 16:23:33 +00:00
Stu Grossman
0bbe764a71 * i386-nlmstub.c: Undo I/O redirection changes by Tom Lord.
These definitely won't work under Netware.
1993-11-30 00:14:37 +00:00
Kung Hsu
e9935d43b7 Modified Files:
ChangeLog stabsread.c

        * stabsread.c(read_struct_field): Fix the check when getting to
        member functions. (fix pr4000).
1993-11-29 23:40:31 +00:00
Ian Lance Taylor
1d208eb3aa gcc -Wall -O lint:
* mips-tdep.c (heuristic_proc_desc): Initialize reg30 to avoid
	warning.  Unnest comment.
	(init_extra_frame_info): Remove unused variable mask.
	(MASK): Fully parenthesize.
	(mips_push_dummy_frame): Remove unused variable val.
	(mips_skip_prologue): Remove unused variables f and b.
1993-11-29 21:52:21 +00:00
Peter Schauer
7aa77627b3 * mipsread.c (parse_symbol, parse_partial_symbols): Do not create
(partial) symbols for opaque struct definitions.
1993-11-29 20:24:49 +00:00
Stu Grossman
d954204659 * i386ly-tdep.c (i386lynx_saved_pc_after_call): Change call_inst
to unsigned char to avoid domain warning for some values.
1993-11-29 19:40:08 +00:00
Roland Pesch
b1955f0b2a Formatting improvements from 93q4 release. 1993-11-29 05:58:11 +00:00
Roland Pesch
2ae6d007f2 Fix punctuation after corrected xref. 1993-11-29 02:45:53 +00:00
Roland Pesch
22b5dba55e * gdb.texinfo (New Features): mention threads.
(Summary, C): fix xrefs in newly contributed text.
	(Threads): index entries, clarifications, example
	(passim): minor typos fixed, phrasing improvements

	* remote.texi (Bootstrapping): rephrase text on ^C and add index
	entries; (Server): explain use of gdbserver w/real-time systems,
	add example of conflicting TCP port; (MIPS Remote) break up
	running text into table, highlighting commands, and add example.
1993-11-29 02:43:47 +00:00
Jeff Law
6e4eda3368 * gas/hppa/more.parse/appbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
1993-11-28 21:17:36 +00:00
Jeff Law
278cd007b4 * app.c (do_scrub_next_char): Output a TAB before any
.app* directive.
1993-11-28 21:16:24 +00:00
Jeff Law
81413fa20b * config/tc-hppa.c (fix_new_hppa): Make sure a sub_symbol
exists before trying to peek at its name.
	(pa_space): Do not call pa_align_subseg.  See hppa/unsorted/align3.s
	for testcase.
	(pa_align_subseg): Delete unused/unwanted function.
1993-11-28 20:15:21 +00:00
Jeff Law
16539b5df7 * gas/hppa/unsorted/align3.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
1993-11-28 20:14:41 +00:00
Jeff Law
48c3dee6f0 Fix typo in last change. 1993-11-28 19:57:00 +00:00
Jeff Law
d53253d854 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define. 1993-11-28 06:54:22 +00:00
Jeff Law
385ce4337d * read.c (read_a_source_file): Fix test for when to stick a colon
on the end of a label.  Make code conditional on either MRI or
        LABELS_WITHOUT_COLONS.

        * app.c (do_scrub_next_char): If a line begins with whitespace, leave
        the single whitespace character alone.  Eat all others.

        * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define.
1993-11-28 06:54:04 +00:00