external/binutils.git
22 years ago * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
Alan Modra [Tue, 13 Aug 2002 02:08:26 +0000 (02:08 +0000)]
* emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
(MAXPAGESIZE): Set to 1.

* ld.h (ALIGN_N): Delete.
* ldexp.h (align_n): Declare.
* ldexp.c (align_n): New function.
(fold_binary): Use align_n instead of ALIGN_N.
(exp_fold_tree): Likewise.
* ldlang.c (lang_size_sections_1): Likewise.
(lang_one_common): Likewise.

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

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

22 years ago2002-08-12 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 12 Aug 2002 19:23:33 +0000 (19:23 +0000)]
2002-08-12  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_add_default_symbol): Preserve section across
elf_merge_symbol.

22 years ago2002-08-12 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 12 Aug 2002 19:21:59 +0000 (19:21 +0000)]
2002-08-12  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp: Add vers23.

* ld-elfvers/vers23.c: New.
* ld-elfvers/vers23.dsym: New.
* ld-elfvers/vers23.ver: New.
* ld-elfvers/vers23a.c: New.
* ld-elfvers/vers23a.dsym: New.
* ld-elfvers/vers23a.map: New.
* ld-elfvers/vers23a.sym: New.
* ld-elfvers/vers23a.ver: New.
* ld-elfvers/vers23b.c: New.
* ld-elfvers/vers23b.dsym: New.
* ld-elfvers/vers23b.map: New.
* ld-elfvers/vers23b.ver: New.

22 years ago2002-08-12 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 12 Aug 2002 19:05:33 +0000 (19:05 +0000)]
2002-08-12  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.h (i386_register_byte, i386_register_raw_size): Delete
declarations.
* i386-linux-tdep.c (i386_linux_register_byte): Delete function.
(i386_linux_register_raw_size): Delete function.
i386_linux_init_abi): Update.
* i386-tdep.c (i386_register_raw_size): Delete function.
(i386_register_byte): Delete function.
(i386_gdbarch_init): Update.
(i386_register_size): Delete array.
(i386_register_offset): Delete array.

* config/i386/tm-symmetry.h (REGISTER_BYTE): Delete macro.
(REGISTER_RAW_SIZE): Delete macro.
* config/i386/tm-ptx.h (REGISTER_RAW_SIZE): Delete macro.
(REGISTER_BYTE): Delete macro.

22 years ago * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section
Hans-Peter Nilsson [Mon, 12 Aug 2002 09:01:18 +0000 (09:01 +0000)]
* ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section
listing.
* ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise.

22 years ago * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols
Hans-Peter Nilsson [Mon, 12 Aug 2002 08:51:10 +0000 (08:51 +0000)]
* ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols
is no longer set to object.
* ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd,
ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd,
ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd,
ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd,
ld-sh/sh64/shdl64.xd: Likewise.

22 years ago[gas/]
Richard Sandiford [Mon, 12 Aug 2002 08:33:42 +0000 (08:33 +0000)]
[gas/]
* config/tc-mips.c (mips_ip): Don't work out the value of
constant %hi()s here.

[gas/testsuite/]
* gas/mips/elf-consthilo.[sd]: New test.
* gas/mips/mips.exp: Run it.

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

22 years agodaily update
Alan Modra [Mon, 12 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * ada-lang.c (ada_lookup_partial_symbol)
Aidan Skinner [Sun, 11 Aug 2002 18:15:49 +0000 (18:15 +0000)]
* ada-lang.c (ada_lookup_partial_symbol)
(to_fixed_variant_branch_type) (find_line_in_linetable): Fix
prototype names so that grep ^func works properly.

* ada-lang.c (ada_array_element_type)
(ada_lookup_partial_symbol): Fix typos in parameter list.

* ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1):
Fix prototype names so that grep ^func works properly.

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

