OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago * iq2000: New target subdirectory.
Corinna Vinschen [Tue, 8 Mar 2005 08:55:34 +0000 (08:55 +0000)]
* iq2000: New target subdirectory.
* configure.ac: Add iq2000 target.
* configure: Regenerate.

19 years ago * doc/observer.texi (executable_changed): New observer.
Joel Brobecker [Tue, 8 Mar 2005 04:34:45 +0000 (04:34 +0000)]
    * doc/observer.texi (executable_changed): New observer.
        * symtab.c: Include "observer.h".
        (find_main_name): New function.
        (main_name): If name_of_main is unset, then compute it
        using find_main_name.
        (symtab_observer_executable_changed): New function.
        (_initialize_symtab): Attach executable_changed observer.
        * exec.c: Include "observer.h".
        (exec_file_attach): Emit executable_changed notification.
        * symfile.c: Include "observer.h".
        (reread_symbols): Send an executable_changed if appropriate.
        * Makefile.in (exec.o): Add dependency on observer.h.
        (symfile.o): Likewise.
        (symtab.o): Likewise.

19 years ago*** empty log message ***
gdbadmin [Tue, 8 Mar 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agomerge from gcc
DJ Delorie [Mon, 7 Mar 2005 23:20:07 +0000 (23:20 +0000)]
merge from gcc

19 years agodaily update
Alan Modra [Mon, 7 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * findvar.c (read_var_value): Don't allocate V when it will not
Daniel Jacobowitz [Mon, 7 Mar 2005 22:38:04 +0000 (22:38 +0000)]
* findvar.c (read_var_value): Don't allocate V when it will not
be used.  Add missing break for LOC_INDIRECT.

19 years ago2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
Manoj Iyer [Mon, 7 Mar 2005 21:37:25 +0000 (21:37 +0000)]
2005-03-07  Manoj Iyer  <manjo@austin.ibm.com>

* gdb.base/command.exp: Change hardcoded value to regular expression.
* gdb.base/float.exp: Add powerpc to the list of targets checked.

19 years ago * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
Daniel Jacobowitz [Mon, 7 Mar 2005 21:16:50 +0000 (21:16 +0000)]
* gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
gdb.asm/x86_64.inc: Use .purgem before redefining macros.

19 years ago * mpw-config.in: Remove.
Ian Lance Taylor [Mon, 7 Mar 2005 21:12:04 +0000 (21:12 +0000)]
* mpw-config.in: Remove.
* mpw-make.sed: Remove.
* mpw.c: Remove.
* Makefile.in (CFILES): Remove pex-mpw.c.
(CONFIGURED_OFILES): Remove pex-mpw.o.
(mpw.o, pex-mpw.o): Remove targets.
* maint-tool (undoc): Remove reference to mpw.c.

19 years ago * ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd.
Aldy Hernandez [Mon, 7 Mar 2005 20:05:44 +0000 (20:05 +0000)]
* ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd.

19 years agofix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub',
Paul Gilliam [Mon, 7 Mar 2005 18:57:57 +0000 (18:57 +0000)]
fix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub',
but for get_compiler_info, line must start with 'set'.

19 years ago2005-03-07 Jerome Guitton <guitton@gnat.com>
Jerome Guitton [Mon, 7 Mar 2005 11:09:05 +0000 (11:09 +0000)]
2005-03-07  Jerome Guitton  <guitton@gnat.com>

* sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
strings.
(clear_accex): Ditto.
* sim/erc32/interf.c: Remove the redeclaration of fprintf.
* sim/erc32/sis.c: Ditto.
* sim/erc32/exec.c: Add missing semicolon.
* sim/erc32/func.c: Remove definitions of generic_print_address,
generic_symbol_at_address, buffer_read_memory and perror_memory, as
they are already defined in opcodes/dis-buf.c.

19 years ago * opncls.c (opncls_bread, opncls_bclose): Fix if pread resp.
Jakub Jelinek [Mon, 7 Mar 2005 10:32:38 +0000 (10:32 +0000)]
* opncls.c (opncls_bread, opncls_bclose): Fix if pread resp.
close is a function like macro in system headers.

19 years ago PR ld/778
Alan Modra [Mon, 7 Mar 2005 06:01:17 +0000 (06:01 +0000)]
PR ld/778
* elf32-hppa.c (elf32_hppa_create_dynamic_sections): Reinstate
_GLOBAL_OFFSET_TABLE_ as a normal dynamic symbol.

19 years ago*** empty log message ***
gdbadmin [Mon, 7 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 6 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* sparc64fbsd-tdep.c: Include "solib-svr4.h".
Mark Kettenis [Sun, 6 Mar 2005 21:29:10 +0000 (21:29 +0000)]
* sparc64fbsd-tdep.c: Include "solib-svr4.h".
(sparc64fbsd_init_abi): Set skip_trampoline_code and
solib_svr4_fetch_link_map_offsets.
* Makefile.in (sparc64fbsd-tdep.o): Update dependencies.

19 years agomerge from gcc
DJ Delorie [Sun, 6 Mar 2005 18:48:16 +0000 (18:48 +0000)]
merge from gcc

19 years agoCorrect email address in last commit.
Daniel Jacobowitz [Sun, 6 Mar 2005 16:43:20 +0000 (16:43 +0000)]
Correct email address in last commit.

19 years ago * linux-nat.c (child_follow_fork): Call target_terminal_ours before
Daniel Jacobowitz [Sun, 6 Mar 2005 16:42:20 +0000 (16:42 +0000)]
* linux-nat.c (child_follow_fork): Call target_terminal_ours before
printing output.  Use fprintf_unfiltered.  Only print output when
debugging.

19 years ago * elf.c (elfcore_grok_win32pstatus): Warning fixes.
Alan Modra [Sun, 6 Mar 2005 02:02:15 +0000 (02:02 +0000)]
* elf.c (elfcore_grok_win32pstatus): Warning fixes.

19 years ago*** empty log message ***
gdbadmin [Sun, 6 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 5 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* sparc64-tdep.c (sparc64_store_floating_fields): Constify third
Mark Kettenis [Sat, 5 Mar 2005 20:58:14 +0000 (20:58 +0000)]
* sparc64-tdep.c (sparc64_store_floating_fields): Constify third
argument.
(sparc64_store_arguments): Constify.

19 years ago* alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
Mark Kettenis [Sat, 5 Mar 2005 14:36:10 +0000 (14:36 +0000)]
* alphabsd-nat.c: Update copyright year.  Include "inf-ptrace.h".
(alphabsd_fetch_inferior_registers): Rename from
fetch_inferior_registers.  Make static.
(alphabsd_store_inferior_registers): Rename from
store_inferior_registers.  Make static.
(_initialize_alphabsd_nat): New function.
* Makefile.in (alphabsd-nat.o): Update dependencies.
* config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o, fbsd-nat.o and gcore.o.
* config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
(NATDEPFILES): Remove infptrace.o and inftarg.o.  Add
alphabsd-nat.o.
* config/alpha/nm-fbsd.h: Update copyright year.  Don't include
"config/nm-bsd.h" and "elf/common.h".
* config/alpha/nm-nbsd.h: Update copyright year.  Don't include
"config/nm-nbsd.h".

19 years ago* gdb.cp/ovldbreak.exp: Adjust regular expression for recent
Mark Kettenis [Sat, 5 Mar 2005 13:31:26 +0000 (13:31 +0000)]
* gdb.cp/ovldbreak.exp: Adjust regular expression for recent
changes.

19 years agoRegenerate .pot files
Alan Modra [Sat, 5 Mar 2005 12:14:34 +0000 (12:14 +0000)]
Regenerate .pot files

19 years ago * elf64-ppc.c (update_plt_info): Don't mark new ABI call syms
Alan Modra [Sat, 5 Mar 2005 11:44:14 +0000 (11:44 +0000)]
* elf64-ppc.c (update_plt_info): Don't mark new ABI call syms
with is_func.
(func_desc_adjust): Force dot-syms local in executables as well
as shared libs.

19 years agoFix botched checkin.
Mark Kettenis [Sat, 5 Mar 2005 10:47:49 +0000 (10:47 +0000)]
Fix botched checkin.

19 years ago* mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
Mark Kettenis [Sat, 5 Mar 2005 10:46:59 +0000 (10:46 +0000)]
* mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
software_single_step.

19 years ago* mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
Mark Kettenis [Sat, 5 Mar 2005 10:10:11 +0000 (10:10 +0000)]
* mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
software_single_step.

* acconfig.h: Remove #undef.

19 years ago2005-03-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 5 Mar 2005 02:01:40 +0000 (02:01 +0000)]
2005-03-04  Michael Snyder  <msnyder@redhat.com>

* mn10300-prologue.c: New file.  Prologue analysis.
* mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
(mn10300_frame_unwind_cache): Don't call trad_frame_set_id
until after analyze_prologue, and don't call trad_frame_set_base
at all (let analyze_prologue do it).

19 years ago2005-03-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 5 Mar 2005 01:57:20 +0000 (01:57 +0000)]
2005-03-04  Michael Snyder  <msnyder@redhat.com>

* trad-frame.c (trad_frame_set_reg_value): New function.
* trad-frame.h (trad_frame_set_reg_value): Export.

19 years ago bfd/ChangeLog
Thiemo Seufer [Sat, 5 Mar 2005 00:01:33 +0000 (00:01 +0000)]
bfd/ChangeLog
* elfxx-mips.c (mips_elf_calculate_relocation): Handle special
'__gnu_local_gp' symbol used by gas -mno-shared.

gas/ChangeLog
* config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
instead of '_gp' for -mno-shared optimization.
(s_cpload): Ditto.
(s_abicalls): Document it in the comment.
(md_show_usage): Document the -mno-shared option.

gas/testsuite/ChangeLog
* gas/mips/elf-rel23b.d: Use '__gnu_local_gp' instead of '_gp'
for -mno-shared optimization.
* gas/mips/elf-rel25a.d: Ditto.

ld/testsuite/ChangeLog
* ld-mips-elf/multi-got-no-shared-1.s,
ld-mips-elf/multi-got-no-shared-2.s,
ld-mips-elf/multi-got-no-shared.d: New tests.
* ld-mips-elf/mips-elf.exp: Run them.

19 years ago*** empty log message ***
gdbadmin [Sat, 5 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 4 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * Makefile.in (stamp-h): Set CONFIG_HEADERS explicitly.
Daniel Jacobowitz [Fri, 4 Mar 2005 18:16:25 +0000 (18:16 +0000)]
* Makefile.in (stamp-h): Set CONFIG_HEADERS explicitly.

19 years ago * Makefile.in (remote.o): Update dependencies.
Daniel Jacobowitz [Fri, 4 Mar 2005 17:52:53 +0000 (17:52 +0000)]
* Makefile.in (remote.o): Update dependencies.
* remote.c: Include "observer.h".

19 years ago * target.c (target_read_memory_partial): Always initialize
Daniel Jacobowitz [Fri, 4 Mar 2005 17:47:59 +0000 (17:47 +0000)]
* target.c (target_read_memory_partial): Always initialize
ERR.
(target_write_memory_partial): Likewise.

19 years ago2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
Paul Gilliam [Fri, 4 Mar 2005 17:35:46 +0000 (17:35 +0000)]
2004-03-03  Paul Gilliam  <pgilliam@us.ibm.com>

        * lib/compiler.c: Add test for IBM's xlc compiler.
        * lib/compiler.cc: Likewise.

19 years ago*** empty log message ***
gdbadmin [Fri, 4 Mar 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 3 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-03-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 3 Mar 2005 20:52:31 +0000 (20:52 +0000)]
2005-03-03  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_backend_data): Add "const char *" to
elf_backend_section_from_phdr.

* elf.c (bfd_section_from_phdr): Pass "proc" to the
elf_backend_section_from_phdr hook.

19 years ago * inferiors.c (change_inferior_id, add_thread, find_inferior_id):
Daniel Jacobowitz [Thu, 3 Mar 2005 16:56:53 +0000 (16:56 +0000)]
* inferiors.c (change_inferior_id, add_thread, find_inferior_id):
Take unsigned long arguments for PIDs.
* linux-low.c (add_process, linux_attach_lwp, linux_attach)
(linux_thread_alive, linux_wait_for_event, kill_lwp, send_sigstop)
(wait_for_sigstop, linux_resume_one_process)
(regsets_fetch_inferior_registers, linux_send_signal)
(linux_read_auxv): Likewise.  Update the types of variables holding
PIDs.  Update format string specifiers.
* linux-low.h (struct process_info, linux_attach_lwp): Likewise.
* remote-utils.c (prepare_resume_reply): Likewise.
* server.c (cont_thread, general_thread, step_thread)
(thread_from_wait, old_thread_from_wait, signal_pid): Change type to
unsigned long.
(handle_query): Update format specifiers.
(handle_v_cont, main): Use strtoul for thread IDs.
* server.h (struct inferior_list_entry): Use unsigned long for ID.
(add_thread, find_inferior_id, change_inferior_id, cont_thread)
(general_thread, step_thread, thread_from_wait)
(old_thread_from_wait): Update.
* target.h (struct thread_resume): Use unsigned long for THREAD.
(struct target_ops): Use unsigned long for arguments to attach and
thread_alive.

19 years ago * remote.c (remote_open_1): Call observer_notify_inferior_created.
Daniel Jacobowitz [Thu, 3 Mar 2005 16:54:05 +0000 (16:54 +0000)]
* remote.c (remote_open_1): Call observer_notify_inferior_created.

19 years ago2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
Ramana Radhakrishnan [Thu, 3 Mar 2005 15:42:05 +0000 (15:42 +0000)]
2005-03-03  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>

* opcodes/arc-dis.c:Add enum a4_decoding_class.
  (dsmOneArcInst): Use the enum values for the decoding class
  Remove redundant case in the switch for decodingClass value 11

19 years ago * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
Daniel Jacobowitz [Thu, 3 Mar 2005 15:14:09 +0000 (15:14 +0000)]
* arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
(arm_stub_unwind, arm_stub_unwind_sniffer): New.
(arm_gdbarch_init): Add arm_stub_unwind_sniffer.

19 years agoupdate copyright dates
Alan Modra [Thu, 3 Mar 2005 11:58:10 +0000 (11:58 +0000)]
update copyright dates

19 years ago*** empty log message ***
gdbadmin [Thu, 3 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 2 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * elfxx-mips.c (struct mips_got_entry): Add tls_type.
Daniel Jacobowitz [Wed, 2 Mar 2005 21:23:21 +0000 (21:23 +0000)]
* elfxx-mips.c (struct mips_got_entry): Add tls_type.
(struct mips_got_info): Add tls_gotno, tls_assigned_gotno,
and tls_ldm_offset.
(struct mips_elf_got_per_bfd_arg): Add global_count.
(struct mips_elf_count_tls_arg): New.
(struct mips_elf_hash_sort_data): Update comment for min_got_dynindx.
(struct mips_elf_link_hash_entry): Add tls_type and tls_got_offset.
(GOT_NORMAL, GOT_TLS_GD, GOT_TLS_LDM, GOT_TLS_IE)
(GOT_TLS_OFFSET_DONE, GOT_TLS_DONE): Define.
(TLS_RELOC_P): Define.
(TP_OFFSET, DTP_OFFSET): Define.
(dtprel_base, tprel_base): New functions.
(mips_elf_link_hash_newfunc): Initialize tls_type.
(mips_elf_got_entry_hash, mips_elf_got_entry_eq)
(mips_elf_multi_got_entry_hash, mips_elf_multi_got_entry_eq): Handle
TLS entries.
(mips_tls_got_relocs, mips_elf_count_local_tls_relocs)
(mips_elf_count_global_tls_entries, mips_elf_count_global_tls_relocs)
(mips_elf_output_dynamic_relocation, mips_elf_initialize_tls_slots)
(mips_tls_got_index): New functions.
(mips_elf_local_got_index): Add new R_SYMNDX, H, and R_TYPE
arguments.  Pass them to mips_elf_create_local_got_entry.  Use
mips_tls_got_index.
(mips_elf_global_got_index): Add new R_TYPE and INFO arguments.
Handle TLS entries.
(mips_elf_got_page, mips_elf_got16_entry): Update calls to
mips_elf_create_local_got_entry.
(mips_elf_create_local_got_entry): Add new R_SYMNDX, H, and R_TYPE
arguments.  Handle TLS entries.
(mips_elf_sort_hash_table_f): Add non-TLS assertions.
(mips_elf_record_local_got_symbol): Add new TLS_FLAG argument.  Handle
TLS entries.
(mips_elf_record_global_got_symbol): Likewise.
(mips_elf_make_got_per_bfd): Initialize new mips_got_info members.
Count TLS entries.
(mips_elf_merge_gots): Handle TLS entries when merging.
(mips_elf_initialize_tls_index): New function.
(mips_elf_set_global_got_offset): Handle TLS entries.
(mips_elf_adjust_gp): Handle TLS.
(mips_elf_multi_got): Remove redundant call to
mips_elf_resolve_final_got_entries.  Initialize global_count.
Correct a comment.  Initialize new TLS members of mips_got_info.
Assign TLS GOT indexes for new GOTs.
(mips_elf_create_got_section): Initialize new TLS members of
mips_got_info.
(mips_elf_calculate_relocation): Handle TLS relocs.
(_bfd_mips_elf_check_relocs): Likewise.  Update calls to changed
functions.
(_bfd_mips_elf_always_size_sections): Handle TLS.
(_bfd_mips_elf_size_dynamic_sections): Likewise.
(_bfd_mips_elf_finish_dynamic_symbol): Likewise.  Update calls to
changed functions.
(_bfd_mips_elf_copy_indirect_symbol): Copy tls_type.
(_bfd_mips_elf_hide_symbol): Handle TLS.
* elfn32-mips.c (elf_mips_howto_table_rel, elf_mips_howto_table_rela)
(mips_reloc_map): Add TLS relocs.
* elf32-mips.c (elf_mips_howto_table_rel, mips_reloc_map): Likewise.
* elf64-mips.c (mips_elf64_howto_table_rel)
(mips_elf64_howto_table_rela, mips_reloc_map): Likewise.
* reloc.c: Define new MIPS TLS relocations.
* libbfd.h, bfd-in2.h: Regenerated.

19 years ago * mips.h: Define MIPS TLS relocations.
Daniel Jacobowitz [Wed, 2 Mar 2005 21:21:50 +0000 (21:21 +0000)]
* mips.h: Define MIPS TLS relocations.

19 years ago * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
Daniel Jacobowitz [Wed, 2 Mar 2005 15:07:49 +0000 (15:07 +0000)]
* linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
Use LWP IDs.

19 years agobfd/
Jan Beulich [Wed, 2 Mar 2005 09:03:51 +0000 (09:03 +0000)]
bfd/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* Makefile.am: Add dependency of cache.o on libiberty.h.
* cache.c: Include libiberty.h.
(bfd_open_file): Use unlink_if_ordinary instead of unlink.

binutils/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
* objcopy.c (copy_file): Likewise.
(strip_main): Likewise.

gas/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* as.c (main): Use unlink_if_ordinary instead of unlink.
* messages.c (as_fatal): Likewise.

ld/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
* pe-dll.c (pe_dll_generate_implib): Likewise.

19 years agogas/
Jan Beulich [Wed, 2 Mar 2005 08:01:32 +0000 (08:01 +0000)]
gas/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
accesses.
(parse_register): Allow cr8...15 in all modes.

gas/testsuite/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* gas/i386/cr-err.[ls]: New.
* gas/i386/crx.[ds]: New.
* gas/i386/i386.exp: Run new tests.

opcodes/
2005-03-02  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (print_insn): Suppress lock prefix printing for cr8...15
accesses.
(OP_C): Consider lock prefix in non-64-bit modes.

19 years ago * elf.c (bfd_section_from_shdr <default case>): Call
Zack Weinberg [Wed, 2 Mar 2005 04:47:25 +0000 (04:47 +0000)]
* elf.c (bfd_section_from_shdr <default case>): Call
elf_backend_section_from_shdr hook unconditionally, and return
what it returns.
(bfd_section_from_phdr): Similarly, for elf_backend_section_from_phdr.
* elfxx-target.h (elf_backend_section_from_shdr)
(elf_backend_section_from_phdr): Default to
_bfd_elf_make_section_from_shdr and _bfd_elf_make_section_from_phdr
respectively.

19 years ago*** empty log message ***
gdbadmin [Wed, 2 Mar 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 1 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agoPR libgcj/20160
Alexandre Oliva [Tue, 1 Mar 2005 22:33:54 +0000 (22:33 +0000)]
PR libgcj/20160
* ltmain.sh: Avoid creating archives with components that have
duplicate basenames.

19 years agomerge from gcc
DJ Delorie [Tue, 1 Mar 2005 14:33:00 +0000 (14:33 +0000)]
merge from gcc

19 years agomerge from gcc
DJ Delorie [Tue, 1 Mar 2005 02:22:06 +0000 (02:22 +0000)]
merge from gcc

19 years ago * targets.h: Typo fix.
Alan Modra [Tue, 1 Mar 2005 01:56:27 +0000 (01:56 +0000)]
* targets.h: Typo fix.
* bfd-in2.h: Regenerate.

19 years ago * bout.c (b_out_write_object_contents): Don't use sizeof on host
Alan Modra [Tue, 1 Mar 2005 00:38:52 +0000 (00:38 +0000)]
* bout.c (b_out_write_object_contents): Don't use sizeof on host
structs to size on-disk structures.
(b_out_set_section_contents): Size the external struct, not the
internal one for on-disk size.
(b_out_sizeof_headers): Likewise.

19 years ago*** empty log message ***
gdbadmin [Tue, 1 Mar 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * elf64-ppc.c (ppc64_elf_size_stubs): Override defined dot-sym
Alan Modra [Mon, 28 Feb 2005 23:00:40 +0000 (23:00 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): Override defined dot-sym
entry points with the func descriptor as well as undefweak.

19 years agodaily update
Alan Modra [Mon, 28 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * dwarf2loc.c (loclist_read_variable): Set optimized_out
Daniel Jacobowitz [Mon, 28 Feb 2005 17:00:49 +0000 (17:00 +0000)]
* dwarf2loc.c (loclist_read_variable): Set optimized_out
instead of reporting an error.
* valprint.c (value_check_printable): New function.
(common_val_print): New function.  Use value_check_printable.
(value_print): Use value_check_printable.
* value.h (common_val_print): Add prototype.

* c-valprint.c (c_val_print): Use common_val_print.
* cp-valprint.c (cp_print_value_fields): Likewise.
(cp_print_hpacc_virtual_table_entries): Likewise.
* f-valprint.c (f_val_print): Likewise.
* jv-valprint.c (java_value_print, java_print_value_fields):
Likewise.
* scm-valprint.c (scm_value_print): Likewise.
* stack.c (print_frame_args): Likewise.
* varobj.c (c_value_of_variable): Likewise.
* p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
(pascal_object_print_value_fields): Likewise.  Update call to
pascal_object_print_static_field.
(pascal_object_print_static_field): Remove TYPE argument.  Use
common_val_print.

19 years ago(pe_ILF_build_a_bfd): Do not assume that an @ will be present when
Nick Clifton [Mon, 28 Feb 2005 16:07:33 +0000 (16:07 +0000)]
(pe_ILF_build_a_bfd): Do not assume that an @ will be present when
IMPORT_NAME_UNDOECRATE is used.

19 years ago2005-02-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 28 Feb 2005 15:57:13 +0000 (15:57 +0000)]
2005-02-28  H.J. Lu  <hongjiu.lu@intel.com>

PR 757
* elf-bfd.h (_bfd_elf_merge_symbol): Add a pointer to unsigned
int.

* elf32-sh-symbian.c (sh_symbian_relocate_section): Pass NULL
to _bfd_elf_merge_symbol.

* elflink.c (_bfd_elf_merge_symbol): Use the pointer to
unsigned int to return the alignment of the old common symbol
in the dynamic object.
(_bfd_elf_add_default_symbol): Pass NULL to
_bfd_elf_merge_symbol.
(elf_link_add_object_symbols): Pass &old_alignment to
_bfd_elf_merge_symbol. Get the alignment of the new common
symbol in the dynamic object.

19 years ago2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
Paolo Bonzini [Mon, 28 Feb 2005 15:13:42 +0000 (15:13 +0000)]
2005-02-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR bootstrap/20250
        * Makefile.tpl (HOST target installs): Fix copy and pasto, use install
        instead of check.
        * Makefile.in: Regenerate.

19 years ago2005-02-28 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 28 Feb 2005 14:07:03 +0000 (14:07 +0000)]
2005-02-28  Paolo Bonzini  <bonzini@gnu.org>

Sync from gcc.

2005-02-28  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383
* Makefile.def (target_modules): Remove "stage", now unnecessary.
* Makefile.tpl (HOST_SUBDIR): New substitution.
(STAGE_HOST_EXPORTS, EXPECT, HOST_LIB_PATH, USUAL_AR_FOR_TARGET,
USUAL_AS_FOR_TARGET, USUAL_DLLTOOL_FOR_TARGET, USUAL_GCC_FOR_TARGET,
USUAL_LD_FOR_TARGET, USUAL_NM_FOR_TARGET, USUAL_OBJDUMP_FOR_TARGET,
USUAL_RANLIB_FOR_TARGET, USUAL_WINDRES_FOR_TARGET): Use it.
(Host modules, Bootstrapped modules): Use it.
(Build modules, Target modules): Do not create symlink trees,
always configure out-of-srcdir.
(distclean): Try removing $(host_subdir) with rm before using rm -rf.
* configure.in (FLAGS_FOR_TARGET, CC_FOR_TARGET, GCJ_FOR_TARGET,
GFORTRAN_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET): Use
$(HOST_SUBDIR).  Create a symlink for host_subdir.

* Makefile.in: Regenerate.
* configure: Regenerate.

Merged from libada-gnattools-branch:
2004-11-28  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.def: Add gnattools as a module, depending on target-libada.
* Makefile.in: Regenerate.
* configure.in: Include gnattools in host_tools; disable it if ada
is disabled.
* configure: Regenerate.

config:
2005-02-28  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383
* acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src
gcc build is going.

19 years ago*** empty log message ***
gdbadmin [Mon, 28 Feb 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 27 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Sun, 27 Feb 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sat, 26 Feb 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-25 Mark Kettenis <kettenis@gnu.org>
Elena Zannoni [Sat, 26 Feb 2005 04:32:56 +0000 (04:32 +0000)]
2005-02-25 Mark Kettenis  <kettenis@gnu.org>

Committed by Elena Zannoni <ezannoni@redhat.com>

* dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust
info_ptr before building psymtabs for included files.
(create_all_comp_units): Initailize initial length size of
compilation header to zero.
(read_initial_length): Complain if both 32-bit and 64-bit DWARF
sections are encountered within the same compilation header.
(dwarf_decode_line_header): Pass compilation header in call to
read_initial_length.

19 years ago*** empty log message ***
gdbadmin [Sat, 26 Feb 2005 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 25 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * generic/gdbtk.c (gdbtk_source_start_file): In the _WIN32 case,
Keith Seitz [Fri, 25 Feb 2005 22:23:25 +0000 (22:23 +0000)]
    * generic/gdbtk.c (gdbtk_source_start_file): In the _WIN32 case,
        use throw_exception (struct exception).

19 years ago*** empty log message ***
gdbadmin [Fri, 25 Feb 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * gdb.ada/fixed_points.exp: Create compilation object directory
Joel Brobecker [Thu, 24 Feb 2005 23:54:03 +0000 (23:54 +0000)]
    * gdb.ada/fixed_points.exp: Create compilation object directory
        before running the test.
        * gdb.ada/null_record.exp: Likewise.
        * gdb.ada/packed_array.exp: Likewise.
        * gdb.ada/start.exp: Likewise.

19 years agodaily update
Alan Modra [Thu, 24 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * acinclude.m4: Include bfd/bfd.m4 directly.
Daniel Jacobowitz [Thu, 24 Feb 2005 20:26:32 +0000 (20:26 +0000)]
* acinclude.m4: Include bfd/bfd.m4 directly.
* configure.ac: Use AC_ARG_PROGRAM.  Suggested by Aron Griffis
<agriffis@toolchain.org>.
* aclocal.m4, configure: Regenerated.

19 years ago * coffcode.h (coff_sym_filepos): Remove GNU960 conditional code.
Ben Elliston [Thu, 24 Feb 2005 20:16:56 +0000 (20:16 +0000)]
* coffcode.h (coff_sym_filepos): Remove GNU960 conditional code.
* format.c (bfd_check_format_matches): Likewise.
* archive.c (BFD_GNU960_ARMAG): Likewise.
(bfd_generic_archive_p): Likewise.
(_bfd_write_archive_contents): Likewise.

19 years ago2005-02-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 24 Feb 2005 15:49:46 +0000 (15:49 +0000)]
2005-02-24  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.95.
* configure: Regenerate.

19 years ago * elflink.c (elf_link_add_object_symbols): Force symbols in
Julian Brown [Thu, 24 Feb 2005 15:28:56 +0000 (15:28 +0000)]
* elflink.c (elf_link_add_object_symbols): Force symbols in
discarded COMDAT group sections to have default visibility.

19 years ago2005-02-24 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 24 Feb 2005 13:51:36 +0000 (13:51 +0000)]
2005-02-24  Andrew Cagney  <cagney@gnu.org>

Add show_VARIABLE functions, update add_setshow call.
* varobj.c (_initialize_varobj, show_varobjdebug): Add and update.
* valprint.c (_initialize_valprint, show_print_max)
(show_stop_print_at_null, show_repeat_count_threshold)
(show_prettyprint_structs, show_unionprint)
(show_prettyprint_arrays, show_addressprint, show_input_radix)
(show_output_radix): Ditto.
* valops.c (_initialize_valops, show_overload_resolution): Ditto.
* utils.c (initialize_utils, show_chars_per_line)
(show_lines_per_page, show_demangle, show_pagination_enabled)
(show_sevenbit_strings, show_asm_demangle): Ditto
* tui/tui-win.c (_initialize_tui_win, show_tui_border_kind)
(show_tui_border_mode, show_tui_active_border_mode): Ditto.
* top.c (init_main, show_new_async_prompt)
(show_async_command_editing_p, show_write_history_p)
(show_history_size, show_history_filename, show_caution)
(show_annotation_level, init_main): Ditto.
* target.c (initialize_targets, show_targetdebug)
(show_trust_readonly): Ditto.
* symfile.c (_initialize_symfile, show_symbol_reloading)
(show_ext_args, show_download_write_size)
(show_debug_file_directory): Ditto.
* source.c (_initialize_source, show_lines_to_list): Ditto.
* solib.c (_initialize_solib, show_auto_solib_add)
(show_solib_search_path): Ditto.
* p-valprint.c (_initialize_pascal_valprint)
(show_pascal_static_field_print): Ditto.
* printcmd.c (_initialize_printcmd, show_max_symbolic_offset)
(show_print_symbol_filename): Add and update.
* parse.c (_initialize_parse, show_expressiondebug): Dito.
* observer.c (_initialize_observer, show_observer_debug): Dito.
* maint.c (_initialize_maint_cmds, show_watchdog)
(show_maintenance_profile_p): Dito.
* linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito.
* infrun.c (_initialize_infrun, show_debug_infrun)
(show_stop_on_solib_events, show_follow_fork_mode_string)
(show_scheduler_mode, show_step_stop_if_no_debug): Ditto.
* infcall.c (_initialize_infcall, show_coerce_float_to_double_p)
(show_unwind_on_signal_p): Ditto.
* gdbtypes.c (build_gdbtypes, show_opaque_type_resolution)
(_initialize_gdbtypes, show_overload_debug): Ditto.
* gdb-events.c, gdb-events.sh (_initialize_gdb_events)
(show_gdb_events_debug): Ditto.
* gdbarch.c, gdbarch.sh (show_gdbarch_debug)
(_initialize_gdbarch): Ditto.
* frame.c (_initialize_frame, show_backtrace_past_main)
(show_backtrace_past_entry, show_backtrace_limit)
(show_frame_debug): Ditto.
* exec.c (_initialize_exec, show_write_files): Ditto.
* dwarf2read.c (_initialize_dwarf2_read)
(show_dwarf2_max_cache_age): Ditto.
* demangle.c (_initialize_demangler)
(show_demangling_style_names): Ditto.
* dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto.
* cp-valprint.c (show_static_field_print)
(_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto.
* corefile.c (_initialize_core, show_gnutarget_string): Ditto.
* cli/cli-logging.c (_initialize_cli_logging)
(show_logging_overwrite, show_logging_redirect)
(show_logging_filename): Ditto.
* cli/cli-cmds.c (show_info_verbose, show_history_expansion_p)
(init_cli_cmds, show_baud_rate, show_remote_debug)
(show_remote_timeout, show_max_user_call_depth): Ditto.
* charset.c (show_host_charset_name, show_target_charset_name)
(initialize_charset): Ditto.
* breakpoint.c (show_can_use_hw_watchpoints)
(show_pending_break_support, _initialize_breakpoint): Ditto.

19 years ago * cris-dis.c (format_hex): Remove ineffective warning fix.
Alan Modra [Thu, 24 Feb 2005 13:38:01 +0000 (13:38 +0000)]
* cris-dis.c (format_hex): Remove ineffective warning fix.
* crx-dis.c (make_instruction): Warning fix.
* frv-asm.c: Regenerate.

19 years ago * coffcode.h (coff_print_aux): Warning fix.
Alan Modra [Thu, 24 Feb 2005 13:34:38 +0000 (13:34 +0000)]
* coffcode.h (coff_print_aux): Warning fix.
* elf-m10300.c (mn10300_elf_relax_section): Use section->id
instead of section pointer to identify.
* coff-h8300.c (h8300_reloc16_extra_cases): Likewise.  Allocate
the correct size buffer for local sym mangling too.
(h8300_bfd_link_add_symbols): Likewise.
* elf32-sh-symbian.c (sh_symbian_process_embedded_commands): Fix
warning.
* elf32-sh64.c (shmedia_prepare_reloc): Use %B and %p in error message
* elf32-xtensa.c (literal_value_hash): Warning fix.
* versados.c (process_otr): Warning fix.
(versados_canonicalize_reloc): Likewise.
* vms-gsd.c (_bfd_vms_slurp_gsd): Warning fix.
* vms.c (fill_section_ptr): Warning fix.

19 years ago*** empty log message ***
gdbadmin [Thu, 24 Feb 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 23 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 23 Feb 2005 16:22:15 +0000 (16:22 +0000)]
2005-02-22  H.J. Lu  <hongjiu.lu@intel.com>

* coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Defined.
* coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Likewise.

19 years ago* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
Jim Blandy [Wed, 23 Feb 2005 16:06:58 +0000 (16:06 +0000)]
* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.

19 years agoFix compile time warnings generated by gcc 4.0
Nick Clifton [Wed, 23 Feb 2005 16:04:40 +0000 (16:04 +0000)]
Fix compile time warnings generated by gcc 4.0

19 years ago2005-02-23 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Wed, 23 Feb 2005 15:24:22 +0000 (15:24 +0000)]
2005-02-23  Andrew Cagney  <cagney@gnu.org>

* cli/cli-dump.c (dump_bfd_file): Replace magic constant with
SEC_XXX flags.

19 years ago(make_instruction): Move argument structure into inner scope and ensure that
Nick Clifton [Wed, 23 Feb 2005 11:53:31 +0000 (11:53 +0000)]
(make_instruction): Move argument structure into inner scope and ensure that
all of its fields are initialised before they are used.

19 years agoInitialise bitfield.
Nick Clifton [Wed, 23 Feb 2005 11:39:14 +0000 (11:39 +0000)]
Initialise bitfield.

19 years ago(elf32_m68hc11_relocate_section): Initialise variables that are passed by
Nick Clifton [Wed, 23 Feb 2005 11:18:11 +0000 (11:18 +0000)]
(elf32_m68hc11_relocate_section): Initialise variables that are passed by
reference to m68hc11_get_relocation_value in case that function does not
initialise them.

19 years agoconfigure: Regenerate.
Nick Clifton [Wed, 23 Feb 2005 10:07:06 +0000 (10:07 +0000)]
configure: Regenerate.

19 years ago(cr16c_elf_final_link_relocate): Remove duplicated return statements and
Nick Clifton [Wed, 23 Feb 2005 09:56:44 +0000 (09:56 +0000)]
(cr16c_elf_final_link_relocate): Remove duplicated return statements and
replace with a single return at the end of the function.  This helps pacify
the flow analysis code in gcc 4.0.