Commit Graph

45377 Commits

Author SHA1 Message Date
Nick Clifton 9a0789ec7d (elf_link_add_object_symbols): Set the error code to bfd_error_wrong_format when
the input format does not match the output format.
2004-09-06 17:24:32 +00:00
Alan Modra 7b53ace3e9 * elf64-ppc.c (is_ppc64_target): New function, extracted from..
(ppc64_elf_check_directives): ..here.
	(ppc64_elf_size_dynamic_sections): Use it here to check bfd type
	before accessing ppc64_elf_tdata.
	(ppc64_elf_finish_dynamic_sections): And here too.
2004-09-06 12:37:12 +00:00
Mark Kettenis 9cbe82da8b * gdb.base/unload.exp: Link with -dl on *-*-solaris*. 2004-09-06 11:09:46 +00:00
Nick Clifton 3023b78228 fix spelling typo in previous ChangeLog entry 2004-09-06 08:09:08 +00:00
Nick Clifton 04c341284d Document that the -x switch includs the effect of the -p switch. 2004-09-06 08:07:42 +00:00
gdbadmin ae09a48270 *** empty log message *** 2004-09-06 00:00:33 +00:00
Alan Modra c09f9ec13b daily update 2004-09-06 00:00:05 +00:00
Joel Brobecker 90edbfbc2c * mips-tdep.c (mips_insn16_frame_cache): Fix parameter in call to
heuristic_proc_desc.
        (mips_insn32_frame_cache): Likewise.
2004-09-05 20:15:41 +00:00
DJ Delorie a5ecc6a5f5 merge from gcc 2004-09-05 06:04:05 +00:00
Michael Chastain 564803d921 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
* config/hppro.exp: Removed.
2004-09-05 04:46:24 +00:00
Michael Chastain 7c6807ceba 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
* config/sparclet.exp: Removed.
2004-09-05 04:43:00 +00:00
Michael Chastain bf7e26dda2 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
* config/udi.exp: Removed.
2004-09-05 04:35:23 +00:00
Joel Brobecker 01f4bf2bf0 * mips-tdep.c (mips32_heuristic_proc_desc): Remove code that was
left behind by error.
2004-09-05 00:19:30 +00:00
Alan Modra 8acf204224 daily update 2004-09-05 00:00:07 +00:00
gdbadmin 76406da723 *** empty log message *** 2004-09-05 00:00:04 +00:00
Joel Brobecker 8511a04886 * config/alpha/nm-osf.h (PTRACE_ARG3_TYPE): Remove define.
* config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Likewise.
2004-09-04 23:46:48 +00:00
Joel Brobecker 649dfe9fab * config/rs6000/xm-aix4.h: Remove this file.
* config/rs6000/aix4.mh (XM_FILE): Delete.
2004-09-04 23:41:01 +00:00
Joel Brobecker 6e50f88914 * config/rs6000/xm-rs6000.h: Remove this file.
* config/rs6000/rs6000.mh (XM_FILE): Remove.
2004-09-04 23:38:37 +00:00
Danny Smith 6cef8f721d Correct pasto in ChangeLog 2004-09-04 10:09:52 +00:00
Danny Smith 5df31fad47 * dlltool.c (make_one_lib): Test if internal_name was specified
by user before using it.
2004-09-04 10:08:11 +00:00
Nick Clifton eb1352eda0 Import latest version from master repository. 2004-09-04 07:53:54 +00:00
Alan Modra 3e540f2516 * bfd.c (_bfd_default_error_handler): Correct loop exit. 2004-09-04 01:30:21 +00:00
Andrew Cagney fb60388340 2004-09-03 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (PROC_DESC_IS_DUMMY, SET_PROC_DESC_IS_DUMMY)
	(_PROC_MAGIC_, after_prologue, mips_dump_tdep): Delete macros and
	only use.
2004-09-04 00:16:56 +00:00
gdbadmin 8361f4f1f4 *** empty log message *** 2004-09-04 00:00:34 +00:00
Alan Modra c58996d84d daily update 2004-09-04 00:00:06 +00:00
Andrew Cagney c9343fd1d0 2004-09-03 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (temp_saved_regs): Delete.
	(set_reg_offset): Replace saved_regs parameter with this_cache.
	(heuristic_proc_desc, mips16_heuristic_proc_desc)
	(mips32_heuristic_proc_desc): Add this_cache parameter.
	(mips_insn32_frame_cache, mips_insn16_frame_cache)
	(after_prologue): Pass a NULL this_cache.
2004-09-03 23:47:23 +00:00
Andrew Cagney 9733cfe12b 2004-09-03 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (mips_mdebug_frame_cache): Delete code handling
	non-kernel trap prologues.