22 years agodaily update
Alan Modra [Sun, 11 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
Alan Modra [Sat, 10 Aug 2002 14:49:48 +0000 (14:49 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
for ELF, and don't bother checking ELF relocs when non-ELF.
(i386_immediate): Allow absolute_section expressions for aout.
(i386_displacement): Likewise.  Also test bfd_is_com_section.
(md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
(md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
not when fx_addsy.  Remove dead code.

22 years ago * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
Alan Modra [Sat, 10 Aug 2002 12:48:52 +0000 (12:48 +0000)]
* ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
* ld-linkonce/linkonce.exp: Likewise.
* ld-selective/sel-dump.exp: Likewise.
* ld-selective/selective.exp: Don't run on aout or bout.

22 years ago2002-08-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 10 Aug 2002 05:12:40 +0000 (05:12 +0000)]
2002-08-10  Andrew Cagney  <cagney@redhat.com>
            Elena Zannoni  <ezannoni@redhat.com>
            Martin M. Hunt  <hunt@redhat.com>

* gdbtypes.c (build_builtin_type_vec128): Set the vector bit.
(build_builtin_type_vec128i): Set the vector bit.
* gdbtypes.h (builtin_type_vec64, builtin_type_vec64i): Declare.
* gdbtypes.c (builtin_type_vec64, builtin_type_vec64i): Define.
(build_builtin_type_vec64): New function.
(build_builtin_type_vec64i): New function.
(build_gdbtypes): Initialize builtin_type_vec64 and
builtin_type_vec64i.

22 years ago2002-08-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 10 Aug 2002 02:00:16 +0000 (02:00 +0000)]
2002-08-09  Andrew Cagney  <cagney@redhat.com>

* regcache.c (regcache_dump): Compare the register offset
with REGISTER_BYTE.
* arch-utils.c (generic_register_byte): New function.
* arch-utils.h (generic_register_byte): Declare.
* gdbarch.sh (REGISTER_BYTE): Default to generic_register_byte.
* gdbarch.h, gdbarch.c: Regenerate.

22 years agoOversights in previous checkin.
Michael Snyder [Sat, 10 Aug 2002 01:09:11 +0000 (01:09 +0000)]
Oversights in previous checkin.

22 years agoShh, revert unintended commit.
Andrew Cagney [Sat, 10 Aug 2002 00:40:40 +0000 (00:40 +0000)]
Shh, revert unintended commit.

22 years ago2002-08-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 10 Aug 2002 00:36:46 +0000 (00:36 +0000)]
2002-08-09  Andrew Cagney  <cagney@redhat.com>

* regcache.c: Include "gdbcmd.h"
(_initialize_regcache): Add commands "maintenance print
registers", "maintenance print raw-registers" and "maintenance
print cooked-registers".
(enum regcache_dump_what): Define.
(dump_endian_bytes): New function.
(regcache_dump): New function.
(regcache_print): New function.
(maintenance_print_registers): New function.
(maintenance_print_raw_registers): New function.
(maintenance_print_cooked_registers): New function.
* Makefile.in (regcache.o): Update dependencies.

22 years ago2002-08-09 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 10 Aug 2002 00:34:04 +0000 (00:34 +0000)]
2002-08-09  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (ROUND_DOWN, ROUND_UP): Move to global scope.
(mips_push_arguments): Correct some comments.  Use paddr_nz
for printing addresses in debug output.  Replace static
allocation using MAX_REGISTER_RAW_SIZE with alloca.
(mips_n32n64_push_arguments): New function, cloned from
mips_push_arguments and tuned for the n32/n64 ABI.
(mips_push_register): Buffer needs dynamic allocation.
(mips_print_register): Ditto.
(do_gp_register_row): Ditto.
(mips_store_return_value): Ditto.
(mips_gdbarch_init): Set gdbarch_push_arguments per ABI.

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

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

22 years ago2002-08-09 Don Howard <dhoward@redhat.com>
Don Howard [Fri, 9 Aug 2002 22:50:31 +0000 (22:50 +0000)]
2002-08-09  Don Howard  <dhoward@redhat.com>

        * memattr.c (mem_info_command): Print special case of upper bound
        as max CORE_ADDR + 1.

22 years ago2002-08-08 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 9 Aug 2002 21:58:14 +0000 (21:58 +0000)]
2002-08-08  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_n32n64_use_struct_convention): N32 only
returns structs by ref if they're too big to fit in two registers.

