external/binutils.git
20 years agodaily update
Alan Modra [Wed, 30 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * elf32-xtensa.c (elf_xtensa_relocate_section): Use
Bob Wilson [Tue, 29 Jun 2004 22:03:33 +0000 (22:03 +0000)]
* elf32-xtensa.c (elf_xtensa_relocate_section): Use
bfd_get_section_limit.

20 years ago * elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the
Bob Wilson [Tue, 29 Jun 2004 21:03:13 +0000 (21:03 +0000)]
* elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the
output section size.

20 years ago* doc/Makefile.am (info): Rename goal to...
Maciej W. Rozycki [Tue, 29 Jun 2004 19:41:23 +0000 (19:41 +0000)]
* doc/Makefile.am (info): Rename goal to...
(info-local): ... this, to preserve implicit dependencies.
* doc/Makefile.in: Regenerate with automake 1.8.5.

20 years ago * i386-cygwin-tdep.c (i386-cygwin-tdep.c): New function.
Joel Brobecker [Tue, 29 Jun 2004 18:17:41 +0000 (18:17 +0000)]
    * i386-cygwin-tdep.c (i386-cygwin-tdep.c): New function.
        (i386_cygwin_in_solib_call_trampoline): New function.
        (i386_cygwin_init_abi): Initialize the in_solib_call_trampoline
        and skip_trampoline_code gdbarch methods.

20 years ago * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
Corinna Vinschen [Tue, 29 Jun 2004 17:52:49 +0000 (17:52 +0000)]
* gdb.arch/i386-prologue.c: Add copyright header.  Use preprocessor
directives to conditionalize symbol prefixing.
* gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
additional_flags handling.  Add underscore prefix for Cygwin.
* gdb.arch/i386-unwind.c: Use preprocessor directives to
conditionalize symbol prefixing.
* gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
additional_flags handling.  Add underscore prefix for Cygwin.

20 years ago* Makefile.in (gdb_callback_h): Renamed from callback_h to the
Jim Blandy [Tue, 29 Jun 2004 17:19:47 +0000 (17:19 +0000)]
* Makefile.in (gdb_callback_h): Renamed from callback_h to the
name actually used in the dependency lists.

20 years agogas/testsuite:
Joern Rennecke [Tue, 29 Jun 2004 16:35:05 +0000 (16:35 +0000)]
gas/testsuite:
Actually add these files:
2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
* testsuite/gas/sh/arch: New directory.
* testsuite/gas/sh/arch/arch.exp: New test script.
* testsuite/gas/sh/arch/arch_expected.txt: New file.
* testsuite/gas/sh/arch/sh.s: New file.
* testsuite/gas/sh/arch/sh2.s: New file.
* testsuite/gas/sh/arch/sh-dsp.s: New file.
* testsuite/gas/sh/arch/sh2e.s: New file.
* testsuite/gas/sh/arch/sh3-nommu.s: New file.
* testsuite/gas/sh/arch/sh3.s: New file.
* testsuite/gas/sh/arch/sh3-dsp.s: New file.
* testsuite/gas/sh/arch/sh3e.s: New file.
* testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4.s: New file.
* testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4al-dsp.s: New file.
ld/testsuite:
Actually add these files:
2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
* testsuite/ld-sh/arch/arch.exp: New test script.
* testsuite/ld-sh/arch/arch_expected.txt: New file.
* testsuite/ld-sh/arch/sh.s: New file.
* testsuite/ld-sh/arch/sh2.s: New file.
* testsuite/ld-sh/arch/sh-dsp.s: New file.
* testsuite/ld-sh/arch/sh2e.s: New file.
* testsuite/ld-sh/arch/sh3-nommu.s: New file.
* testsuite/ld-sh/arch/sh3.s: New file.
* testsuite/ld-sh/arch/sh3-dsp.s: New file.
* testsuite/ld-sh/arch/sh3e.s: New file.
* testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4.s: New file.
* testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4al-dsp.s: New file.
* testsuite/ld-sh/arch/sh4a.s: New file.

20 years ago2004-06-29 Randolph Chung <tausq@debian.org>
Randolph Chung [Tue, 29 Jun 2004 16:13:07 +0000 (16:13 +0000)]
2004-06-29  Randolph Chung  <tausq@debian.org>

* NEWS (New native configurations): Mention GNU/Linux/hppa.

20 years ago * win32-nat.c (child_pid_to_exec_file): New function.
Corinna Vinschen [Tue, 29 Jun 2004 15:37:31 +0000 (15:37 +0000)]
* win32-nat.c (child_pid_to_exec_file): New function.
(init_child_ops): Add child_pid_to_exec_file as to_pid_to_exec_file
functionality.

20 years agofix scrambled changelog
Andrew Cagney [Tue, 29 Jun 2004 15:22:28 +0000 (15:22 +0000)]
fix scrambled changelog

20 years ago2004-06-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 29 Jun 2004 14:57:39 +0000 (14:57 +0000)]
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* defs.h (xstrvprintf): Declare.
* utils.c (xstrvprintf): New function.
(internal_vproblem, xstrprintf, xasprintf)
(vfprintf_maybe_filtered, vfprintf_unfiltered): Use xstrvprintf.
* serial.c (serial_printf): Ditto.
* complaints.c (vcomplaint): Ditto.

20 years ago * ld-elf/frame.exp: Don't run on mcore.
Alan Modra [Tue, 29 Jun 2004 14:44:25 +0000 (14:44 +0000)]
* ld-elf/frame.exp: Don't run on mcore.

20 years ago * gas/m68k/mode5.s: Pad section.
Alan Modra [Tue, 29 Jun 2004 14:43:55 +0000 (14:43 +0000)]
* gas/m68k/mode5.s: Pad section.
* gas/m68k/mode5.d: Update.

20 years agobfd/
Alan Modra [Tue, 29 Jun 2004 14:13:47 +0000 (14:13 +0000)]
bfd/
* elf64-mmix.c (mmix_set_relaxable_size): Save original size in
rawsize.
(mmix_elf_perform_relocation): Adjust for above change.
(mmix_elf_relocate_section): Likewise.
(mmix_elf_relax_section): Likewise.  Use output_section->rawsize.
(mmix_elf_get_section_contents): Delete.
(bfd_elf64_get_section_contents): Delete.
(mmix_elf_relocate_section): Zero stub area.
* linker.c (default_indirect_link_order): Alloc max of section size
and rawsize.
* simple.c (bfd_simple_get_relocated_section_contents): Likewise.
* section.c (bfd_malloc_and_get_section): Likewise.
(struct bfd_section): Update rawsize comment.
* bfd-in2.h: Regenerate.
ld/
* ldlang.c (lang_reset_memory_regions): Save last relax pass section
size in rawsize.

20 years ago * reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.
Alan Modra [Tue, 29 Jun 2004 13:51:20 +0000 (13:51 +0000)]
* reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.

20 years ago * bfd-in.h (bfd_get_section_limit): Define.
Alan Modra [Tue, 29 Jun 2004 13:46:34 +0000 (13:46 +0000)]
* bfd-in.h (bfd_get_section_limit): Define.
* reloc.c (bfd_perform_relocation, bfd_install_relocation)
(_bfd_final_link_relocate): Use bfd_get_section_limit.
* aout-tic30.c (tic30_aout_final_link_relocate): Likewise.
* coff-arm.c (coff_arm_relocate_section): Likewise.
* coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): Likewise.
* cpu-ns32k.c (do_ns32k_reloc): Likewise.
(bfd_ns32k_final_link_relocate): Likewise.
* elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): Likwise.
* elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): Likewise.
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc)
(i860_howto_highadj_reloc, i860_howto_splitn_reloc): Likewise.
* elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc)
(m32r_elf_generic_reloc, m32r_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (m68hc11_elf_special_reloc): Likewise.
* elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
* elf32-or32.c (or32_elf_consth_reloc): Likewise.
* elf32-ppc.c (ppc_elf_addr16_ha_reloc): Likewise.
* elf32-s390.c (s390_elf_ldisp_reloc): Likewise.
* elf32-sh.c (sh_elf_reloc_loop): Likewise.
* elf32-sparc.c (sparc_elf_wdisp16_reloc): Likewise.
(sparc_elf_hix22_reloc, sparc_elf_lox10_reloc): Likwise.
* elf32-v850.c (v850_elf_reloc): Likewise.
* elf32-xstormy16.c (xstormy16_elf_24_reloc): Likewise.
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_gpdisp): Likewise.
* elf64-mips.c (mips_elf64_gprel32_reloc)
(mips16_gprel_reloc): Likewise.
* elf64-mmix.c (mmix_elf_reloc): Likewise.
* elf64-s390.c (s390_elf_ldisp_reloc): Likewise.
* elf64-sparc.c (init_insn_reloc): Likewise.
* elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp)
(_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_lo16_reloc)
(_bfd_mips_elf_generic_reloc): Likewise.
* bfd-in2.h: Regenerate.

