Commit graph

28800 commits

Author SHA1 Message Date
Nick Clifton
6256f9dd96 aadd conditionals around definition of INT_MAX 2000-12-13 18:48:04 +00:00
Nick Clifton
92625c1624 Adde dfinition if INT_MAX if limits.h is not included 2000-12-13 18:46:41 +00:00
Nick Clifton
42dbf88c39 #include <limits.h> only if it exists. 2000-12-13 18:42:28 +00:00
Nick Clifton
037849a9a0 Revert the last beautification with "innocent" whitespace,
it breaks the K&R C preprocessor.
2000-12-13 18:28:52 +00:00
Alan Modra
0485cba3d3 Rodney Brown's CHECK_FIELD typo fixes. 2000-12-13 06:23:56 +00:00
Jim Wilson
514829c3af Eliminate ia64 compiler warnings. Fix ia64 gas testsuite again.
*  elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
	* config/tc-ia64.h (ia64_init): Add prototype.
	* gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d,
	gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update.
	* ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
	argument.
	* ia64_gen.c (insert_deplist): Cast sizeof result to int.
	(print_dependency_table): Print NULL if semantics field not set.
	(insert_opcode_dependencies): Mark cmp parameter as unused.
	(print_main_table): Use fprintf_vma to print long long fields.
	(main): Mark argv paramter as unused.  Convert to old style definition.
	* ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
	* ia64-asmtab.c: Regnerate.
2000-12-12 22:56:36 +00:00
Nick Clifton
3a71aec8b4 Ignore sections with zero size. 2000-12-12 22:54:39 +00:00
DJ Delorie
7ec229cebe * ld.texinfo: Add notes about --whole-archive and gcc. 2000-12-12 22:37:20 +00:00
Kazu Hirata
1518639ec4 2000-12-12 Kazu Hirata <kazu@hxi.com>
* m68klinux.c: Fix formatting.
	* m68knetbsd.c: Likewise.
	* mipsbsd.c: Likewise.
	* netbsd-core.c: Likewise.
	* netbsd.h: Likewise.
	* newsos3.c: Likewise.
	* nlm32-alpha.c: Likewise.
	* nlm32-i386.c: Likewise.
	* nlm32-ppc.c: Likewise.
	* nlm32-sparc.c: Likewise.
	* nlmcode.h: Likewise.
	* nlmswap.h: Likewise.
	* nlm-target.h: Likewise.
	* ns32knetbsd.c: Likewise.
2000-12-12 21:25:54 +00:00
H.J. Lu
92eb7b3244 2000-12-12 H.J. Lu <hjl@gnu.org>
* dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.

	* read.h (outputting_stabs_line_debug): Change it to int.
	* stabs.c (outputting_stabs_line_debug): Likewise.
2000-12-12 21:21:39 +00:00
Nick Clifton
bcedfee6be Add EM_X86_64. 2000-12-12 20:58:46 +00:00
Geoffrey Keating
4c15ccf7af In sim/common:
* sim-endian.h: Don't have parameters on macro definitions which
	are simply renaming functions, to permit use of XCONCAT2 in both
	the macro name and the arguments in a use of such a definition.
In sim/ppc:
	* sim-endian.h: Don't have parameters on macro definitions which
	are simply renaming functions, to permit use of XCONCAT2 in both
	the macro name and the arguments in a use of such a definition.
2000-12-12 20:54:13 +00:00
Nick Clifton
b79e8c7865 Add link option to allow undefiedn symbols in shared libraries 2000-12-12 20:53:02 +00:00
Geoffrey Keating
8141c27d66 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
the address of a function result.
2000-12-12 20:48:45 +00:00
Alexandre Oliva
6ee6cea6cd * configure.in: Disable language-specific target libraries for
languages that aren't enabled.
2000-12-12 20:33:05 +00:00
Geoffrey Keating
9a8e2505e8 * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
.fixup is actually read/write.
	* emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
	* emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
	* emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2000-12-12 20:15:21 +00:00
Geoffrey Keating
5d6f4f1679 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
	(md_assemble): Call dwarf2_emit_insn.
	(shlib): Fix typo SHILB -> SHLIB.
	(md_parse_option): Likewise.
	(ppc_elf_validate_fix): Likewise:
	* config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
2000-12-12 20:05:16 +00:00
Nick Clifton
6d02a66752 Remove spurious whitespace 2000-12-12 19:37:01 +00:00
Nick Clifton
584da044d9 Fix formatting. 2000-12-12 19:36:32 +00:00
Nick Clifton
846b8f1ed9 Add el segundo tests
Fix formatting
2000-12-12 19:32:56 +00:00
Nick Clifton
e972090a04 Fix formatting 2000-12-12 19:29:24 +00:00
Nick Clifton
d4c0c03951 Fix formatting 2000-12-12 19:28:12 +00:00
Nick Clifton
bf40d919f9 Fix Formatting. 2000-12-12 19:25:07 +00:00
Nick Clifton
38b1a46ca2 Fix formatting. 2000-12-12 19:23:16 +00:00
Nick Clifton
239f0c5ce5 Update copyright dates 2000-12-12 19:19:57 +00:00
Fernando Nasser
b46cd1657c 2000-12-11 Fernando Nasser <fnasser@redhat.com>
* Makefile.in (CONFIG_LOBS): New macro.  Configured to the files
        that must be added to the gdblib itself.
        (DEPFILES): Use CONFIG_LOBS, not CONFIG_OBS.
        (INIT_FILES): Include CONFIG_OBS.
        (gdb$(EXEEXT)): Depend on CONFIG_OBS and link with it.
        (kdb): Ditto.
        * configure.in (CONFIG_LOBS): New variable. Object files that must
        be added to gdblib for the specific configuration.
        * configure: Regenerate.
