binutils-gdb.git
22 years ago * ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG)
Daniel Jacobowitz [Tue, 30 Jul 2002 19:03:49 +0000 (19:03 +0000)]
    * ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG)
        (ELF_FPREGSET_SIZE, ELF_GREGSET_SIZE): New enums.
        (fetch_core_registers, ppc_linux_supply_gregset)
        (ppc_linux_supply_fpregset): New functions.
        (ppc_linux_regset_core_fns): New.
        (_initialize_ppc_linux_tdep): Call add_core_fns.
        * ppc-tdep.h: Add prototypes for ppc_linux_supply_fpregset
        and ppc_linux_supply_gregset.
        * ppc-linux-nat.c (supply_gregset): Call ppc_linux_supply_gregset.
        (supply_fpregset): Call ppc_linux_supply_fpregset.
        * config/powerpc/linux.mh (NATDEPFILES): Remove core-regset.o and
        corelow.o.
        * config/powerpc/linux.mt (TDEPFILES): Add corelow.o.

22 years ago * gdb.base/shlib-call.exp (additional_flags): Conditionally
Kevin Buettner [Tue, 30 Jul 2002 18:51:23 +0000 (18:51 +0000)]
* gdb.base/shlib-call.exp (additional_flags): Conditionally
set Irix-specific compile and link flags.

22 years agoAdd arm-*-nto port.
Nick Clifton [Tue, 30 Jul 2002 17:32:30 +0000 (17:32 +0000)]
Add arm-*-nto port.

22 years agoUpdated Translations
Nick Clifton [Tue, 30 Jul 2002 15:53:18 +0000 (15:53 +0000)]
Updated Translations

22 years ago * symtab.c (lookup_symbol): Demangle before lowercasing.
Daniel Jacobowitz [Tue, 30 Jul 2002 15:42:07 +0000 (15:42 +0000)]
* symtab.c (lookup_symbol): Demangle before lowercasing.

22 years ago * readelf.c (OPTION_DEBUG_DUMP): Define.
Jakub Jelinek [Tue, 30 Jul 2002 14:33:40 +0000 (14:33 +0000)]
* readelf.c (OPTION_DEBUG_DUMP): Define.
(options): Use it.
(usage): Update help.
(parse_args): Handle --debug-dump separately from -w.
* doc/binutils.texi (readelf): Update documentation.

22 years ago * elf.c (elf_fake_sections): Fix up .tbss sh_size and sh_type.
Jakub Jelinek [Tue, 30 Jul 2002 14:28:55 +0000 (14:28 +0000)]
* elf.c (elf_fake_sections): Fix up .tbss sh_size and sh_type.

* ldlang.c (lang_add_section): Don't turn .tbss into normal sections
for relocatable link.
(lang_size_sections_1): Don't make .tbss zero size for relocatable
link.

22 years ago2002-07-30 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 30 Jul 2002 13:45:15 +0000 (13:45 +0000)]
2002-07-30  Andrew Cagney  <ac131313@redhat.com>