22 years agoFix minor formatting problem in previous patch.
Kevin Buettner [Fri, 9 Aug 2002 20:38:49 +0000 (20:38 +0000)]
Fix minor formatting problem in previous patch.

22 years ago * mips-tdep.c (mips_init_extra_frame_info): Initialize SP_REGNUM's
Kevin Buettner [Fri, 9 Aug 2002 20:30:20 +0000 (20:30 +0000)]
* mips-tdep.c (mips_init_extra_frame_info): Initialize SP_REGNUM's
saved regs value.
(read_next_frame_reg): Call FRAME_INIT_SAVED_REGS instead of
mips_find_saved_regs().
(mips_pop_frame): Likewise.

22 years ago * blockframe.c (frame_saved_regs_register_unwind): Revise
Kevin Buettner [Fri, 9 Aug 2002 18:26:15 +0000 (18:26 +0000)]
* blockframe.c (frame_saved_regs_register_unwind): Revise
PC_IN_CALL_DUMMY assertion to only apply when generic dummy
frames are in use.

22 years ago * remote.c: (remote_wait, remote_async_wait): Add check for awatch
Grace Sainsbury [Fri, 9 Aug 2002 16:41:25 +0000 (16:41 +0000)]
    * remote.c: (remote_wait, remote_async_wait): Add check for awatch
        T-packets; the 'a' is not taken as a register number.
(remote_check_watch_resources, remote_stopped_by_watchpoint)
        (remote_stopped_data_address): New functions; add to target
        vector.
        (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Change
        prototypes to match other implementations of this
        function. replace integer argument with pointer -- the length
        field in the Z-packet is the length of what is pointed to or 1 if
        pointer is null. Add to target vector.
        (remote_insert_watchpoint, remote_remove_watchpoint): Add to
        target vector.

        From Mark Salter:
        * remote.c (remote_wait): Add support to extract optional
        watchpoint information from T-packet. Ignore unrecognized
        optional info in T-packet.
        (remote_async_wait): Ditto.
doc:
From Mark Salter:
* gdb.texinfo (Protocol): Document T packet extension to
allow watchpoint address reporting.

22 years ago * cli/cli-dump.c: Change fopen modes to use binary open modes
Corinna Vinschen [Fri, 9 Aug 2002 16:36:10 +0000 (16:36 +0000)]
* cli/cli-dump.c: Change fopen modes to use binary open modes
as defined in include/fopen-bin.h throughout.

22 years agoOops - omitted from previous delta
Nick Clifton [Fri, 9 Aug 2002 15:39:19 +0000 (15:39 +0000)]
Oops - omitted from previous delta

22 years agoAdd QNX Neutrino PowerPC support and common up QNX functions
Nick Clifton [Fri, 9 Aug 2002 15:38:24 +0000 (15:38 +0000)]
Add QNX Neutrino PowerPC support and common up QNX functions

22 years agoUpdated Swedish translation
Nick Clifton [Fri, 9 Aug 2002 15:07:57 +0000 (15:07 +0000)]
Updated Swedish translation

22 years ago * config/tc-i386.h: Reorganize.
Alan Modra [Fri, 9 Aug 2002 12:37:41 +0000 (12:37 +0000)]
* config/tc-i386.h: Reorganize.

22 years ago* config/tc-mips.c (macro): Handle a register plus a 16-bit
Maciej W. Rozycki [Fri, 9 Aug 2002 11:07:24 +0000 (11:07 +0000)]
* config/tc-mips.c (macro): Handle a register plus a 16-bit
immediate offset in "dla" and "la" expansions.
* gas/mips/empic.d: Treat "addiu" and "daddiu" as equivalent when
$0 is source.
* mips-opc.c (mips_builtin_opcodes): Remove "dla" and "la" as
aliases to "daddiu" and "addiu".

22 years ago * elfxx-mips.c (mips_elf_global_got_index): Avoid segfault if
Thiemo Seufer [Fri, 9 Aug 2002 05:35:26 +0000 (05:35 +0000)]
* elfxx-mips.c (mips_elf_global_got_index): Avoid segfault if
g->global_gotsym is NULL.

22 years agoAdd the missing space.
H.J. Lu [Fri, 9 Aug 2002 04:56:20 +0000 (04:56 +0000)]
Add the missing space.

22 years ago2002-08-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 9 Aug 2002 04:42:44 +0000 (04:42 +0000)]
2002-08-08  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp: Add vers22.