20 years agomerge from gcc
DJ Delorie [Tue, 29 Jun 2004 12:51:56 +0000 (12:51 +0000)]
merge from gcc

20 years ago * infcmd.c (attach_command): Move call to target_terminal_inferior
Corinna Vinschen [Tue, 29 Jun 2004 06:39:06 +0000 (06:39 +0000)]
* infcmd.c (attach_command): Move call to target_terminal_inferior
behind loading symbol table.

20 years ago * gdb.base/bigcore.exp: Skip test on Cygwin.
Corinna Vinschen [Tue, 29 Jun 2004 06:34:50 +0000 (06:34 +0000)]
* gdb.base/bigcore.exp: Skip test on Cygwin.

20 years ago2004-06-28 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 29 Jun 2004 01:01:32 +0000 (01:01 +0000)]
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24
change - add back extern deprecated_ui_loop_hook declaration.

20 years agoIndex: mn10200/ChangeLog
Andrew Cagney [Tue, 29 Jun 2004 00:54:00 +0000 (00:54 +0000)]
Index: mn10200/ChangeLog
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* interp.c: Rename ui_loop_hook to deprecated_ui_loop_hook.

Index: d10v/ChangeLog
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* interp.c (sim_resume): Rename ui_loop_hook to
deprecated_ui_loop_hook.

Index: arm/ChangeLog
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.

Index: common/ChangeLog
2004-06-28  Andrew Cagney  <cagney@gnu.org>

* run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.

20 years agodaily update
Alan Modra [Tue, 29 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Tue, 29 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-06-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 28 Jun 2004 23:59:29 +0000 (23:59 +0000)]
2004-06-26  Andrew Cagney  <cagney@gnu.org>

* xcoffsolib.c (xcoff_solib_address): Replace xasprintf with
xstrprintf.
* varobj.c (varobj_gen_name, create_child, c_name_of_child)
(c_value_of_variable): Ditto.
* utils.c (internal_vproblem): Ditto.
* solib-aix5.c (build_so_list_from_mapfile): Ditto.
* remote.c (add_packet_config_cmd): Ditto.
* remote-rdp.c (rdp_set_command_line): Ditto.
* regcache.c (regcache_dump): Ditto.
* frv-tdep.c (new_variant, new_variant): Ditto.
* fbsd-proc.c (child_pid_to_exec_file): Ditto.
(fbsd_find_memory_regions): Ditto.
* breakpoint.c (create_thread_event_breakpoint)
(create_breakpoints): Ditto.
* aix-thread.c (aix_thread_pid_to_str): Ditto.
* ada-lang.c (is_package_name): Ditto.  Also delete xmalloc call.

Index: doc/ChangeLog
2004-06-26  Andrew Cagney  <cagney@gnu.org>

* gdbint.texinfo (Coding): Replace xasprintf with xstrprintf.

20 years agosim/h8300/ChangeLog:
Alexandre Oliva [Mon, 28 Jun 2004 19:26:37 +0000 (19:26 +0000)]
sim/h8300/ChangeLog:
2003-07-23  Richard Sandiford  <rsandifo@redhat.com>
* compile.c (sim_resume): Make sure that dst.reg refers to the
right register byte in mova/sz.l @(dd,RnL),ERn.
2003-07-21  Richard Sandiford  <rsandifo@redhat.com>
* compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
mulxs, divs and divxs.
sim/testsuite/sim/h8300/ChangeLog:
2003-07-22  Michael Snyder  <msnyder@redhat.com>
* mul.s: Don't try to use negative immediate (it's always
unsigned).
* div.s: Ditto.

20 years ago* compile.c (sim_load): Update sd->memory_size.
Alexandre Oliva [Mon, 28 Jun 2004 19:25:43 +0000 (19:25 +0000)]
* compile.c (sim_load): Update sd->memory_size.

20 years ago* e500_registers.h (EVR): Cast the 32-bit value of the GPR to an
Jim Blandy [Mon, 28 Jun 2004 19:02:49 +0000 (19:02 +0000)]
* e500_registers.h (EVR): Cast the 32-bit value of the GPR to an
unsigned type before or-ing it with a 64-bit value.

20 years ago * ada-lang.c: Re-indent file, with some massaging to help indent
Joel Brobecker [Mon, 28 Jun 2004 18:59:14 +0000 (18:59 +0000)]
    * ada-lang.c: Re-indent file, with some massaging to help indent
        a bit when the result is otherwise really too ugly.

20 years ago2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 28 Jun 2004 18:19:47 +0000 (18:19 +0000)]
2004-06-28  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
formats for "info register".  Use gdb_test_multiple.  Fix
the "invalid register" test.

20 years agomerge from gcc
DJ Delorie [Mon, 28 Jun 2004 18:01:46 +0000 (18:01 +0000)]
merge from gcc

20 years ago* Makefile.in: Regenerate to clean up breakage.
Maciej W. Rozycki [Mon, 28 Jun 2004 15:11:14 +0000 (15:11 +0000)]
* Makefile.in: Regenerate to clean up breakage.

20 years agoopcodes/
Alan Modra [Mon, 28 Jun 2004 14:08:08 +0000 (14:08 +0000)]
opcodes/
* ppc-opc.c (insert_fxm): Handle mfocrf and mtocrf.
(extract_fxm): Don't test dialect.
(XFXFXM_MASK): Include the power4 bit.
(XFXM): Add p4 param.
(powerpc_opcodes): Add mfocrf and mtocrf.  Adjust mtcr.

gas/testsuite/
* gas/ppc/power4.d: Update.

20 years ago * bfd-in.h (struct stab_info): Move from stabs.c.
Alan Modra [Mon, 28 Jun 2004 13:57:59 +0000 (13:57 +0000)]
* bfd-in.h (struct stab_info): Move from stabs.c.
* stabs.c (struct stab_link_includes_table): Delete.
(stab_link_includes_lookup): Delete.
(_bfd_write_section_stabs, _bfd_write_stab_strings): Remove one
level of indirection from sinfo parm.
(_bfd_link_section_stabs): Likewise.  Set SEC_LINKER_CREATED on
stabstr section.  Adjust hash table accesses.
* coff-ppc.c (ppc_bfd_coff_final_link): Do include rawsize in contents
alloc.  Adjust stab_info test.
* cofflink.c (_bfd_coff_link_hash_table_init): Clear stab_info.
(_bfd_coff_final_link): Adjust stab_info test.
(_bfd_coff_link_input_bfd): Ignore SEC_LINKER_CREATED sections.
* elf-bfd.h (struct elf_link_hash_table): Include struct stab_info
in place.
* libcoff-in.h (struct coff_link_hash_table): Likewise.
* elf.c (_bfd_elf_link_hash_table_init): Clear stab_info.
* elflink.c (bfd_elf_final_link): Don't attempt to link linker created
stabstr section.  Adjust stab_info test.
* libbfd-in.h (_bfd_link_section_stabs, _bfd_write_section_stabs)
(_bfd_write_stab_strings): Adjust prototypes.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
* bfd-in2.h: Regenerate.

20 years ago * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
Corinna Vinschen [Mon, 28 Jun 2004 11:15:31 +0000 (11:15 +0000)]
* gdb.base/attach.exp: Fix copyright date.  Set testpid to Windows
PID for Cygwin.  Add Cygwin specific strings to check for in some
tests.
(do_attach_tests): Add a test for user interaction when attaching
to a process with no matching symbol table already loaded.