2004-09-03 23:00:18 +00:00
Andrew Cagney 0d5febcc7c 2004-09-03 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (find_proc_desc): Delete function.
	(mips_mdebug_frame_cache): Inline call to find_proc_desc,
	simplify.
	(mips_insn16_frame_cache): Replace find_proc_desc with code from
	mips_insn32_frame_cache.
2004-09-03 22:41:27 +00:00
Andrew Cagney 283be8734b * mips-tdep.c (find_proc_desc): Inline call to find_proc_desc.
Simplify as NEXT_FRAME is NULL.
	(find_proc_desc): Simplify as NEXT_FRAME is non-NULL.
2004-09-03 22:31:23 +00:00
Andrew Cagney 177f84a36d 2004-09-03 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (after_prologue): Replace proc_desc parameter with
	local variable.
	(mips_skip_prologue): Update.
2004-09-03 22:18:17 +00:00
Andrew Cagney 465f752091 2004-09-03 Andrew Cagney <cagney@gnu.org>
* mips-tdep.c (find_proc_desc, heuristic_proc_desc): Delete
	"cur_frame" parameter.
	(after_prologue, mips_mdebug_frame_cache, mips_insn16_frame_cache):
2004-09-03 22:00:44 +00:00
Richard Henderson 2a3124caa5 * configure.in: Remove target-libstdc++-v3 from noconfigdirs for
*-*-netware, but add target-libmudflap.
        Consolidate *-*-netware targets (of which really only i?86 exists)
        into a single entry.
        * configure: Likewise.
2004-09-03 19:09:39 +00:00
Andrew Cagney e38b865864 2004-09-03 Andrew Cagney <cagney@gnu.org>
* config/vax/nm-obsd.h: Delete file.
	* config/vax/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
	* config/vax/nm-nbsd.h: Delete file.
	* config/vax/nm-nbsdaout.h: Include config/nm-nbsd.h.
	* config/vax/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
	* config/sh/nm-nbsd.h: Delete file.
	* config/sh/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
	* config/rs6000/nm-rs6000ly.h: Delete file.
	* config/djgpp/fnchange.lst: Do not rename nm-rs6000ly.h.
	* config/rs6000/rs6000lynx.mh (NAT_FILE): Set to config/nm-lynx.h.
	* config/powerpc/nm-obsd.h: Delete file.
	* config/powerpc/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
	* config/powerpc/nm-nbsd.h: Delete file.
	* config/powerpc/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
	* config/pa/nm-obsd.h: Delete file.
	* config/pa/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
	* config/mips/nm-nbsd.h: Delete file.
	* config/mips/nbsd.mh (NAT_FILE): Set to config/nm-nbsd.h.
	* config/m88k/nm-obsd.h: Delete file.
	* config/m88k/obsd.mh (NAT_FILE): Set to config/nm-bsd.h.
	* config/m68k/nm-nbsd.h: Delete file.
	* config/m68k/nm-nbsdaout.h: Include config/nm-nbsd.h.
	* config/m68k/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
	* config/i386/nm-nbsd.h: Delete file.
	* config/i386/nm-nbsdaout.h: Include config/nm-nbsd.h.
	* config/i386/obsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
	* config/i386/nbsd64.mh (NAT_FILE): Set to config/nm-nbsd.h.
	* config/i386/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
	* config/i386/nm-i386lynx.h: Delete file.
	* config/i386/i386lynx.mh (NAT_FILE): Set to config/nm-lynx.h.
	* config/arm/nm-nbsd.h: Delete file.
	* config/arm/nm-nbsdaout.h: Include config/nm-nbsd.h.
	* config/arm/nbsdelf.mh (NAT_FILE): Set to config/nm-nbsd.h.
2004-09-03 19:08:23 +00:00
Andrew Cagney be1ed68037 2004-09-03 Andrew Cagney <cagney@gnu.org>
* config/i386/tm-fbsd.h: Delete file.
	* config/i386/fbsd64.mt (TM_FILE): Set to solib.h.
	* config/i386/fbsd.mt (TM_FILE): Set to solib.h.
2004-09-03 18:01:51 +00:00
Andrew Cagney 4b392b26e4 2004-09-03 Andrew Cagney <cagney@gnu.org>
* config/rs6000/tm-rs6000-aix4.h: Delete file.
	* config/djgpp/fnchange.lst: Do not rename tm-rs6000-aix4.h.
	* config/rs6000/aix4.mt (TM_FILE): Set to
	config/rs6000/tm-rs6000.h.
	* config/powerpc/tm-ppc-aix.h: Delete file.
	* config/powerpc/aix.mt (TM_FILE): Set to
	config/rs6000/tm-rs6000.h.
	* config/m68k/tm-linux.h: Delete file.
	* config/m68k/linux.mt (TM_FILE): Set to solib.h
	* config/i386/tm-linux64.h: Delete file.
	* config/i386/linux64.mt (TM_FILE): Set to solib.h.
	* config/djgpp/fnchange.lst: Do not rename tm-linux.h.
