OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years agodaily update
Alan Modra [Mon, 21 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * configure.ac (stat.st_blksize): Check for it.
Mark Mitchell [Mon, 21 Mar 2005 21:23:35 +0000 (21:23 +0000)]
* configure.ac (stat.st_blksize): Check for it.
(getuid): Likewise.
(getgid): Likewise.
* configure: Regenerated.
* config.in: Likewise.
* remote-fileio.c (remote_fileio_to_fio_stat): Check
HAVE_STRUCT_STAT_ST_BLKSIZE.

19 years ago* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
Christopher Faylor [Mon, 21 Mar 2005 19:54:15 +0000 (19:54 +0000)]
* win32-nat.c (do_initial_child_stuff): Don't clear the thread list here.
(do_initial_child_stuff): Move clearing of thread list to a place before a
thread ould be created.
(child_attach): Ditto.

19 years ago2005-03-21 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 21 Mar 2005 19:31:46 +0000 (19:31 +0000)]
2005-03-21  Michael Snyder  <msnyder@redhat.com>

* mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
instead of pc addr for frame_id.  Otherwise "until" won't work.

19 years ago * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
Kevin Buettner [Mon, 21 Mar 2005 18:09:47 +0000 (18:09 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
comment.

19 years ago(coff_link_hash_entry): Only define for non WINCE targets.
Nick Clifton [Mon, 21 Mar 2005 15:43:38 +0000 (15:43 +0000)]
(coff_link_hash_entry): Only define for non WINCE targets.
(t2a1_bx_pc_insn): Likewise.
(t2a2_noop_insn): Likewise.
(t2a3_b_insn): Likewise.
(t2a1_push_insn): Likewise.
(t2a2_ldr_insn): Likewise.
(t2a3_mov_insn): Likewise.
(t2a4_bx_insn): Likewise.
(t2a5_pop_insn): Likewise.
(t2a6_bx_insn): Likewise.
(coff_arm_relocate_section): Only declare the high_address variable for non
WINCE targets.

19 years agobfd/
Alan Modra [Mon, 21 Mar 2005 13:56:47 +0000 (13:56 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_add_symbol_hook): Make htab->sbss
SEC_LINKER_CREATED.  Attach to dynobj.
(ppc_elf_size_dynamic_sections): Strip htab->sbss if zero size.
ld/
* scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
ld/testsuite/
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsso32.d: Update.
* ld-powerpc/tlsso32.g: Update.
* ld-powerpc/tlsso32.r: Update.

19 years agobfd/
Alan Modra [Mon, 21 Mar 2005 13:23:14 +0000 (13:23 +0000)]
bfd/
* elf32-ppc.c (struct elf_linker_section): Remove sym_hash and
sym_offset.  Add name, bss_name, sym_name, sym_val.
(struct ppc_elf_link_hash_table): Remove sdata and sdata2 pointers.
Add sdata array of elf_linker_section_t.
(ppc_elf_link_hash_table_create): Set name, sym_name, and bss_name.
(enum elf_linker_section_enum): Delete.
(ppc_elf_create_linker_section): Rewrite.  Don't create syms here.
(ppc_elf_check_relocs): Delay ppc_elf_create_linker_section until
the special sections are needed.  Adjust htab->sdata refs.
Ensure dynobj is set in sreloc code.
(ppc_elf_size_dynamic_sections): Strip sdata sections.
(ppc_elf_set_sdata_syms): New function.
(elf_finish_pointer_linker_section): Use 0x8000 for sym_offset.
(ppc_elf_relocate_section): Adjust references to htab->sdata.  Use
sym_val instead of sym_hash.
* elf32-ppc.h (ppc_elf_set_sdata_syms): Declare.
ld/
* emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
function.
(LDEMUL_AFTER_ALLOCATION): Define.

19 years ago * elf32-ppc.c (is_ppc_elf_target): Move to linker part of file.
Alan Modra [Mon, 21 Mar 2005 12:24:10 +0000 (12:24 +0000)]
* elf32-ppc.c (is_ppc_elf_target): Move to linker part of file.
(ppc_elf_merge_private_bfd_data): Likewise.

19 years ago * elf32-ppc.c (struct elf_linker_section): Remove rel_section.
Alan Modra [Mon, 21 Mar 2005 12:09:13 +0000 (12:09 +0000)]
* elf32-ppc.c (struct elf_linker_section): Remove rel_section.
(ppc_elf_create_linker_section): Don't create rel_section.
(elf_create_pointer_linker_section): Don't size relocs.
(elf_finish_pointer_linker_section): Remove relative_reloc parm.
Don't generate relocs.
(ppc_elf_relocate_section): Adjust calls to
elf_finish_pointer_linker_section.

19 years ago * elf32-ppc.c (is_ppc_elf_target): New function.
Alan Modra [Mon, 21 Mar 2005 11:22:24 +0000 (11:22 +0000)]
* elf32-ppc.c (is_ppc_elf_target): New function.
(ppc_elf_merge_private_bfd_data): Use it rather than just testing
for bfd_target_elf_flavour.  Do this test before endian check.
(ppc_elf_add_symbol_hook): Use is_pcc_elf_target.
(ppc_elf_size_dynamic_sections): Likewise.

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

19 years ago2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 20 Mar 2005 23:36:19 +0000 (23:36 +0000)]
2005-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_backend_data): Add int to
elf_backend_section_from_shdr.
(bfd_elf_section_data): Update comment for this_idx.
(_bfd_elf_make_section_from_shdr): Add int.
* elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise.

* elf.c (_bfd_elf_make_section_from_shdr): Take section index
and use it to set this_idx in bfd_elf_section_data.
(bfd_section_from_shdr): Pass shindex to
_bfd_elf_make_section_from_shdr.
(_bfd_elf_section_from_bfd_section): Use this_idx in
bfd_elf_section_data to find section index.

* elf32-arm.c (elf32_arm_section_from_shdr): Take section
index and pass it to _bfd_elf_make_section_from_shdr.
* elf32-i370.c(i370_elf_section_from_shdr): Likewise.
* elf32-ppc.c (ppc_elf_section_from_shdr): Likewise.
* elf32-sh64.c (sh64_backend_section_from_shdr): Likewise.
* elf32-v850.c (v850_elf_section_from_shdr): Likewise.
* elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise.
* elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise.
* elf64-x86-64.c (elf64_x86_64_section_from_shdr): Likewise.
* elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise.
* elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise.

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

19 years ago* dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
Mark Kettenis [Sun, 20 Mar 2005 20:30:35 +0000 (20:30 +0000)]
* dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
* varobj.c (my_value_equal): Mark val2 as volatile.

19 years agoFix typo.
Mark Kettenis [Sun, 20 Mar 2005 20:15:56 +0000 (20:15 +0000)]
Fix typo.

19 years ago2005-03-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 20 Mar 2005 17:12:16 +0000 (17:12 +0000)]
2005-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* mmix-opc.c (O): Revert the last change.
(Z): Likewise.

