Commit Graph

28649 Commits

Author SHA1 Message Date
DJ Delorie b13291a979 * libiberty.h: Move #includes to top. Prototype xmalloc_failed. 2000-11-29 20:14:48 +00:00
DJ Delorie 92655e1933 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
argument form of AC_DEFINE in dummy definitions block.  Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block.  Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.

* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.
2000-11-29 20:07:08 +00:00
DJ Delorie 5ca0f83d75 * hashtab.c (higher_prime_number): Use a table, rather than a
seive, to find the next prime.
2000-11-29 19:19:10 +00:00
DJ Delorie 2ea7befd8e * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
argument form of AC_DEFINE in dummy definitions block.  Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block.  Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.
* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.
2000-11-29 19:17:37 +00:00
Andrew Cagney 2c67cb8b7a Fix -Wuninitialized warnings. 2000-11-29 14:41:34 +00:00
Kazu Hirata be3ccd9c2b 2000-11-28 Kazu Hirata <kazu@hxi.com>
* elf32-mips.c: Fix formatting.
2000-11-29 04:56:32 +00:00
Hans-Peter Nilsson e46fee7099 (parse_reg): Parse names case-insensitively. 2000-11-28 23:53:51 +00:00
Hans-Peter Nilsson dda5ecfc74 (sh_elf_cons): Cast *input_line_pointer to unsigned char when
indexing is_end_of_line[].
	(md_assemble): Initialize size to 0.
	(md_section_align): Mark parameter seg as unused.
2000-11-28 23:48:44 +00:00
Hans-Peter Nilsson caaaf822e9 * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.
(print_insn_ppi): Make nib1, nib2, nib3 unsigned.
	Initialize variable dc to NULL.
	(print_insn_shx): Remove unused label d_reg_n.
2000-11-28 23:42:53 +00:00
Hans-Peter Nilsson dc6e09d363 * gas/sh/err.exp: New, framework for error-testing.
* gas/sh/err-1.s: New test.
2000-11-28 23:39:19 +00:00
Hans-Peter Nilsson 99b222b479 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
jump>: Use as_bad_where	instead of as_bad.  Tweak error message
	accordingly.  Stabilize frag by updating fix part and resetting
	variant part.
	<undefined symbol, unconditional jump>: Ditto.
2000-11-28 23:33:45 +00:00
Hans-Peter Nilsson 08c404a59c Change sourceware.cygnus.com to sources.redhat.com.
Fix typo for "amongst".
2000-11-28 23:10:05 +00:00
Hans-Peter Nilsson 5c4666ea38 * MAINTAINERS: Add Jörn Rennecke and self as SH maintainers. 2000-11-28 22:57:04 +00:00
Fernando Nasser 44097287e5 2000-11-22 Michael Chastain <chastain@redhat.com>
* mips_pro.exp: Accept either "middle -> top -> main" or
	"middle -> main" in the backtrace, because gcc can optimize
	tail calls to jumps.  Remove setup_xfail for the hppa case.
	Add a comment with the original warning messages from PR 3016,
	which was filed in 1993, to preserve them for posterity.
2000-11-28 22:53:38 +00:00
Kazu Hirata e60b52c622 2000-11-28 Kazu Hirata <kazu@hxi.com>
* aoutx.h: Fix formatting.
	* bfd-in.h: Likewise.
	* bfd-in2.h: Likewise.
	* cache.c: Likewise.
	* cisco-core.c: Likewise.
	* coff64-rs6000.c: Likewise.
	* coffcode.h: Likewise.
	* coffswap.h: Likewise.
	* corefile.c: Likewise.
2000-11-28 21:42:16 +00:00
Kazu Hirata 814f664127 2000-11-27 Kazu Hirata <kazu@hxi.com>
* config/obj-aout.h: Fix formatting.
	* config/obj-bout.h: Likewise.
	* config/obj-coff.c: Likewise.
	* config/obj-coff.h: Likewise.
	* config/obj-elf.h: Likewise.
	* config/obj-som.h: Likewise.
	* config/obj-vms.c: Likewise.
	* config/obj-vms.h: Likewise.
	* config/tc-h8300.h: Likewise.
	* config/tc-ns32k.h: Likewise.
	* config/tc-sparc.h: Likewise.
	* config/tc-tic54x.h: Likewise.
	* config/tc-z8k.h: Likewise.
2000-11-28 21:29:02 +00:00
Mark Salter 81dbc5e03f *** empty log message *** 2000-11-28 21:00:57 +00:00
Mark Salter 39f0ec5c6a Add Mark Salter to Write After Approval list. 2000-11-28 21:00:23 +00:00
Nick Clifton e47b9e39bc Move GNU Free Documentation License from the output into a comment 2000-11-28 20:40:35 +00:00
Hans-Peter Nilsson 43c34deef7 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
targets.  Remove i860 from valid a.out targets.
	* Makefile.in: Regenerate.
2000-11-28 20:13:07 +00:00
Hans-Peter Nilsson bca5546c9e * binutils-all/readelf.s: Adjust to readelf.c formatting changes. 2000-11-28 20:08:14 +00:00
Christopher Faylor 66ed1d85be * win32-nat.c (dll_code_sections_add): strdup -> xstrdup. 2000-11-28 17:27:38 +00:00
Hans-Peter Nilsson fcdc20a4d3 * config/tc-cris.c: Include dwarf2dbg.h.
(md_pseudo_table): Add .file and .loc.
	(md_assemble): Call dwarf2_emit_insn if generating ELF.
	(s_cris_file, s_cris_loc): New.
	* config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
	* Makefile.am: Regenerate dependencies.
	* Makefile.in: Regenerate.
