Commit Graph

9423 Commits

Author SHA1 Message Date
Stu Grossman 75a006d94f * sparc-stub.c (trap_low): Make trap handler work for arbitrary
numbers of register windows.
1994-02-24 01:49:15 +00:00
Stan Shebs 30d7f715a9 Wed Feb 23 16:52:51 1994 Stan Shebs (shebs@andros.cygnus.com)
* hosts/mpw.h (fstat): Declare.
	(mpw_fstat): Eliminate mentions.
1994-02-24 00:56:32 +00:00
Jeff Law 08c5812ce1 * write.c (write_contents): Give the user a reasonable error
message rather than "assertion failed" if bfd_set_section_contents
        fails.
1994-02-24 00:53:24 +00:00
Jeff Law fce7695f7d * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of
the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1.
        (CALL_DUMMY_LENGTH): Changed accordingly.
1994-02-24 00:31:46 +00:00
Stu Grossman 318ee78a71 * sparclite/hello.c: Add factorial function for testing.
* salib.c:  Use macros instead of constants for I/O addresses to
	make 931 support easier.
	* sparclite.h:  Change constraint for LOC to "rJ" to force use of
	register in sta/lda instructions.
1994-02-24 00:25:58 +00:00
Jim Kingdon 9a22aed507 * stabs.texinfo: Document N_RBRAC as function relative for COFF as
well as for ELF and SOM.  Unify the descriptions of ELF and SOM
	as "stabs in sections" rather than just saying "ELF and SOM".
	Also make that stuff apply to COFF.
1994-02-23 19:20:07 +00:00
Jim Kingdon 56dd4126bb * dbxread.c (process_one_symbol): Set
block_address_function_relative for COFF like we do for ELF and SOM.
1994-02-23 18:42:05 +00:00
Rob Savoye d5dd58dee0 Remove trash left from Makefile cut & paste. 1994-02-22 22:55:24 +00:00
Ian Lance Taylor a733e1d7a6 * ldlang.c (lang_size_sections): Only align section to alignment
required by linker script, not to maximum alignment of input
	sections.
1994-02-22 18:19:07 +00:00
Ken Raeburn c9c45af14e this is i386-mach3 *host* support (not target like in last mistaken msg)... 1994-02-22 18:09:19 +00:00
Ken Raeburn 75ec0c908b keep te-mach.h 1994-02-22 17:57:49 +00:00
Ken Raeburn 3dcd9356fa Should've got checked in with i386-mach3 config changes.
(Already in change log.)
1994-02-22 17:57:35 +00:00
Ian Lance Taylor 6b8929a172 * ldlang.h (largest_section): Don't declare.
* ldlang.c (largest_section): Don't define.
	(size_input_section): Don't set largest_section; not used.
1994-02-22 17:32:30 +00:00
Ian Lance Taylor 2e5fdb1db0 * ecoff.c (ecoff_build_debug): Don't set hdr->magic here. It is
now set in bfd/ecofflink.c:ecoff_write_symhdr.
1994-02-22 04:30:14 +00:00
Ian Lance Taylor 2f0deb19eb * ecofflink.c (ecoff_write_symhdr): Set symhdr->magic here.
* ecoff.c (ecoff_write_object_contents): Make sure .bss section
	ends on a page boundary if there is no symbol table.
	(ecoff_bfd_final_link): Don't set symhdr->magic here.
1994-02-22 04:25:43 +00:00
Ian Lance Taylor 380fa957e5 * config/obj-coffbfd.c (write_object_file): use bfd_get_error (),
not bfd_error.
	* config/obj-elf.c (elf_frob_file): Likewise.
1994-02-22 03:49:59 +00:00
Ian Lance Taylor 9d90491e82 * read.c (s_lcomm): Use an alignment power of 3 for 8 byte .lcomm
variables.
1994-02-22 03:49:42 +00:00
Ian Lance Taylor aaca79a831 * hosts/hp300.h: Include <stdlib.h>; don't declare free. 1994-02-22 01:51:38 +00:00
Ian Lance Taylor 254f845017 PowerPC ELF is now in BFD; fix comment claiming otherwise. 1994-02-22 00:14:02 +00:00
Ian Lance Taylor 2ab0b7f3e3 * som.c (som_bfd_count_ar_symbols): Use a pointer and alloca
rather than an array of variable size.
	(som_bfd_fill_in_ar_symbols): Likewise.
	(som_bfd_ar_write_symbol_stuff): Likewise.
