Nick Clifton [Wed, 30 Jan 2002 18:12:17 +0000 (18:12 +0000)]
Tidy up formatting in bfd-in2.h
Richard Earnshaw [Wed, 30 Jan 2002 16:35:51 +0000 (16:35 +0000)]
* arm-tdep.c (arm_call_dummy_words): Define.
* arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
* config/arm/tm-arm.h (CALL_DUMMY_P): Define.
(CALL_DUMMY_WORDS): Define.
(arm_call_dummy_words): Declare.
* config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
(arm_linux_call_dummy_words): Declare.
Nick Clifton [Wed, 30 Jan 2002 16:07:28 +0000 (16:07 +0000)]
Fixes for better translation into other languages
Philipp Thomas [Wed, 30 Jan 2002 14:51:39 +0000 (14:51 +0000)]
Unify messages in coff-arm.c and elf32-arm.h.
Andreas Schwab [Wed, 30 Jan 2002 13:57:33 +0000 (13:57 +0000)]
* m68klinux-nat.c: Fix last change to use regcache_collect
instead of referencing registers[] directly.
Nick Clifton [Wed, 30 Jan 2002 10:49:04 +0000 (10:49 +0000)]
Updated Swedish translation
Nick Clifton [Wed, 30 Jan 2002 10:31:28 +0000 (10:31 +0000)]
Don't translate debugging message.
Nick Clifton [Wed, 30 Jan 2002 10:28:47 +0000 (10:28 +0000)]
Use full section name in error messages.
Daniel Jacobowitz [Wed, 30 Jan 2002 05:00:07 +0000 (05:00 +0000)]
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* nm.c (print_value): Mark abfd unused.
Alan Modra [Wed, 30 Jan 2002 03:47:37 +0000 (03:47 +0000)]
* elf64-ppc.c (func_desc_adjust): Only provide missing function
descriptor symbols for undefined function code syms. Clear
ELF_LINK_NON_ELF so that they can stay weak.
Chris Demetriou [Wed, 30 Jan 2002 02:22:14 +0000 (02:22 +0000)]
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).
Chris Demetriou [Wed, 30 Jan 2002 02:20:13 +0000 (02:20 +0000)]
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.
Chris Demetriou [Wed, 30 Jan 2002 02:19:21 +0000 (02:19 +0000)]
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.
Chris Demetriou [Wed, 30 Jan 2002 02:14:19 +0000 (02:14 +0000)]
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.
Chris Demetriou [Wed, 30 Jan 2002 02:13:20 +0000 (02:13 +0000)]
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.
Andrew Cagney [Wed, 30 Jan 2002 00:18:17 +0000 (00:18 +0000)]
Delete REGISTER_NAME_ALIAS_HOOK.
gdbadmin [Wed, 30 Jan 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 29 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Andrew Cagney [Tue, 29 Jan 2002 21:37:15 +0000 (21:37 +0000)]
Zap >>>>
Michael Snyder [Tue, 29 Jan 2002 20:24:27 +0000 (20:24 +0000)]
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.
Daniel Jacobowitz [Tue, 29 Jan 2002 17:07:57 +0000 (17:07 +0000)]
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* config/tc-i386.c: Protect definitions of true and false
from redefinition.
Daniel Jacobowitz [Tue, 29 Jan 2002 16:54:04 +0000 (16:54 +0000)]
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* unwind-ia64.c (unw_decoder): Change second argument
to unsigned int, to match function prototypes.
Daniel Jacobowitz [Tue, 29 Jan 2002 16:46:37 +0000 (16:46 +0000)]
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.
Andrew Cagney [Tue, 29 Jan 2002 16:32:02 +0000 (16:32 +0000)]
Revise and update ``Releasing GDB''.
Alan Modra [Tue, 29 Jan 2002 14:52:12 +0000 (14:52 +0000)]
Arrgh! Revert last change.
Alan Modra [Tue, 29 Jan 2002 14:04:04 +0000 (14:04 +0000)]
* elf64-ppc.c (func_desc_adjust): Don't supply missing function
descriptor symbols.
Martin Schwidefsky [Tue, 29 Jan 2002 11:14:35 +0000 (11:14 +0000)]
* 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.
Andrew Cagney [Tue, 29 Jan 2002 04:42:45 +0000 (04:42 +0000)]
Eliminate TARGET_BYTE_ORDER.
Andrew Cagney [Tue, 29 Jan 2002 03:51:19 +0000 (03:51 +0000)]
* 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.
Andrew Cagney [Tue, 29 Jan 2002 03:08:28 +0000 (03:08 +0000)]
* 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.
gdbadmin [Tue, 29 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jason Merrill [Mon, 28 Jan 2002 23:26:53 +0000 (23:26 +0000)]
elf/dwarf2.h: Sync with gcc version.
Alan Modra [Mon, 28 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
DJ Delorie [Mon, 28 Jan 2002 22:03:14 +0000 (22:03 +0000)]
merge from gcc
David O'Brien [Mon, 28 Jan 2002 19:15:46 +0000 (19:15 +0000)]
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>
Jason Thorpe [Mon, 28 Jan 2002 16:48:52 +0000 (16:48 +0000)]
* elfcore.h (elf_core_file_p): Improve comment for last change.
Jakub Jelinek [Mon, 28 Jan 2002 13:34:39 +0000 (13:34 +0000)]
* 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.
Daniel Jacobowitz [Mon, 28 Jan 2002 04:59:39 +0000 (04:59 +0000)]
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.
gdbadmin [Mon, 28 Jan 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Jason Thorpe [Sun, 27 Jan 2002 23:27:23 +0000 (23:27 +0000)]
* elfcore.h (elf_core_file_p): Set the machine architecture
before processing the program headers.
Alan Modra [Sun, 27 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Eli Zaretskii [Sun, 27 Jan 2002 09:34:24 +0000 (09:34 +0000)]
* gdb.texinfo: Fix typos and markup. From Dmitry Sivachenko
<mitya@cavia.pp.ru>.
Richard Henderson [Sun, 27 Jan 2002 02:43:52 +0000 (02:43 +0000)]
* i386.c (i386_iscall): Static.
* tahoe.c (indirectchild, tahoe_operandmode): Static.
(tahoe_operandlength, tahoe_reladdr): Static.
* vax.c (indirectchild): Static.
Jason Thorpe [Sun, 27 Jan 2002 02:14:43 +0000 (02:14 +0000)]
* configure.in (*-*-netbsd*): New. Skip target-newlib,
target-libiberty, and target-libgloss. Skip Java-related
libraries if not supported for NetBSD on target CPU.
gdbadmin [Sun, 27 Jan 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 26 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Andreas Schwab [Sat, 26 Jan 2002 22:23:23 +0000 (22:23 +0000)]
* 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.
Hans-Peter Nilsson [Sat, 26 Jan 2002 21:55:54 +0000 (21:55 +0000)]
* configure.in <64-bit configuration>: If using gcc, check and
emit error for egcs-1.1.2.
* configure: Regenerate.
Hans-Peter Nilsson [Sat, 26 Jan 2002 21:35:45 +0000 (21:35 +0000)]
* Makefile.in (install): Depend on install-info.
Hans-Peter Nilsson [Sat, 26 Jan 2002 21:33:06 +0000 (21:33 +0000)]
* Makefile.am (install): Depend on install-info.
* Makefile.in: Regenerate.
Hans-Peter Nilsson [Sat, 26 Jan 2002 21:27:36 +0000 (21:27 +0000)]
* doc/Makefile.am (install): Depend on install-info.
* doc/Makefile.in: Regenerate.
Jason Thorpe [Sat, 26 Jan 2002 17:19:35 +0000 (17:19 +0000)]
* 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.
Alan Modra [Sat, 26 Jan 2002 12:25:21 +0000 (12:25 +0000)]
* ldmain.c (main): Use full sentences to ease translation.
Nick Clifton [Sat, 26 Jan 2002 10:32:21 +0000 (10:32 +0000)]
Copy only as much information as possible to avoid stack corruption.
Nick Clifton [Sat, 26 Jan 2002 08:53:50 +0000 (08:53 +0000)]
Updated French translation
Nick Clifton [Sat, 26 Jan 2002 08:52:51 +0000 (08:52 +0000)]
Updated French version
Richard Henderson [Sat, 26 Jan 2002 08:41:30 +0000 (08:41 +0000)]
* elf64-alpha.c (elf64_alpha_check_relocs): Don't set reltext
for non-allocated sections.
gdbadmin [Sat, 26 Jan 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 25 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Fri, 25 Jan 2002 18:56:59 +0000 (18:56 +0000)]
* elf.c (elfcore_write_prstatus): Make sure we pass the address of
prstat.pr_reg even if it is a struct.
Nick Clifton [Fri, 25 Jan 2002 16:41:37 +0000 (16:41 +0000)]
Reset AIX vector function overrides for HP-UX.
Nick Clifton [Fri, 25 Jan 2002 15:37:04 +0000 (15:37 +0000)]
Add --totals option to size
Nick Clifton [Fri, 25 Jan 2002 15:13:52 +0000 (15:13 +0000)]
Don't mark info message for translation.
Nick Clifton [Fri, 25 Jan 2002 14:25:04 +0000 (14:25 +0000)]
Fix date in previous delta
Nick Clifton [Fri, 25 Jan 2002 14:25:03 +0000 (14:25 +0000)]
Updated Spanish translation
Nick Clifton [Fri, 25 Jan 2002 14:20:45 +0000 (14:20 +0000)]
Updated translations
Nick Clifton [Fri, 25 Jan 2002 14:15:46 +0000 (14:15 +0000)]
Update French translation
Andreas Jaeger [Fri, 25 Jan 2002 13:04:32 +0000 (13:04 +0000)]
* ldlex.l (yy_input): Correct error check.
Alan Modra [Fri, 25 Jan 2002 12:22:42 +0000 (12:22 +0000)]
* ldmisc.c (demangle): Put back dots when string not demangled.
Alan Modra [Fri, 25 Jan 2002 12:12:23 +0000 (12:12 +0000)]
* coff-alpha.c (alpha_relocate_section): Unify warning message
for GP relative relocations without GP defined.
* coff-mips.c (mips_relocate_section): Likewise.
Alan Modra [Fri, 25 Jan 2002 12:01:12 +0000 (12:01 +0000)]
Missing ChangeLog entries for 2002-01-22 Makefile updates
Alan Modra [Fri, 25 Jan 2002 06:24:34 +0000 (06:24 +0000)]
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Avoid
unsigned overflow when new_offset < old_offset.
gdbadmin [Fri, 25 Jan 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 24 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update
Kazu Hirata [Thu, 24 Jan 2002 18:22:06 +0000 (18:22 +0000)]
* config/tc-h8300.c (check_operand): Don't print a warning
when a valid 24-bit address is given to a 16-bit address
operand.
Nick Clifton [Thu, 24 Jan 2002 17:08:42 +0000 (17:08 +0000)]
fix typo
Nick Clifton [Thu, 24 Jan 2002 15:20:00 +0000 (15:20 +0000)]
New Danish translation file.
Andrew Cagney [Thu, 24 Jan 2002 08:05:31 +0000 (08:05 +0000)]
Merge in 5.1.1 tweeks.
Fred Fish [Thu, 24 Jan 2002 04:08:33 +0000 (04:08 +0000)]
Approved by msynder@redhat.com
2002-01-23 Fred Fish <fnf@redhat.com>
* mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
stabstring on initial malloc. Reallocing will copy it for us,
if necessary.
Elena Zannoni [Thu, 24 Jan 2002 03:44:10 +0000 (03:44 +0000)]
2002-01-23 Elena Zannoni <ezannoni@redhat.com>
* Makefile.in (hpread_h): Delete.
(HFILES_NO_SRCDIR): Remove hpread.h.
(ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
(hpread.o): Update dependencies.
(hp-psymtab-read.o, hp-symtab-read.o): Remove.
* hp-psymtab-read.c: Remove file.
* hp-symtab-read.c: Remove file.
* hpread.h: Remove file.
* hpread.c: Merge all contents of hp-psymtab-read.c,
hp-symtab-read.c and hpread.h into this file, as it was prior to
January 1999.
* config/pa/hpux11w.mh, config/pa/hpux11.mh,
config/pa/hpux1020.mh, config/pa/hppaosf.mh,
config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
Alexandre Oliva [Thu, 24 Jan 2002 02:59:16 +0000 (02:59 +0000)]
copyright years
Elena Zannoni [Thu, 24 Jan 2002 02:58:24 +0000 (02:58 +0000)]
2002-01-23 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
fill_gregset): Call gdbarch_tdep() just once, assign result to
variable and use that, instead of calling the function several
times.
Alexandre Oliva [Thu, 24 Jan 2002 02:54:47 +0000 (02:54 +0000)]
* config/tc-sh.c (sh_elf_suffix): Removed.
(sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
sh_end_of_match, sh_parse_name): New functions.
(sh_elf_cons): Simplify.
(parse_exp): Reject misplaced PIC operands.
(md_undefined_symbol): Simplify.
(sh_fix_adjustable): Let @GOTOFF be adjusted.
(md_apply_fix3): Write @PLT and @GOTOFF addends in place.
(tc_gen_reloc): Move fixp subsy absolute value into addnumber.
Complain if subsy remains at the end.
* config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
(md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
Alexandre Oliva [Thu, 24 Jan 2002 02:48:04 +0000 (02:48 +0000)]
* configure.host: Accept sparcv9 as alias for sparc64.
* configure.tgt: Likewise.
gdbadmin [Thu, 24 Jan 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 23 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update
Richard Henderson [Wed, 23 Jan 2002 21:51:53 +0000 (21:51 +0000)]
* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't suppress
plt entries for undefweak symbols.
Andrew Cagney [Wed, 23 Jan 2002 21:08:19 +0000 (21:08 +0000)]
Remove libgdb.texinfo
Nick Clifton [Wed, 23 Jan 2002 16:40:51 +0000 (16:40 +0000)]
Import StrongARM and XScale target_configdirs from FSF GCC version.
Nick Clifton [Wed, 23 Jan 2002 16:12:56 +0000 (16:12 +0000)]
Tidy up formatting of --help output.
Nick Clifton [Wed, 23 Jan 2002 12:21:07 +0000 (12:21 +0000)]
Add: bfd_elf32_ia64_hpux_big_vec, bfd_elf64_ia64_hpux_big_vec and
bfd_elf32_h8300_vec to DEFAULT_VECTOR.
Nick Clifton [Wed, 23 Jan 2002 11:48:53 +0000 (11:48 +0000)]
Add Danish translation
Alan Modra [Wed, 23 Jan 2002 11:21:18 +0000 (11:21 +0000)]
* elf64-ppc.c: Remove stale part of ABI comment.
(NO_OPD_RELOCS): Define.
(ppc64_elf_check_relocs): Use it.
(ppc64_elf_relocate_section): Here too.
(build_one_stub): Don't point function syms at the stub. Instead,
hijack plt.offset.
(ppc64_elf_relocate_section): Check whether REL24 relocs should
really go to the stub. Make all dynamic relocs in opd against
locals.
(ppc64_elf_finish_dynamic_symbol): Allow for non-standard use of
plt.offset.
Kevin Buettner [Wed, 23 Jan 2002 06:24:20 +0000 (06:24 +0000)]
Fix xcalloc() calls so order of arguments is not reversed.
Elena Zannoni [Wed, 23 Jan 2002 04:00:55 +0000 (04:00 +0000)]
2002-01-22 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
modified version of obsolete sh_fetch_pseudo_register.
(sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
(sh4_register_read): New function.
(sh_pseudo_register_write): New function. Renamed and modified
version of obsolete sh_store_pseudo_register.
(sh_store_pseudo_register): Rename to sh_pseudo_register_write.
(sh4_register_write): New function.
(sh_gdbarch_init): Remove setting of gdbarch function
fetch_pseudo_register and store_pseudo_register. Remove setting of
register_convert_to_raw, register_convert_to_virtual,
register_convertible.
(sh_sh4_register_convertible): Delete. No longer needed. All is
taken care by architecture specific functions
register_read/register_write.
(sh_sh4_register_convert_to_virtual): Make static.
(sh_sh4_register_convert_to_raw): Ditto.
Alexandre Oliva [Wed, 23 Jan 2002 02:01:54 +0000 (02:01 +0000)]
oops
Alexandre Oliva [Wed, 23 Jan 2002 01:53:01 +0000 (01:53 +0000)]
* gas/mn10300/basic.exp (run_list_test): New proc, from alpha.
* gas/mn10300/movpc.s, gas/mn10300/movpc.l: New tests.
Alexandre Oliva [Wed, 23 Jan 2002 01:52:18 +0000 (01:52 +0000)]
* config/tc-mn10300.c (xr_registers): Move `pc'...
(other_registers): ... here.
gdbadmin [Wed, 23 Jan 2002 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 22 Jan 2002 23:00:05 +0000 (23:00 +0000)]
daily update