19 years ago* cp-names.y: Add prototype for yylex.
Mark Kettenis [Sun, 20 Mar 2005 16:26:44 +0000 (16:26 +0000)]
* cp-names.y: Add prototype for yylex.

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

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

19 years ago * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
Daniel Jacobowitz [Sat, 19 Mar 2005 19:44:10 +0000 (19:44 +0000)]
* dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
* gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
VALADDR.

19 years ago2005-03-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 19 Mar 2005 18:29:14 +0000 (18:29 +0000)]
2005-03-19  H.J. Lu  <hongjiu.lu@intel.com>

* mmix-opc.c (O): Use 24UL instead of 24 for unsigned long.
(Z): Likewise.

19 years ago * peicode.h (pe_ILF_build_a_bfd): Strip only one prefix
Danny Smith [Sat, 19 Mar 2005 06:48:31 +0000 (06:48 +0000)]
* peicode.h (pe_ILF_build_a_bfd): Strip only one prefix
character in IMPORT_NAME_UNDECORATE and IMPORT_NAME_NOPREFIX
cases.  Add comment.

19 years ago * mmix-opc.c (O, Z): Force expression as unsigned long.
Hans-Peter Nilsson [Sat, 19 Mar 2005 04:23:24 +0000 (04:23 +0000)]
* mmix-opc.c (O, Z): Force expression as unsigned long.

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

