Commit Graph

31312 Commits

Author SHA1 Message Date
Jeff Law 5facebfccc Nuts. Checked in wrong version of previous patch. Fixed. 2001-08-30 20:38:35 +00:00
Jeff Law f333765ffd Thu Aug 30 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
* tc-h8300.c (tc_crawl_symbol_chain, tc_headers_hook): Don't
        define for BFD_ASSEMBLER.
        (tc_reloc_mangle): Likewise.
        (tc_gen_reloc): New function for BFD_ASSEMBLER.
More of Joern's patches with minor changes s/OBJ_ELF/BFD_ASSEMBLER/
2001-08-30 20:15:06 +00:00
Keith Seitz 4c32cc04d2 * lib/gdb.exp: Move all insight-related functionality into
separate file.
	* lib/insight-support.exp: New file.
2001-08-30 16:34:04 +00:00
H.J. Lu ee8a3a3be4 2001-08-30 H.J. Lu <hjl@gnu.org>
* Makefile.am (BFD32_BACKENDS): Add elf32-h8300.lo.
	(BFD32_BACKENDS_CFILES): Add elf32-h8300.c.
	* Makefile.in: Rebuild.
2001-08-30 16:02:40 +00:00
H.J. Lu 8eb59a907a 2001-08-30 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (mips_elf_calculate_relocation): Don't create
	dynamic relocation for undefined weak symbols when creating
	executables. Check h->root.root.type, instead of h->root.type.
2001-08-30 15:24:18 +00:00
Tom Rix 8df8c6197a Fix for xty_ld symbols 2001-08-30 12:48:35 +00:00
Nick Clifton 063cb91d19 omitted in previous delta 2001-08-30 12:19:49 +00:00
Jeff Law f235248854 * elf32-h8300.c (h8_elf_howto_table): Add new PC relative
relocations.
	(h8_reloc_map): Similarly.
	(elf32_h8_final_link_relocate): Remove incorrect overflow tests.
	Add support for PC relative relocations.
2001-08-30 02:15:58 +00:00
Andrew Cagney a116b84cf9 Cleanups. Now passes! 2001-08-30 01:45:30 +00:00
Jeff Law 5e47149d10 * elf32-h8300.c: Put all prototypes together.
(elf32_h8_info_to_howto): Parameter elf_reloc is used.
        (elf32_h8_final_link_relocate): New function for linker.
        (elf32_h8_relocate_section): Similarly.
        (elf_backend_relocate_section): Define.
2001-08-30 00:08:12 +00:00
gdbadmin 3738f56667 *** empty log message *** 2001-08-30 00:00:03 +00:00
Frank Ch. Eigler 8d6e6f816b * gdb/sid connect fix, etc.
2001-08-29  Frank Ch. Eigler  <fche@redhat.com>

        * config/sid.exp (sid_start): Never set sid verbosity; disable
        expect_background {} that consumed its stdout; tolerate </dev/null.
        Attempt to set endianness override in "sid" protocol mode.  Cleanup.
2001-08-29 20:36:06 +00:00
DJ Delorie f2e55dc2f4 merge from gcc 2001-08-29 20:03:08 +00:00
Kevin Buettner 8ad2fcde8d Applied Daniel Jacobowitz's patch for reattaching in the presence of
remote SVR4 shared libraries.
2001-08-29 19:34:08 +00:00
Jeff Law 7e0de7bf18 * tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define
assorted coff relocations to the corresponding elf relocations.
        * tc-h8300.h (TARGET_ARCH, TARGET_FORMAT): Define appropriately.
More of Joern's patches.
2001-08-29 18:56:50 +00:00
Jeff Law 83e20b45a3 * config/tc-h8300.c (h8300hmode): Record the machine type
if BFD_ASSEMBLER is defined.
	(h8300smode, md_begin): Similarly.
2001-08-29 18:50:56 +00:00
Phil Blundell d43ded80a7 2001-08-29 Joel Sherrill <joel@OARcorp.com>
* configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
	default from coff to elf.
2001-08-29 18:47:28 +00:00
Phil Blundell f6314f3e2f 2001-08-29 Joel Sherrill <joel@OARcorp.com>
* configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change
	default from coff to elf.
	* configure: Regenerate.
2001-08-29 18:45:28 +00:00
Jeff Law eea78af13d Fix brown-paper-bag thinko in last change. 2001-08-29 18:45:18 +00:00
Jeff Law 3ad62fc4e7 * lib/gas-defs.exp: (regexp_diff) At verbosity 3, also show
where mismatch occurs due to regexp mismatch.

