platform/upstream/binutils.git
22 years agoBump version number.
Nick Clifton [Thu, 1 Aug 2002 06:47:58 +0000 (06:47 +0000)]
Bump version number.

22 years ago2002-07-31 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 1 Aug 2002 06:29:44 +0000 (06:29 +0000)]
2002-07-31  H.J. Lu <hjl@gnu.org>

* configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
--enable-64-bit-bfd.

22 years agoEnable x86-64 for Linux/i386 if 64bit BFD is selected.
H.J. Lu [Thu, 1 Aug 2002 06:24:53 +0000 (06:24 +0000)]
Enable x86-64 for Linux/i386 if 64bit BFD is selected.

22 years ago*** empty log message ***
gdbadmin [Thu, 1 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 1 Aug 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * dwarf2read.c (set_cu_language): Add handler for LANG_Ada95.
Joel Brobecker [Wed, 31 Jul 2002 22:35:48 +0000 (22:35 +0000)]
   * dwarf2read.c (set_cu_language): Add handler for LANG_Ada95.
       This does not change anything at the moment, but will be helpful
       later when full Ada support is integrated.

22 years agoEnable 64bit emulations for Linux/mips if 64bit BFD is selected.
H.J. Lu [Wed, 31 Jul 2002 22:26:53 +0000 (22:26 +0000)]
Enable 64bit emulations for Linux/mips if 64bit BFD is selected.

22 years ago * mips-tdep.c (_initialize_mips_tdep): Add "n64" to "set mips abi"
Kevin Buettner [Wed, 31 Jul 2002 20:26:49 +0000 (20:26 +0000)]
* mips-tdep.c (_initialize_mips_tdep): Add "n64" to "set mips abi"
help message.

22 years ago * mips-tdep.c (mips_push_arguments): Fetch gdbarch_tdep struct
Kevin Buettner [Wed, 31 Jul 2002 20:08:20 +0000 (20:08 +0000)]
* mips-tdep.c (mips_push_arguments): Fetch gdbarch_tdep struct
and save it in a local variable.  Use variable in later test.

22 years ago * mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition
Kevin Buettner [Wed, 31 Jul 2002 19:08:46 +0000 (19:08 +0000)]
* mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition
test.  (Thanks to Daniel Jacobowitz.)

22 years ago * mips-tdep.c (enum mips_abi): Add MIPS_ABI_N64.
Kevin Buettner [Wed, 31 Jul 2002 18:13:24 +0000 (18:13 +0000)]
* mips-tdep.c (enum mips_abi): Add MIPS_ABI_N64.
(mips_abi_strings): Add "n64".
(mips_gdbarch_init): Add test for n64 abi.  Add MIPS_ABI_N64 case.

22 years ago * config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8.
Kevin Buettner [Wed, 31 Jul 2002 17:22:06 +0000 (17:22 +0000)]
* config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8.
(REGISTER_VIRTUAL_TYPE): Some registers are now 64 bits wide.

22 years ago * utils.c (host_pointer_to_address, address_to_host_pointer):
Kevin Buettner [Wed, 31 Jul 2002 17:01:01 +0000 (17:01 +0000)]
* utils.c (host_pointer_to_address, address_to_host_pointer):
Use gdb_assert() instead of explicit call to internal_error().

22 years agoFix bugs and remove compile time warnings for N"32K port.
Nick Clifton [Wed, 31 Jul 2002 16:23:29 +0000 (16:23 +0000)]
Fix bugs and remove compile time warnings for N"32K port.

22 years ago * elf32-i386.c (elf_i386_copy_indirect_symbol): Swap tls_type
Jakub Jelinek [Wed, 31 Jul 2002 15:04:06 +0000 (15:04 +0000)]
* elf32-i386.c (elf_i386_copy_indirect_symbol): Swap tls_type
if _bfd_elf_link_hash_copy_indirect will swap got.refcount.

22 years agoAdd new field to bfd_link structure and use it to control how common symbols
Nick Clifton [Wed, 31 Jul 2002 12:50:09 +0000 (12:50 +0000)]
Add new field to bfd_link structure and use it to control how common symbols
are extracted from archives.

22 years agoAdd support for Thumb PLT entries with interworking
Nick Clifton [Wed, 31 Jul 2002 12:04:47 +0000 (12:04 +0000)]
Add support for Thumb PLT entries with interworking

22 years agoRetroactively add entry for Lars Brinkhoff's contribution of the PDP-11 and
Nick Clifton [Wed, 31 Jul 2002 09:59:03 +0000 (09:59 +0000)]
Retroactively add entry for Lars Brinkhoff's contribution of the PDP-11 and
2.11BSD a.out support.

22 years agoRename function arguments to avoid shadowing global symbols of the same name.
Nick Clifton [Wed, 31 Jul 2002 09:38:04 +0000 (09:38 +0000)]
Rename function arguments to avoid shadowing global symbols of the same name.

22 years agoFix range check for immediate operand.
Nick Clifton [Wed, 31 Jul 2002 09:17:52 +0000 (09:17 +0000)]
Fix range check for immediate operand.

22 years ago2002-07-30 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 31 Jul 2002 05:48:31 +0000 (05:48 +0000)]
2002-07-30  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
        to Broadcom SB-1 core support.