19 years ago2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 18 Mar 2005 23:51:21 +0000 (23:51 +0000)]
2005-03-18  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_mark_used_section): Remove check for special
sections.

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

19 years ago * elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn
Andreas Schwab [Fri, 18 Mar 2005 21:31:31 +0000 (21:31 +0000)]
* elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn
from bfd_vma to ia64_insn, remove broken cast.

19 years agoMove printing of TLS related error messages to dwarf2loc.c.
Kevin Buettner [Fri, 18 Mar 2005 21:03:39 +0000 (21:03 +0000)]
Move printing of TLS related error messages to dwarf2loc.c.

19 years ago* utils.c (safe_strerror): Use xsnprintf instead of sprintf.
Mark Kettenis [Fri, 18 Mar 2005 20:46:38 +0000 (20:46 +0000)]
* utils.c (safe_strerror): Use xsnprintf instead of sprintf.
(decimal2str, octal2str): Change to return a string allocated by
get_cell.  Use xsnprint instead of snprintf.
(paddr_u, paddr_d): Adjust for changed calling convention of
decimal2str.
(phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
(int_string): Likewise.  Adjust for changed calling convention of
decimal2str and octal2str.

19 years ago * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
Kevin Buettner [Fri, 18 Mar 2005 20:23:28 +0000 (20:23 +0000)]
* frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
Adjust incorrectly computed constant for realtime signal frame.

19 years agoFrom Ralf Corsepius <ralf.corsepius@rtems.org>
Mark Kettenis [Fri, 18 Mar 2005 18:59:17 +0000 (18:59 +0000)]
From Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.tgt: Add m68*-*-rtems*.

19 years agoAdd support for generating PLT lookups for the ColdFire.
Nick Clifton [Fri, 18 Mar 2005 17:20:29 +0000 (17:20 +0000)]
Add support for generating PLT lookups for the ColdFire.

19 years ago * elf32-arm.c (elf32_arm_modify_segment_map): New function.
Mark Mitchell [Fri, 18 Mar 2005 17:06:16 +0000 (17:06 +0000)]
* elf32-arm.c (elf32_arm_modify_segment_map): New function.
(elf32_arm_additional_program_headers): Likewise.
(elf_backend_modify_segment_map): Define.
(elf_backend_additional_program_headers): Likewise.
(elf32_arm_symbian_modify_segment_map): Use
elf32_arm_modify_segment_map.

* binutils/readelf.c (get_arm_segment_type): New function.
(get_segment_type): Use it.

* arm.h (PT_ARM_EXIDX): Define.

19 years agoChange wording of error message to "percent-operand" from "%operand" as the
Nick Clifton [Fri, 18 Mar 2005 16:12:38 +0000 (16:12 +0000)]
Change wording of error message to "percent-operand" from "%operand" as the
latter confuses xgettext into thinking that it is a C printf formating directive,
which prevents proper translation.

19 years ago2005-03-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 18 Mar 2005 15:46:25 +0000 (15:46 +0000)]
2005-03-18  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_mark_used_section): Check bfd_is_const_section
for special sections.

19 years ago * elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete.
Alan Modra [Fri, 18 Mar 2005 13:21:11 +0000 (13:21 +0000)]
* elf-bfd.h (_bfd_elf_link_renumber_dynsyms): Delete.
* elflink.c (_bfd_elf_link_renumber_dynsyms): Make static, add
section_sym_count param, and return number of section symbols.
(bfd_elf_size_dynamic_sections): Clear section symbol area of
.dynsym contents.  Don't bother calling swap_symbol_out on the
first all-zero dynsym.
(elf_mark_used_section): Formatting.  Avoid twiddling flags in
special sections like bfd_abs_section.
(bfd_elf_gc_sections): Spelling fix.

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

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

19 years ago* defs.h (xsnprintf): New prototype.
Mark Kettenis [Thu, 17 Mar 2005 22:11:09 +0000 (22:11 +0000)]
* defs.h (xsnprintf): New prototype.
* utils.c (xsnprintf): New function.

