platform/upstream/binutils.git
22 years ago * config/tc-mips.c (macro_build_jalr): New Function.
Thiemo Seufer [Thu, 30 May 2002 23:32:47 +0000 (23:32 +0000)]
* config/tc-mips.c (macro_build_jalr): New Function.
(md_begin): NewABI uses big GOTs.
(macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
(load_address): Add some NewABI PIC support.
(macro): Likewise.
(md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
(tc_gen_reloc): Don't encode NewABI vtables in REL relocations.

22 years agoMake safe_read_memory_integer() return non-zero result when successful.
Kevin Buettner [Thu, 30 May 2002 22:41:24 +0000 (22:41 +0000)]
Make safe_read_memory_integer() return non-zero result when successful.

22 years ago * doc/c-alpha.texi: Add docs for tls relocations.
Richard Henderson [Thu, 30 May 2002 22:34:41 +0000 (22:34 +0000)]
    * doc/c-alpha.texi: Add docs for tls relocations.

22 years ago * config/tc-mips.c (load_address): Use mips_gp_register instead
Thiemo Seufer [Thu, 30 May 2002 22:29:20 +0000 (22:29 +0000)]
* config/tc-mips.c (load_address): Use mips_gp_register instead
of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
instead.
(macro): Use mips_gp_register instead of hardcoded value.

22 years agoinclude/elf/
Richard Henderson [Thu, 30 May 2002 22:01:38 +0000 (22:01 +0000)]
include/elf/
        * alpha.h (R_ALPHA_TLSGD, R_ALPHA_TLSLDM, R_ALPHA_DTPMOD64,
        R_ALPHA_GOTDTPREL, R_ALPHA_DTPREL64, R_ALPHA_DTPRELHI,
        R_ALPHA_DTPRELLO, R_ALPHA_DTPREL16, R_ALPHA_GOTTPREL, R_ALPHA_TPREL64,
        R_ALPHA_TPRELHI, R_ALPHA_TPRELLO, R_ALPHA_TPREL16): New.

bfd/
        * elf64-alpha.c (ALPHA_ELF_LINK_HASH_LU_TLSGD,
        ALPHA_ELF_LINK_HASH_LU_TLSLDM, ALPHA_ELF_LINK_HASH_LU_FUNC): New.
        (ALPHA_ELF_GOT_ENTRY_RELOCS_DONE): Remove.
        (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Remove.
        (struct alpha_elf_got_entry): Add reloc_type, reloc_done, reloc_xlated.
        (struct alpha_elf_obj_tdata): Rename total_got_entries and
        n_local_got_entries to total_got_size and local_got_size.
        (elf64_alpha_howto, elf64_alpha_reloc_map): Update for TLS relocs.
        (alpha_got_entry_size): New.
        (elf64_alpha_relax_with_lituse): Use it.
        (elf64_alpha_relax_without_lituse): Likewise.
        (MAX_GOT_SIZE): Rename from MAX_GOT_ENTRIES.
        (get_got_entry): New.
        (elf64_alpha_check_relocs): Handle TLS relocs.  Reorganize.
        (elf64_alpha_adjust_dynamic_symbol): Test LU_FUNC as a mask.
        (elf64_alpha_merge_ind_symbols): Check gotent->reloc_type.
        (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots): Likewise.
        (elf64_alpha_calc_got_offsets_for_symbol): Use alpha_got_entry_size.
        (elf64_alpha_calc_got_offsets): Likewise.
        (alpha_dynamic_entries_for_reloc): New.
        (elf64_alpha_calc_dynrel_sizes): Use it.
        (elf64_alpha_size_dynamic_sections): Likewise.
        (elf64_alpha_relocate_section): Handle TLS relocations.
        * reloc.c: Add Alpha TLS relocations.
        * bfd-in2.h, libbfd.h: Rebuild.

gas/
        * expr.h (operatorT): Add O_md17..O_md32.
        * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
        O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
        O_tprelhi, O_tprello, O_tprel): New.
        (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
        (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
        (LITUSE_TLSGD, LITUSE_TLSLDM): New.
        (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
        saw_lu_tlsgd, saw_lu_tlsldm.  Make multi_section_p a bit field.
        (md_apply_fix3): Handle TLS relocations.
        (alpha_force_relocation, alpha_fix_adjustable): Likewise.
        (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
        associated TLS reloc.  Check lituse_tls relocs match up.
        (emit_insn): Handle TLS relocations.
        (ldX_op): Remove.

gas/testsuite/
        * gas/alpha/elf-tls-1.s, gas/alpha/elf-tls-1.d: New.
        * gas/alpha/elf-tls-2.s, gas/alpha/elf-tls-1.l: New.
        * gas/alpha/elf-tls-3.s, gas/alpha/elf-tls-1.l: New.
        * gas/alpha/alpha.exp: Run them.

22 years ago * ld-bootstrap/bootstrap.exp: Test --relax.
Richard Henderson [Thu, 30 May 2002 21:39:41 +0000 (21:39 +0000)]
    * ld-bootstrap/bootstrap.exp: Test --relax.

22 years ago * config/tc-mips.c (mips_gprel_offset): New variable.
Thiemo Seufer [Thu, 30 May 2002 21:06:14 +0000 (21:06 +0000)]
* config/tc-mips.c (mips_gprel_offset): New variable.
(s_gpvalue): Use it.

22 years ago2002-05-30 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 30 May 2002 19:09:47 +0000 (19:09 +0000)]
2002-05-30  Michael Chastain  <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

* gdb.c++/m-static.cc: New file.
* gdb.c++/m-static.exp: New file.

22 years agod10v fixes.
Tom Rix [Thu, 30 May 2002 16:16:30 +0000 (16:16 +0000)]
d10v fixes.

22 years agoSome d10v gas tests.
Tom Rix [Thu, 30 May 2002 16:12:23 +0000 (16:12 +0000)]
Some d10v gas tests.

22 years agoFix for invalid conflict warning.
Tom Rix [Thu, 30 May 2002 15:25:37 +0000 (15:25 +0000)]
Fix for invalid conflict warning.

22 years ago* lf.c (lf_print__gnu_copyleft): Convert multiline strings to
DJ Delorie [Thu, 30 May 2002 15:07:06 +0000 (15:07 +0000)]
* lf.c (lf_print__gnu_copyleft): Convert multiline strings to
compatible format.
* gen-idecode.c (print_run_until_stop_body): Likewise.
* gen-model.c (gen_model_c): Likewise.

22 years agoRemove double printed import table lines; add Bound-To comment.
Nick Clifton [Thu, 30 May 2002 11:06:10 +0000 (11:06 +0000)]
Remove double printed import table lines; add Bound-To comment.

22 years ago* NEWS: Add entry for VAX ELF support.
Jason Thorpe [Thu, 30 May 2002 02:58:04 +0000 (02:58 +0000)]
* NEWS: Add entry for VAX ELF support.

22 years ago* configure.in (vax-*-netbsd*): Don't build gas for this
Jason Thorpe [Thu, 30 May 2002 02:47:47 +0000 (02:47 +0000)]
* configure.in (vax-*-netbsd*): Don't build gas for this
platform.

22 years ago2002-05-29 Matt Thomas <matt@3am-software.com>
Jason Thorpe [Thu, 30 May 2002 02:40:03 +0000 (02:40 +0000)]
2002-05-29  Matt Thomas  <matt@3am-software.com>
            Jason Thorpe  <thorpej@wasabisystems.com>

* Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
(eelf32vax.c)
(evaxnbsd.c): New rules.
* Makefile.in: Regenerate.
* configure.tgt (vax-*-netbsdelf*)
(vax-*-netbsdaout*)
(vax-*-netbsd*): New targets.
* emulparams/elf32vax.sh: New file.
* emulparams/vaxnbsd.sh: New file.

22 years ago2002-05-29 Matt Thomas <matt@3am-software.com>
Jason Thorpe [Thu, 30 May 2002 02:14:13 +0000 (02:14 +0000)]
2002-05-29  Matt Thomas  <matt@3am-software.com>

* Makefile.am (BFD32_BACKENDS): Add elf32-vax.lo.
(BFD32_BACKENDS_CFILES): Add elf32-vax.c.
(elf32-vax.lo): New rule.
* Makefile.in: Regenerate.
* configure.in (bfd_elf32_vax_vec)
(vaxnetbsd_vec): New vectors.
* configure: Regenerate.
* config.bfd (vax-*-netbsdelf*)
(vax-*-netbsdaout*)
(vax-*-netbsd*): New targets.
* elf32-vax.c: New file.
* reloc.c: Add VAX relocations.
* bfd-in2.h: Regenerate.
* targets.c (_bfd_target_vector): Add bfd_elf32_vax_vec.

22 years ago2002-05-29 Matt Thomas <matt@3am-software.com>
Jason Thorpe [Thu, 30 May 2002 01:43:48 +0000 (01:43 +0000)]
2002-05-29  Matt Thomas  <matt@3am-software.com>

* vax.h: New file

22 years agoFix typo in previous entry.
Jason Thorpe [Thu, 30 May 2002 01:31:03 +0000 (01:31 +0000)]
Fix typo in previous entry.

22 years ago* Makefile.in (ppc_tdep_h): Define.
Jason Thorpe [Thu, 30 May 2002 01:21:53 +0000 (01:21 +0000)]
* Makefile.in (ppc_tdep_h): Define.
(ppc-linux-nat.o)
(ppc-linux-tdep.o)
(rs6000-tdep.o): Use $(ppc_tdep_h).
(ppc-sysv-tdep.o)
(ppcnbsd-nat.o)
(ppcnbsd-tdep.o): New dependency lists.
* ppc-tdep.h: Use generic OS ABI framework.
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep,
ppc_linux_init_abi): New functions.
(ppc_sysv_abi_broken_use_struct_convention)
(ppc_sysv_abi_use_struct_convention)
(ppc_sysv_abi_push_arguments): Move to...
* ppc-sysv-tdep.c: ...here.
* ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h.
* rs6000-tdep.c (process_note_abi_tag_sections)
(get_elfosabi): Remove.
(rs6000_gdbarch_init): Use generic OS ABI framework.
(rs6000_dump_tdep): New function.
(_initialize_rs6000_tdep): Use gdbarch_register.
* config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.
* config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead
of ppc-linux-tdep.o.
* config/powerpc/nbsd.mt (TDEPFILES): Likewise.
* config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise.
* config/powerpc/ppc-sim.mt (TDEPFILES): Likewise.
* config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise.
* config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise.
* config/powerpc/vxworks.mt (TDEPFILES): Likewise.

22 years ago * MAINTAINERS: Add self as M68k maintainer.
Ben Elliston [Thu, 30 May 2002 01:14:21 +0000 (01:14 +0000)]
* MAINTAINERS: Add self as M68k maintainer.

22 years ago* macroscope.c (default_macro_scope): Put `void' in empty argument
Jim Blandy [Thu, 30 May 2002 00:02:03 +0000 (00:02 +0000)]
* macroscope.c (default_macro_scope): Put `void' in empty argument
list.

22 years ago*** empty log message ***
gdbadmin [Thu, 30 May 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec
Jason Thorpe [Wed, 29 May 2002 21:10:18 +0000 (21:10 +0000)]
* config.bfd (arm-*-netbsd*): Add bfd_elf32_littlearm_vec
and bfd_elf32_bigarm_vec to targ_selvecs.

22 years ago* peXXigen.c (pe_print_idata): Fix seg faults on printing import tables with
Christopher Faylor [Wed, 29 May 2002 20:06:28 +0000 (20:06 +0000)]
* peXXigen.c (pe_print_idata): Fix seg faults on printing import tables with
auto-imported symbols.

22 years agoSet the FSR and FAR registers if a Data Abort is detected.
Nick Clifton [Wed, 29 May 2002 19:01:36 +0000 (19:01 +0000)]
Set the FSR and FAR registers if a Data Abort is detected.

22 years ago* Makefile.in (arch-utils.o): Add $(sim_regno_h).
Andrew Cagney [Wed, 29 May 2002 16:39:56 +0000 (16:39 +0000)]
* Makefile.in (arch-utils.o): Add $(sim_regno_h).
* arch-utils.c: Include "sim-regno.h".
* gdbarch.sh: Don't include "sim-regno.h".
* gdbarch.h, gdbarch.c: Regenerate.
* sim-regno.h (legacy_register_sim_regno): Move declaration from
here.
* arch-utils.h (legacy_register_sim_regno): To here.
* remote-sim.c (legacy_register_sim_regno): Move function from
here.
* arch-utils.c (legacy_register_sim_regno): To here.

22 years agoFix genreation of arm <->thumb glue stubs by ensuring that they are in the last secti...
Nick Clifton [Wed, 29 May 2002 16:03:04 +0000 (16:03 +0000)]
Fix genreation of arm <->thumb glue stubs by ensuring that they are in the last section linked.

22 years agoMove declaration and initialisation of saw_line and saw_func out of for loop.
Nick Clifton [Wed, 29 May 2002 08:46:58 +0000 (08:46 +0000)]
Move declaration and initialisation of saw_line and saw_func out of for loop.
(Actual patch accidentally checked in yesterday!)

22 years ago * binutils-all/objcopy.exp (strip_test_with_saving_a_symbol):
Alan Modra [Wed, 29 May 2002 05:00:33 +0000 (05:00 +0000)]
* binutils-all/objcopy.exp (strip_test_with_saving_a_symbol):
Revert 2001-11-15.  Instead allow `D main'.

22 years ago * elf64-ppc.c (ppc64_elf_get_symbol_info): New function.
Alan Modra [Wed, 29 May 2002 05:00:01 +0000 (05:00 +0000)]
* elf64-ppc.c (ppc64_elf_get_symbol_info): New function.
(bfd_elf64_get_symbol_info): Define.
* elfxx-target.h (bfd_elfNN_get_symbol_info): Only define if undef.

22 years ago2002-05-28 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 29 May 2002 02:23:20 +0000 (02:23 +0000)]
2002-05-28  Michael Snyder  <msnyder@redhat.com>

* gdb.base/call-ar-st.exp: Allow for reduced floating point
        precision.

22 years ago* sim-regno.h: New file.
Andrew Cagney [Wed, 29 May 2002 01:51:17 +0000 (01:51 +0000)]
* sim-regno.h: New file.
* Makefile.in (sim_regno_h): Define.
(d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h).
* remote-sim.c: Include "sim-regno.h" and "gdb_assert.h".
(legacy_register_sim_regno): New function.
(one2one_register_sim_regno): New function.
(gdbsim_fetch_register): Rewrite.
(gdbsim_store_register): Only store a register when
REGISTER_SIM_REGNO is valid.
* d10v-tdep.c: Include "sim-regno.h".
(d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check.
(d10v_ts3_register_sim_regno): Ditto.
* gdbarch.sh: Include "sim-regno.h".
(REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.h (default_register_sim_regno): Delete declaration.
* arch-utils.c (default_register_sim_regno): Delete function.

22 years ago * cpu-h8300.c: Make default h8300 machine first in machine list.
Alan Modra [Wed, 29 May 2002 00:58:46 +0000 (00:58 +0000)]
* cpu-h8300.c: Make default h8300 machine first in machine list.

22 years ago*** empty log message ***
gdbadmin [Wed, 29 May 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago2002-05-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
Marek Michalkiewicz [Tue, 28 May 2002 20:06:27 +0000 (20:06 +0000)]
2002-05-28  Marek Michalkiewicz  <marekm@amelek.gda.pl>

* configure.in (noconfigdirs): Don't compile libiberty, libstdcxx
and libgcj for AVR.

22 years ago * config/tc-mips.c: Replace GP in comments by $gp.
Thiemo Seufer [Tue, 28 May 2002 19:23:09 +0000 (19:23 +0000)]
* config/tc-mips.c: Replace GP in comments by $gp.
(mips_big_got): Initialize.
(mips_trap): Initialize.
(load_address): Use mips_gp_register instead of hardcoded value.
Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
(macro): Use mips_gp_register instead of hardcoded value.
(macro2): Change load_address calls.
(md_pcrel_from): Comment formatting.
(s_cpload): Use mips_gp_register instead of hardcoded value.
(s_cprestore): Likewise. Comment formatting.
(s_gpword): Fix data type.
(s_cpadd): Use mips_gp_register instead of hardcoded value.
(nopic_need_relax): Replace GP in comments by $gp.
(mips_elf_final_processing): Better comment.

22 years ago* ppcnbsd-nat.c: Rewrite.
Jason Thorpe [Tue, 28 May 2002 18:43:08 +0000 (18:43 +0000)]
* ppcnbsd-nat.c: Rewrite.
* ppcnbsd-tdep.c: New file.
* ppcnbsd-tdep.h: New file.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o,
solib.o, and solib-svr4.o.
* config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o,
nbsd-tdep.o, and corelow.o.

22 years agoAdd DLX target
Nick Clifton [Tue, 28 May 2002 17:56:42 +0000 (17:56 +0000)]
Add DLX target

22 years ago2002-05-28 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 28 May 2002 15:49:52 +0000 (15:49 +0000)]
2002-05-28  Elena Zannoni  <ezannoni@redhat.com>

* interp.c (sim_create_inferior): Add comment.

From Alan Matsuoka <alanm@redhat.com>:
From 2001-04-27 Jason Eckhardt <jle@cygnus.com>:
* simops.c (OP_4400): Output "mvf0f" instead of "mf0f".
(OP_4401): Output "mvf0t" instead of "mf0t".
(OP_460B): Do not output a flag register.
(OP_4609): Do not output a flag register.

22 years ago* MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use
Andrew Cagney [Tue, 28 May 2002 15:16:34 +0000 (15:16 +0000)]
* MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use
`tr' and `sed'.  Mention that `broken' targets are not expected to
build.

22 years agoAdd noew about DLX contribution.
Nick Clifton [Tue, 28 May 2002 14:20:42 +0000 (14:20 +0000)]
Add noew about DLX contribution.

22 years agoAdd DLX target
Nick Clifton [Tue, 28 May 2002 14:08:47 +0000 (14:08 +0000)]
Add DLX target

22 years ago * ld-cris/libdso-2.d: Tweak for combreloc now default on.
Hans-Peter Nilsson [Tue, 28 May 2002 01:44:46 +0000 (01:44 +0000)]
* ld-cris/libdso-2.d: Tweak for combreloc now default on.

22 years agodaily update
Alan Modra [Tue, 28 May 2002 00:26:27 +0000 (00:26 +0000)]
daily update

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

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 27 May 2002 21:46:52 +0000 (21:46 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

* gdb.c++/m-data.cc: New file.
* gdb.c++/m-data.exp: New file.

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 27 May 2002 20:07:25 +0000 (20:07 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

* gdb.c++/try_catch.cc: New file.
* gdb.c++/try_catch.exp: New file.

22 years ago2002-05-27 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 27 May 2002 18:00:14 +0000 (18:00 +0000)]
2002-05-27  Michael Chastain  <mec@shout.net>

* gdb.c++/local.exp: Accept more nested types in output.

22 years agoInstall new elf_chaos.sc script.
Nick Clifton [Mon, 27 May 2002 17:52:56 +0000 (17:52 +0000)]
Install new elf_chaos.sc script.

22 years agoAdd missing semicolon
Nick Clifton [Mon, 27 May 2002 16:16:04 +0000 (16:16 +0000)]
Add missing semicolon

22 years agoFix transaltion problems.
Nick Clifton [Mon, 27 May 2002 15:46:10 +0000 (15:46 +0000)]
Fix transaltion problems.

22 years agooops - omitted from previous delta
Nick Clifton [Mon, 27 May 2002 15:16:25 +0000 (15:16 +0000)]
oops - omitted from previous delta

22 years agoNew Swedish translation
Nick Clifton [Mon, 27 May 2002 15:15:52 +0000 (15:15 +0000)]
New Swedish translation

22 years agoOnly perform access checks if 'check' is set.
Nick Clifton [Mon, 27 May 2002 14:12:00 +0000 (14:12 +0000)]
Only perform access checks if 'check' is set.
Report unknown machine numbers.
Formatting tidy ups.

22 years agoFixed date in my last ChangeLog entry
Michal Ludvig [Mon, 27 May 2002 13:39:15 +0000 (13:39 +0000)]
Fixed date in my last ChangeLog entry

22 years ago2002-05-24 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Mon, 27 May 2002 13:37:39 +0000 (13:37 +0000)]
2002-05-24  Michal Ludvig  <mludvig@suse.cz>

* x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note.
Let PC point right after the prologue before looking up symbols.

22 years agoThumb BL instruction: Do not set LR to pc + 2, it has already been advanced.
Nick Clifton [Mon, 27 May 2002 13:30:36 +0000 (13:30 +0000)]
Thumb BL instruction: Do not set LR to pc + 2, it has already been advanced.

22 years ago2002-05-27 Martin M. Hunt <hunt@redhat.com>
Martin Hunt [Mon, 27 May 2002 09:17:24 +0000 (09:17 +0000)]
2002-05-27  Martin M. Hunt  <hunt@redhat.com>

* i386-tdep.c (i386_register_virtual_type): Return
builtin_type_vec128i for SSE registers.

* gdbtypes.h (builtin_type_vec128i): Declare.

* gdbtypes.c (build_builtin_type_vec128i): New function.
(builtin_type_v2_double, builtin_type_v4_int64): New types.
(builtin_type_vec128i): New type for SSE2 128-bit registers.
(build_gdbtypes): Initialize new builtin vector types.
(_initialize_gdbtypes): Register new vector types with gdbarch.

22 years ago * unwind-ia64.c (unw_print_brmask): Don't use sprintf.
Alan Modra [Mon, 27 May 2002 08:40:35 +0000 (08:40 +0000)]
* unwind-ia64.c (unw_print_brmask): Don't use sprintf.
(unw_print_grmask): Likewise.
(unw_print_frmask): Likewise.

22 years ago * ldlang.c (lang_size_sections_1): Move check for conflicting load
Richard Sandiford [Mon, 27 May 2002 08:22:08 +0000 (08:22 +0000)]
* ldlang.c (lang_size_sections_1): Move check for conflicting load
addresses and regions from here...
(lang_get_regions): ...to this new function.
(lang_leave_output_section_statement): Use lang_get_regions.
(lang_leave_overlay): Likewise.
* mri.c (mri_draw_tree): Pass null as last argument to
lang_leave_output_section_statement.
* emultempl/elf32.em (gld*_place_orphan): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.
* emultempl/pe.em (gld*_place_orphan): Likewise.

22 years ago2002-05-26 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 27 May 2002 02:03:35 +0000 (02:03 +0000)]
2002-05-26  Michael Chastain  <mec@shout.net>

* gdb.base/call-rt-st.exp: Fix typo in brace quoting.

22 years ago* MAINTAINERS: ns32k is not longer an obsolete candidate,
Jason Thorpe [Mon, 27 May 2002 01:13:12 +0000 (01:13 +0000)]
* MAINTAINERS: ns32k is not longer an obsolete candidate,
since it has been multi-arch'd.
* NEWS: Note that ns32k-*-* is now partial multi-arch.
Move Alpha and VAX multi-arch news entries to same section
as other multi-arch news.

22 years ago* ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h,
Jason Thorpe [Mon, 27 May 2002 01:05:16 +0000 (01:05 +0000)]
* ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h,
target.s, arch-utils.h, ns32k-tdep.h.  Make many functions
static.  Rename some register numbers to put them in ns32k-tdep
private namespace.
(ns32k_get_saved_register, ns32k_gdbarch_init_32082,
ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New
functions.
(_initialize_ns32k_tdep): Use gdbarch_register.
* ns32k-tdep.h: New file.
* ns32knbsd-tdep.c: New file.
* config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o.
* config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h".
(IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS,
REGISTER_BYTES, REGISTER_BYTE): Remove.
* config/ns32k/tm-ns32k.h: New file.
* config/ns32k/tm-umax.h: Remove.

22 years ago*** empty log message ***
gdbadmin [Mon, 27 May 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 27 May 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* ns32k-tdep.c (ns32k_saved_pc_after_call,
Jason Thorpe [Sun, 26 May 2002 23:06:08 +0000 (23:06 +0000)]
* ns32k-tdep.c (ns32k_saved_pc_after_call,
ns32k_store_struct_return, ns32k_extract_return_value,
ns32k_store_return_value, ns32k_extract_struct_value_address): New
functions.
* config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as
ns32k_saved_pc_after_call.
(STORE_STRUCT_RETURN): Define as ns32k_store_struct_return.
(EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value.
(STORE_RETURN_VALUE): Define as ns32k_store_return_value.
(EXTRACT_STRUCT_VALUE_ADDRESS): Define as
ns32k_extract_struct_value_address.

22 years ago* ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words,
Jason Thorpe [Sun, 26 May 2002 22:27:01 +0000 (22:27 +0000)]
* ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words,
ns32k_fix_call_dummy): New.
* config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as
ns32k_call_dummy_words.
(SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words.
(CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR,
CALL_DUMMY_NARGS): Remove.
(FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy.

22 years ago* ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain,
Jason Thorpe [Sun, 26 May 2002 20:31:06 +0000 (20:31 +0000)]
* ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain,
ns32k_frame_saved_pc, ns32k_frame_args_address,
ns32k_frame_locals_address, ns32k_frame_init_saved_regs,
ns32k_push_dummy_frame, ns32k_pop_frame): New functions.
* config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove.
* config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan.
(BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc.
(BREAKPOINT): Remove..
(FRAME_CHAIN): Define as ns32k_frame_chain.
(FRAME_SAVED_PC): Define as ns32k_frame_saved_pc.
(FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address.
(FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address.
(FRAME_FIND_SAVED_REGS): Remove.
(FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs.
(PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame.
(POP_FRAME): Define as ns32k_pop_frame.

22 years ago * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
Thiemo Seufer [Sun, 26 May 2002 18:46:37 +0000 (18:46 +0000)]
* config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
by the define. Remove superfluous check of mips_opts.mips16.
(append_insn): Likewise. Canonicalize variable increments.
(macro_build): Canonicalize variable increments.
(macro_build_lui): Likewise.
(load_register): Likewise.
(load_address): Move pointer initialization.
(macro): Move pointer to a more local scope. Canonicalize variable
increments. Better comments. Replace magic constant for RA by the
define.
(macro2): Replace magic constant for RA by the define. Canonicalize
variable increments.
(mips_ip): Canonicalize variable increments.
(mips16_ip): Replace magic constant for RA by the define.
(my_getSmallParser): Canonicalize variable increments/decrements.
(my_getPercentOp): Likewise.
(my_getSmallExpression): Likewise.
(s_align): Likewise.
(s_mipsset): Likewise.
(s_cpsetup): Likewise.
(s_insn): Remove superfluous check of mips_opts.mips16.
(s_mips_stab): Likewise.
(mips_handle_align): Canonicalize variable increments.
(s_mips_ent): Likewise.
(s_mips_end): Add comment.

22 years ago* ns32k-tdep.c (ns32k_register_byte_32082,
Jason Thorpe [Sun, 26 May 2002 17:59:39 +0000 (17:59 +0000)]
* ns32k-tdep.c (ns32k_register_byte_32082,
ns32k_register_byte_32382, ns32k_register_raw_size,
ns32k_register_virtual_size, ns32k_register_virtual_type): New
functions.
* config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as
ns32k_register_byte_32382.
* config/ns32k/tm-umax.h: Update copyright years.
(REGISTER_BYTE): Define as ns32k_register_byte_32082.
(REGISTER_RAW_SIZE): Define as ns32k_register_raw_size.
(REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size.
(REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type.
(ns32k_get_enter_addr): Fix prototype.

22 years ago * arsup.c: Remove ARGSUSED.
Kazu Hirata [Sun, 26 May 2002 14:55:04 +0000 (14:55 +0000)]
* arsup.c: Remove ARGSUSED.
* debug.c: Likewise.
* ieee.c: Likewise.
* nlmconv.c: Likewise.
* prdbg.c: Likewise.
* stabs.c: Likewise.
* wrstabs.c: Likewise.

22 years ago* ns32k-tdep.c: Update copyright years.
Jason Thorpe [Sun, 26 May 2002 09:29:36 +0000 (09:29 +0000)]
* ns32k-tdep.c: Update copyright years.
(ns32k_register_name_32082): New function.
(ns32k_register_name_32382): Ditto.
* config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): Define as ns32k_register_name_32382.
* config/ns32k/tm-umax.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): Define as ns32k_register_name_32082.

22 years agogas:
Jason Thorpe [Sun, 26 May 2002 05:04:53 +0000 (05:04 +0000)]
gas:
* configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
* configure: Regenerate.

ld:
* configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.

22 years ago*** empty log message ***
gdbadmin [Sun, 26 May 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago * ldemul.c: Fix formatting.
Kazu Hirata [Sat, 25 May 2002 20:39:25 +0000 (20:39 +0000)]
* ldemul.c: Fix formatting.
* ldfile.c: Likewise.
* pe-dll.c: Likewise.
* pe-dll.h: Likewise.

22 years ago * ldlang.c (lang_process): Formatting, grammar.
Alan Modra [Sat, 25 May 2002 13:10:11 +0000 (13:10 +0000)]
* ldlang.c (lang_process): Formatting, grammar.

22 years ago * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Formatting.
Alan Modra [Sat, 25 May 2002 13:09:37 +0000 (13:09 +0000)]
* elf32-m68k.c (elf32_m68k_print_private_bfd_data): Formatting.

22 years ago * Makefile.am (sh-dis.lo): Don't put make commands in deps.
Alan Modra [Sat, 25 May 2002 12:55:19 +0000 (12:55 +0000)]
* Makefile.am (sh-dis.lo): Don't put make commands in deps.
* Makefile.in: Regenerate.
* arc-dis.c: Use #include "" instead of <> for local header files.
* m68k-dis.c: Likewise.

22 years ago * ldlex.l: Use #include "" instead of <> for local header files.
Alan Modra [Sat, 25 May 2002 12:54:12 +0000 (12:54 +0000)]
* ldlex.l: Use #include "" instead of <> for local header files.

22 years ago * ia64.h: Use #include "" instead of <> for local header files.
Alan Modra [Sat, 25 May 2002 12:53:48 +0000 (12:53 +0000)]
* ia64.h: Use #include "" instead of <> for local header files.
* sparc.h: Likewise.

22 years ago * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
Alan Modra [Sat, 25 May 2002 12:53:29 +0000 (12:53 +0000)]
* Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
* Makefile.in: Regenerate.
* dep-in.sed: Reorder to match OBJS in Makefile.am.
* configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
* configure: Regenerate.
* as.h: Use #include "" instead of <> for local header files.
* flonum-konst.c: Likewise.
* flonum-mult.c: Likewise.
* gasp.c: Likewise.
* listing.c: Likewise.
* config/tc-ia64.h: Likewise.
* config/tc-v850.h: Likewise.

22 years ago * arlex.l: Use #include "" instead of <> for local header files.
Alan Modra [Sat, 25 May 2002 12:51:38 +0000 (12:51 +0000)]
* arlex.l: Use #include "" instead of <> for local header files.
* coffdump.c: Likewise.
* coffgrok.c: Likewise.
* nlmconv.c: Likewise.
* nlmheader.y: Likewise.
* srconv.c: Likewise.
* strings.c: Likewise.
* sysdump.c: Likewise.
* unwind-ia64.h: Likewise.
* windres.h: Likewise.
* winduni.h: Likewise.

22 years ago * chew.c: Use #include "" instead of <> for local header files.
Alan Modra [Sat, 25 May 2002 12:50:18 +0000 (12:50 +0000)]
* chew.c: Use #include "" instead of <> for local header files.

22 years ago * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Revert last change.
Alan Modra [Sat, 25 May 2002 10:13:23 +0000 (10:13 +0000)]
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Revert last change.
(ppc64_elf_check_relocs): Don't set up function descriptor symbol
strings to point inside function code sym string.
(func_desc_adjust): Likewise.
(ppc64_elf_hide_symbol): Rewrite code to look up function code sym.

22 years ago*** empty log message ***
gdbadmin [Sat, 25 May 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 25 May 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* dwarf2read.c (free_line_header): Use xfree, not free.
Jim Blandy [Fri, 24 May 2002 19:41:45 +0000 (19:41 +0000)]
* dwarf2read.c (free_line_header): Use xfree, not free.

22 years agoAdd self as d10v maintainer.
Tom Rix [Fri, 24 May 2002 19:29:07 +0000 (19:29 +0000)]
Add self as d10v maintainer.

22 years ago2002-05-24 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Fri, 24 May 2002 14:25:08 +0000 (14:25 +0000)]
2002-05-24  Michal Ludvig  <mludvig@suse.cz>

* elf64-x86-64.c (elf64_x86_64_grok_prstatus): Added.
(elf64_x86_64_grok_psinfo): Added.

22 years agoAdd a target for i386-netbsdpe.
Nick Clifton [Fri, 24 May 2002 09:26:58 +0000 (09:26 +0000)]
Add a target for i386-netbsdpe.

22 years ago* config/djgpp/fnchange.lst: Add alphabsd-nat.c,
Jason Thorpe [Fri, 24 May 2002 04:48:22 +0000 (04:48 +0000)]
* config/djgpp/fnchange.lst: Add alphabsd-nat.c,
alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c

22 years ago * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy is_func
Alan Modra [Fri, 24 May 2002 04:07:38 +0000 (04:07 +0000)]
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy is_func
and is_func_descriptor.
(func_desc_adjust): Hide function code sym in shared libs unless
there is a matching exported function descriptor sym.

22 years agoNew d10v tests.
Tom Rix [Fri, 24 May 2002 03:05:50 +0000 (03:05 +0000)]
New d10v tests.

22 years ago* PROBLEMS: Mention s390 and FreeBSD 4.4 build problems.
Andrew Cagney [Fri, 24 May 2002 02:56:56 +0000 (02:56 +0000)]
* PROBLEMS: Mention s390 and FreeBSD 4.4 build problems.

22 years agoFrom Ross Alexander at NEC Europe:
Andrew Cagney [Fri, 24 May 2002 02:50:01 +0000 (02:50 +0000)]
From Ross Alexander at NEC Europe:
* config/pa/hpux11w.mh (NATDEPFILES): Add solib.o.

22 years ago2002-05-23 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 24 May 2002 01:25:52 +0000 (01:25 +0000)]
2002-05-23  Michael Snyder  <msnyder@redhat.com>

* cli/cli-dump.c (restore_command): Use parse_and_eval_long
for input, rather than parse_and_eval_address.

22 years ago * size.c: Fix formatting.
Kazu Hirata [Fri, 24 May 2002 00:33:36 +0000 (00:33 +0000)]
* size.c: Fix formatting.
* srconv.c: Likewise.
* stabs.c: Likewise.
* sysdump.c: Likewise.
* unwind-ia64.c: Likewise.
* wrstabs.c: Likewise.