* symtab.h: Replace #include "gdb_obstack.h" with opaque
declaration.
* cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
* gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
* avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
* arch-utils.c, cli/cli-setshow.c: Unconditionally include
"gdb_string.h".
* Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
(gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
(cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
(avr-tdep.o, mon960-rom.o): Ditto.
(aout_stabs_gnu_h): Define.
(symtab_h): Remove $(gdb_obstack_h).

22 years agoAdd per-section and per-sub-section literal pools.
Nick Clifton [Tue, 30 Jul 2002 10:56:04 +0000 (10:56 +0000)]
Add per-section and per-sub-section literal pools.

22 years agoUpdate copyright notice
Nick Clifton [Tue, 30 Jul 2002 09:07:00 +0000 (09:07 +0000)]
Update copyright notice

22 years ago * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
Alan Modra [Tue, 30 Jul 2002 07:41:15 +0000 (07:41 +0000)]
* ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target.
* ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp,
ld-linkonce/linkonce.exp, ld-shared/shared.exp,
ld-undefined/weak-undef.exp:  Test hppa*64*-*-hpux* and hppa*-*-linux*
targets.
* ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s,
ld-discard/static.s: Add whitespace before assembler directives.

22 years ago(Executing the Program): Add documentation on how to use bbconv.pl.
Ulrich Drepper [Tue, 30 Jul 2002 07:02:54 +0000 (07:02 +0000)]
(Executing the Program): Add documentation on how to use bbconv.pl.

22 years agoPatch from David Carlton <carlton@math.stanford.edu>:
Jim Blandy [Tue, 30 Jul 2002 07:01:23 +0000 (07:01 +0000)]
Patch from David Carlton <carlton@math.stanford.edu>:
* gdbinit.in: Move the `dir' commands that add GDB's own source
directory to the search path to the end, so that the `gdb' source
directory will be searched first.

22 years ago * aoutx.h (some_aout_object_p): Clean up tdata properly on error.
Alan Modra [Tue, 30 Jul 2002 05:49:24 +0000 (05:49 +0000)]
* aoutx.h (some_aout_object_p): Clean up tdata properly on error.
* archive.c (bfd_generic_archive_p): Likewise.
* coff-rs6000.c (_bfd_xcoff_archive_p): Likewise.
(_bfd_xcoff_archive_p): Use bfd_scan_vma in place of strtol.
* coff64-rs6000.c (xcoff64_slurp_armap): Likewise.
(xcoff64_archive_p): Likewise.
(xcoff64_openr_next_archived_file): Likewise.
(xcoff64_archive_p): Clean up tdata properly on error.
* coffgen.c (coff_real_object_p): Likewise.
(coff_object_p): Release filehdr and opthdr.
* ecoff.c (_bfd_ecoff_archive_p): Clean up tdata properly on error.
* ieee.c (ieee_archive_p): Likewise.
* ihex.c (ihex_object_p): Likewise.
(ihex_mkobject): Always allocate tdata.
* peicode.h (pe_ILF_object_p): Release bfd_alloc'd buffer on error.
* srec.c (srec_mkobject): Always allocate tdata.
(srec_object_p): Clean up tdata properly on error.
(symbolsrec_object_p): Likewise.
* versados.c (versados_object_p): Likewise.
* vms-misc.c (_bfd_vms_get_record): Use bfd_malloc instead of malloc,
and bfd_realloc instead of realloc.
(add_new_contents): Use bfd_alloc instead of bfd_malloc for sections.
* vms.c (vms_initialize): Always allocate tdata.  Use bfd_alloc in
place of bfd_malloc, simplifying error freeing.  Free hash table too.
(vms_object_p): Clean up tdata on error.
(vms_mkobject): Don't complain on stderr if vms_initialize fails.
(vms_close_and_cleanup): Adjust for bfd_alloc use.

22 years ago * elfxx-ia64.c (elfNN_ia64_final_write_processing): Set e_flags.
Alan Modra [Tue, 30 Jul 2002 05:40:20 +0000 (05:40 +0000)]
* elfxx-ia64.c (elfNN_ia64_final_write_processing): Set e_flags.

22 years ago*** empty log message ***
gdbadmin [Tue, 30 Jul 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Tue, 30 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
Kevin Buettner [Mon, 29 Jul 2002 23:35:56 +0000 (23:35 +0000)]
* lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
source files.  The ``-o'' option doesn't work with the ``-E'' option
when using the Irix compiler.

22 years ago2002-07-29 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 29 Jul 2002 23:17:10 +0000 (23:17 +0000)]
2002-07-29  Michael Snyder  <msnyder@redhat.com>

* cp1.c (fp_recip2): Modify initialization expression so that
GCC will recognize it as constant.

22 years ago2002-07-29 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 29 Jul 2002 22:55:26 +0000 (22:55 +0000)]
2002-07-29  Andrew Cagney  <ac131313@redhat.com>

* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).

* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.

* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.

