Commit Graph

32998 Commits

Author SHA1 Message Date
Chris Demetriou f744d540a5 2002-01-29 Chris Demetriou <cgd@broadcom.com>
Mitch Lichtenberg  <mpl@broadcom.com>

        * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
        * emultempl/mipself.em: New file to handle MIPS ELF embedded
        reloc creation (ld --embedded-relocs).
2002-01-30 02:22:14 +00:00
Chris Demetriou 38b566ae19 2002-01-29 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs.
        * ld-mips-elf/emrelocs-el.d: Likewise.
        * ld-mips-elf/emrelocs1.s: Likewise.
        * ld-mips-elf/emrelocs2.s: Likewise.
        * ld-mips-elf/emrelocs.ld: Likewise.
        * ld-mips-elf/mips-elf.exp: Add the above to the list of tests.
2002-01-30 02:20:13 +00:00
Chris Demetriou 030d18fb6f 2002-01-29 Chris Demetriou <cgd@broadcom.com>
Mitch Lichtenberg  <mpl@broadcom.com>

        * bfd-in.h (bfd_mips_elf32_create_embedded_relocs): New prototype.
        * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): New function
        to handle 32-bit ELF embedded reloc (ld --embedded-relocs)
        generation.
        * bfd-in2.h: Regenerate.
2002-01-30 02:19:21 +00:00
Chris Demetriou 4514d474ed 2002-01-29 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (tc_gen_reloc): Arrange for
        BFD_RELOC_PCREL_HI16_S relocations to be output relative to
        their LO16 parts, even for ELF.
2002-01-30 02:14:19 +00:00
Chris Demetriou fcc76bea37 2002-01-29 Chris Demetriou <cgd@broadcom.com>
* elf32-mips.c: Add additional comments about HI16 relocation
        processing.
        (_bfd_mips_elf_hi16_reloc): Don't subtract address here for
        pc-relative relocations.  (Reverts change made on 2001-10-31.)
        (_bfd_mips_elf_lo16_reloc): Subtract address of LO16 part here
        for pc-relative relocations.
        (mips_elf_calculate_relocation): Add a comment about a kludge
        in the R_MIPS_GNU_REL_HI16 handling.
        (_bfd_mips_elf_relocate_section): Implement that kludge;
        adjust pc-relative HI16 relocation for difference in HI16 and
        LO16 addresses, since it can't easily be done in
        mips_elf_calculate_relocation.
2002-01-30 02:13:20 +00:00
Andrew Cagney 977a303014 Delete REGISTER_NAME_ALIAS_HOOK. 2002-01-30 00:18:17 +00:00
gdbadmin d07daa9780 *** empty log message *** 2002-01-30 00:00:04 +00:00
Alan Modra 4cdc627b72 daily update 2002-01-29 23:00:05 +00:00
Andrew Cagney ba997f4882 Zap >>>> 2002-01-29 21:37:15 +00:00
Michael Snyder 2076c72b06 2002-01-28 Michael Snyder <msnyder@redhat.com>
* regcache.c (legacy_read_register_gen): Need to be able to
	read pseudo-register as well as real register.
	(legacy_write_register_gen): Ditto.
2002-01-29 20:24:27 +00:00
Daniel Jacobowitz 246fcdee13 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* config/tc-i386.c: Protect definitions of true and false
        from redefinition.
2002-01-29 17:07:57 +00:00
Daniel Jacobowitz a0e9c55fc1 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* unwind-ia64.c (unw_decoder): Change second argument
        to unsigned int, to match function prototypes.
2002-01-29 16:54:04 +00:00
Daniel Jacobowitz d7a283d444 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* objdump.c: Include "getopt.h" after "bucomm.h" so that
        __GNU_LIBRARY__ will be defined.
        * size.c: Likewise.
2002-01-29 16:46:37 +00:00
Andrew Cagney 8642bc8fb0 Revise and update ``Releasing GDB''. 2002-01-29 16:32:02 +00:00
Alan Modra 648cca2cac Arrgh! Revert last change. 2002-01-29 14:52:12 +00:00
Alan Modra ef9d813eaf * elf64-ppc.c (func_desc_adjust): Don't supply missing function
descriptor symbols.
2002-01-29 14:04:04 +00:00
Martin Schwidefsky f9cd911902 * elf32-i386 (elf_i386_adjust_dynamic_symbol): Do not replace PLT32
relocations with PC32 relocations for undefined or weak symbols.
	* elf32-s390 (elf_i386_adjust_dynamic_symbol): Likewise.
	* elf64-s390x (elf_i386_adjust_dynamic_symbol): Likewise.
2002-01-29 11:14:35 +00:00
Andrew Cagney 8fcc723b1c Eliminate TARGET_BYTE_ORDER. 2002-01-29 04:42:45 +00:00
Andrew Cagney afe64c1a68 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
(target_byte_order): Initialize to BFD_ENDIAN_BIG.
(initialize_current_architecture): Update target_byte_order using
information from BFD.
* config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
* config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
* config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.

Update doco.
2002-01-29 03:51:19 +00:00
Andrew Cagney 75bc7ddf1b * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
* vax-tdep.c (INVALID_FLOAT): To here.  Document why it is broken.

* rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
#ifdef INVALID_FLOAT.
* infcmd.c (do_registers_info): Ditto.
* values.c (unpack_double): Ditto.  Add comment.