2004-09-03 17:29:58 +00:00
Mark Mitchell e5a52504a5 * config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors.
* configure.in (bfd_elf32_bigarm_symbian_vec): Add it.
	(bfd_elf32_littlearm_symbian_vec): Likewise.
	* configure: Regenerated.
	* elf-bfd.h (elf_backend_data): Add dynamic_sec_flags.
	* elf32-arm.h (PLT_HEADER_SIZE): Do not define.
	(PLT_ENTRY_SIZE): Likewise.
	(bfd_vma_elf32_arm_symbian_plt_entry): New
	variable.
	(elf32_arm_link_hash_table): Add plt_header_size, plt_entry_size,
	and symbian_p.
	(create_got_section): Don't create sections when generating BPABI
	objects.
	(elf32_arm_create_dynamic_sections): Tidy.
	(elf32_arm_link_hash_table_create): Set plt_header_size,
	plt_entry_size, and symbian_p.
	(elf32_arm_check_relocs): Do not mark .rel.dyn as loadable when
	generating BPABI objects.
	(allocate_dynrelocs): Use htab->plt_header_size, not
	PLT_HEADER_SIZE.  Do not add to .got.plt when
	generating BPABI objects.
	(elf32_arm_finish_dynamic_symbol): Generate Symbian OS PLTs.
	* elfarm-nabi.c: Add SymbianOS target vectors.
	* elflink.c (_bfd_elf_create_got_section): Use dynamic_sec_flags.
	(_bfd_elf_link_create_dynamic_sections): Likewise.
	* elfxx-target.h (ELF_DYNAMIC_SEC_FLAGS): New macro.
	(elfNN_bed): Use it.
	* targets.c (bfd_elf32_bigarm_symbian_vec): New variable.
	(bfd_elf32_littlearm_symbian_vec): Likewise.
	(_bfd_target_vector): Add them.

	* Makefile.am (TARG_ENV_HFILES): Add te-symbian.h.
	* Makefile.in: Regenerated.
	* configure.in: Set em for arm*-*-symbianelf*.
	* configure: Regenerated.
	* config/tc-arm.c (elf32_arm_target_format): Use Symbian target
	vectors when appropriate.
	* config/te-symbian.h: New file.

	* Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
	(earmsymbian.c): New target.
	* configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
	* Makefile.in: Regenerated.
	* aclocal.m4: Likewise.
	* configure: Likewise.
	* emulparams/armsymbian.sh: New file.
2004-09-03 17:15:44 +00:00
Andrew Cagney f3219c75e5 Index: ChangeLog
2004-09-03  Andrew Cagney  <cagney@gnu.org>

	* config/m68k/tm-linux.h (SVR4_SHARED_LIBS): Delete.
	* config/i386/tm-linux64.h (SVR4_SHARED_LIBS): Delete.
	* config/i386/nm-i386sco5.h (SVR4_SHARED_LIBS): Delete.
	* config/tm-linux.h (SVR4_SHARED_LIBS): Delete.
	* config/nm-sysv4.h (SVR4_SHARED_LIBS): Delete.
	* config/nm-linux.h (SVR4_SHARED_LIBS): Delete.
	* config/nm-gnu.h (SVR4_SHARED_LIBS): Delete.
	* sh64-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.
	* sh-tdep.c [SVR4_SHARED_LIBS]: Delete #ifdef wrapper.

Index: doc/ChangeLog
2004-09-03  Andrew Cagney  <cagney@gnu.org>

	* gdbint.texinfo (Native Debugging): Delete SVR4_SHARED_LIBS.
2004-09-03 17:13:48 +00:00
Andrew Cagney b8c4aecef5 2004-09-03 Andrew Cagney <cagney@gnu.org>
* configure.in (GDB_TM_FILE): Fix typo, use gdb_target_cpu and not
	gdb_host_cpu.