1994-02-22 00:01:34 +00:00
Ian Lance Taylor ef76742fc5 * ldlang.c (new_afile): Pass NULL as last argument to concat. 1994-02-21 23:19:43 +00:00
Ian Lance Taylor c8d02404ea * config/ho-hpux.h (BROKEN_ASSERT): Define if not __GNUC__. 1994-02-21 23:17:59 +00:00
Ian Lance Taylor 9eb5f4b8c6 * read.c (read_a_source_file): Use correct arguments to memcpy
(broken 19 Jul 1993).  From kjd@pescadero.stanford.edu (Kenneth
	Duda).
1994-02-21 19:44:01 +00:00
Stu Grossman fdf08b0fff Oops... Forgot to check this in... 1994-02-21 19:05:44 +00:00
Stan Shebs 891dc727a1 Mon Feb 21 10:12:02 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (targets.o, archures.o): Use ALL_CFLAGS to supply
	flags to explicit compile actions.
1994-02-21 18:17:21 +00:00
Ian Lance Taylor 22a71fef07 * coff-alpha.c (alpha_relocate_section): Rewrite mask and shift
operation to avoid OSF 1.3 cc bug.
	* ecoff.c (ecoff_write_object_contents): Make text_size, data_size
	and bss_size bfd_size_type instead of unsigned long.  Make
	text_start and data_start bfd_vma instead of unsigned long.
	* ecofflink.c (ecoff_add_string): Remove incorrect cast of return
	value.
1994-02-21 17:56:38 +00:00
Ian Lance Taylor d1a7f14f54 * nlmconv.c: Include libiberty.h.
start-sanitize-powerpc-netware
	Support for PowerPC NetWare.
	* nlmconv.c (main): For PowerPC NetWare, automatically define the
	special symbols __toc_start.
	(select_output_format): Handle bfd_arch_powerpc.
	(mangle_relocs): Likewise.
	(powerpc_mangle_relocs): New function.
end-sanitize-powerpc-netware
1994-02-21 02:57:01 +00:00
Ian Lance Taylor 4d88d6dcb3 * config/obj-coff.h (obj_coff_section): Declare.
* config/obj-coff.c (obj_pseudo_table): For "section", use
	obj_coff_section.
	(obj_coff_section): Rewrite.
1994-02-21 02:06:52 +00:00
Ian Lance Taylor 037ce95adb * linker.c (_bfd_generic_link_add_archive_symbols): Consider
symbols in the order they appear in the archive map.
1994-02-21 00:18:57 +00:00
Peter Schauer 3a1de3cc03 * coff-alpha.c (reloc_nil): Add forward declaration, add missing
error_message argument.
	* coff-sparc.c (bfd_coff_generic_reloc):  Add forward declaration,
	add missing error_message argument.
	* mipsbsd.c (mips_fix_hi16_s):  Add forward declaration, add missing
	error_message argument.
1994-02-19 11:29:48 +00:00
Peter Schauer 084475102b * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets,
error() on TYPE_CODE_FLT arguments whose size is greater than 8,
	swap all other TYPE_CODE_FLT arguments as mips_push_arguments
	ensures that floats are promoted to doubles before they are pushed
	on the stack.