20 years agodaily update
Alan Modra [Mon, 28 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Mon, 28 Jun 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * frame.h (struct frame_id): Change bit field type of stack_addr_p,
Ulrich Weigand [Sun, 27 Jun 2004 22:26:34 +0000 (22:26 +0000)]
* frame.h (struct frame_id): Change bit field type of stack_addr_p,
code_addr_p and special_addr_p to 'unsigned int'.

20 years ago* i386v4-nat.c: Update copyright year and tweak comment.
Mark Kettenis [Sun, 27 Jun 2004 21:52:21 +0000 (21:52 +0000)]
* i386v4-nat.c: Update copyright year and tweak comment.
(regmap): Remove trailing comma.
(supply_gregset): Rename local variable i to regnum.  Call
regcache_raw_supply instead of supply_register.
(fill_gregset): Rename argument regno to regnum.  Call
regcache_raw_collect instead of regcache_collect.

20 years ago * frame.h (struct frame_id): New fields stack_addr_p, code_addr_p
Ulrich Weigand [Sun, 27 Jun 2004 20:45:05 +0000 (20:45 +0000)]
* frame.h (struct frame_id): New fields stack_addr_p, code_addr_p
and special_addr_p.
(frame_id_build, frame_id_build_special): Update comments.
(frame_id_build_wild): New prototype.
* frame.c (frame_id_build, frame_id_build_special): Fill in new
struct frame_id fields.
(frame_id_build_wild): New function.
(frame_id_eq, frame_id_inner): Use new struct frame_id fields.

20 years ago* config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c and
Mark Kettenis [Sun, 27 Jun 2004 20:37:36 +0000 (20:37 +0000)]
* config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c and
hppabsd-tdep.c.

20 years ago * ada-lang.c: Minor reformatting to conform to GNU coding standards.
Joel Brobecker [Sun, 27 Jun 2004 19:28:20 +0000 (19:28 +0000)]
    * ada-lang.c: Minor reformatting to conform to GNU coding standards.

20 years ago * ada-lang.c: Re-indent file.
Joel Brobecker [Sun, 27 Jun 2004 19:06:23 +0000 (19:06 +0000)]
    * ada-lang.c: Re-indent file.

20 years ago * ada-lang.c (symtab_symbol_info): Remove unused declaration.
Joel Brobecker [Sun, 27 Jun 2004 18:55:48 +0000 (18:55 +0000)]
    * ada-lang.c (symtab_symbol_info): Remove unused declaration.
        (no_symtab_msg): Likewise.

20 years ago* source.c: Fix whitespace.
Andreas Schwab [Sun, 27 Jun 2004 18:36:15 +0000 (18:36 +0000)]
* source.c: Fix whitespace.

20 years ago* configure.in: Include <sys/param.h> for td_pcb test.
Mark Kettenis [Sun, 27 Jun 2004 16:41:21 +0000 (16:41 +0000)]
* configure.in: Include <sys/param.h> for td_pcb test.
* configure: Regenerated.

20 years ago* i386nbsd-nat.c: New file.
Mark Kettenis [Sun, 27 Jun 2004 16:22:43 +0000 (16:22 +0000)]
* i386nbsd-nat.c: New file.
* Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c,
i386obsd-nat.c and i386obsd-tdep.c.
(i386nbsd-nat.o): New dependency.
* config/i386/obsd.mh (NATDEPFILES): Add i386nbsd-nat.o and
bsd-kvm.o.
(LOADLIBES): New variable.
* config/i386/nbsdelf.mh (NATDEPFILES): Add i386nbsd-nat.o and
bsd-kvm.o.
(LOADLIBES): New variable.

20 years ago* config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.
Mark Kettenis [Sun, 27 Jun 2004 15:59:25 +0000 (15:59 +0000)]
* config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.

20 years ago* bsd-kvm.c (bsd_kvm_fetch_registers): Directly return after
Mark Kettenis [Sun, 27 Jun 2004 15:56:20 +0000 (15:56 +0000)]
* bsd-kvm.c (bsd_kvm_fetch_registers): Directly return after
fetching from BSD_KVM_PADDR.  Correctly lookup address for
"_thread0".

20 years ago* amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> and
Mark Kettenis [Sun, 27 Jun 2004 15:44:22 +0000 (15:44 +0000)]
* amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> and
"bsd-kvm.h".
(amd64fbsd_supply_pcb): New funcion.
(_initialize_amd64fbsd_nat): Enable libkvm interface.

20 years agoFrom Miod Vallat <miod@online.fr>:
Mark Kettenis [Sun, 27 Jun 2004 15:08:05 +0000 (15:08 +0000)]
From Miod Vallat <miod@online.fr>:
* aoutx.h (NAME(aout,machine_type)): Handle bfd_arch_m88k.

20 years ago2004-06-27 <david@streamline-computing.com>
David Lecomber [Sun, 27 Jun 2004 07:57:15 +0000 (07:57 +0000)]
2004-06-27    <david@streamline-computing.com>

Partial fix for PR cli/1056.
* valarith.c (value_binop): Check for zero in division and
remainder evaluation.

20 years ago2003-07-21 Richard Sandiford <rsandifo@redhat.com>
Alexandre Oliva [Sun, 27 Jun 2004 06:31:22 +0000 (06:31 +0000)]
2003-07-21  Richard Sandiford  <rsandifo@redhat.com>
* disassemble.c (disassembler): Handle bfd_mach_h8300sxn.

20 years ago * callback.c (os_shutdown): Fix bug in last change: actually
Joern Rennecke [Sun, 27 Jun 2004 03:14:51 +0000 (03:14 +0000)]
* callback.c (os_shutdown): Fix bug in last change: actually
mark file descriptors as available on startup.

20 years ago* elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete.
Alexandre Oliva [Sun, 27 Jun 2004 03:02:21 +0000 (03:02 +0000)]
* elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete.
(struct elf32_mn10300_link_hash_entry): Remove
pcrel_relocs_copied.
(mn10300_elf_check_relocs): Only reserve dynamic relocations for
R_MN10300_32.  Don't adjust pcrel_relocs_copied.
(mn10300_elf_final_link_relocate): Fail for direct, pc-relative
and gotoff relocations if the symbol doesn't bind locally.  Use
_bfd_elf_symbol_refs_local_p to test.  Don't create dynamic
relocation for PCREL32.
(mn10300_elf_relocate_section): Use _bfd_elf_symbol_refs_local_p
to test whether a symbol binds locally.
(elf32_mn10300_link_hash_newfunc): Don't initialize
pcrel_relocs_copied.
(_bfd_mn10300_elf_discard_copies): Delete.
(_bfd_mn10300_elf_size_dynamic_sections): Don't call it.

20 years ago2004-06-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 27 Jun 2004 00:41:39 +0000 (00:41 +0000)]
2004-06-26  Andrew Cagney  <cagney@gnu.org>

Test PR java/1567 and PR java/1565.
* gdb.java/jmain.exp, gdb.java/jmain.java: New files.
* gdb.java/jmisc2.exp: Delete file.

20 years agodaily update
Alan Modra [Sun, 27 Jun 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sun, 27 Jun 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* i387-tdep.c: Remove excessive whitespace.
Mark Kettenis [Sat, 26 Jun 2004 23:20:30 +0000 (23:20 +0000)]
* i387-tdep.c: Remove excessive whitespace.

20 years ago2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sat, 26 Jun 2004 22:20:50 +0000 (22:20 +0000)]
2004-06-26  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.