19 years ago* corelow.c (get_core_register_section): Replace usage of sprintf
Mark Kettenis [Thu, 17 Mar 2005 22:07:42 +0000 (22:07 +0000)]
* corelow.c (get_core_register_section): Replace usage of sprintf
and strcpy with xstrprintf and xstrdup.

19 years ago* mips-tdep.c (mips_single_step_through_delay): Put back check for
Mark Kettenis [Thu, 17 Mar 2005 18:07:46 +0000 (18:07 +0000)]
* mips-tdep.c (mips_single_step_through_delay): Put back check for
breakpoint lost with the introduction of this function.

19 years ago2005-03-17 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 17 Mar 2005 17:44:14 +0000 (17:44 +0000)]
2005-03-17  Paul Brook  <paul@codesourcery.com>

* amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
* s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.

19 years ago(read_indirect_string): Fix apparent typo, check dwarf_str_buffer allocation,
Nick Clifton [Thu, 17 Mar 2005 08:24:28 +0000 (08:24 +0000)]
(read_indirect_string): Fix apparent typo, check dwarf_str_buffer allocation,
not dwarf_abbrev_buffer.

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

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

19 years agobfd/
H.J. Lu [Wed, 16 Mar 2005 21:52:41 +0000 (21:52 +0000)]
bfd/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_mark_used_section): New.
(bfd_elf_gc_sections): Call elf_gc_mark_section for
non-relocatable link if we don't do GC.

include/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Add gc_sections.

ld/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
unused empty output sections for non-relocatable link.

* ld.h (args_type): Remove gc_sections.

* ldlang.c (lang_mark_used_section): New.
(lang_gc_sections): Use link_info.gc_sections instead of
command_line.gc_sections.
* ldmain.c (main): Likewise.
* lexsup.c (parse_args): Likewise.
* ldlang.c (lang_process): Call lang_mark_used_section.

* ldmain.c (main): Initialize link_info.gc_sections to FALSE.

ld/testsuite/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

* ld-alpha/tlsbin.rd: Updated for empty section removal.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-arm/mixed-lib.sym: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-powerpc/apuinfo.rd: Likewise.
* ld-powerpc/powerpc.exp: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-sh/tlsbin-2.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunpic32.rd: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.

19 years ago* Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.
DJ Delorie [Wed, 16 Mar 2005 17:46:21 +0000 (17:46 +0000)]
* Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.
* Makefile.in: Regenerate.

19 years agomerge from gcc
DJ Delorie [Wed, 16 Mar 2005 17:44:39 +0000 (17:44 +0000)]
merge from gcc

19 years agoRename switch to enable/disable -Werror to --enable-werror/--disable-werror
Nick Clifton [Wed, 16 Mar 2005 17:18:17 +0000 (17:18 +0000)]
Rename switch to enable/disable -Werror to --enable-werror/--disable-werror
for compatibility with gcc.

19 years ago * event-top.c (handle_sigquit): Do not define for systems without
Mark Mitchell [Wed, 16 Mar 2005 17:07:17 +0000 (17:07 +0000)]
* event-top.c (handle_sigquit): Do not define for systems without
SIGQUIT.
(sigquit_token): Likewise.
(async_init_signals): Allow for systems that do not
define SIGQUIT.
* ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.

19 years ago * event-top.c (async_init_signals): Allow for systems that do not
Mark Mitchell [Wed, 16 Mar 2005 17:05:31 +0000 (17:05 +0000)]
* event-top.c (async_init_signals): Allow for systems that do not
define SIGQUIT.
* ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.

19 years agoEnable -Werror by default
Nick Clifton [Wed, 16 Mar 2005 16:17:14 +0000 (16:17 +0000)]
Enable -Werror by default

19 years ago * utils.c (internal_vproblem): Guard call to fork with
Mark Mitchell [Wed, 16 Mar 2005 15:58:41 +0000 (15:58 +0000)]
* utils.c (internal_vproblem): Guard call to fork with
HAVE_WORKING_FORK.
* cli/cli-cmds.c (shell_escape): Guard call to vfork with
HAVE_WORKING_VFORK and HAVE_WORKING_FORK.

* remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
S_IRGRP and related macros.
(remote_fileio_mode_to_target): Likewise.

19 years agoConvert to ISO C90 formatting.
Nick Clifton [Wed, 16 Mar 2005 14:37:15 +0000 (14:37 +0000)]
Convert to ISO C90 formatting.

19 years ago * elf32-ppc.c: Divide file into general and linker specific
Alan Modra [Wed, 16 Mar 2005 06:11:51 +0000 (06:11 +0000)]
* elf32-ppc.c: Divide file into general and linker specific
functions.  Sort linker functions into roughly the order in which
they are called by the ELF linker code.

19 years agobfd/
Alan Modra [Wed, 16 Mar 2005 02:41:25 +0000 (02:41 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_create_linker_section): Set SEC_LINKER_CREATED
on section.  Correct comment, and add FIXME.
(ppc_elf_additional_program_headers): Don't bump header count for
interp.  Test SEC_ALLOC, not SEC_LOAD, and don't test size.
(ppc_elf_size_dynamic_sections): Don't strip sdata and sdata2, but
do allocate memory if they need it.
ld/
* emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
(OTHER_RELRO_SECTIONS): Set this instead.
ld/testsuite/
* ld-powerpc/tlsexe32.d: Update.
* ld-powerpc/tlsexe32.g: Update.
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsexe32.t: Update.
* ld-powerpc/tlsso32.d: Update.
* ld-powerpc/tlsso32.g: Update.
* ld-powerpc/tlsso32.r: Update.
* ld-powerpc/tlsso32.t: Update.

19 years ago * ppc-dis.c (powerpc_dialect): Don't set PPC_OPCODE_ALTIVEC when
Alan Modra [Wed, 16 Mar 2005 02:38:39 +0000 (02:38 +0000)]
* ppc-dis.c (powerpc_dialect): Don't set PPC_OPCODE_ALTIVEC when
BOOKE.

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

19 years agosim/common/ChangeLog:
Jim Blandy [Tue, 15 Mar 2005 23:25:59 +0000 (23:25 +0000)]
sim/common/ChangeLog:
2005-02-28  Jim Blandy  <jimb@redhat.com>

* aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include
-Wuninitialized in the default list of build warnings if CFLAGS is
set, and doesn't include -O.  (Using -Wuninitialized without
optimization produces a warning, which interferes with compilation
with -Werror.)

sim/ChangeLog:
2005-02-28  Jim Blandy  <jimb@redhat.com>

* d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
mips/configure.ac, mn10300/configure.ac, v850/configure.ac:
Regenerated, after change to common/aclocal.m4.

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

19 years agoAdd support for an x86_64-elf target
Nick Clifton [Tue, 15 Mar 2005 14:14:08 +0000 (14:14 +0000)]
Add support for an x86_64-elf target

19 years agoCommit new Spanish translation.
Alan Modra [Tue, 15 Mar 2005 05:25:20 +0000 (05:25 +0000)]
Commit new Spanish translation.

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

19 years agoCommit new French translation.
Alan Modra [Mon, 14 Mar 2005 23:39:09 +0000 (23:39 +0000)]
Commit new French translation.

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

19 years ago2005-03-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 14 Mar 2005 18:55:44 +0000 (18:55 +0000)]
2005-03-14  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name
for global symbol when reporting overflow.

19 years ago2005-03-14 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 14 Mar 2005 15:42:52 +0000 (15:42 +0000)]
2005-03-14  Paul Brook  <paul@codesourcery.com>

* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
targets.

19 years agoUse ".word 0x0012 # Entry mask: r1 r2 >" instead of just "Entry mask: < r1 ... >"
Nick Clifton [Mon, 14 Mar 2005 09:35:26 +0000 (09:35 +0000)]
Use ".word 0x0012 # Entry mask: r1 r2 >" instead of just "Entry mask: < r1 ... >"

19 years ago * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
Ben Elliston [Mon, 14 Mar 2005 03:09:45 +0000 (03:09 +0000)]
* Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
more primitive library.

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

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