* ld-elfvers/vers22.c: New.
* ld-elfvers/vers22.dsym: New.
* ld-elfvers/vers22.map: New.
* ld-elfvers/vers22.ver: New.
* ld-elfvers/vers22a.c: New.
* ld-elfvers/vers22a.dsym: New.
* ld-elfvers/vers22a.sym: New.
* ld-elfvers/vers22a.ver: New.
* ld-elfvers/vers22b.c: New.
* ld-elfvers/vers22b.dsym: New.
* ld-elfvers/vers22b.ver: New.

22 years ago2002-08-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 9 Aug 2002 04:40:29 +0000 (04:40 +0000)]
2002-08-08  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_add_default_symbol): Don't warn a defintion
overrides an indirect versioned symbol.

22 years ago * configure.in: bfd_gas=yes for all i386 targets. Formatting.
Alan Modra [Fri, 9 Aug 2002 03:42:15 +0000 (03:42 +0000)]
* configure.in: bfd_gas=yes for all i386 targets.  Formatting.
Remove "bfd_gas=yes" from target table when covered later.
Consolidate some entries.
* configure: Regenerate

22 years ago2002-08-08 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 9 Aug 2002 01:42:41 +0000 (01:42 +0000)]
2002-08-08  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c: Minor whitespace and indentation clean-ups.

22 years ago * doublest.c (store_floating): Avoid floatformat_from_doublest()
Kevin Buettner [Fri, 9 Aug 2002 00:45:10 +0000 (00:45 +0000)]
* doublest.c (store_floating): Avoid floatformat_from_doublest()
assertion failure by returning early after a warning.

22 years ago * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
Jakub Jelinek [Fri, 9 Aug 2002 00:10:19 +0000 (00:10 +0000)]
* config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
at start of insn, pass it to output_disp and output_imm.
(output_disp): Added arguments.  If _GLOBAL_OFFSET_TABLE_ is seen
in displacement for R_386_32 reloc, use R_386_GOTPC and compute
properly addend.
(output_imm): Added arguments.  Compute properly addend for
R_386_GOTPC.
(md_apply_fix3): Remove R_386_GOTPC handling.
* testsuite/gas/i386/gotpc.s: New.
* testsuite/gas/i386/gotpc.d: New.
* testsuite/gas/i386/i386.exp: Add gotpc test.

22 years agodaily update
Alan Modra [Fri, 9 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

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

22 years agoMultiarch FRAME_INIT_SAVED_REGS for mips.
Kevin Buettner [Thu, 8 Aug 2002 23:42:26 +0000 (23:42 +0000)]
Multiarch FRAME_INIT_SAVED_REGS for mips.

22 years ago * mips-tdep.c (mips_find_saved_regs): Make static.
Kevin Buettner [Thu, 8 Aug 2002 23:32:52 +0000 (23:32 +0000)]
* mips-tdep.c (mips_find_saved_regs): Make static.
(mips_frame_init_saved_regs): New function.
(mips_gdbarch_init): Setup FRAME_INIT_SAVED_REGS method.
* config/mips/tm-mips.h (FRAME_INIT_SAVED_REGS): Delete macro.
(mips_find_saved_regs): Delete declaration.

22 years ago2002-08-06 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 8 Aug 2002 22:44:46 +0000 (22:44 +0000)]
2002-08-06  Michael Snyder  <msnyder@redhat.com>

