Commit Graph

23149 Commits

Author SHA1 Message Date
Stan Cox 47f7fb8bb7 (BSD44_FORMAT): Define for cygwin32, win32, mingw32 1998-07-16 18:05:22 +00:00
Ian Lance Taylor 5b0b3ba6f5 Brought over from egcs:
Sat Jun 27 22:46:32 1998  Jeffrey A Law  (law@cygnus.com)

	* configure.in (target_subdir): Set to ${target_alias} instead
	of "libraries".

	Mon Sep  1 16:45:44 1997  Jim Wilson  <wilson@cygnus.com>

	* configure.in (target_subdir): Set to libraries if enable_multilib.
1998-07-16 16:31:40 +00:00
Keith Seitz e3ca310c69 Merge v850 branch ICE support onto devo. 1998-07-15 20:13:34 +00:00
Ian Lance Taylor f5030612ad * config/tc-i386.c (md_assemble): Don't get confused by trailing
whitespace after a prefix operator.
1998-07-15 19:43:15 +00:00
Keith Seitz 895cc8ab1c * main.c (main): Fix violations of GNU coding standard.
* breakpoint.c: Export delete_command.

	* infcmd.c: Export continue_command, stepi_command, and nexti_command.

	* Makefile.in: Add target for v850ice.o.

	* configure.tgt: Add cygwin32 dependencies for v850 ice.