19 years ago* inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
Mark Kettenis [Sun, 13 Mar 2005 22:06:10 +0000 (22:06 +0000)]
* inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
sprintf.
* target.c (normal_pid_to_str): Likewise.
* remote.c (remote_pid_to_str): Use snprint instead of sprintf.
Change capitalization of "thread".  Use ptid_get_pid instead of
GETPID.

19 years ago* cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
Mark Kettenis [Sun, 13 Mar 2005 19:55:38 +0000 (19:55 +0000)]
* cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
a combination of xmalloc and sprintf.

19 years ago* configure.ac: Use '=', not '=='; the latter is a GNU extension.
Jim Blandy [Sun, 13 Mar 2005 05:37:48 +0000 (05:37 +0000)]
* configure.ac: Use '=', not '=='; the latter is a GNU extension.
* configure: Regenerated.

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

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

19 years agogas:
Zack Weinberg [Sat, 12 Mar 2005 18:25:47 +0000 (18:25 +0000)]
gas:
* config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
wfi, yield.
opcodes:
* arm-dis.c (thumb_opcodes): Add ARMv6K instructions nop, sev,
wfe, wfi, yield.
gas/testsuite:
* gas/arm/thumbv6k.d, gas/arm/thumbv6k.s: New dump test.
* gas/arm/arm.exp: Run it.

19 years agoRevert accidental commit of V6K ops
Zack Weinberg [Sat, 12 Mar 2005 18:17:42 +0000 (18:17 +0000)]
Revert accidental commit of V6K ops

19 years agoinclude:
Zack Weinberg [Sat, 12 Mar 2005 18:14:05 +0000 (18:14 +0000)]
include:
* opcode/arm.h: Adjust comments for ARM_EXT_V4T and ARM_EXT_V5T.
Add ARM_EXT_V6T2, ARM_ARCH_V6T2, ARM_ARCH_V6KT2, ARM_ARCH_V6ZT2,
and ARM_ARCH_V6ZKT2.
opcodes:
* arm-dis.c (arm_opcodes): Document %E and %V.
Add entries for v6T2 ARM instructions:
bfc bfi mls strht ldrht ldrsht ldrsbt movw movt rbit ubfx sbfx.
(print_insn_arm): Add support for %E and %V.

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

19 years ago2005-03-11 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 11 Mar 2005 23:16:47 +0000 (23:16 +0000)]
2005-03-11  Michael Snyder  <msnyder@redhat.com>

* mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
stub fn with real implementatin mn10300_unwind_dummy_id.
(mn10300_push_dummy_call): Implement.  Bare bones version,
does not handle structs or floats.

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

19 years agoAvoid warnings due to the use of -Wuninitialized without -O.
Jim Blandy [Fri, 11 Mar 2005 21:02:02 +0000 (21:02 +0000)]
Avoid warnings due to the use of -Wuninitialized without -O.
* configure.ac (build_warnings): Include -Wuninitialized only if
CFLAGS is unset at configure time, or CFLAGS is set and includes
some -O option other than -O0.
* configure: Regenerated.

19 years ago* mips-tdep.c (show_mips_abi): Change calling conventions to match
Jim Blandy [Fri, 11 Mar 2005 20:27:56 +0000 (20:27 +0000)]
* mips-tdep.c (show_mips_abi): Change calling conventions to match
those expected by add_setshow_enum_cmd.  Use 'file' argument as
appropriate.

19 years ago * libbfd-in.h (_bfd_ar_spacepad): New prototype.
Jakub Jelinek [Fri, 11 Mar 2005 16:37:17 +0000 (16:37 +0000)]
* libbfd-in.h (_bfd_ar_spacepad): New prototype.
* libbfd.h: Rebuilt.
* archive.c (_bfd_ar_spacepad): New function.
(_bfd_construct_extended_name_table, _bfd_write_archive_contents,
bsd_write_armap, _bfd_archive_bsd_update_armap_timestamp,
coff_write_armap): Use it.
(bfd_ar_hdr_from_filesystem): Likewise.  Fix HP-UX large
uid/gid support.
* archive64.c (bfd_elf64_archive_write_armap): Use _bfd_ar_spacepad.