2004-09-03 16:59:30 +00:00
Nick Clifton 42851540ac Add LD and GAS testsuites for CRX port.
Fix several crx bugs.
2004-09-03 14:31:41 +00:00
Nick Clifton 6e3b68350d PR 360
(handle_COMDAT): Replace abort with an warning message and allow the scan to
continue.
2004-09-03 14:11:38 +00:00
Paolo Bonzini c7efc4d538 2004-09-03 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
2004-09-03 06:53:15 +00:00
Alan Modra da75a93b71 daily update 2004-09-03 00:00:05 +00:00
gdbadmin 64ba8c8274 *** empty log message *** 2004-09-03 00:00:01 +00:00
Joel Brobecker 8ac2e020a1 * mips-tdep.c (mips_insn32_frame_cache): Remove some dead code.
Minor reformatting. Some code factoring.
2004-09-02 22:57:49 +00:00
Andrew Cagney 63f22f0da5 2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/vax/nbsd.mt (TM_FILE): Set to solib.h.
	* config/vax/tm-nbsd.h: Delete file.
	* config/sparc/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h.
	* config/sparc/tm-vxworks.h: Delete file.
	* config/sparc/nbsd.mt (TM_FILE): Set to solib.h.
	* config/sparc/tm-nbsd.h: Delete file.
	* config/sparc/linux64.mt (TM_FILE): Set to solib.h.
	* config/sparc/linux.mt (TM_FILE): Set to solib.h.
	* config/sparc/tm-linux.h: Delete file.
	* config/s390/s390.mt (TM_FILE): Set to config/tm-linux.h
	* config/s390/tm-linux.h: Delete file.
	* config/pa/obsd.mt (TM_FILE): Set to solib.h.
	* config/pa/tm-bsd.h: Delete file.
	* config/m68k/obsd.mt (TM_FILE): Set to solib.h.
	* config/m68k/tm-obsd.h: Delete file.
	* config/m68k/nbsd.mt (TM_FILE): Set to solib.h.
	* config/m68k/tm-nbsd.h: Delete file.
	* config/i386/vxworks.mt (TM_FILE): Set to config/tm-vxworks.h.
	* config/i386/tm-vxworks.h: Delete file.
	* config/i386/obsd64.mt (TM_FILE): Set to solib.h.
	* config/i386/obsd.mt (TM_FILE): Set to solib.h.
	* config/i386/nbsd64.mt (TM_FILE): Set to solib.h.
	* config/i386/nbsd.mt (TM_FILE): Set to solib.h.
	* config/i386/tm-nbsd.h: Delete file.
	* config/i386/i386lynx.mt (TM_FILE): Set to config/tm-lynx.h.
	* config/i386/tm-i386lynx.h: Delete file.
	* config/cris/cris.mt (TM_FILE): Set to solib.h.
	* config/cris/tm-cris.h: Delete file.
2004-09-02 22:37:41 +00:00
Andrew Cagney 0f475e278d 2004-09-02 Andrew Cagney <cagney@gnu.org>
* configure.in: Let TM_FILE, XM_FILE and NAT_FILE specify a path.
	* configure: Re-generate.
	* config/arm/nbsd.mt (TM_FILE): Set to "solib.h".
	* config/arm/tm-nbsd.h: Delete file.
2004-09-02 22:14:33 +00:00
Andrew Cagney 458ed0007a 2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/powerpc/tm-ppcle-sim.h: Delete.
	* config/powerpc/tm-ppcle-eabi.h: Delete.
	* config/powerpc/tm-nbsd.h: Delete.
	* config/powerpc/nbsd.mt (TM_FILE): Set to tm-ppc-eabi.h.
	* config/djgpp/fnchange.lst: Do not rename tm-ppcle-sim.h or
	tm-ppcle-eabi.h.
2004-09-02 20:57:22 +00:00
Andrew Cagney f14375f3d9 2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/i386/nto.mh (NAT_FILE): Delete.
	* config/i386/nm-nto.h: Delete.
2004-09-02 19:52:40 +00:00
Andrew Cagney c34d127ce7 2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/m68k/tm-vx68.h: Do not include "tm-m68k.h".
	* config/m68k/tm-os68k.h: Ditto.
	* config/m68k/tm-monitor.h: Ditto.
	* config/m68k/tm-cisco.h: Ditto.
	* config/m68k/st2000.mt (TM_FILE): Delete.
	* config/m68k/tm-vx68.h (GET_LONGJMP_TARGET): Delete.
	* config/m68k/tm-cisco.h (GET_LONGJMP_TARGET): Delete.
	* config/m68k/tm-m68k.h (m68k_get_longjmp_target): Delete file.
	* m68k-tdep.c (m68k_get_longjmp_target): Make static.
2004-09-02 19:16:36 +00:00
Andrew Cagney f7f0fe039a 2004-09-02 Andrew Cagney <cagney@gnu.org>
* config/m68k/tm-st2000.h: Delete.
	* config/m68k/st2000.mt (TM_FILE): Set to tm-m68k.h.
	* config/sparc/fbsd.mt (TM_FILE): Delete.
	* config/sparc/tm-fbsd.h: Delete.
2004-09-02 19:08:35 +00:00