Commit graph

23164 commits

Author SHA1 Message Date
Ian Lance Taylor
490e0e1339 Mon Jul 20 12:47:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* aoutx.h (NAME(aout,find_nearest_line)): Also remember the
	directory name at the line number.

	* elf.c (_bfd_elf_find_nearest_line): Also consider symbols
	with an unspecified type.
1998-07-20 16:50:34 +00:00
Ulrich Drepper
c546f3a091 process_symbol_table): Fix little alignment problem in printed table header. 1998-07-20 14:49:03 +00:00
Ulrich Drepper
6c4b8d0f36 Correct reading of .dynamic section.
(dynamic_section): Now a global variable.
(process_mips_fpe_exception, process_mips_specific, process_arch_specific):
New functions.
(get_file_header): Call process_arch_specific.
1998-07-20 14:18:35 +00:00
Ulrich Drepper
5821de310f Add support for processor specific information on MIPS. 1998-07-19 23:31:57 +00:00
Ulrich Drepper
1b734be6cf Add lots of DT_MIPS_* symbols. 1998-07-19 23:30:10 +00:00
Ulrich Drepper
55412e05e2 (PT_MIPS_OPTIONS): New symbol. 1998-07-19 22:27:05 +00:00
Ulrich Drepper
19808d3f79 Fix several versioning related bugs. Produce nicer output. 1998-07-19 22:18:24 +00:00
Martin Hunt
4d14b2522a Sun Jul 19 02:11:45 1998 Martin M. Hunt <hunt@cygnus.com>
* symtab.c (decode_line_2): Instead of printing a prompt
	and calling command_line_input() without a prompt, just
	call it with the proper args.  This makes the GUI work too.

Sat Jul 18 12:28:39 1998  Martin M. Hunt  <hunt@cygnus.com>

	* gdbtk.c (gdbtk_cleanup): Add call to tcl function
	gdbtk_cleanup. We need this so the GUI gets to clean
	up no matter how GDB exits.
1998-07-19 09:33:34 +00:00
Ian Lance Taylor
c5f3dafb29 * ylwrap: Don't use a full path name if the source file is in the
same directory.  From hjl@lucon.org (H.J. Lu).
1998-07-17 18:52:26 +00:00
Nick Clifton
99bf7e37cc Changed format of help message 1998-07-17 18:44:05 +00:00
Jillian Ye
27de7e18c4 Forward fit sky-branch updates to devo. 1998-07-17 18:43:30 +00:00
Ian Lance Taylor
06d6d6b796 * config-ml.in: Default to being verbose, to match Feb 18 change to
configure.
1998-07-17 17:31:09 +00:00
Ron Unrau
36297ff31d * blockframe.c (find_pc_sect_partial_function): allow for the possi-
bility of multiple symbols at the same address when finding high.
        * breakpoint.c (resolve_sal_pc): if the function based section lookup
          fails, try getting the section from the minimal symbol table.
        * parse.c (write_exp_msymbol): use symbol_overlayed_address to get
          the LMA of a minimal symbol if unmapped.
        * symtab.c (find_line_symtab): change interface to return symtab
          containing the best linetable found.
          (decode_line_1): use find_line_symtab to set val.symtab. This should
          improve support for source files with multiple symtabs.
        * tm-txvu.h: include tm-mips64.h instead of starting from scratch.
1998-07-17 15:29:11 +00:00
Jeff Law
4c4a5de543 * gas/mn10300/am33_5.s: Test 4 operand mul, mulu.
* gas/mn10300/basic.exp: Corresponding changes.
1998-07-17 00:19:01 +00:00
Jeff Law
f10a9bdead * m10300-opc.c (mn10300_opcodes): Fix opcode for 4 operand "mul" and
"mulu".
1998-07-17 00:06:55 +00:00
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