19 years ago * Makefile.in (SFILES): Add cp-names.y.
Daniel Jacobowitz [Fri, 11 Mar 2005 02:24:23 +0000 (02:24 +0000)]
* Makefile.in (SFILES): Add cp-names.y.
(libiberty_h, safe_ctype_h): New.
(YYFILES): Add cp-names.c.
(YYOBJ): Add cp-names.o.
(test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
(clean): Remove test-cp-names$(EXEEXT).
(local-maintainer-clean): Remove cp-names.c.
* cp-names.y: New file.
* cp-support.c (find_last_component): Delete.
(d_left, d_right): Define.
(cp_canonicalize_string, mangled_name_to_comp): New functions.
(cp_class_name_from_physname, method_name_from_physname): Rewrite
to use mangled_name_to_comp.
* cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
(cp_comp_to_string): New prototypes.
* config/djgpp/fnchange.lst: Add cp-names.c.

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

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

19 years ago* archive.c (_bfd_look_for_bfd_in_cache): Move declaration of
Mark Kettenis [Thu, 10 Mar 2005 21:26:53 +0000 (21:26 +0000)]
* archive.c (_bfd_look_for_bfd_in_cache): Move declaration of
has_table to the start of the function.

19 years agoRemove the --[no]async command line switch from --help
Bob Rossi [Thu, 10 Mar 2005 20:49:08 +0000 (20:49 +0000)]
Remove the --[no]async command line switch from --help

19 years agoAdd 2005 to doco copyright
Bob Rossi [Thu, 10 Mar 2005 13:12:33 +0000 (13:12 +0000)]
Add 2005 to doco copyright

19 years agoopcodes/
Alan Modra [Thu, 10 Mar 2005 12:52:27 +0000 (12:52 +0000)]
opcodes/
* ppc-opc.c (insert_sprg, extract_sprg): New Functions.
(powerpc_operands <SPRG>): Call the above.  Bit field is 5 bits.
(SPRG_MASK): Delete.
(XSPRG_MASK): Mask off extra bits now part of sprg field.
        (powerpc_opcodes): Asjust mfsprg and mtsprg to suit new mask.  Move
mfsprg4..7 after msprg and consolidate.

gas/testsuite
* gas/ppc/booke.s: Add new m[t,f]sprg testcases.
* gas/ppc/booke.d: Likewise.

19 years ago* proc-api.c: Update copyright year.
Mark Kettenis [Thu, 10 Mar 2005 09:11:10 +0000 (09:11 +0000)]
* proc-api.c: Update copyright year.
(_initialize_proc_api): Revert previous patch, removing spurious
space instead.

19 years ago * regcache.c: Fix typo in comment.
Joel Brobecker [Thu, 10 Mar 2005 02:43:23 +0000 (02:43 +0000)]
    * regcache.c: Fix typo in comment.

19 years agomerge from gcc
DJ Delorie [Thu, 10 Mar 2005 01:06:07 +0000 (01:06 +0000)]
merge from gcc

19 years ago * archive.c: Include hashtab.h.
Ben Elliston [Thu, 10 Mar 2005 00:29:35 +0000 (00:29 +0000)]
* archive.c: Include hashtab.h.
(struct ar_cache): Rename `arelt' to `arbfd' and remove `next'.
(_bfd_look_for_bfd_in_cache): Reimplement using htab_find.
(hash_file_ptr): New function.
(eq_file_ptr): Likewise.
(_bfd_add_bfd_to_archive_cache): Reimplement using a hash table.
* libbfd-in.h: Include hashtab.h.
(struct artdata): Change `cache' member type to htab_t.
* libbfd.h: Rebuild.

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

19 years ago2005-03-09 David Lecomber <david@lecomber.net>
David Lecomber [Wed, 9 Mar 2005 23:33:52 +0000 (23:33 +0000)]
2005-03-09  David Lecomber  <david@lecomber.net>

* proc-api.c (_initialize_proc_api): Fix invalid multi-line
i18n text.

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