Another patch from Joern.
2001-08-29 18:11:19 +00:00
Jeff Law ccad732da8 * configure.in: Add case for h8300-*-elf.
* configure: Regenerate.

Checking in parts of Joern's patch.
2001-08-29 17:44:39 +00:00
Jeff Law 3946dd2f8d * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update
ARCH specification.
	* emulparams/h8300self.sh: Similarly.
2001-08-29 17:35:27 +00:00
Jeff Law f18a3b8579 Fix typos in ChangeLog dates. 2001-08-29 17:24:40 +00:00
Jeff Law 0dec92862f * h8.h (EF_H8_MACH): New mask for encoded machine type.
(E_H8_MACH_H8300, E_H8_MACH_H8300H, E_H8_MACH_H8300S): New
        machine types.
2001-08-29 17:23:39 +00:00
Jeff Law 0a83638b54 * cpu-h8300.c (h8300_scan, compatible): Prototype.
(h8300_scan): Handle architecture:machine encodings typically
        found in linker scripts.
        * elf.c (prep_headers): Do not try to do H8 machine recognition
        here.
        * elf32-h8300.c:  Add some missing prototypes.
        (elf32_h8_mach, elf32_h8_final_write_processing): New functions.
        (elf32_h8_object_p): Similarly.
2001-08-29 17:23:16 +00:00
Nick Clifton 70d0c6e9db Add missing changelog entry 2001-08-29 17:18:52 +00:00
Peter Targett 8db76d70ac * MAINTAINERS: Include ARC Maintainer. 2001-08-29 15:19:38 +00:00
Joern Rennecke 8af6dd4198 * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
eh8300self.o .
	(eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
	* configure.tgt (h8300-*-elf*): New case.
	* emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
	* emulparams/h8300self.sh: New file.
	* Makefile.in: Regenerated.
2001-08-29 12:51:26 +00:00
Joern Rennecke 82f3c9a358 Typo fix. 2001-08-29 12:24:30 +00:00
Joern Rennecke 1262d52065 * doc/internals.texi (MD_PCREL_FROM_SECTION): Change
docuemntation to reflect reality.
2001-08-29 12:22:27 +00:00
Ben Elliston d81d65845e 2001-08-29 Ben Elliston <bje@redhat.com>
* stabs.c (stab_demangle_template): Initialise s4.
2001-08-29 10:55:43 +00:00
Alan Modra 102ab33260 * targmatch.sed: Delete case statements.
* config.bfd <powerpc-*-aix* entry>: Select 64 bit xcoff for
	aix4.3 and above.
2001-08-29 03:39:47 +00:00
Joern Rennecke e01b0e6981 * Makefile.am (elf32-h8300.lo): New target.
* config.bfd (h8300*-*-elf): New case.
	* configure.in (bfd_elf32_h8300_vec): New case.
	* elf.c (prep_headers): Add case for bfd_arch_h8300.
	* reloc.c (BFD_RELOC_H8_DIR16A8): New relocation.
	(BFD_RELOC_H8_DIR16R8, BFD_RELOC_H8_DIR24A8): Likewise.
	(BFD_RELOC_H8_DIR24R8, BFD_RELOC_H8_DIR32A16): Likewise.
	* targets.c (bfd_target bfd_elf32_h8300_vec): New extern declaration.
	* elf32-h8300.c: New file.
	* Makefile.in, bfd-in2.h, libbfd.h, configure: Regenerated.
2001-08-29 01:33:52 +00:00
Andrew Cagney e87593493c Fix comments on `struct frame_info'. 2001-08-29 00:51:14 +00:00
gdbadmin dd5039a5b9 *** empty log message *** 2001-08-29 00:00:04 +00:00
Jim Blandy 496e6bc304 * gdbint.texinfo: Bring the HTML `top' menu into sync with the
info `top' menu.
2001-08-28 22:49:55 +00:00
Joern Rennecke c12b9b535d * h8.h: New file. 2001-08-28 22:33:27 +00:00
Andreas Jaeger b849bb4223 * m68hc11-dis.c: Add missing prototypes.
(forgotten in last checkin)
2001-08-28 16:27:55 +00:00
Nick Clifton 42ef282fe7 Add missing prototypes 2001-08-28 09:35:16 +00:00
Matthew Green 0152a4c679 * ppc-opc.c (icbt): Order correctly. 2001-08-28 05:47:29 +00:00
gdbadmin 1652590996 *** empty log message *** 2001-08-28 00:00:09 +00:00
Mark Kettenis 46711df821 * event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
gratuitious whitespace changes.
[!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined.
* top.c: Remove redundant logic to define HAVE_SIGSETMASK.
(sigsetmask) Don't define macro.
(stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from
async_stop_sig from event-top.c.
[!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is
defined.
* configure.in (AC_CHECK_FUNCS): Put functions in alphabetical
order.  Add sigsetmask.
(AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in
alphabetical order.
* config/xm-aix4.h, config/alpha/xm-alphalinux.h,
config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h
(HAVE_SIGSETMASK): Remove.
* aclocal.m4, config.in, configure
2001-08-27 22:39:56 +00:00
DJ Delorie 8a423cb3d6 merge from gcc 2001-08-27 20:05:03 +00:00
Thiemo Seufer 7283eb8605 * tc_mips.c (load_address): Reflect change to MAX_GPREL_OFFSET.
(macro): Reflect change to MAX_GPREL_OFFSET.
2001-08-27 18:48:27 +00:00
Daniel Jacobowitz 2e67030cdb * elf32-i386.c: Add missing prototypes.
* elf32-ppc.c: Likewise.
        * elf32-sh-lin.c: Likewise.
        * elfarm-nabi.c: Likewise.
2001-08-27 18:04:37 +00:00
Daniel Jacobowitz c5fccbec35 * elf32-i386.c (elf_i386_grok_prstatus): New function.
(elf_i386_grok_psinfo): New function.
        (elf_backend_grok_prstatus): Define.
        (elf_backend_grok_psinfo): Likewise.
        * elf32-ppc.c (ppc_elf_grok_prstatus): New function.
        (ppc_elf_grok_psinfo): New function.
        (elf_backend_grok_prstatus): Define.
        (elf_backend_grok_psinfo): Likewise.
        * elf32-sh-lin.c (elf32_shlin_grok_prstatus): New function.
        (elf32_shlin_grok_psinfo): New function.
        (elf_backend_grok_prstatus): Define.
        (elf_backend_grok_psinfo): Likewise.
        * elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): New function.
        (elf32_arm_nabi_grok_psinfo): New function.
        (elf_backend_grok_prstatus): Define.
        (elf_backend_grok_psinfo): Likewise.
2001-08-27 17:36:32 +00:00
H.J. Lu 14d5043ad0 2001-08-27 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (mips_elf_create_dynamic_relocation): Add more
	sanity check.
	(mips_elf_calculate_relocation): Create dynamic relocation for
	symbols with weak definition or the ELF_LINK_HASH_DEF_REGULAR
	bit is not set.
2001-08-27 15:40:38 +00:00
H.J. Lu 9e80ff3a40 2001-08-27 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (_bfd_mips_elf_hide_symbol): Add prototype.
	(_bfd_mips_elf_copy_indirect_symbol): Likewise.
	(_bfd_elf32_mips_grok_prstatus): Likewise.
	(_bfd_elf32_mips_grok_psinfo): Likewise.
	(_bfd_mips_elf_hide_symbol): Make it static and cast to
	`struct mips_elf_link_hash_entry *'.
	(_bfd_mips_elf_copy_indirect_symbol): Make it static.
2001-08-27 14:47:33 +00:00
Alan Modra e88b7c9780 * gas/macros/macros.exp: xfail powerpc-*-aix.
* gas/ppc/astest64.s: New.
	* gas/ppc/astest64.d: New.
	* gas/ppc/astest2_64.s: New.
	* gas/ppc/astest2_64.d: New.
	* gas/ppc/test1elf.asm: New.
	* gas/ppc/test1xcoff.asm: New.
	* gas/ppc/generate.sh: New. Generate new files below from above .asm
	* gas/ppc/test1elf32.s: New.
	* gas/ppc/test1elf32.d: New.
	* gas/ppc/test1elf64.s: New.
	* gas/ppc/test1elf64.d: New.
	* gas/ppc/test1xcoff32.s: New.
	* gas/ppc/test1xcoff32.d: New.
	* gas/ppc/ppc.exp: Run new tests.
	* gas/ppc/simpshft.s: Tweak align now that we get nops.
2001-08-27 10:51:20 +00:00
Alan Modra ad9f78d1a8 * ld-checks/checks.exp: .lcomm is incompatible with ppc coff.
* ld-scripts/cross1.t: Add .toc section.
	* ld-scripts/cross2.t: Likewise.
	* ld-scripts/phdrs.exp: powerpc64 is 64 bit.
	* ld-srec/srec.exp: xfail powerpc64
2001-08-27 10:49:55 +00:00