20 years ago2000-08-07 Graham Stott <grahams@cygnus.co.uk>
Alexandre Oliva [Sat, 26 Jun 2004 22:18:18 +0000 (22:18 +0000)]
2000-08-07  Graham Stott  <grahams@cygnus.co.uk>
* am33-2.igen (fmadd, fmsub, fmnadd, fmnsub): Correct typo.
2000-05-29  Alexandre Oliva  <aoliva@cygnus.com>
* interp.c (fpu_disabled_exception, fpu_unimp_exception,
fpu_check_signal_exception): Take additional state arguments.
Print exception type and call program_interrupt.  Adjust callers.
(fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Take additional
arguments.
* mn10300_sim.h (fpu_disabled_exception, fpu_unimp_exception,
fpu_check_signal_exception): Adjust prototypes.
(fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Likewise.
* am33-2.igen: Adjust calls.
2000-05-19  Alexandre Oliva  <aoliva@cygnus.com>
* op_utils.c (cmp2fcc): Moved...
* interp.c: ... here.
2000-05-18  Alexandre Oliva  <aoliva@cygnus.com>
* am33-2.igen: Use `unsigned32', `signed32', `unsigned64' or
`signed64' where type width is relevant.
2000-05-15  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300_sim.h: Include sim-fpu.h.
(FD2FPU, FPU2FD): Enclose the FD argument in parentheses.
(fpu_check_signal_exception): Declare.
(struct fp_prec_t, fp_single_prec, fp_double_prec): Likewise.
(FP_SINGLE, FP_DOUBLE): Shorthands for fp_*_prec.
(fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Declare.
* interp.c (fpu_disabled_exception): Document.
(fpu_unimp_exception): Likewise.
(fpu_check_signal_exception): Define.
(reg2val_32, round_32, val2reg_32, fp_single_prec): Likewise.
(reg2val_64, round_64, val2reg_64, fp_double_prec): Likewise.
(REG2VAL, ROUND, VAL2REG): Define shorthands.
(fpu_status_ok): Define.
(fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Define.
* am33-2.igen (frsqrt, fcmp, fadd, fsub, fmul, fdiv,
fmadd, fmsub, fnmadd, fnmsub): Use new functions.
2000-04-27  Alexandre Oliva  <aoliva@cygnus.com>
* interp.c (sim_create_inferior): Set PSW bit to enable FP insns
if architecture is AM33/2.0.
* am33.igen: Include am33-2.igen.
2000-04-23  Alexandre Oliva  <aoliva@cygnus.com>
* mn10300.igen (movm, call, ret, retf): Check for am33_2 too.
* am33.igen (movm): Likewise.
2000-04-19  Alexandre Oliva  <aoliva@cygnus.com>
* am33.igen: Added `*am33_2' to some instructions that were
missing it.
2000-04-07  Alexandre Oliva  <aoliva@cygnus.com>
* am33-2.igen: New file.  All insns implemented, but FP flags are
only set for fcmp, exceptional conditions are not handled yet.
* Makefile.in (IGEN_INSN): Added am33-2.igen.
(tmp-igen): Added -M am33_2.
* mn10300.igen, am33.igen: Added `*am33_2' to all insns.
* gencode.c: Support FMT_D3.
* mn10300_sim.h (dword): New type.
(struct _state): Added fpregs.
(REG_FPCR, FPCR): New define.  All assorted bitmaps.
(XS2FS, AS2FS, Xf2FD): New macros.
(FS2FPU, FD2FPU, FPU2FS, FPU2FD): Likewise.
(load_dword, store_dword): New functions or macros.
(u642dw, dw2u64): New functions.
(fpu_disabled_exception, fpu_unimp_exception): Declared.
* interp.c (fpu_disabled_exception): Defined; no actual
implementation.
(fpu_unimp_exception): Likewise.
* op_utils.c (cmp2fcc): New function.

20 years ago* interp.c, mn10300_sim.h, op_utils.c: Convert function prototypes
Alexandre Oliva [Sat, 26 Jun 2004 21:53:47 +0000 (21:53 +0000)]
* interp.c, mn10300_sim.h, op_utils.c: Convert function prototypes
and definitions to ISO C.

20 years ago* gencode.c, simops.c: Delete.
Alexandre Oliva [Sat, 26 Jun 2004 21:44:56 +0000 (21:44 +0000)]
* gencode.c, simops.c: Delete.
* Makefile.in: Remove non-COMMON dependencies and commands.

20 years ago2004-06-26 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 26 Jun 2004 20:37:13 +0000 (20:37 +0000)]
2004-06-26  Andrew Cagney  <cagney@gnu.org>

* gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated.
* gdb-events.h, gdb-events.c: Re-generate.
* tui/tui-hooks.c (tui_install_hooks): Update.
(tui_remove_hooks): Update.
* mi/mi-cmd-break.c (mi_cmd_break_insert): Update.

20 years ago* configure.in: Use common simulator always. Don't subst sim_gen
Alexandre Oliva [Sat, 26 Jun 2004 18:45:53 +0000 (18:45 +0000)]
* configure.in: Use common simulator always.  Don't subst sim_gen
nor mn10300_common.
* configure: Rebuilt.
* Makefile.in (WITHOUT_COMMON_OBJS, WITHOUT_COMMON_INTERP_DEP,
WITHOUT_COMMON_RUN_OBJS): Remove.
(WITH_COMMON_OBJS): Rename to MN10300_OBJS.
(WITH_COMMON_INTERP_DEP): Rename to MN10300_INTERP_DEP.
(WITH_COMMON_RUN_OBJS): Rename to SIM_RUN_OBJS.
(SIM_EXTRA_CFLAGS): Don't use @sim_gen@.
* interp.c: Remove non-common bits.
* mn10300_sim.h: Likewise.

20 years agoRemove stray CVS conflict marker.
Mark Kettenis [Sat, 26 Jun 2004 11:49:19 +0000 (11:49 +0000)]
Remove stray CVS conflict marker.

20 years ago* amd64fbsd-nat.c: Don't include <sys/procfs.h> and "gregset.h".
Mark Kettenis [Sat, 26 Jun 2004 11:47:53 +0000 (11:47 +0000)]
* amd64fbsd-nat.c: Don't include <sys/procfs.h> and "gregset.h".
(gregset_t, fpregset_t): Remove typedefs.
(REG_OFFSET): Rename argument.
(amd64bsd_r_reg_offset): Rename from reg_offset.
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset):
Remove functions.
(_initialize_amd64fbsd_nat): Use amd64fbsd64_r_reg_offset instead
of reg_offset.
* Makefile.in (amd64fbsd-nat.o): Update dependencies.

20 years ago* amd64-nat.c (amd64_supply_native_gregset): Fix comment.
Mark Kettenis [Sat, 26 Jun 2004 10:38:50 +0000 (10:38 +0000)]
* amd64-nat.c (amd64_supply_native_gregset): Fix comment.

20 years ago* vax-tdep.c: Tweak comment.
Mark Kettenis [Sat, 26 Jun 2004 10:25:20 +0000 (10:25 +0000)]
* vax-tdep.c: Tweak comment.

20 years agoAdd OpenBSD/hppa support.
Mark Kettenis [Sat, 26 Jun 2004 10:06:35 +0000 (10:06 +0000)]
Add OpenBSD/hppa support.
* NEWS (New native configurations): Mention OpenBSD/hppa.
* hppabsd-nat.c, hppabsd-tdep.c, config/pa/obsd.mh,
config/pa/obsd.mt, config/pa/nm-obsd.h, config/pa/tm-bsd.h: New
files.
* Makefile.in (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
(hppabsd-nat.o, hppabsd-tdep.c): New dependencies.
* configure.host: Add hppa*-*-openbsd*.
* configure.tgt: Add hppa*-*-openbsd*.

20 years ago * ppc-opc.c (BH, XLBH_MASK): Define.
Alan Modra [Sat, 26 Jun 2004 08:32:12 +0000 (08:32 +0000)]
* ppc-opc.c (BH, XLBH_MASK): Define.
(powerpc_opcodes): Allow BH field on bclr, bclrl, bcctr, bcctrl.

20 years ago* config.bfd: Replace m88k-*-openbsd* with m88*-*-openbsd*.
Mark Kettenis [Sat, 26 Jun 2004 07:05:15 +0000 (07:05 +0000)]
* config.bfd: Replace m88k-*-openbsd* with m88*-*-openbsd*.

20 years ago * ld-bootstrap/bootstrap.exp: Handle timestamps in more pe targets.
Alan Modra [Sat, 26 Jun 2004 04:20:14 +0000 (04:20 +0000)]
* ld-bootstrap/bootstrap.exp: Handle timestamps in more pe targets.

20 years ago*** empty log message ***
gdbadmin [Sat, 26 Jun 2004 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sat, 26 Jun 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago2004-06-25 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 25 Jun 2004 19:46:08 +0000 (19:46 +0000)]
2004-06-25  Andrew Cagney  <cagney@gnu.org>

* defs.h (deprecated_ui_loop_hook): Deprecated.
* wince.c (child_wait): Update.
* win32-nat.c (child_wait): Update.
* v850ice.c (v850ice_wait): Update.
* top.c (deprecated_ui_loop_hook): Update.
* serial.h: Update.
* ser-unix.c (do_hardwire_readchar, do_hardwire_readchar)
(do_unix_readchar): Update.
* ser-tcp.c (net_open): Update.
* remote-sim.c (gdb_os_poll_quit): Update.
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Update.

20 years ago2004-06-25 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 25 Jun 2004 18:35:18 +0000 (18:35 +0000)]
2004-06-25  Chris Demetriou  <cgd@broadcom.com>

        * configure.in (sim_m16_machine): Include mipsIII.
        * configure: Regenerate.

20 years ago * som.c (som_set_reloc_info): Correct small typo.
Joel Brobecker [Fri, 25 Jun 2004 18:30:54 +0000 (18:30 +0000)]
    * som.c (som_set_reloc_info): Correct small typo.

20 years ago2004-06-25 J"orn Rennecke <joern.rennecke@superh.com>
Joern Rennecke [Fri, 25 Jun 2004 16:48:03 +0000 (16:48 +0000)]
2004-06-25  J"orn Rennecke <joern.rennecke@superh.com>

include/gdb:
* callback.h (host_callback_struct): Replace members fdopen and
        alwaysopen with fd_buddy.
sim/common:
* callback.c: Changed all users.

20 years agomention remgenerated files
Nick Clifton [Fri, 25 Jun 2004 16:21:24 +0000 (16:21 +0000)]
mention remgenerated files

20 years agoAdd support for M32R GOT relocs
Nick Clifton [Fri, 25 Jun 2004 16:11:09 +0000 (16:11 +0000)]
Add support for M32R GOT relocs

20 years ago * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
Corinna Vinschen [Fri, 25 Jun 2004 13:52:20 +0000 (13:52 +0000)]
* gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
attach process.

20 years ago*** empty log message ***
gdbadmin [Fri, 25 Jun 2004 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Fri, 25 Jun 2004 00:00:08 +0000 (00:00 +0000)]
daily update

20 years ago2004-06-24 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 24 Jun 2004 22:09:34 +0000 (22:09 +0000)]
2004-06-24  Andrew Cagney  <cagney@gnu.org>

* defs.h (deprecated_pre_add_symbol_hook)
(deprecated_post_add_symbol_hook): Deprecated.
* symfile.c (symbol_file_add_with_addrs_or_offsets)
(symbol_file_add_with_addrs_or_offsets): Update references.

20 years ago2004-06-24 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 24 Jun 2004 21:51:49 +0000 (21:51 +0000)]
2004-06-24  Andrew Cagney  <cagney@gnu.org>

* defs.h (post_add_symbol_hook, pre_add_symbol_hook)
(ui_loop_hook, selected_frame_level_changed_hook): Declare.
* wince.c (ui_loop_hook): Delete extern declaration.
* win32-nat.c (ui_loop_hook): Delete extern declaration..
* v850ice.c (ui_loop_hook): Delete extern declaration..
* ser-unix.c (ui_loop_hook): Delete extern declaration..
* ser-tcp.c (ui_loop_hook): Delete extern declaration..
* remote-sim.c (ui_loop_hook): Delete extern declaration..
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Delete extern.
ui_loop_hook declaration.

20 years ago2004-06-17 Alexandre Oliva <aoliva@redhat.com>
Alexandre Oliva [Thu, 24 Jun 2004 21:08:11 +0000 (21:08 +0000)]
2004-06-17  Alexandre Oliva  <aoliva@redhat.com>
* band.s, biand.s: imm3_abs16 is not available on h8300h.
* bset.s: Likewise.  Ditto for rn_abs32.

20 years ago2004-06-24 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 24 Jun 2004 20:42:42 +0000 (20:42 +0000)]
2004-06-24  Andrew Cagney  <cagney@gnu.org>

* objfiles.h (struct entry_info): Delete entry_func_lowpc and
entry_func_highpc fields.
* objfiles.c (init_entry_point_info): Do not clear
entry_func_lowpc and entry_func_highpc.
(objfile_relocate): Do not relocate entry_func_lowpc and
entry_func_highpc.
* dwarfread.c (read_func_scope): Do not set entry_func_lowpc and
entry_func_highpc.
* dwarf2read.c (read_func_scope): Do not set entry_func_lowpc and
entry_func_highpc.
* blockframe.c (legacy_frame_chain_valid): Replace tests against
entry_func_lowpc and entry_func_highpc with call to
inside_entry_func.

20 years ago* sparc64-tdep.c (sparc64_store_arguments): Fix passing
Mark Kettenis [Thu, 24 Jun 2004 19:36:41 +0000 (19:36 +0000)]
* sparc64-tdep.c (sparc64_store_arguments): Fix passing
quad-precision floating point arguments in registers.

20 years agoFrom Michael Mueller <m.mueller99@kay-mueller.de>:
Mark Kettenis [Thu, 24 Jun 2004 19:32:37 +0000 (19:32 +0000)]
From Michael Mueller <m.mueller99@kay-mueller.de>:
* sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into
account.

20 years ago2004-06-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 24 Jun 2004 15:07:43 +0000 (15:07 +0000)]
2004-06-24  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elfvers/vers.exp: Use PIC for shared libraries by default.

20 years ago2004-06-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 24 Jun 2004 15:07:02 +0000 (15:07 +0000)]
2004-06-24  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf64_x86_64_check_relocs): Warn overflow
relocation symbol.
(elf64_x86_64_relocate_section): Issue an error for
R_X86_64_PC8, R_X86_64_PC16 and R_X86_64_PC32 relocations
against global symbols when building shared library.

20 years ago * readelf.c (get_segment_type): Display "GNU_STACK", not just
Ben Elliston [Thu, 24 Jun 2004 06:25:35 +0000 (06:25 +0000)]
* readelf.c (get_segment_type): Display "GNU_STACK", not just
"STACK", when a PT_GNU_STACK segment is encountered.

20 years agobfd/
Alan Modra [Thu, 24 Jun 2004 04:46:28 +0000 (04:46 +0000)]
bfd/
* section.c (struct sec): Rename "_cooked_size" to "size".
Rename "_raw_size" to "rawsize".
(STD_SECTION): Adjust comments.
(bfd_set_section_size, bfd_get_section_contents): Use size.
(bfd_malloc_and_get_section): New function.
* bfd-in.h (bfd_section_size, bfd_get_section_size): Use size.
* coff-sh.c (sh_relax_section): Alloc coff_section_data struct early.
Correctly free reloc and contents memory.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Delete FIXME
and fake CIE now that we can shink section size to zero.
(_bfd_elf_write_section_eh_frame): Likewise..
* elf32-ppc.c (ppc_elf_relax_section): Delay reading section contents.
* elf-m10300.c (mn10300_elf_final_link_relocate): Don't use
_bfd_stab_section_offset.  Use _bfd_elf_section_offset.
* stabs.c (_bfd_stab_section_offset_): Remove unused args and
unneeded indirection.
* elf.c (_bfd_elf_section_offset): .. and update call.
* libbfd-in.h (_bfd_stab_section_offset): Update prototype.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.

Replace occurrences of "_raw_size" and "_cooked_size" in most places
with "size".  Set new "rawsize" for stabs, eh_frame, and SEC_MERGE
sections.  Use "rawsize", if non-zero, for bfd_get_section_contents
calls if the section might be a stabs, eh_frame, or SEC_MERGE section.
Similarly use "rawsize", if non-zero, in reloc functions to validate
reloc addresses.  Use new bfd_malloc_and_get_section in most places
where bfd_get_section_contents was called.  Expand all occurrences of
bfd_section_size and bfd_get_section_size.  Rename "raw_size" var in
grok_prstatus and similar functions to "size".
* aix386-core.c (aix386_core_file_p): ..
* aix5ppc-core.c (xcoff64_core_p): ..
* aout-adobe.c (aout_adobe_callback, aout_adobe_write_object_contents,
aout_adobe_set_section_contents): ..
* aout-target.h (callback): ..
* aout-tic30.c (tic30_aout_callback, tic30_aout_final_link_relocate,
MY_bfd_final_link): ..
* aoutf1.h (sunos4_core_file_p): ..
* aoutx.h (some_aout_object_p, adjust_o_magic, adjust_z_magic,
adjust_n_magic, adjust_sizes_and_vmas, translate_from_native_sym_flags,
final_link, aout_link_input_section): ..
* binary.c (binary_object_p, binary_canonicalize_symtab,
binary_set_section_contents): ..
* bout.c (b_out_callback, b_out_write_object_contents,
b_out_set_section_contents, b_out_bfd_relax_section,
b_out_bfd_get_relocated_section_contents): ..
* cisco-core.c (cisco_core_file_validate): ..
* coff-alpha.c (alpha_ecoff_object_p,
alpha_ecoff_get_relocated_section_conten, alpha_relocate_section): ..
* coff-arm.c (coff_arm_relocate_section,
bfd_arm_allocate_interworking_sections): ..
* coff-h8300.c (h8300_reloc16_extra_cases,
h8300_bfd_link_add_symbols): ..
* coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): ..
* coff-ppc.c (coff_ppc_relocate_section, ppc_allocate_toc_section,
ppc_bfd_coff_final_link): ..
* coff-rs6000.c (xcoff_reloc_type_br, xcoff_ppc_relocate_section): ..
* coff-sh.c (sh_relax_section, sh_relax_delete_bytes,
sh_align_loads, sh_coff_get_relocated_section_contents): ..
* coff64-rs6000.c (xcoff64_write_object_contents,
xcoff64_reloc_type_br, xcoff64_ppc_relocate_section): ..
* coffcode.h (coff_compute_section_file_positions,
coff_write_object_contents): ..
* coffgen.c (make_a_section_from_file, coff_write_symbols,
coff_section_symbol, build_debug_section): ..
* cofflink.c (coff_link_add_symbols, _bfd_coff_final_link,
process_embedded_commands, _bfd_coff_link_input_bfd,
_bfd_coff_write_global_sym): ..
* cpu-arm.c (bfd_arm_update_notes, bfd_arm_get_mach_from_notes): ..
* cpu-ns32k.c (do_ns32k_reloc, _bfd_ns32k_final_link_relocate): ..
* dwarf1.c (parse_line_table, _bfd_dwarf1_find_nearest_line): ..
* dwarf2.c (read_indirect_string, read_abbrevs, decode_line_info,
_bfd_dwarf2_find_nearest_line): ..
* ecoff.c (bfd_debug_section, ecoff_set_symbol_info,
ecoff_compute_section_file_positions,
_bfd_ecoff_write_object_contents, ecoff_indirect_link_order): ..
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame,
_bfd_elf_discard_section_eh_frame_hdr,
_bfd_elf_maybe_strip_eh_frame_hdr, _bfd_elf_eh_frame_section_offset,
_bfd_elf_write_section_eh_frame,
_bfd_elf_write_section_eh_frame_hdr): ..
* elf-hppa.h (elf_hppa_sort_unwind): ..
* elf-m10200.c (mn10200_elf_relax_section,
mn10200_elf_relax_delete_bytes,
mn10200_elf_get_relocated_section_contents): ..
* elf-m10300.c (_bfd_mn10300_elf_create_got_section,
mn10300_elf_check_relocs, mn10300_elf_relax_section,
mn10300_elf_relax_delete_bytes,
mn10300_elf_get_relocated_section_contents,
_bfd_mn10300_elf_adjust_dynamic_symbol,
_bfd_mn10300_elf_discard_copies,
_bfd_mn10300_elf_size_dynamic_sections,
_bfd_mn10300_elf_finish_dynamic_sections): ..
* elf.c (_bfd_elf_print_private_bfd_data, bfd_elf_get_bfd_needed_list,
_bfd_elf_make_section_from_phdr, elf_fake_sections,
bfd_elf_set_group_contents, map_sections_to_segments,
elf_sort_sections, assign_file_positions_for_segments,
SECTION_SIZE, copy_private_bfd_data,
_bfd_elf_get_dynamic_reloc_upper_bound,
_bfd_elf_canonicalize_dynamic_reloc, elfcore_maybe_make_sect,
_bfd_elfcore_make_pseudosection, elfcore_grok_prstatus,
elfcore_grok_lwpstatus, elfcore_grok_win32pstatus,
elfcore_grok_note, elfcore_grok_nto_status, elfcore_grok_nto_gregs,
_bfd_elf_rel_local_sym, _bfd_elf_get_synthetic_symtab): ..
* elf32-arm.h (bfd_elf32_arm_allocate_interworking_sect,
bfd_elf32_arm_process_before_allocation,
elf32_arm_adjust_dynamic_symbol, allocate_dynrelocs,
elf32_arm_size_dynamic_sections, elf32_arm_finish_dynamic_sections,
elf32_arm_write_section): ..
* elf32-cris.c (cris_elf_grok_prstatus,
elf_cris_finish_dynamic_sections, cris_elf_gc_sweep_hook,
elf_cris_adjust_gotplt_to_got, elf_cris_adjust_dynamic_symbol,
cris_elf_check_relocs, elf_cris_size_dynamic_sections,
elf_cris_discard_excess_dso_dynamics,
elf_cris_discard_excess_program_dynamics): ..
* elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): ..
* elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): ..
* elf32-frv.c (_frvfdpic_add_dyn_reloc, _frvfdpic_add_rofixup,
_frv_create_got_section, _frvfdpic_assign_plt_entries,
elf32_frvfdpic_size_dynamic_sections,
elf32_frvfdpic_modify_segment_map,
elf32_frvfdpic_finish_dynamic_sections): ..
* elf32-h8300.c (elf32_h8_relax_section, elf32_h8_relax_delete_bytes,
elf32_h8_get_relocated_section_contents): ..
* elf32-hppa.c (hppa_build_one_stub, hppa_size_one_stub,
elf32_hppa_adjust_dynamic_symbol, allocate_plt_static,
allocate_dynrelocs, elf32_hppa_size_dynamic_sections, group_sections,
elf32_hppa_size_stubs, elf32_hppa_set_gp, elf32_hppa_build_stubs,
elf32_hppa_finish_dynamic_sections): ..
* elf32-i370.c (i370_elf_adjust_dynamic_symbol,
i370_elf_size_dynamic_sections, i370_elf_check_relocs,
i370_elf_finish_dynamic_sections): ..
* elf32-i386.c (elf_i386_grok_prstatus, elf_i386_adjust_dynamic_symbol,
allocate_dynrelocs, elf_i386_size_dynamic_sections,
elf_i386_relocate_section, elf_i386_finish_dynamic_sections): ..
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc,
i860_howto_highadj_reloc, i860_howto_splitn_reloc): ..
* elf32-ip2k.c (ip2k_is_switch_table_128,
ip2k_relax_switch_table_128, ip2k_is_switch_table_256,
ip2k_relax_switch_table_256, ip2k_elf_relax_section,
adjust_all_relocations, ip2k_elf_relax_delete_bytes): ..
* elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc,
m32r_elf_generic_reloc, m32r_elf_adjust_dynamic_symbol,
allocate_dynrelocs, m32r_elf_size_dynamic_sections,
m32r_elf_relocate_section, m32r_elf_finish_dynamic_sections,
m32r_elf_relax_section, m32r_elf_relax_delete_bytes,
m32r_elf_get_relocated_section_contents): ..
* elf32-m68hc11.c (m68hc11_elf_build_one_stub,
m68hc11_elf_size_one_stub, m68hc11_elf_relax_section,
m68hc11_elf_relax_delete_bytes): ..
* elf32-m68hc12.c (m68hc12_elf_build_one_stub,
m68hc12_elf_size_one_stub): ..
* elf32-m68hc1x.c (elf32_m68hc11_size_stubs,
elf32_m68hc11_build_stubs, m68hc11_elf_special_reloc): ..
* elf32-m68k.c (elf_m68k_check_relocs, elf_m68k_gc_sweep_hook,
elf_m68k_adjust_dynamic_symbol, elf_m68k_size_dynamic_sections,
elf_m68k_discard_copies, elf_m68k_finish_dynamic_sections): ..
* elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc,
elf32_mips_grok_prstatus): ..
* elf32-or32.c (or32_elf_consth_reloc): ..
* elf32-ppc.c (ppc_elf_relax_section, ppc_elf_addr16_ha_reloc,
elf_create_pointer_linker_section, ppc_elf_create_linker_section,
ppc_elf_additional_program_headers, ppc_elf_adjust_dynamic_symbol,
allocate_dynrelocs, ppc_elf_size_dynamic_sections,
ppc_elf_finish_dynamic_sections, ppc_elf_grok_prstatus,
ppc_elf_final_write_processing): ..
* elf32-s390.c (s390_elf_ldisp_reloc, elf_s390_adjust_dynamic_symbol,
allocate_dynrelocs, elf_s390_size_dynamic_sections,
elf_s390_finish_dynamic_sections, elf_s390_grok_prstatus): ..
* elf32-sh.c (sh_elf_reloc_loop, sh_elf_relax_section,
sh_elf_relax_delete_bytes, sh_elf_align_loads,
sh_elf_adjust_dynamic_symbol, allocate_dynrelocs,
sh_elf_size_dynamic_sections, sh_elf_get_relocated_section_contents,
sh_elf_finish_dynamic_sections, elf32_shlin_grok_prstatus): ..
* elf32-sh64-com.c (sh64_address_in_cranges,
sh64_get_contents_type): ..
* elf32-sh64.c (sh64_find_section_for_address,
sh64_elf_final_write_processing): ..
* elf32-sparc.c (sparc_elf_wdisp16_reloc, sparc_elf_hix22_reloc,
sparc_elf_lox10_reloc, elf32_sparc_adjust_dynamic_symbol,
allocate_dynrelocs, elf32_sparc_size_dynamic_sections,
elf32_sparc_relocate_section, elf32_sparc_finish_dynamic_sections): ..
* elf32-v850.c (v850_elf_reloc, v850_elf_relax_section): ..
* elf32-vax.c (elf_vax_check_relocs, elf_vax_adjust_dynamic_symbol,
elf_vax_size_dynamic_sections, elf_vax_discard_copies,
elf_vax_instantiate_got_entries, elf_vax_relocate_section,
elf_vax_finish_dynamic_sections): ..
* elf32-xstormy16.c (xstormy16_elf_24_reloc,
xstormy16_elf_check_relocs, xstormy16_relax_plt_check,
xstormy16_elf_relax_section, xstormy16_elf_always_size_sections,
xstormy16_elf_finish_dynamic_sections): ..
* elf32-xtensa.c (xtensa_read_table_entries,
elf_xtensa_allocate_got_size, elf_xtensa_allocate_local_got_size,
elf_xtensa_size_dynamic_sections, elf_xtensa_do_reloc,
bfd_elf_xtensa_reloc, elf_xtensa_relocate_section,
elf_xtensa_combine_prop_entries, elf_xtensa_finish_dynamic_sections,
elf_xtensa_discard_info_for_section, elf_xtensa_grok_prstatus,
get_relocation_opcode, retrieve_contents, find_relaxable_sections,
collect_source_relocs, is_resolvable_asm_expansion, remove_literals,
relax_section, shrink_dynamic_reloc_sections, relax_property_section,
xtensa_callback_required_dependence): ..
* elf64-alpha.c (elf64_alpha_reloc_gpdisp, elf64_alpha_relax_section,
elf64_alpha_check_relocs, elf64_alpha_adjust_dynamic_symbol,
elf64_alpha_calc_got_offsets_for_symbol, elf64_alpha_calc_got_offsets,
elf64_alpha_size_plt_section, elf64_alpha_size_plt_section_1,
elf64_alpha_always_size_sections, elf64_alpha_calc_dynrel_sizes,
elf64_alpha_size_rela_got_section, elf64_alpha_size_rela_got_1,
elf64_alpha_size_dynamic_sections, elf64_alpha_emit_dynrel,
elf64_alpha_finish_dynamic_sections, elf64_alpha_final_link): ..
* elf64-hppa.c (allocate_dynrel_entries,
elf64_hppa_size_dynamic_sections,
elf64_hppa_finish_dynamic_sections): ..
* elf64-mips.c (mips_elf64_gprel32_reloc, mips16_gprel_reloc,
mips_elf64_canonicalize_dynamic_reloc, mips_elf64_slurp_reloc_table,
elf64_mips_grok_prstatus): ..
* elf64-mmix.c (mmix_elf_perform_relocation, mmix_elf_reloc,
mmix_elf_relocate_section, mmix_elf_final_link,
mmix_set_relaxable_size, _bfd_mmix_after_linker_allocation,
mmix_elf_relax_section, mmix_elf_get_section_contents): ..
* elf64-ppc.c (ppc64_elf_object_p, ppc64_elf_grok_prstatus,
ppc64_elf_check_relocs, ppc64_elf_func_desc_adjust,
ppc64_elf_adjust_dynamic_symbol, ppc64_elf_edit_opd,
allocate_dynrelocs, ppc64_elf_size_dynamic_sections,
ppc_build_one_stub, ppc_size_one_stub, ppc64_elf_next_toc_section,
toc_adjusting_stub_needed, group_sections, ppc64_elf_size_stubs,
ppc64_elf_build_stubs, ppc64_elf_relocate_section,
ppc64_elf_finish_dynamic_sections): ..
* elf64-s390.c (s390_elf_ldisp_reloc, elf_s390_adjust_dynamic_symbol,
allocate_dynrelocs, elf_s390_size_dynamic_sections,
elf_s390_finish_dynamic_sections): ..
* elf64-sh64.c (sh_elf64_get_relocated_section_contents,
sh_elf64_check_relocs, sh64_elf64_adjust_dynamic_symbol,
sh64_elf64_discard_copies, sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_sections): ..
* elf64-sparc.c (sparc64_elf_slurp_reloc_table, init_insn_reloc,
sparc64_elf_check_relocs, sparc64_elf_adjust_dynamic_symbol,
sparc64_elf_size_dynamic_sections, sparc64_elf_relocate_section,
sparc64_elf_finish_dynamic_symbol,
sparc64_elf_finish_dynamic_sections): ..
* elf64-x86-64.c (elf64_x86_64_grok_prstatus,
elf64_x86_64_adjust_dynamic_symbol, allocate_dynrelocs,
elf64_x86_64_size_dynamic_sections, elf64_x86_64_relocate_section,
elf64_x86_64_finish_dynamic_sections): ..
* elfarm-nabi.c (elf32_arm_nabi_grok_prstatus): ..
* elfcode.h (elf_slurp_reloc_table): ..
* elflink.c (_bfd_elf_create_got_section, elf_add_dt_needed_tag,
elf_finalize_dynstr, elf_link_add_object_symbols,
bfd_elf_size_dynamic_sections, elf_link_sort_relocs,
elf_link_input_bfd, bfd_elf_final_link, bfd_elf_discard_info): ..
* elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc,
elf32_mips_grok_prstatus): ..
* elfxx-ia64.c (elfNN_ia64_relax_section, allocate_dynrel_entries,
elfNN_ia64_size_dynamic_sections, elfNN_ia64_install_dyn_reloc,
elfNN_ia64_choose_gp, elfNN_ia64_final_link,
elfNN_ia64_finish_dynamic_sections): ..
* elfxx-mips.c (mips_elf_create_procedure_table,
mips_elf_check_mips16_stubs, _bfd_mips_elf_gprel16_with_gp,
_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_generic_reloc,
mips_elf_global_got_index, mips_elf_multi_got,
mips_elf_create_compact_rel_section, mips_elf_calculate_relocation,
mips_elf_allocate_dynamic_relocations,
mips_elf_create_dynamic_relocation, _bfd_mips_elf_fake_sections,
_bfd_mips_relax_section, _bfd_mips_elf_adjust_dynamic_symbol,
_bfd_mips_elf_always_size_sections,
_bfd_mips_elf_size_dynamic_sections,
_bfd_mips_elf_finish_dynamic_symbol,
_bfd_mips_elf_finish_dynamic_sections,
_bfd_mips_elf_modify_segment_map, _bfd_mips_elf_discard_info,
_bfd_mips_elf_write_section, _bfd_mips_elf_set_section_contents,
_bfd_elf_mips_get_relocated_section_contents,
_bfd_mips_elf_final_link, _bfd_mips_elf_merge_private_bfd_data): ..
* hp300hpux.c (callback): ..
* hppabsd-core.c (make_bfd_asection): ..
* hpux-core.c (make_bfd_asection): ..
* i386linux.c (linux_link_create_dynamic_sections,
bfd_i386linux_size_dynamic_sections, linux_finish_dynamic_link): ..
* i386msdos.c (msdos_write_object_contents): ..
* i386os9k.c (os9k_callback, os9k_write_object_contents,
os9k_set_section_contents): ..
* ieee.c (parse_expression, ieee_slurp_external_symbols,
ieee_slurp_sections, ieee_slurp_debug, ieee_slurp_section_data,
ieee_write_section_part, do_with_relocs, do_as_repeat,
do_without_relocs, ieee_write_debug_part, init_for_output,
ieee_set_section_contents): ..
* ihex.c (ihex_scan, ihex_read_section, ihex_get_section_contents): ..
* irix-core.c (do_sections, make_bfd_asection): ..
* libaout.h (aout_section_merge_with_text_p): ..
* libbfd.c (_bfd_generic_get_section_contents,
_bfd_generic_get_section_contents_in_window): ..
* linker.c (default_indirect_link_order): ..
* lynx-core.c (make_bfd_asection): ..
* m68klinux.c (linux_link_create_dynamic_sections,
bfd_m68klinux_size_dynamic_sections, linux_finish_dynamic_link): ..
* mach-o.c (bfd_mach_o_make_bfd_section,
bfd_mach_o_scan_read_dylinker, bfd_mach_o_scan_read_dylib,
bfd_mach_o_scan_read_thread, bfd_mach_o_scan_read_symtab,
bfd_mach_o_scan_read_segment): ..
* merge.c (_bfd_add_merge_section, record_section, merge_strings,
_bfd_merge_sections): ..
* mmo.c (mmo_find_sec_w_addr, mmo_get_spec_section, mmo_get_loc,
mmo_map_set_sizes, mmo_canonicalize_symtab,
mmo_internal_write_section, mmo_write_object_contents): ..
* netbsd-core.c (netbsd_core_file_p): ..
* nlm32-alpha.c (nlm_alpha_read_reloc, nlm_alpha_write_import,
nlm_alpha_set_public_section): ..
* nlm32-ppc.c (nlm_powerpc_read_reloc, nlm_powerpc_write_reloc): ..
* nlm32-sparc.c (nlm_sparc_write_import): ..
* nlmcode.h (add_bfd_section, nlm_swap_auxiliary_headers_in,
nlm_compute_section_file_positions): ..
* oasys.c (oasys_object_p, oasys_slurp_section_data,
oasys_write_sections, oasys_write_data, oasys_set_section_contents): ..
* opncls.c (get_debug_link_info): ..
* osf-core.c (make_bfd_asection): ..
* pdp11.c (some_aout_object_p, adjust_o_magic, adjust_z_magic,
adjust_n_magic, adjust_sizes_and_vmas, squirt_out_relocs,
final_link, aout_link_input_section): ..
* peXXigen.c (_bfd_XXi_swap_sym_in, _bfd_XXi_swap_aouthdr_out,
pe_print_idata, pe_print_edata, pe_print_pdata, pe_print_reloc): ..
* pef.c (bfd_pef_make_bfd_section, bfd_pef_print_loader_section,
bfd_pef_scan_start_address, bfd_pef_parse_symbols): ..
* ppcboot.c (ppcboot_object_p, ppcboot_canonicalize_symtab): ..
* ptrace-core.c (ptrace_unix_core_file_p): ..
* reloc.c (bfd_perform_relocation, bfd_install_relocation,
_bfd_final_link_relocate, bfd_generic_relax_section,
bfd_generic_get_relocated_section_contents): ..
* reloc16.c (bfd_coff_reloc16_relax_section,
bfd_coff_reloc16_get_relocated_section_c): ..
* riscix.c (riscix_some_aout_object_p): ..
* rs6000-core.c (read_hdr, make_bfd_asection): ..
* sco5-core.c (make_bfd_asection): ..
* simple.c (bfd_simple_get_relocated_section_contents): ..
* som.c (som_object_setup, setup_sections, som_prep_headers,
som_write_fixups, som_begin_writing, bfd_section_from_som_symbol,
som_set_reloc_info, som_get_section_contents,
som_bfd_link_split_section): ..
* sparclinux.c (linux_link_create_dynamic_sections,
bfd_sparclinux_size_dynamic_sections, linux_finish_dynamic_link): ..
* srec.c (srec_scan, srec_read_section, srec_get_section_contents): ..
* stabs.c (_bfd_link_section_stabs, _bfd_discard_section_stabs,
_bfd_write_stab_strings, _bfd_stab_section_offset): ..
* sunos.c (sunos_read_dynamic_info, sunos_create_dynamic_sections,
bfd_sunos_size_dynamic_sections, sunos_scan_std_relocs,
sunos_scan_ext_relocs, sunos_scan_dynamic_symbol,
sunos_write_dynamic_symbol, sunos_check_dynamic_reloc,
sunos_finish_dynamic_link): ..
* syms.c (_bfd_stab_section_find_nearest_line): ..
* tekhex.c (first_phase, tekhex_set_section_contents,
tekhex_write_object_contents): ..
* trad-core.c (trad_unix_core_file_p): ..
* versados.c (process_esd, process_otr, process_otr): ..
* vms-gsd.c (_bfd_vms_slurp_gsd, _bfd_vms_write_gsd): ..
* vms-misc.c (add_new_contents): ..
* vms-tir.c (check_section, new_section, _bfd_vms_write_tir): ..
* vms.c (vms_set_section_contents): ..
* xcofflink.c (xcoff_get_section_contents, xcoff_link_add_symbols,
xcoff_sweep, bfd_xcoff_size_dynamic_sections, xcoff_build_ldsyms,
_bfd_xcoff_bfd_final_link, xcoff_link_input_bfd): ..
* xsym.c (bfd_sym_scan): .. See above.

binutils/
* objcopy.c (copy_section): Don't set _cooked_size.

include/
* bfdlink.h (struct bfd_link_order): Update comment.

ld/
* ldlang.c (print_output_section_statement): Don't print size before
relaxation.
(IGNORE_SECTION): Remove bfd arg.  Update all callers.

* ldexp.c (fold_name): .. See below.
* ldlang.c (section_already_linked, print_output_section_statement,
print_input_section, insert_pad, size_input_section,
lang_check_section_addresses, lang_size_sections_1,
lang_size_sections, lang_do_assignments_1, lang_set_startof,
lang_one_common, lang_reset_memory_regions, lang_process,
lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
* ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
* pe-dll.c (process_def_file, generate_reloc): ..
* emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
gld${EMULATION_NAME}_before_allocation): ..
* emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
sh64_elf_${EMULATION_NAME}_after_allocation): ..
* emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
* emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
"size" instead of "_raw_size" and "_cooked_size".  Expand
bfd_section_size macro invocations.

20 years agodaily update
Alan Modra [Thu, 24 Jun 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Thu, 24 Jun 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Wed, 23 Jun 2004 18:36:51 +0000 (18:36 +0000)]
2004-06-23  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/pr-1553.exp: Remove.

20 years agoFix file name.
Andreas Schwab [Wed, 23 Jun 2004 15:44:43 +0000 (15:44 +0000)]
Fix file name.

20 years agoinclude/opcode/
Alan Modra [Wed, 23 Jun 2004 15:06:58 +0000 (15:06 +0000)]
include/opcode/
* i386.h (i386_optab): Remove fildd, fistpd and fisttpd.

opcodes/
* i386-dis.c (x_mode): Comment.
(two_source_ops): File scope.
(float_mem): Correct fisttpll and fistpll.
(float_mem_mode): New table.
(dofloat): Use it.
(OP_E): Correct intel mode PTR output.
(ptr_reg): Use open_char and close_char.
(PNI_Fixup): Handle possible suffix on sidt.  Use op1out etc. for
operands.  Set two_source_ops.

gas/testsuite/
* gas/i386/prescott.s: Remove fisttpd and fisttpq.
* gas/i386/prescott.d: Update.

20 years ago2004-06-22 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 23 Jun 2004 09:36:02 +0000 (09:36 +0000)]
2004-06-22  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (HOST_EXPORTS): Fix pasto.
* Makefile.in: Regenerate.