2000-11-28 15:39:15 +00:00
Alan Modra 1688794441 Correct {STANDARD,MRI}_MUL_PRECEDENCE value. 2000-11-28 13:33:22 +00:00
David O'Brien ad95f82a09 2000-11-28 David O'Brien <obrien@dragon.nuxi.com>
* emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
	does not use them.

Approved by:  Richard Henderson <rth@twiddle.net>
              Message-ID: <20001127014059.A16638@twiddle.net>
2000-11-28 10:43:11 +00:00
Kazu Hirata 244148ad5c 2000-11-27 Kazu Hirata <kazu@hxi.com>
* coff64-rs6000.c: Fix formatting.
	* coffgen.c: Likewise.
	* cofflink.c: Likewise.
2000-11-28 01:33:15 +00:00
Kazu Hirata 336eced2fe 2000-11-27 Kazu Hirata <kazu@hxi.com>
* aout-adobe.c: Fix formatting.
2000-11-28 01:27:10 +00:00
Hans-Peter Nilsson 723b0f0d39 * common.h (e_machine numbers): Clarify comments to describe how
EM_* constants are assigned.  Move EM_PJ from official section to
	ad-hoc section.
	(EM_CRIS): Correct comment to match official description.
	(EM_MMIX): Ditto.
2000-11-27 21:52:56 +00:00
DJ Delorie b3a10c9a0b oops, forgot a semicolon 2000-11-27 21:10:31 +00:00
DJ Delorie c47d488e51 * readelf.c (usage): Add -wf (--debug-dump=frames) option.
(parse_args): Support -wf option.
(process_section_headers): Ditto.
(debug_displays): Ditto.
(display_debug_frames): New, dump *_frame sections.
(frame_need_space): Support for above.
(frame_display_row): Ditto.
* binutils.texi: Document it.
2000-11-27 21:07:47 +00:00
Stephane Carrez 4e73b9c108 Fix delete_hw_event_data() to free the scheduled events 2000-11-27 19:53:35 +00:00
Stephane Carrez ce9bc8d1f1 Remove space == 0 restriction in the simulator (dv-core) 2000-11-27 19:49:46 +00:00
Phil Blundell d71f672e69 2000-11-27 Philip Blundell <pb@futuretv.com>
* libcoff-in.h (coff_tdata): Add `strings_written' flag.
	(obj_coff_strings_written): New accessor macro for above.
	* libcoff.h: Regenerate.
	* cofflink.c (_bfd_coff_final_link): Say that we wrote the
	strings.
	* coffcode.h (coff_write_object_contents): No need to write out
	the string table if it's already been done.
2000-11-27 12:45:17 +00:00
Phil Blundell bc7a577dc7 2000-11-22 Philip Blundell <pb@futuretv.com>
* cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
	weak undefined symbols.
2000-11-27 11:08:15 +00:00
Andrew Cagney 7f7e9482db * remote.c (remote_write_bytes): Add default case to switch
initializing ``todo''. Ditto for ``nr_bytes''.
* top.c (catch_errors): Always initialize ``val''.
* solib.c (info_sharedlibrary_command): Handle bfd_get_arch_size
returning an unknown size.
* gdbtypes.c (count_virtual_fns): Always initialize ``vfuncs''.
* breakpoint.c (break_at_finish_at_depth_command_1): Initialise
extra_args to NULL.
(break_at_finish_command_1): Ditto.
2000-11-27 02:18:44 +00:00
Andrew Cagney dc10500f22 * TODO: Add GFDL updates to 5.1 release criteria. 2000-11-27 00:37:19 +00:00
Stephane Carrez b93775f586 Preliminary support for 68HC12 2000-11-26 21:41:31 +00:00
Stephane Carrez ae3e85dd27 Fix movw/movb operands for 68HC12 2000-11-26 21:18:15 +00:00
Stephane Carrez 639aa4f72f Register a delete handler for 68HC11 core device node 2000-11-26 20:53:11 +00:00
Nick Clifton 7cf6486b83 Add support for configuring an xscale atrget 2000-11-26 20:04:41 +00:00
David O'Brien fd89e65f16 2000-11-25 David O'Brien <obrien@FreeBSD.org>
* ld.1: Remove old date so it does not give the impression the
	manpage is way out of date.

Approved by:  Nick Clifton <nickc@redhat.com>
              <200011250036.QAA09984@elmo.cygnus.com>
2000-11-25 10:58:09 +00:00
Stephane Carrez ce13044d7a Fix for sim/common hw_delete()/hw_tree_delete() 2000-11-25 09:18:52 +00:00
Stephane Carrez 7c070881e4 Fix memory leak in sim_parse_args 2000-11-25 09:16:22 +00:00
Nick Clifton 077b8428ab Add ARM v5t, v5te and XScale support 2000-11-25 00:21:40 +00:00
Nick Clifton 49425d281c Remove redundant init of config.make_executable to true. 2000-11-24 21:31:21 +00:00
Stephane Carrez ea3881d97c Support 68HC12 arch in Gdb 2000-11-24 21:24:04 +00:00
Stephane Carrez 5d1a66bd91 Use gdbarch_tdep for 68hc11 specific data (stack_correction global) 2000-11-24 20:59:42 +00:00
Stephane Carrez 6e73e7ed64 Fix device memory allocation in 68hc11 simulator 2000-11-24 20:53:35 +00:00
Andrew Cagney 3b851bce1d Add --enable-gdb-build-warnings=... to configure{,.in}. 2000-11-24 11:02:59 +00:00
Fernando Nasser 6442669634 Fix entry typo and missing information. 2000-11-24 00:34:43 +00:00