* config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.

22 years ago * elf32-i386.c (elf_i386_relocate_section): Fill in proper addend
Jakub Jelinek [Thu, 8 Aug 2002 21:38:27 +0000 (21:38 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Fill in proper addend
for R_386_TLS_TPOFF32 relocs against symndx 0.

22 years ago* remote.c (remote_wait, remote_async_wait): Change
Grace Sainsbury [Thu, 8 Aug 2002 19:45:50 +0000 (19:45 +0000)]
* remote.c (remote_wait, remote_async_wait): Change
thread_num from int to ULONGEST.
(unpack_varlen_hex): Change result parameter from
int * to ULONGEST *.

22 years ago2002-08-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 8 Aug 2002 15:37:29 +0000 (15:37 +0000)]
2002-08-08  Andrew Cagney  <ac131313@redhat.com>

* configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*,
powerpcle-*-eabi*, powerpcle-*-sysv* and powerpcle-*-elf* with
powerpc*-*-*.
* MAINTAINERS: Remove redundant rs6000-ibm-aix4.1 target.

22 years ago2002-08-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 8 Aug 2002 14:59:35 +0000 (14:59 +0000)]
2002-08-08  Andrew Cagney  <cagney@redhat.com>

* gcore.c (override_derive_stack_segment): Delete variable.
(preempt_derive_stack_segment): Delete function.
(derive_stack_segment): Delete function.
(default_derive_stack_segment): Renamed to derive_stack_segment.
(override_derive_heap_segment): Delete variable.
(preempt_derive_heap_segment): Delete function.
(derive_heap_segment): Delete function.
(default_derive_heap_segment): Rename to derive_heap_segment.

22 years agoCheck symbols with undefine version.
H.J. Lu [Thu, 8 Aug 2002 03:50:18 +0000 (03:50 +0000)]
Check symbols with undefine version.

22 years ago2002-08-06 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 8 Aug 2002 00:26:51 +0000 (00:26 +0000)]
2002-08-06  Michael Snyder  <msnyder@redhat.com>

        * config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.
* mips-tdep.c (mips_EABI_use_struct_convention,
mips_OABI_use_struct_convention, mips_NABI_use_struct_convention):
New functions.  (mips_use_struct_convention): Delete.
(mips_gdbarch_init): set use_gdbarch_convention.

22 years ago * elflink.h (elf_link_output_extsym): Don't output symbols from
Alan Modra [Thu, 8 Aug 2002 00:20:16 +0000 (00:20 +0000)]
* elflink.h (elf_link_output_extsym): Don't output symbols from
SEC_EXCLUDE sections.

22 years ago * aoutx.h (aout_link_write_symbols): Correct handling of warning syms.
Alan Modra [Thu, 8 Aug 2002 00:11:37 +0000 (00:11 +0000)]
* aoutx.h (aout_link_write_symbols): Correct handling of warning syms.

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

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

22 years agomerge from gcc
DJ Delorie [Wed, 7 Aug 2002 21:01:25 +0000 (21:01 +0000)]
merge from gcc

22 years ago2002-08-06 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 7 Aug 2002 18:17:26 +0000 (18:17 +0000)]
2002-08-06  Michael Snyder  <msnyder@redhat.com>

*  mips-tdep.c: gdbarch-ify reg_struct_has_addr.
(mips_eabi_reg_struct_has_addr, mips_n32n64_reg_struct_has_addr,
mips_o32_reg_struct_has_addr): New functions.
(mips_gdbarch_init): Set gdbarch reg_struct_has_addr.

22 years ago2002-08-07 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 7 Aug 2002 16:01:58 +0000 (16:01 +0000)]
2002-08-07  Andrew Cagney  <ac131313@redhat.com>