22 years ago[ gas/testsuite/ChangeLog ]
Chris Demetriou [Mon, 29 Jul 2002 21:07:12 +0000 (21:07 +0000)]
[ gas/testsuite/ChangeLog ]
2002-07-26  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/elf_ase_mips16.d: New file to test ELF MIPS16 ASE marking.
        * gas/mips/elf_ase_mips16.s: Likewise.
        * gas/mips/mips.exp: Run the new test.

[ ld/testsuite/ChangeLog ]
2002-07-26  Chris Demetriou  <cgd@broadcom.com>

        * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set.

22 years ago2002-07-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 29 Jul 2002 19:54:42 +0000 (19:54 +0000)]
2002-07-25  Andrew Cagney  <cagney@redhat.com>

* regcache.c (struct regcache_descr): Rename nr_registers to
nr_cooked_registers.  Revise comments describing the structure
member fields.
(init_regcache_descr): Update.
(init_legacy_regcache_descr): Update.
(read_register_gen, write_register_gen): When a cooked register in
the raw register range, directly access the value from the raw
register cache.

22 years agomerge from gcc
DJ Delorie [Mon, 29 Jul 2002 18:01:19 +0000 (18:01 +0000)]
merge from gcc

22 years agoAdd dependences to Makefile.in and include sim-h8300 in compile.c
Andrey Volkov [Mon, 29 Jul 2002 17:01:57 +0000 (17:01 +0000)]
Add dependences to Makefile.in and include sim-h8300 in compile.c

22 years agosim-h8300.h: Rename all enums from H8300_ to SIM_H8300_
Andrey Volkov [Mon, 29 Jul 2002 16:57:18 +0000 (16:57 +0000)]
sim-h8300.h: Rename all enums from H8300_ to SIM_H8300_

22 years ago2002-07-26 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 29 Jul 2002 16:34:07 +0000 (16:34 +0000)]
2002-07-26  Andrew Cagney  <ac131313@redhat.com>

* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.

* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.