1998-07-15 18:52:50 +00:00
Nick Clifton e1f1ed1ad7 Cope with setting trace points on symbols which do not have an associated directory. 1998-07-15 18:00:49 +00:00
Ian Lance Taylor c3da0ebf3e * sunos.c: Add undef of valid to avoid problem on SunOS. 1998-07-15 15:20:28 +00:00
Ian Lance Taylor e8ef0f723a * Makefile.in ($(CONFIGURE_TARGET_MODULES)): If there are any
multilibs, force reconfiguration the first time we create
	multilib.out in a subdirectory, in case TARGET_SUBDIR is `.'.
1998-07-15 05:02:34 +00:00
Ian Lance Taylor 72743e377d * configure.in: Strip any --no option from CONFIG_ARGUMENTS, to
avoid confusion with --no-recursion.
1998-07-15 03:42:02 +00:00
Keith Seitz ead0877781 * configure.in: Fix sanitization start/end error.
* configure: Regenerate.
1998-07-14 23:16:40 +00:00
Richard Henderson c86d82ee47 Strip beos markers. 1998-07-14 23:15:20 +00:00
Jeff Holcomb 7034215bc6 fix sanitization; add trap.S 1998-07-14 23:00:31 +00:00
Geoffrey Noer 098189d402 Tue Jul 14 15:37:41 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: Win32 hosts shouldn't use install -x
        * install-sh: remove -x option, and special .exe-handling
        hack.
1998-07-14 22:40:44 +00:00
Richard Henderson d51be0a936 * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize.
* Makefile.am (ei386beos.o): New.
        * emulparams/i386beos.sh: New file.
        * emultempl/beos.em, scripttempl/i386beos.sc: New file.
1998-07-14 22:40:17 +00:00
Richard Henderson 1aaf4ccc12 * configure.in (i386-*-beos{pe,elf,}*): Recognize. 1998-07-14 22:30:03 +00:00
Richard Henderson 4f5f38f299 * config.guess: Recognize i586-pc-beos.
* configure.in: Don't build some bits for beos.
1998-07-14 22:26:29 +00:00
Ian Lance Taylor 6b40e58316 * configure: If CC is set but CFLAGS is not, and CC is gcc, make
CFLAGS default to -O2.
1998-07-14 19:09:27 +00:00
Ian Lance Taylor b8d7a543e1 * ltmain.sh: Add some hacks to make SunOS --enable-shared work
when using GNU ld.
1998-07-14 17:22:43 +00:00
Ian Lance Taylor e1aa52069c * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
(s_common): Likewise.
1998-07-14 16:55:41 +00:00
Ian Lance Taylor 4a07363fae Tue Jul 14 12:33:44 1998 Chris Torek <torek@bsdi.com>
* config/tc-sparc.c (log2): New static function.
	(s_reserve): Use log2 to convert alignment before calling
	record_alignment.
	(s_common): Use log2 to convert alignment before calling
	record_alignment and frag_align.
	(sparc_cons_align): Use log2.
1998-07-14 16:44:28 +00:00
Ian Lance Taylor 04a92367bc * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
initialization of waddr.
	(sparc_elf_final_processing): Add default case to switch.
1998-07-14 15:59:28 +00:00
Ian Lance Taylor be228e0db6 Tue Jul 14 11:22:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf32-m68k.c (elf_m68k_check_relocs): Also reference count
	R_68K_PCxx and R_68K_xx relocations.  Make sure that
	ELF_LINK_HASH_NEEDS_PLT is always set for a PLT reloc reference.
	(elf_m68k_gc_sweep_hook): Also reference count R_68K_PCxx and
	R_68K_xx relocations.
	(elf_m68k_adjust_dynamic_symbol): Reset the plt offset of a symbol
	that has no plt entry.
	(elf_m68k_relocate_section): Ignore the plt offset in a static
	link.
	* elflink.h (elf_adjust_dynamic_symbol): Reset the plt offset for
	an ignored symbol.
	(elf_gc_common_finalize_got_offsets): Set the got offsets also in
	a static link.

	* elf32-m68k.c (R_68K_GNU_VTINHERIT, R_68K_GNU_VTENTRY): New reloc
	types.
	(howto_table, reloc_map): Add entries for them.
	(elf_m68k_check_relocs): Handle them.  Implement reference
	counting for got and plt entries.
	(elf_m68k_gc_mark_hook, elf_m68k_gc_sweep_hook): New functions.
	(elf_m68k_adjust_dynamic_symbol): Handle unreferenced plt
	symbols.
	(rtype_to_howto_rel, elf_info_to_howto_rel): Delete.
	(elf_m68k_relocate_section): Handle the new reloc types.
	(bfd_elf32_bfd_final_link, elf_backend_gc_mark_hook,
	elf_backend_gc_sweep_hook, elf_backend_can_gc_sections): Define.
	* elflink.h (elf_link_add_object_symbols): When creating an
	indirect reference for symbol versioning also copy the plt
	offset.
	(elf_fix_symbol_flags): When clearing the ELF_LINK_HASH_NEEDS_PLT
	flag also reset the plt offset.
	(elf_link_assign_sym_version): Likewise.
	(elf_gc_common_finalize_got_offsets): Increment the got offset by
	the size of the entry in bytes.
	(elf_gc_allocate_got_offsets): Likewise.

Tue Jul 14 11:18:14 1998  Ian Lance Taylor  <ian@cygnus.com>

	* elflink.h (elf_gc_sections): Return true rather than falling off
	the bottom.
1998-07-14 15:45:55 +00:00
Ian Lance Taylor bb51198f7a * coffgen.c (bfd_coff_set_symbol_class): Call bfd_alloc, not
xmalloc.
1998-07-14 15:18:39 +00:00
Ian Lance Taylor 83d0817a9f Tue Jul 14 11:00:16 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* doc/c-i386.texi: Fix a typo.  Use the term 80-bit real rather
	than temporary real.
1998-07-14 15:01:17 +00:00
Jeff Law 4b987239ea Fix goof. 1998-07-14 03:59:11 +00:00
Ian Lance Taylor 7faae6fb08 Mon Jul 13 18:15:11 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* gas/i386/*: All new i386 testsuite.
1998-07-13 22:33:46 +00:00
Ian Lance Taylor d93487087f * write.c (subsegs_finish): Don't align the segments if there were
any errors.
1998-07-13 21:28:52 +00:00
Ian Lance Taylor f8bca45846 * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
copying aux information.
1998-07-13 20:00:30 +00:00
Ian Lance Taylor 33b111fa62 Mon Jul 13 14:53:59 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386-dis.c (ckprefix): Handle fwait specially only when it isn't
	the first prefix.
	(dofloat): Correct test for fnstsw.  Print `fnstsw %ax' rather
	than `fnstsw %eax'.
	(OP_J): Remove unnecessary subtraction when 16-bit displacement
	will be masked later.
1998-07-13 18:54:43 +00:00
Nick Clifton 8654629216 Removed leading underscore. 1998-07-13 18:09:20 +00:00
Ian Lance Taylor 67c66eccf2 * expr.c (make_expr_symbol): Catch attempts to turn an O_big
expression into a symbol.
1998-07-13 17:56:28 +00:00
Ian Lance Taylor f27bdecf5a Mon Jul 13 13:29:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (mode_from_disp_size): Change arg and return
	type to unsigned int.
	(md_assemble): Change type used to store offsets from unsigned
	long to long.
	(i386_operand): Switch error check to only call RESTORE_END_STRING
	once after parse_register.
1998-07-13 17:31:43 +00:00
Ian Lance Taylor 1aa3ed3c23 Mon Jul 13 13:20:23 1998 Steve Chamberlain <sac@transmeta.com>
* ldlex.l: Accept ASSERT.
	* ldgram.y (exp): Add ASSERT_K case.
	* ldexp.h (node_type): Add etree_assert to node_class enum.
	(etree_type): Add assert_s field.
	(exp_assert): Declare.
	* ldexp.c (exp_fold_tree): Handle etree_assert.
	(exp_assert): New function.
	(exp_print_tree): Handle etree_assert.
	* ld.texinfo (Miscellaneous Commands): Document ASSERT.
1998-07-13 17:23:53 +00:00
Ian Lance Taylor 6d138e6f4e * ieee.c (ieee_slurp_external_symbols): Handle call optimization
information ATN records.
1998-07-13 17:07:27 +00:00
Felix Lee de5cce9cb4 * gdb.base/callfuncs.exp: add cmp10 test.
* gdb.base/callfuncs.c (cmp10): new function.
1998-07-13 13:42:45 +00:00
Jeff Law 228695a5d8 * m10300-opc.c (mn10300_opcodes): Fix destination operand for 3 operand
instructions.
1998-07-11 05:12:03 +00:00
Nick Clifton 0c407dd6dd Changed format of help output 1998-07-10 23:01:30 +00:00
Per Bothner 3ba862b607 Remove references to Alcatel. 1998-07-10 20:46:48 +00:00
Ian Lance Taylor 81d195ae16 * ieee.c (ieee_slurp_external_symbols): Select an appropriate
section for an absolute symbol in a fully linked file.  Based on
	patch from Christian Holland <CHolland@de.lucent.com>.
1998-07-10 20:31:44 +00:00
Ian Lance Taylor 326d0b2545 From Christian Holland <CHolland@de.lucent.com>:
* ieee.c (parse_ieee): Initialize info.global_vars and
	info.global_types.
	(parse_ieee_atn): Ignore register lifetime information reportedly
	emitted by MRI compiler.
1998-07-10 20:19:22 +00:00
Dawn Perchik faf0a71f31 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
into two parts to get around a synchronization problem in expect.
1998-07-10 08:54:17 +00:00
Jeff Law f05bd277cf * mn10300-tdep.c (mn10300_generic_register_names): New variable.
(set_machine_hook): New function.  Copy the appropriate register
        names into reg_names.
        (_initialize_mn10300_tdep): Set up to call set_machine_hook.
        * tm-mn10300 (NUM_REGS): Bump to 32.
        (REGISTER_NAMES): Updated accordingly.

start-sanitize-am33
        * mn10300-tdep.c (am33_register_names): New variable.
        (mn10300_analyze_prologue): Handle regs saved by am33 prologues.
        * tm-mn10300.h (E0_REGNUM): Define.
end-sanitize-am33

Initial am33 support.
1998-07-09 22:23:18 +00:00
Jeff Law 080ee2ba75 * am33.igen: Fix Z bit for remaining addc/subc instructions.
Do not sign extend immediate for mov imm,XRn.
        More random mul, mac & div fixes.
        Remove some unused variables.
        Sign extend 24bit displacement in memory addresses.
Whee, more fixes.
1998-07-09 19:41:47 +00:00
Jeff Law 4e86afb85f * mn10300.igen: Fix Z bit for addc and subc instructions.
Minor fixes in multiply/divide patterns.

start-sanitize-am33
        * am33.igen: Fix Z bit for addc Rm,Rn and subc Rm,Rn.  Various
        fixes to 2 register multiply, divide and mac instructions.  Set
        Z,N correctly for sat16.  Sign extend 24 bit immediate for add,
        and sub instructions.

        * am33.igen: Add remaining non-DSP instructions.
end-sanitize-am33
1998-07-09 19:04:22 +00:00
Ian Lance Taylor 1ea2c345cf * Makefile.am (MAINTAINERCLEANFILES): Define.
* Makefile.in: Rebuild.
1998-07-09 17:08:26 +00:00
Ian Lance Taylor 4af4a84ce0 Thu Jul 9 12:09:57 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
	relocs.
	(md_apply_fix_2): Force the symbol of the vtable reloc to be
	weak.
1998-07-09 16:10:28 +00:00
Jeff Law 1f0ba346eb * am33.igen: Add remaining non-DSP instructions.
Lots of work still remains.  PSW handing is probably broken badly and the
mul/mac classes of instructions are probably not handled correctly.
1998-07-09 16:09:24 +00:00
Ian Lance Taylor 035151d03b * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
* doc/Makefile.in: Rebuild.
1998-07-09 15:32:16 +00:00
Jeff Law 9c55817e66 * am33.igen (translate_rreg): New function. Use it as appropriate. 1998-07-09 00:24:57 +00:00
Jeff Law 377e53bb6b * am33.igen: More am33 instructions. Fix "div". 1998-07-08 22:33:35 +00:00