2000-12-11 22:36:26 +00:00
H.J. Lu
4819127ae0 2000-12-11 H.J. Lu <hjl@gnu.org>
* gas/i386/intel.d: Adjusted for the a.out assembler.
	* gas/i386/intel.s: Likewise.
2000-12-11 21:49:36 +00:00
Michael Snyder
0c8053b6bb 2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
* sh-tdep.c (sh_extract_struct_value_address): Protoize.

2000-12-11  Michael Snyder  <msnyder@mvstp600e.cygnus.com>

	* blockframe.c (get_prev_frame): Add missing paren omitted in
	last check-in.
2000-12-11 21:34:27 +00:00
Fernando Nasser
4226a5a518 2000-12-11 Fernando Nasser <fnasser@redhat.com>
* Makefile.in (SUBDIR_GDBTK_OBS, SUBDIR_GDBTK_SRCS,
        SUBDIR_GDBTK_DEPS, SUBDIR_GDBTK_INITS, SUBDIR_GDBTK_LDFLAGS,
        SUBDIR_GDBTK_CFLAGS): New macros.  For gdbtk subdir.
        * configure.in: Fix typo.  It is CONFIG_OBS not CONFIG_OJS.
        Use the SUBDIR_GDBTK_* macros instead of hard coded file names.
        * configure: Regenerate.
2000-12-11 21:11:16 +00:00
Michael Snyder
bb30608f10 2000-12-11 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* blockframe.c (get_prev_frame): Zero all fields of prev by
        default using memset (instead of one at a time).
2000-12-11 21:10:15 +00:00
Michael Snyder
b3df3fffb8 2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
* sh-tdep.c (sh_extract_struct_value_address): For consistancy,
        change decl from "CORE_ADDR static" to "static CORE_ADDR".
2000-12-11 21:04:04 +00:00
Fernando Nasser
486697a0b3 2000-12-11 Fernando Nasser <fnasser@redhat.com>
* configure.in: Fix typos.  It is CONFIG_SRCS not CONFIG_SRS.
        * configure: Regenerate.
2000-12-11 20:21:57 +00:00
Fernando Nasser
6bad8db2dc 2000-12-11 Fernando Nasser <fnasser@redhat.com>
* configure.in: Fix a couple of typos in the handling of the
        enable_gdbcli option.  Make it check enableval for the result
        of AC_ARG_ENABLE.
        * configure: Regenerate.
2000-12-11 18:59:47 +00:00
Jeff Law
ffb34d9aac * hppa.h (DT_HP_*): Define relative to OLD_DT_LOOS for hpux
compatibility.
2000-12-11 17:55:58 +00:00
Jan Hubicka
f16b83dfe5 * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
	references.
	(intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
	otherwise.
	* tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
	(No_dSuf): Kill.

	* i386.h (*_Suf): Remove No_dSuf.
	(d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
	Remove.
	(i386_optab): Remove 'd' in the suffixes.
2000-12-11 14:01:46 +00:00
Jan Hubicka
b8355149f8 * NEWS: Add note about x86_64 architecture.
* MAINTAINERS: Add myself and Andreas Jaeger as x86_64 maintainer.
2000-12-11 13:49:46 +00:00
Ben Elliston
0d277f51d0 2000-12-11 Ben Elliston <bje@redhat.com>
* cgen-ops.h (SUBWORDDFDI): New function.
2000-12-11 07:14:34 +00:00
Alan Modra
d58c3cb85e Replace #warning with #error 2000-12-11 03:43:05 +00:00
Nick Clifton
9a6b6a66b7 Add 0x91 as an FPE SWI. 2000-12-11 03:08:17 +00:00
Nick Clifton
f66736412d Fix v850 test failures 2000-12-09 23:44:17 +00:00
Nick Clifton
968fa2cc73 Add tic54x and tms320c54x to expected cpus list. 2000-12-09 23:33:24 +00:00
Nick Clifton
54faae252f Prevent re-read of instruction from wrong address. 2000-12-09 23:20:59 +00:00
Nick Clifton
77eb0326c5 Update to match latest assembler output. 2000-12-09 22:55:52 +00:00
Michael Chastain
4a7bddb62e 2000-12-09 Michael Chastain <chastain@redhat.com>
* gdb.base/break.exp (test_clear_command): Use a marker function
	rather than 'main' for the test function.  Also move this
	test to an execution point where the marker function names are
	guaranteed to be bound to functions.  (Executing tests after a
	'finish' from main runs into name conflicts with local names
	in __libc_start_main).
2000-12-09 22:35:05 +00:00
Nick Clifton
708b8a713d Regenerate fr30-dis.c 2000-12-09 22:22:33 +00:00
Nick Clifton
bad19f8fb6 Expect the srec_test to fail for ARM targets because the -oformat linker
command switch cannot be used.
2000-12-09 20:24:34 +00:00
Nick Clifton
857ec808bb Pass dwarf2_find_line_info as last parameter to invocation of
_bfd_dwarf2_find_nearest_line.
2000-12-09 20:12:57 +00:00
DJ Delorie
c00c39edd4 Add - before rms to be more portable. 2000-12-09 16:10:41 +00:00
Nick Clifton
eaf99ab9a9 Add xscale to list of Rel targets 2000-12-09 01:59:22 +00:00
Kazu Hirata
fe8bc63d5e 2000-12-08 Kazu Hirata <kazu@hxi.com>
* elf64-alpha.c: Fix formatting.
	* elf64-hppa.c: Likewise.
	* elf64-mips.c: Likewise.
2000-12-09 01:54:51 +00:00