* regcache.c (pseudo_register): Delete function.
(fetch_register): Delete function.
(store_register): Delete function.
(regcache_raw_read, legacy_read_register_gen): Use
target_fetch_registers instead of fetch_register.
(legacy_write_register_gen, regcache_raw_write): Use
target_store_register instead of store_register.
(write_register_bytes): Ditto.

* gdbarch.sh (FETCH_PSEUDO_REGISTER): Delete.
(STORE_PSEUDO_REGISTER): Delete.
* gdbarch.h, gdbarch.c: Regenerate.

22 years agoOnly search for an interworking bfd if there are input bfds.
Nick Clifton [Wed, 7 Aug 2002 15:22:41 +0000 (15:22 +0000)]
Only search for an interworking bfd if there are input bfds.

22 years ago * cli/cli-dump.c (add_dump_command): Explicitely use "b" flag to
Corinna Vinschen [Wed, 7 Aug 2002 08:52:24 +0000 (08:52 +0000)]
* cli/cli-dump.c (add_dump_command): Explicitely use "b" flag to
write dump file binary.

22 years ago * elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opd
Alan Modra [Wed, 7 Aug 2002 05:23:09 +0000 (05:23 +0000)]
* elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opd
entries.

22 years ago * elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness
Thiemo Seufer [Wed, 7 Aug 2002 04:44:14 +0000 (04:44 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness
mismatch.

22 years ago * elfxx-mips.c (ABI_64_P): Remove superfluous check.
Thiemo Seufer [Wed, 7 Aug 2002 04:37:24 +0000 (04:37 +0000)]
* elfxx-mips.c (ABI_64_P): Remove superfluous check.

22 years ago * elf32-mips.c (mips_reloc_map): Fix typo.
Thiemo Seufer [Wed, 7 Aug 2002 04:32:14 +0000 (04:32 +0000)]
* elf32-mips.c (mips_reloc_map): Fix typo.

22 years ago2002-08-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 7 Aug 2002 00:28:31 +0000 (00:28 +0000)]
2002-08-05  Michael Snyder  <msnyder@redhat.com>

*  mips-tdep.c (mips_find_saved_regs): Adjust stack according
to MIPS_SAVED_REGSIZE, not GDB_TARGET_IS_MIPS64.  Enhance comment.
(mips_gdbarch_init): Set N32 target to be mips64.

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

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

22 years ago * frame.c (find_saved_register): Break out of loop once saved
Kevin Buettner [Tue, 6 Aug 2002 22:42:56 +0000 (22:42 +0000)]
* frame.c (find_saved_register): Break out of loop once saved
register address is found.  Don't mention sparc in loop comment
anymore.

22 years ago * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
Richard Henderson [Tue, 6 Aug 2002 22:06:08 +0000 (22:06 +0000)]
    * config/tc-alpha.c (cpu_types): Enabled ev67, ev68,  -m21264a
        and m21264b processor names and cpu types.
        * doc/c-alpha.texi: Documented new types.

22 years agoAdd myself as Alpha maintainer.
Richard Henderson [Tue, 6 Aug 2002 21:58:26 +0000 (21:58 +0000)]
Add myself as Alpha maintainer.

22 years ago * mips-tdep.c (mips_gdbarch_init): For the N32 ABI, set
Kevin Buettner [Tue, 6 Aug 2002 19:03:40 +0000 (19:03 +0000)]
* mips-tdep.c (mips_gdbarch_init): For the N32 ABI, set
mips_default_saved_regsize to 8.

22 years ago2002-08-06 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 6 Aug 2002 15:53:08 +0000 (15:53 +0000)]
2002-08-06  Andrew Cagney  <ac131313@redhat.com>
* gcore.c: Do not include <sys/procfs.h>.
* Makefile.in (gcore.o): Update dependencies.