22 years agodaily update
Alan Modra [Mon, 29 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Mon, 29 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 28 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 28 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * utils.c (host_pointer_to_address, address_to_host_pointer):
Kevin Buettner [Sat, 27 Jul 2002 02:03:45 +0000 (02:03 +0000)]
* utils.c (host_pointer_to_address, address_to_host_pointer):
Change internal_error() message to indicate function responsible
for the error.

22 years ago * ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in
Kevin Buettner [Sat, 27 Jul 2002 01:54:15 +0000 (01:54 +0000)]
* ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in
calls to local_hex_string_custom().

22 years agoConfigury changes for IRIX shared library support and IRIX OSABI support.
Kevin Buettner [Sat, 27 Jul 2002 01:41:15 +0000 (01:41 +0000)]
Configury changes for IRIX shared library support and IRIX OSABI support.

22 years agoAdd Irix osabi support.
Kevin Buettner [Sat, 27 Jul 2002 01:28:43 +0000 (01:28 +0000)]
Add Irix osabi support.

22 years ago * irix5-nat.c: Move IRIX shared library support from here...
Kevin Buettner [Sat, 27 Jul 2002 01:05:07 +0000 (01:05 +0000)]
* irix5-nat.c: Move IRIX shared library support from here...
* solib-irix.c: ...to here.  Revised substantially to work with
generic solib framework.

22 years agoFix formatting problem in most recent entry.
Kevin Buettner [Sat, 27 Jul 2002 00:10:11 +0000 (00:10 +0000)]
Fix formatting problem in most recent entry.

22 years agoDelete disabled code.
Kevin Buettner [Sat, 27 Jul 2002 00:06:19 +0000 (00:06 +0000)]
Delete disabled code.

22 years agodaily update
Alan Modra [Sat, 27 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sat, 27 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoAdd fpscr support to aix-thread.c and rs6000-nat.c.
Kevin Buettner [Fri, 26 Jul 2002 23:15:52 +0000 (23:15 +0000)]
Add fpscr support to aix-thread.c and rs6000-nat.c.

22 years ago * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32)
Kevin Buettner [Fri, 26 Jul 2002 23:12:59 +0000 (23:12 +0000)]
* aix-thread.c (special_register_p, supply_sprs64, supply_sprs32)
(fetch_regs_user_thread, fetch_regs_kernel_thread, fill_sprs64)
(fill_sprs32, store_regs_user_thread, store_regs_kernel_thread):
Add support for the fpscr register.
* rs6000-nat.c (regmap, fetch_inferior_registers)
(store_inferior_registers, fetch_core_registers): Likewise.

22 years agoEliminate FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM.
Kevin Buettner [Fri, 26 Jul 2002 22:26:44 +0000 (22:26 +0000)]
Eliminate FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM.

22 years ago[bfd/]
Richard Sandiford [Fri, 26 Jul 2002 18:56:25 +0000 (18:56 +0000)]
[bfd/]
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Merge ASE
flags into resulting BFD.

[ld/testsuite/]
* ld-mips-elf/mips16-1.d,
* ld-mips-elf/mips16-1[ab].s: New test.
* ld-mips-elf/mips-elf.exp: Run it.

22 years agoChange from OTHER_RELOCATING_SECTIONS to STACK_ADDR in elf32frv.sh
Bernd Schmidt [Fri, 26 Jul 2002 11:14:04 +0000 (11:14 +0000)]
Change from OTHER_RELOCATING_SECTIONS to STACK_ADDR in elf32frv.sh

22 years ago * elf32-i386.c (elf_i386_link_hash_table_create): Clear
Alan Modra [Fri, 26 Jul 2002 05:32:05 +0000 (05:32 +0000)]
* elf32-i386.c (elf_i386_link_hash_table_create): Clear
tls_ldm_got.refcount.

22 years ago * gas/ppc/altivec.d: Invoke "as" with "-a32".
Alan Modra [Fri, 26 Jul 2002 04:19:12 +0000 (04:19 +0000)]
* gas/ppc/altivec.d: Invoke "as" with "-a32".

22 years ago * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
Alan Modra [Fri, 26 Jul 2002 04:18:42 +0000 (04:18 +0000)]
* config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
rather than PPC_OPCODE_32 for powerpc64*.

22 years agoRevise comment from previous commit.
Kevin Buettner [Fri, 26 Jul 2002 00:47:45 +0000 (00:47 +0000)]
Revise comment from previous commit.

22 years ago * rs6000-nat.c (ppc-tdep.h): Include.
Kevin Buettner [Fri, 26 Jul 2002 00:43:30 +0000 (00:43 +0000)]
* rs6000-nat.c (ppc-tdep.h): Include.
(fetch_registers, store_register): Don't access registers[]
directly.  Instead, use supply_register() or
regcache_collect() as appropriate.
(find_toc_address): Format hex address with local_hex_string().

22 years agodaily update
Alan Modra [Fri, 26 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 26 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * elf64-mips.c: Update TODO comment.
Thiemo Seufer [Thu, 25 Jul 2002 15:35:14 +0000 (15:35 +0000)]
* elf64-mips.c: Update TODO comment.
(mips_elf64_higher_reloc,mips_elf64_highest_reloc,
mips_elf64_gprel16_reloca): Remove prototypes.
(mips16_jump_reloc,mips16_gprel_reloc): Add functions.
(UNUSED_RELOC): Replace by EMPTY_RELOC.
(mips_elf64_howto_table_rel): Use special R_MIPS_HI16 handling. Remove
wrong comments. Remove disfunctional support of R_MIPS_HIGHER and
R_MIPS_HIGHEST.
(mips_elf64_howto_table_rela): Fix handling of R_MIPS_GPREL16 and
R_MIPS_GOT16. Remove wrong comments.
(elf_mips16_jump_howto,elf_mips16_gprel_howto,
elf_mips_gnu_vtinherit_howto,elf_mips_gnu_vtentry_howto): New, code
from elf32-mips.c.
(mips_elf64_hi16_reloc): Fix formatting.
(mips_elf64_higher_reloc,mips_elf64_highest_reloc): Remove.
(mips_elf64_got16_reloc): Fix formatting. Remove superfluous code.
Better comment. Fall back to R_MIPS_GOT_DISP instead of abort().
(mips_elf64_gprel16_reloc): Make static. Add check for
partial_inplace.
(mips_elf64_gprel16_reloca): Remove.
(mips_elf64_literal_reloc): New function.
(mips_elf64_gprel32_reloc): Fix formatting.
(mips_elf64_shift6_reloc): Fix comment. Make static.
(mips16_jump_reloc,mips16_gprel_reloc): New functions, code from
elf32-mips.c.
(elf_reloc_map,mips_reloc_map): New mapping table, similiar as in
elf32-mips.c
(bfd_elf64_bfd_reloc_type_lookup): Use the mapping table. Enable GNU
specific relocations.
(mips_elf64_rtype_to_howto): Enable GNU specific relocations.
(mips_elf64_object_p): Invert logic to check for SGI-ish ABI.
(ELF_MAXPAGESIZE): Add comment.

22 years ago2002-07-25 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 25 Jul 2002 13:57:57 +0000 (13:57 +0000)]
2002-07-25  Andrew Cagney  <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Rename bfd/elf32-fr30.c and
bfd/elf32-frv.c.

22 years agoFix comment from last commit.
Richard Sandiford [Thu, 25 Jul 2002 11:07:47 +0000 (11:07 +0000)]
Fix comment from last commit.

22 years agoNew translations
Nick Clifton [Thu, 25 Jul 2002 10:31:28 +0000 (10:31 +0000)]
New translations

22 years ago[gas/]
Richard Sandiford [Thu, 25 Jul 2002 09:48:07 +0000 (09:48 +0000)]
[gas/]
* doc/c-mips.texi: Remove -mcpu.  Document -mabi.
* configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
(USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
* configure, config.in: Regenerate.
* config/tc-mips.c (file_mips_abi): Rename to mips_abi.
(mips_set_options): Remove "abi" field.
(mips_opts): Update accordingly.  Replace all uses of mips_opts.abi
with mips_abi.
(mips_cpu): Remove.
(mips_arch_string, mips_arch_info): New vars.
(mips_tune_string, mips_tune_info): New vars.
(ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
(HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
(mips_isa_to_str, mips_cpu_to_str): Remove.
(mips_ip): If the selected architecture is a generic ISA rather
than a processor, only mention the ISA level in error messages.
(OPTION_MCPU): Remove.
(OPTION_FP64): New.
(md_longopts): Add -mfp64, remove -mcpu.
(mips_set_option_string): New fn.
(md_parse_option): Make -mipsN update file_mips_isa rather than
mips_opts.isa.  Use mips_set_option_string to set -march or -mtune.
Don't let -mgp32 and -mfp32 change the ABI.
(show): Move to end of file.  Constify string argument.
(md_show_usage): Move to the end of the file.  Read available
architectures from mips_cpu_info_table.
(mips_set_architecture): New fn.
(mips_after_parse_args): Rework.  Remove -mcpu handling.  -mipsN
is an alias for -march=mipsN.  Don't change the ABI based on other
flags.  Infer the register size from the ABI as well as the
architecture.  Complain about more conflicting arguments.
Unify logic with GCC.
(s_mipsset): Don't change the ABI.
(mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
(mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
"mipsN"-type entries.  Remove entries that vary only in the
manufacturer's prefix, or that have "000" replaced by "k".
Remove TARGET_CPU entries.  Make r2000 entry use CPU_R3000.
(mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
(mips_parse_cpu): New fn.
(mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
(mips_cpu_info_from_isa): Minor formatting tweak.

[gas/testsuite]
* gas/mips/mips-gp32-fp64.d,
* gas/mips/mips-gp32-fp64-pic.d: Add -mfp64.

22 years ago * opcode/mips.h (CPU_R2000): Remove.
Richard Sandiford [Thu, 25 Jul 2002 09:44:39 +0000 (09:44 +0000)]
* opcode/mips.h (CPU_R2000): Remove.

22 years ago * elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define
Alan Modra [Thu, 25 Jul 2002 06:54:51 +0000 (06:54 +0000)]
* elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define
as elf_link_record_local_dynamic_symbol.
(_bfd_elf64_link_record_local_dynamic_symbol): Likewise.
(elf_link_record_local_dynamic_symbol): Declare.  Now returns int.
* elflink.h (elf_link_record_local_dynamic_symbol): Move to..
* elflink.c: .. here.  Use bfd_elf_get_elf_syms.  Check whether an
attempt is made to record a symbol in a discarded section, and
return `2' in that case.

22 years ago * jv-exp.y: Marked all strings with _().
Tom Tromey [Thu, 25 Jul 2002 04:33:24 +0000 (04:33 +0000)]
* jv-exp.y: Marked all strings with _().
(ClassInstanceCreationExpression, ArrayCreationExpression): Use
internal_error.
(MethodInvocation, CastExpression, parse_number, yyerror,
java_type_from_name, push_expression_name, yylex): Typo fixes.

22 years ago * ui-file.c (struct tee_file, tee_file_new, tee_file_delete)
Daniel Jacobowitz [Thu, 25 Jul 2002 03:14:28 +0000 (03:14 +0000)]
* ui-file.c (struct tee_file, tee_file_new, tee_file_delete)
(tee_file_flush, tee_file_write, tee_file_fputs)
(tee_file_isatty): New.
* ui-file.h (tee_file_new): Add prototype.

22 years ago * ada-lang.c: Change k&r style function definitions to prototyped
Aidan Skinner [Thu, 25 Jul 2002 01:14:26 +0000 (01:14 +0000)]
    * ada-lang.c: Change k&r style function definitions to prototyped
        form.
        * ada-typeprint.c: Change k&r style function definitions to prototyped
        form.
        * ada-valprint.c: Change k&r style function definitions to prototyped
        form.

22 years agodaily update
Alan Modra [Thu, 25 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 25 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoObsolete m88k.
Andrew Cagney [Wed, 24 Jul 2002 23:51:36 +0000 (23:51 +0000)]
Obsolete m88k.

22 years ago2002-07-24 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 24 Jul 2002 22:46:48 +0000 (22:46 +0000)]
2002-07-24  Andrew Cagney  <cagney@redhat.com>
* findvar.c (extract_unsigned_integer): Make `addr' parameter
constant.  Same for local pointer variables.
(extract_signed_integer): Ditto.
* defs.h (extract_unsigned_integer): Update.
(extract_signed_integer): Update.

22 years ago * gdbserver/configure.in (unistd.h): Add to AC_CHECK_HEADERS list.
Kevin Buettner [Wed, 24 Jul 2002 21:30:46 +0000 (21:30 +0000)]
* gdbserver/configure.in (unistd.h): Add to AC_CHECK_HEADERS list.
* gdbserver/configure: Regenerate.
* gdbserver/config.in: Regenerate.

22 years ago2002-07-24 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 24 Jul 2002 19:43:43 +0000 (19:43 +0000)]
2002-07-24  Andrew Cagney  <cagney@redhat.com>
* regcache.c (regcache_raw_write): Change buf parameter to a
constant void pointer.
(regcache_raw_read): Change buf parameter to a void pointer.
(legacy_write_register_gen): Change myaddr parameter a constant
void pointer.
(supply_register): Change val parameter to a const void pointer.
* regcache.h (regcache_raw_write): Update declaration.
(regcache_raw_read): Update declaration.
(supply_register): Update declaration.

22 years ago * defs.h (gdb_readline_wrapper): Declare.
Tom Tromey [Wed, 24 Jul 2002 17:58:46 +0000 (17:58 +0000)]
* defs.h (gdb_readline_wrapper): Declare.
* utils.c (prompt_for_continue): Use gdb_readline_wrapper.
* tracepoint.c (read_actions): Use gdb_readline_wrapper.
* top.c (gdb_readline_wrapper): New function.
(command_line_input): Use it.

22 years ago2002-07-24 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 24 Jul 2002 15:25:03 +0000 (15:25 +0000)]
2002-07-24  Dave Brolley  <brolley@redhat.com>

* corefile.c (core_create_function_syms): Use the end of the section
containing the symbol to compute max_vma.

22 years ago2002-07-24 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 24 Jul 2002 14:38:55 +0000 (14:38 +0000)]
2002-07-24  Andrew Cagney  <cagney@redhat.com>
* regcache.h (regcache_raw_read, regcache_raw_write): Replace
regcache_read and regcache_write.
(regcache_raw_read_as_address): Replace regcache_read_as_address.
* regcache.c: Update.
* sh-tdep.c (sh64_push_arguments): Update comment.
(sh_pseudo_register_read): Update.
(sh_pseudo_register_write): Update.
(sh4_register_read): Update.
(sh4_register_write): Update.
(sh64_pseudo_register_read): Update.
(sh64_pseudo_register_write): Update.
(sh64_register_read): Update.
(sh64_register_write): Update.
* i386-tdep.c (i386_extract_return_value): Update.
(i386_extract_struct_value_address): Update.
(i386_extract_return_value): Update.
* blockframe.c (generic_read_register_dummy): Update.
(generic_call_dummy_register_unwind): Update
* infrun.c (write_inferior_status_register): Update.

22 years agooops - omitted from previous delta
Nick Clifton [Wed, 24 Jul 2002 09:37:02 +0000 (09:37 +0000)]
oops - omitted from previous delta

22 years agoUpdate Spanish and Swedish translations
Nick Clifton [Wed, 24 Jul 2002 09:34:08 +0000 (09:34 +0000)]
Update Spanish and Swedish translations

22 years agoAdd missing 2001-09-29 entry
Alan Modra [Wed, 24 Jul 2002 06:45:02 +0000 (06:45 +0000)]
Add missing 2001-09-29 entry

22 years agoFix a typo.
H.J. Lu [Wed, 24 Jul 2002 06:42:54 +0000 (06:42 +0000)]
Fix a typo.

22 years agoRemove stray conflict marker.
Jim Blandy [Wed, 24 Jul 2002 03:05:07 +0000 (03:05 +0000)]
Remove stray conflict marker.

22 years ago* parser-defs.h (expression_context_pc): Make this extern.
Jim Blandy [Wed, 24 Jul 2002 03:03:52 +0000 (03:03 +0000)]
* parser-defs.h (expression_context_pc): Make this extern.
(Thanks to Michael Snyder.)

22 years agodaily update
Alan Modra [Wed, 24 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Wed, 24 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoMention 5.2.1 on mainline.
Andrew Cagney [Tue, 23 Jul 2002 21:28:38 +0000 (21:28 +0000)]
Mention 5.2.1 on mainline.

22 years agoFix error check in remote_read_bytes
Mark Salter [Tue, 23 Jul 2002 18:55:06 +0000 (18:55 +0000)]
Fix error check in remote_read_bytes

22 years agofix typo introduced in previous delta
Nick Clifton [Tue, 23 Jul 2002 18:02:32 +0000 (18:02 +0000)]
fix typo introduced in previous delta

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Tue, 23 Jul 2002 12:46:43 +0000 (12:46 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* config.in: Regenerate.
* po/POTFILES.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Tue, 23 Jul 2002 12:44:25 +0000 (12:44 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Tue, 23 Jul 2002 12:42:32 +0000 (12:42 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

22 years agoRegenerate.
Alan Modra [Tue, 23 Jul 2002 12:37:37 +0000 (12:37 +0000)]
Regenerate.

22 years agomissed 'em from the last delta
Alan Modra [Tue, 23 Jul 2002 12:34:35 +0000 (12:34 +0000)]
missed 'em from the last delta

22 years ago * elf-hppa.h (elf_hppa_relocate_section): If relocatable, return
Alan Modra [Tue, 23 Jul 2002 12:29:33 +0000 (12:29 +0000)]
* elf-hppa.h (elf_hppa_relocate_section): If relocatable, return
immediately.  Remove code handling relocatable linking.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-fr30.c (elf32_frv_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf32-avr.c (elf_backend_rela_normal): Define.
* elf32-cris.c: Likewise.
* elf32-fr30.c: Likewise.
* elf32-h8300.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-vax.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-sparc.c: Likewise.
* elf32-fr30.c (elf32_frv_relocate_section): Edit comment.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf-m10200.c (USE_RELA): Don't define.
* elf-m10300.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-vax.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-x86-64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elf32-avr.c (USE_REL): Don't undef.
* elf32-ip2k.c: Likewise.

22 years agoAdd new bitfield 'want_p_paddr_set_to_zero'.
Nick Clifton [Tue, 23 Jul 2002 11:15:06 +0000 (11:15 +0000)]
Add new bitfield 'want_p_paddr_set_to_zero'.
Set this field for HPUX IA64 port.
Test this field when setting p_paddr.

22 years agosim-h8300.h new file
Andrey Volkov [Tue, 23 Jul 2002 10:30:14 +0000 (10:30 +0000)]
sim-h8300.h new file

22 years agoSwapped the order of the MeSsAgEs and CoPyRiGhT tags to make >=NW4.x NLM
Nick Clifton [Tue, 23 Jul 2002 10:25:34 +0000 (10:25 +0000)]
Swapped the order of the MeSsAgEs and CoPyRiGhT tags to make >=NW4.x NLM
loaders to show the Copyright string.

22 years agooops - omitted from previous delta
Nick Clifton [Tue, 23 Jul 2002 09:59:47 +0000 (09:59 +0000)]
oops - omitted from previous delta

22 years agoupdate translations.
Nick Clifton [Tue, 23 Jul 2002 09:58:05 +0000 (09:58 +0000)]
update translations.

22 years agoKen Raeburn is no longer the maintainer for GAS.
Nick Clifton [Tue, 23 Jul 2002 07:25:37 +0000 (07:25 +0000)]
Ken Raeburn is no longer the maintainer for GAS.

22 years ago * doc/binutils.texi (addr2line <man synopsis>): Correct brackets.
Alan Modra [Tue, 23 Jul 2002 05:12:57 +0000 (05:12 +0000)]
* doc/binutils.texi (addr2line <man synopsis>): Correct brackets.

22 years ago * budemang.c: Include config.h and string.h/strings.h.
Alan Modra [Tue, 23 Jul 2002 05:12:26 +0000 (05:12 +0000)]
* budemang.c: Include config.h and string.h/strings.h.

22 years ago * elflink.h (elf_link_input_bfd): Don't change internal symbols
Alan Modra [Tue, 23 Jul 2002 04:38:17 +0000 (04:38 +0000)]
* elflink.h (elf_link_input_bfd): Don't change internal symbols
when outputting relocs.

22 years ago * aix-thread.c (language.h): Include.
Kevin Buettner [Tue, 23 Jul 2002 01:06:02 +0000 (01:06 +0000)]
* aix-thread.c (language.h): Include.
(ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
(pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc):
Print newlines at end of debug messages.
(pdc_symbol_addrs, pdc_read_regs, pdc_write_regs, pdc_read_data)
(pdc_write_data): Use local_hex_string() instead of %llx formats.

22 years agoDon't rely on FIRST_UISA_SP_REGNUM or LAST_UISA_REGNUM.
Kevin Buettner [Tue, 23 Jul 2002 00:34:29 +0000 (00:34 +0000)]
Don't rely on FIRST_UISA_SP_REGNUM or LAST_UISA_REGNUM.

22 years agodaily update
Alan Modra [Tue, 23 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 23 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***