1994-02-19 11:26:47 +00:00
Peter Schauer 847d977530 * mdebugread.c (new_psymtab): Pass in section_offsets and set
them in the pst.
	* mdebugread.c (handle_psymbol_enumerators):  New function to enter
	the enumerators of an ecoff enum into the partial symbol table.
	* mdebugread.c (parse_partial_symbols):  Call it.
	* symfile.c (reread_symbols):  Initialize objfile->*_psymbols.next.
	* symmisc.c (dump_psymtab):  Fix typo, clean up output of section
	offsets. Cast psymtab->read_symtab to PTR before passing it to
	gdb_print_address.
	* i386-tdep.c (i386_skip_prologue):  Skip over instructions that
	set up the global offset table pointer in pic compiled code.
	* config/mips/tm-mips.h (FIX_CALL_DUMMY):  For big endian targets,
	error() on TYPE_CODE_FLT arguments whose size is greater than 8,
	swap all other TYPE_CODE_FLT arguments as mips_push_arguments
	ensures that floats are promoted to doubles before they are pushed
	on the stack.
1994-02-19 11:24:36 +00:00
Stu Grossman 9f35e15a65 * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h:
Fixup cache_on and flush_i_cache so that they work for both the
	930 and 932 processors.  Rewrite most low level funcs (uart
	access & cache stuff) to use new ASI access macros in sparclite.h.
	Also make it easy to access second serial port.
1994-02-19 07:18:09 +00:00
Ian Lance Taylor 56173dc599 * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or
<sys/stat.h>; not needed.
1994-02-19 03:20:20 +00:00
Jim Kingdon c84bab2d70 * stack.c (print_frame_info): In "pathological" case, don't
distrust the line number information.
1994-02-19 01:21:33 +00:00
Kung Hsu 748d77d761 Modified Files:
ChangeLog mips-tdep.c valprint.c

        * mips-tdep.c (mips_print_register): handle 64 bits register.
        * valprint.c (print_longest): fix a bug in printing 64 bits value.
1994-02-19 00:57:49 +00:00
Kung Hsu 031b390acb Modified Files:
tm-mips64.h tm-mips.h

	Change REGISTER_VIRTUAL_TYPE to handle 64 bit register.
1994-02-19 00:50:48 +00:00
Jim Kingdon 83eab3d68d Add unknown.exp 1994-02-19 00:37:57 +00:00
Ken Raeburn b49b761cc2 * configure: If subdir configure fails, print out a message with subdirectory
name, in case subdir's configure code didn't identify itself.
1994-02-18 22:15:10 +00:00
Jim Kingdon 1eb89b9efb * Version 4.12.2. 1994-02-18 22:15:01 +00:00
Ken Raeburn bc9cb7ca39 revised for Rob's changes 1994-02-18 22:13:24 +00:00
Ken Raeburn 1f4203cb20 keep ld.cdtest 1994-02-18 22:10:20 +00:00
Ken Raeburn 3eacff1741 update -- keep more stuff recently added 1994-02-18 22:09:23 +00:00
Ken Raeburn 5efa30faad keep new te-mach.h 1994-02-18 22:04:40 +00:00
David Edelsohn 8f30a41ecb * configure.in: Remove embedded newlines from configdirs.
Avoid mismatches of substrings.  Fix matching strings at end of configdirs.
1994-02-18 21:23:25 +00:00
Jim Kingdon ef1a05401b * Makefile.in (install): Do the sed for program_transform_name
ourselves instead of worrying about INSTALL_XFORM.  This enables
	users to override INSTALL_PROGRAM in the standard way.

	* Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't
	depend on Makefile.in.
1994-02-18 21:01:55 +00:00
David Edelsohn 840e7e8ca0 Back out last patch until I figure out why configure is choking. 1994-02-18 20:18:56 +00:00
Ken Raeburn 9e0cbfbbe3 First cut at i386-mach3 support. 1994-02-18 20:08:11 +00:00
Ken Raeburn 06471862ca First attempt at i386-mach3 support.
te-mach.h: New file.
obj-aout.c (obj_aout_frob_file): New function.
obj-aout.h (obj_aout_frob_file): Declare it.
(frob_file): New macro.
tc-i386.c (md_apply_fix_1) [TE_Mach]: Don't adjust pcrel32 relocations.
tc-i386.h (TARGET_FORMAT) [TE_Mach]: Use a.out-mach3.
1994-02-18 19:57:35 +00:00
Ken Raeburn 741f4d6676 write.c (write_object_file): Removed register declarations. 1994-02-18 19:53:26 +00:00