22 years ago2002-08-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 6 Aug 2002 14:12:47 +0000 (14:12 +0000)]
2002-08-06  Andrew Cagney  <cagney@redhat.com>
* configure.tgt: Make arc-*-* obsolete.
* NEWS: Mention that arc-*-* has been identifed as obsolete.
* MAINTAINERS: Make arc-elf obsolete.
* arc-tdep.c: Make file obsolete.
* config/arc/arc.mt: Ditto.
* config/arc/tm-arc.h: Ditto.

22 years ago * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts
Alan Modra [Tue, 6 Aug 2002 11:40:30 +0000 (11:40 +0000)]
* emultempl/aix.em (gld*_before_parse): Set default arch.  Reverts
2002-05-10 change.

22 years ago * gas/ppc/altivec_xcoff64.d: Adjust for aix5 target.
Alan Modra [Tue, 6 Aug 2002 11:28:01 +0000 (11:28 +0000)]
* gas/ppc/altivec_xcoff64.d: Adjust for aix5 target.
* gas/ppc/booke_xcoff64.d: Likewise.  Also fix relocs.

22 years ago * xcofflink.c (xcoff_write_global_symbol): Set n_scnum for abs_section.
Alan Modra [Tue, 6 Aug 2002 11:24:40 +0000 (11:24 +0000)]
* xcofflink.c (xcoff_write_global_symbol): Set n_scnum for abs_section.

22 years agoAdd hppa-openbsd target
Nick Clifton [Tue, 6 Aug 2002 09:18:28 +0000 (09:18 +0000)]
Add hppa-openbsd target

22 years ago * elf64-ppc.c (ppc64_elf_howto_raw): Zero all src_mask entries.
Alan Modra [Tue, 6 Aug 2002 09:09:08 +0000 (09:09 +0000)]
* elf64-ppc.c (ppc64_elf_howto_raw): Zero all src_mask entries.

22 years ago * libxcoff.h: Use PARAMS on function declarations.
Alan Modra [Tue, 6 Aug 2002 08:59:34 +0000 (08:59 +0000)]
* libxcoff.h: Use PARAMS on function declarations.
* coff-rs6000.c (xcoff_generate_rtinit): Simplify size calc.
* coff64-rs6000.c (xcoff64_generate_rtinit): Likewise.

22 years ago * coff-rs6000.c: (xcoff_rtype2howto): Don't place reloc address in
Alan Modra [Tue, 6 Aug 2002 08:51:42 +0000 (08:51 +0000)]
* coff-rs6000.c: (xcoff_rtype2howto): Don't place reloc address in
addend.
* coff64-rs6000.c: (xcoff64_rtype2howto): Likewise.

22 years ago * coff-rs6000.c: Formatting fixes.
Alan Modra [Tue, 6 Aug 2002 05:52:29 +0000 (05:52 +0000)]
* coff-rs6000.c: Formatting fixes.
(xcoff_calculate_relocation): Use PARAMS in declaration.
(xcoff_complain_overflow): Likewise.
(xcoff_ppc_relocate_section): Use old-style function pointer call.
(bfd_xcoff_backend_data): Remove useless comments.
(rs6000coff_vec): Likewise.
(bfd_pmac_xcoff_backend_data): Likewise.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c: Formatting fixes.
(xcoff64_calculate_relocation): Use PARAMS in declaration.
(xcoff64_ppc_relocate_section): Use old-style function pointer call.
(bfd_xcoff_backend_data): Remove useless comments.
(rs6000coff64_vec): Likewise.
(bfd_xcoff_aix5_backend_data): Likewise.
(aix5coff64_vec): Likewise.

22 years ago * coff-rs6000.c (xcoff_howto_table): Revert some of last change to
Alan Modra [Tue, 6 Aug 2002 03:18:25 +0000 (03:18 +0000)]
* coff-rs6000.c (xcoff_howto_table): Revert some of last change to
mask entries.  Use complain_overflow_dont for R_REF.
(xcoff_reloc_type_ba): Revert last change.
(xcoff_reloc_type_br): Likewise.
(xcoff_reloc_type_crel): Likewise.
(xcoff_ppc_relocate_section): Likewise.
* coff64-rs6000.c (xcoff64_reloc_type_br): Likewise.
(xcoff64_ppc_relocate_section): Likewise.
(xcoff64_howto_table): Revert some of last change to mask entries.
Use complain_overflow_dont for R_REF.