22 years ago2002-07-30 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 31 Jul 2002 05:44:54 +0000 (05:44 +0000)]
2002-07-30  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (do_load_double, do_store_double): New functions.
        (LDC1, SDC1): Rename to...
        (LDC1b, SDC1b): respectively.
        (LDC1a, SDC1a): New instructions for MIPS II and MIPS32 support.

22 years ago * Makefile.am: Add n32 ABI support.
Thiemo Seufer [Wed, 31 Jul 2002 00:32:10 +0000 (00:32 +0000)]
* Makefile.am: Add n32 ABI support.
* Makefile.in: Regenerate.
* config.bfd: Add n32 vectors to mips64*-*-linux* targets. Treat 64
bit vectors for mips*-*-linux targets as optional.
* configure.in: Add n32 ABI vectors.
* configure: Regenerate.
* elf32-mips.c (mips_elf32_object_p): Reject n32 ABI files.
* elfn32-mips.c: New file, n32 ABI support.
* targets.c: Add n32 ABI vectors.

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

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

22 years ago * config/tc-mips.c (mips_target_format): Fix formatting.
Thiemo Seufer [Tue, 30 Jul 2002 23:56:28 +0000 (23:56 +0000)]
* config/tc-mips.c (mips_target_format): Fix formatting.
Add recognition of n32 ABI formats.

22 years ago * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
Thiemo Seufer [Tue, 30 Jul 2002 23:48:30 +0000 (23:48 +0000)]
* Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
for n32 ABI support.
* Makefile.in: Regenerate.
* configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
n32 ABI emulations for these 64 bit targets.
* emulparams/elf32bmipn32.sh: Expand comment.
* emulparams/elf32btsmipn32.sh: New file, for traditional big endian
n32 ABI.
* emulparams/elf32ltsmipn32.sh: Likewise for little endian.

22 years ago* configure.in: Move generic linux case to end. Copy generic
DJ Delorie [Tue, 30 Jul 2002 23:15:26 +0000 (23:15 +0000)]
* configure.in: Move generic linux case to end.  Copy generic
linux noconfigdirs to mips*-*-linux* entry and new
powerpc64*-*-linux* entry.  Add target-libffi for the latter.

22 years agoConfigury changes to enable recently added AIX thread support.
Kevin Buettner [Tue, 30 Jul 2002 19:59:06 +0000 (19:59 +0000)]
Configury changes to enable recently added AIX thread support.

22 years ago* tc-mips.c (load_address): Don't clobber $at when loading a
Maciej W. Rozycki [Tue, 30 Jul 2002 19:27:31 +0000 (19:27 +0000)]
* tc-mips.c (load_address): Don't clobber $at when loading a
64-bit address in non-PIC code if noat is in effect.
(macro): Likewise.

22 years ago* config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
Maciej W. Rozycki [Tue, 30 Jul 2002 19:24:54 +0000 (19:24 +0000)]
* config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
used in division/multiply macro expansions similarly to how they
are used in the variants with break instructions.
(macro2): Likewise.

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.