* config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
already commented out.
2002-01-29 03:08:28 +00:00
gdbadmin 806dedcd0c *** empty log message *** 2002-01-29 00:00:03 +00:00
Jason Merrill dc9ebeffca elf/dwarf2.h: Sync with gcc version. 2002-01-28 23:26:53 +00:00
Alan Modra c909d9ad10 daily update 2002-01-28 23:00:04 +00:00
DJ Delorie 1d619e590d merge from gcc 2002-01-28 22:03:14 +00:00
David O'Brien 569719c11a 2002-01-27 David O'Brien <obrien@FreeBSD.org>
* cgen.h (BFD_VERSION): Use BFD_VERSION_DATE instead.

Approved by:  Nick Clifton <nickc@cambridge.redhat.com>
              <m3k7u2g5uc.fsf@north-pole.nickc.cambridge.redhat.com>
2002-01-28 19:15:46 +00:00
Jason Thorpe 702248bb87 * elfcore.h (elf_core_file_p): Improve comment for last change. 2002-01-28 16:48:52 +00:00
Jakub Jelinek 00e6e13d12 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
made because of .weak, if they are neither defined nor used in any
	way.
2002-01-28 13:34:39 +00:00
Daniel Jacobowitz 4867be4168 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
From Steve Ellcey <sje@cup.hp.com>:
        * libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI.
        (lt_cv_deplibs_check_method, lt_cv_file_magic_cmd,
        lt_cv_file_magic_test_file): Set to appropriate values for HP-UX
        IA64.
        * ltcf-c.sh (archive_cmds, hardcode_*): Ditto.
        * ltconfig (shlibpath_*, dynamic_linker, library_names_spec,
        soname_spec, sys_lib_search_path_spec): Ditto.


Various configure scripts regenerated.
2002-01-28 04:59:39 +00:00
gdbadmin 7a2c05236d *** empty log message *** 2002-01-28 00:00:02 +00:00
Jason Thorpe a94cef6a79 * elfcore.h (elf_core_file_p): Set the machine architecture
before processing the program headers.
2002-01-27 23:27:23 +00:00
Alan Modra 9d8385df24 daily update 2002-01-27 23:00:05 +00:00
Eli Zaretskii 59649f2e83 * gdb.texinfo: Fix typos and markup. From Dmitry Sivachenko
<mitya@cavia.pp.ru>.
2002-01-27 09:34:24 +00:00
Richard Henderson 3b04e72964 * i386.c (i386_iscall): Static.
* tahoe.c (indirectchild, tahoe_operandmode): Static.
        (tahoe_operandlength, tahoe_reladdr): Static.
        * vax.c (indirectchild): Static.
2002-01-27 02:43:52 +00:00
Jason Thorpe e82380ccbb * configure.in (*-*-netbsd*): New. Skip target-newlib,
target-libiberty, and target-libgloss.  Skip Java-related
libraries if not supported for NetBSD on target CPU.
2002-01-27 02:14:43 +00:00
gdbadmin af2dc4b8c3 *** empty log message *** 2002-01-27 00:00:02 +00:00
Alan Modra b955b80698 daily update 2002-01-26 23:00:05 +00:00
Andreas Schwab 0280a90a33 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
* m68klinux-nat.c: Update ptrace interface for fetching/storing
	registers and add support for PTRACE_GETREGS.
2002-01-26 22:23:23 +00:00
Hans-Peter Nilsson 966abd7075 * configure.in <64-bit configuration>: If using gcc, check and
emit error for egcs-1.1.2.
	* configure: Regenerate.
2002-01-26 21:55:54 +00:00
Hans-Peter Nilsson 072cf0527f * Makefile.in (install): Depend on install-info. 2002-01-26 21:35:45 +00:00
Hans-Peter Nilsson cd8e197bd1 * Makefile.am (install): Depend on install-info.
* Makefile.in: Regenerate.
2002-01-26 21:33:06 +00:00
Hans-Peter Nilsson 7562a29612 * doc/Makefile.am (install): Depend on install-info.
* doc/Makefile.in: Regenerate.
2002-01-26 21:27:36 +00:00
Jason Thorpe ec0806ec81 * mips.c: New file.
* Makefile.am (sources): Add mips.c.
(mips.o): New rule.
* Makefile.in: Regenerate.
* corefile.c: Update copyright years.
(find_call): Call mips_find_call for bfd_arch_mips.
2002-01-26 17:19:35 +00:00
Alan Modra 9cb61eabc1 * ldmain.c (main): Use full sentences to ease translation. 2002-01-26 12:25:21 +00:00
Nick Clifton e8eab623df Copy only as much information as possible to avoid stack corruption. 2002-01-26 10:32:21 +00:00
Nick Clifton 1caa7b2354 Updated French translation 2002-01-26 08:53:50 +00:00
Nick Clifton fdfd5c7a35 Updated French version 2002-01-26 08:52:51 +00:00
Richard Henderson 73896efb90 * elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext
for non-allocated sections.
2002-01-26 08:41:30 +00:00
gdbadmin 09114b8784 *** empty log message *** 2002-01-26 00:00:04 +00:00
Alan Modra 4e4e843141 daily update 2002-01-25 23:00:05 +00:00
Mark Kettenis c106e334fb * elf.c (elfcore_write_prstatus): Make sure we pass the address of
prstat.pr_reg even if it is a struct.
2002-01-25 18:56:59 +00:00