22 years ago * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
Alan Modra [Tue, 6 Aug 2002 02:30:06 +0000 (02:30 +0000)]
* config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.

22 years ago * coff-rs6000.c (xcoff_howto_table): Fix src_mask entries. Make all
Alan Modra [Tue, 6 Aug 2002 02:29:25 +0000 (02:29 +0000)]
* coff-rs6000.c (xcoff_howto_table): Fix src_mask entries.  Make all
relocs with bitsize == 16 have size = 1.
(xcoff_reloc_type_ba): Correct src_mask and dst_mask adjustment.
(xcoff_reloc_type_br): Likewise.
(xcoff_reloc_type_crel): Likewise.
(xcoff_ppc_relocate_section): Set up src_mask and dst_mask correctly.
* coff64-rs6000.c (xcoff64_reloc_type_br): Correct src_mask and
dst_mask adjustment.
(xcoff64_ppc_relocate_section): Set up src_mask and dst_mask correctly.
(xcoff64_howto_table): Fix src_mask entries.  Make all relocs with
bitsize == 16 have size = 1.

22 years agodaily update
Alan Modra [Tue, 6 Aug 2002 00:00:08 +0000 (00:00 +0000)]
daily update

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

22 years ago* gdb/avr-tdep.c(avr_skip_prologue): Fix to return the correct pc.
Theodore A. Roth [Mon, 5 Aug 2002 17:27:55 +0000 (17:27 +0000)]
* gdb/avr-tdep.c(avr_skip_prologue): Fix to return the correct pc.

22 years ago2002-08-05 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 5 Aug 2002 17:12:56 +0000 (17:12 +0000)]
2002-08-05  Andrew Cagney  <ac131313@redhat.com>
* mcore-tdep.c (mcore_gdbarch_init): Use
generic_unwind_get_saved_register instead of
generic_get_saved_register.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Ditto.
* config/h8300/tm-h8300.h (GET_SAVED_REGISTER): Ditto.

22 years ago * objfiles.h: Add missing #include "symfile.h"
Joel Brobecker [Mon, 5 Aug 2002 16:17:41 +0000 (16:17 +0000)]
    * objfiles.h: Add missing #include "symfile.h"
        * Makefile.in (objfiles_h): Add dependency on symfile.h and dependents.

22 years ago * prdbg.c (pr_fix_visibility): Remove assert.
Alan Modra [Mon, 5 Aug 2002 00:54:11 +0000 (00:54 +0000)]
* prdbg.c (pr_fix_visibility): Remove assert.

22 years agodaily update
Alan Modra [Mon, 5 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

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

22 years ago2002-08-04 H.J. Lu (hjl@gnu.org)
H.J. Lu [Sun, 4 Aug 2002 23:15:52 +0000 (23:15 +0000)]
2002-08-04  H.J. Lu  (hjl@gnu.org)

* configure.in (mips*-*-linux*): Don't skip target-libffi.

22 years agoFrom 2002-08-01 david carlton <carlton@math.stanford.edu>:
Andrew Cagney [Sun, 4 Aug 2002 19:11:12 +0000 (19:11 +0000)]
From 2002-08-01 david carlton <carlton@math.stanford.edu>:
* hpread.c (hpread_read_struct_type): Deleted superfluous setting
of FIELD_BITSIZE.

22 years ago * NEWS: Cleanup and nitpick.
Daniel Jacobowitz [Sun, 4 Aug 2002 15:12:09 +0000 (15:12 +0000)]
    * NEWS: Cleanup and nitpick.

22 years agoNEWS cleanups
Andrew Cagney [Sun, 4 Aug 2002 00:02:49 +0000 (00:02 +0000)]
NEWS cleanups