binutils-gdb.git
18 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in
Alan Modra [Tue, 13 Dec 2005 05:39:34 +0000 (05:39 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in
shared libs to resolve locally.

18 years ago*** empty log message ***
gdbadmin [Tue, 13 Dec 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 12 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-12 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 12 Dec 2005 17:03:40 +0000 (17:03 +0000)]
2005-12-12  Paul Brook  <paul@codesourcery.com>

bfd/
* bfd-in2.h: Regenerate.
* elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(check_use_blx): New function.
(bfd_elf32_arm_process_before_allocation): Don't allocate glue if
using BLX.
(elf32_arm_final_link_relocate): Perform bl<->blx conversion for
R_ARM_CALL and R_ARM_THM.
(elf32_arm_get_eabi_attr_int): New function.
(elf32_arm_size_dynamic_sections): Call check_use_blx.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP.
gas/
* config/tc-arm.c (do_branch): Generate EABI branch relocations.
(do_bl): New function.
(do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation.
(do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23.
(insns): Use do_bl.
(md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and
BFD_RELOC_ARM_PCREL_BLX cases.  Handle BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
gas/testsuite/
* gas/arm/pic.d: Allow R_ARM_CALL relocations.
include/elf/
* arm.h (elf32_arm_get_eabi_attr_int): Add prototype.
ld/testsuite/
* ld-arm/arm-call.d: New test.
* ld-arm/arm-call1.s: New file.
* ld-arm/arm-call1.s: New file.
* ld-arm/arm-elf.exp: Add arm-call and mixed-app-v5.
* ld-arm/arm.ld: Add .glue_7 and .ARM.attribues.
* ld-arm/mixed-app-v5.d: New file.
* ld-arm/mixed-app.r: Tweak expected output.

18 years ago Rename ms1 to mt, part 1
Nathan Sidwell [Mon, 12 Dec 2005 11:25:08 +0000 (11:25 +0000)]
Rename ms1 to mt, part 1
* config.sub: Replace ms1 arch with mt.  Allow ms1 as alias.
* configure.in: Replace ms1 arch with mt.
* configure: Rebuilt.

* bfd/Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES,
BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt.
(cpu_mt.lo, elf32-mt.lo): Update target and dependency names.
* bfd/Makefile.in: Rebuilt.
* bfd/config.bfd: Replace ms1 arch with mt.
* bfd/configure.in: Replace ms1 files with mt files.
* bfd/configure: Rebuilt.
* bfd/elf32-mt.c: Renamed from elf32-ms1.c.  Update include files.
* bfd/cpu-mt.c: Renamed from cpu-ms1.c.

* cpu/mt.cpu: Rename from ms1.cpu.
* cpu/mt.opc: Rename from ms1.opc.

* binutils/Makefile.am: Replace ms1 files with mt files.
* binutils/Makefile.in: Rebuilt.
* binutils/readelf.c (elf/mt.h): Adjust #include.

* gas/configure.in: Replace ms1 arch with mt arch.
* gas/configure: Rebuilt.
* gas/configure.tgt: Replace ms1 arch with mt arch.
* gas/config/tc-mt.c: Renamed from tc-ms1.c: Update include files.

* gas/doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
* gas/doc/Makefile.in: Rebuilt.

* gas/testsuite/gas/mt: Renamed from ms1 dir.  Update file names as
needed.
* gas/testsuite/gas/mt/errors.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/mt.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/relocs.exp: Replace ms1 arch with mt arch.

* gdb/configure.tgt: Replace ms1 arch with mt arch.
* gdb/config/mt: Renamed from ms1 dir.  Update file names as needed.
* gdb/config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file.

* include/elf/mt.h: Renamed from ms1.h

* ld/Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
(eelf32mt.c): Update target name and dependencies.
* ld/Makefile.in: Rebuilt.
* ld/configure.tgt: Replace ms1 arch with mt arch.
* ld/emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update
comment.

* libgloss/configure.in: Replace ms1 arch with mt arch.
* libgloss/configure: Rebuilt.
* libgloss/mt: Renamed from ms1 dir.

* newlib/configure.host: Replace ms1 arch with mt arch.
* newlib/libc/machine/mt: Renamed from ms1 dir.

* opcodes/Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1
with mt.
* opcodes/Makefile.in: Rebuilt.
* opcodes/configure.in: Replace ms1 files with mt files.
* opcodes/configure: Rebuilt.

* sid/component/cgen-cpu/mt: Renamed from ms1 dir.  Update file
names as appropriate.
* sid/component/cgen-cpu/mt/Makefile.am: Replace ms1 files with mt
files.
* sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.

18 years agoRename ms1 files to mt files (part 1 -- renames only)
Nathan Sidwell [Mon, 12 Dec 2005 11:16:41 +0000 (11:16 +0000)]
Rename ms1 files to mt files (part 1 -- renames only)

18 years ago * elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
Alan Modra [Mon, 12 Dec 2005 03:59:52 +0000 (03:59 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.

18 years ago*** empty log message ***
gdbadmin [Mon, 12 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Randolph Chung [Sun, 11 Dec 2005 23:59:33 +0000 (23:59 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 11 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years agomerge from gcc
DJ Delorie [Sun, 11 Dec 2005 02:16:09 +0000 (02:16 +0000)]
merge from gcc

18 years ago * scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
Hans-Peter Nilsson [Sun, 11 Dec 2005 00:49:19 +0000 (00:49 +0000)]
* scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
* scripttempl/elf.sc: Ditto.
* scripttempl/elf32sh-symbian.sc: Ditto.
* scripttempl/elf_chaos.sc: Ditto.
* scripttempl/elfd10v.sc: Ditto.
* scripttempl/elfd30v.sc: Ditto.
* scripttempl/elfxtensa.sc: Ditto.
* scripttempl/iq2000.sc: Ditto.
* scripttempl/xstormy16.sc: Ditto.

18 years ago*** empty log message ***
gdbadmin [Sun, 11 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 10 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
Alan Modra [Sat, 10 Dec 2005 03:31:03 +0000 (03:31 +0000)]
* elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
to test for linking shared libs, not info->shared.

18 years ago*** empty log message ***
gdbadmin [Sat, 10 Dec 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 9 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 9 Dec 2005 11:25:04 +0000 (11:25 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

PR corefiles/2026
* hppa-hpux-tdep.c (hppa_hpux_core_osabi_sniffer): Check for HPUX ELF
core files.
(_initialize_hppa_hpux_tdep): Install sniffer for ELF core files.
* config/pa/hpux.mh: Compile corelow.o.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 9 Dec 2005 11:13:34 +0000 (11:13 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa64_convert_code_addr_to_fptr): New function.
(hppa64_push_dummy_call): If passing a function pointer, ensure
it is a function descriptor address instead of the function entry
point.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 9 Dec 2005 11:10:25 +0000 (11:10 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa64_dwarf_reg_to_regnum): New funtion.
(hppa_gdbarch_init): Set dwarf_reg_to_regnum and
dwarf2_reg_to_regnum methods.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 9 Dec 2005 11:05:26 +0000 (11:05 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
* gdb.asm/pa64.inc: New file.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 9 Dec 2005 11:02:09 +0000 (11:02 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.asm/common.inc: Indent commands.
* gdb.asm/asmsrc1.s: Likewise.
* gdb.asm/asmsrc2.s: Likewise.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 9 Dec 2005 10:57:40 +0000 (10:57 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
(get_addr_of_sym): Remove duplicate print.
(gen_core): xfail hppa*-*-hpux*, update expected output.
* gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
* gdb.arch/pa64-nullify.s: New file.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 9 Dec 2005 10:55:09 +0000 (10:55 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.

18 years ago*** empty log message ***
gdbadmin [Fri, 9 Dec 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 8 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * NEWS (Changes in GDB 6.4): Delete entries indicating that
Kevin Buettner [Thu, 8 Dec 2005 19:13:00 +0000 (19:13 +0000)]
* NEWS (Changes in GDB 6.4): Delete entries indicating that
the following configurations have been removed: h8300*-*-*,
mn10300-*-*, and v850-*-*.  These configurations had been
removed within the 6.4 development cycle, but were later
restored within the same cycle.

18 years agoopcodes/
Jan Beulich [Thu, 8 Dec 2005 15:21:05 +0000 (15:21 +0000)]
opcodes/
2005-12-08  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (MAXLEN): Reduce to architectural limit.
(fetch_data): Check for sufficient buffer size.

18 years agobfd/
Alan Modra [Thu, 8 Dec 2005 11:41:12 +0000 (11:41 +0000)]
bfd/
* elf32-ppc.c (struct ppc_elf_link_hash_table): Add emit_stub_syms.
(ppc_elf_select_plt_layout): Add emit_stub_syms param, save to htab.
(add_stub_sym): New function.
(allocate_dynrelocs): Call add_stub_sym.
(ppc_elf_size_dynamic_sections): Emit __glink and __glink_PLTresolve
when emit_stub_syms.
* elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype.
ld/
* emultempl/ppc32elf.em (emit_stub_syms): New var.
(ppc_after_open): Pass it to ppc_elf_select_plt_layout.
(PARSE_AND_LIST_PROLOGUE <OPTION_STUBSYMS>): Define.
(PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Handle it.

18 years ago * pe-dll.c (build_filler_bfd): Conform error message to standard.
Alan Modra [Thu, 8 Dec 2005 11:38:25 +0000 (11:38 +0000)]
* pe-dll.c (build_filler_bfd): Conform error message to standard.
(pe_dll_generate_implib): Use %E in error message.
(add_bfd_to_link): Likewise.
(pe_implied_import_dll): Likewise.

18 years agoopcodes/
Jan Beulich [Thu, 8 Dec 2005 11:28:11 +0000 (11:28 +0000)]
opcodes/
2005-12-08  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (OP_ST): Remove prefix in Intel mode.

18 years ago * reloc.c (enum complain_overflow): Correct comments.
Alan Modra [Thu, 8 Dec 2005 11:05:36 +0000 (11:05 +0000)]
* reloc.c (enum complain_overflow): Correct comments.
(bfd_check_overflow): Combine complain_overflow_bitfield and
complain_overflow_signed code.
(_bfd_relocate_contents): Likewise.
(bfd_howto_32): Use complain_overflow_dont.
* elf32-d10v.c (elf_d10v_howto_table): Revert 2002-06-17 change.
* bfd-in2.h: Regenerate.

18 years ago Add ms2 support.
Nathan Sidwell [Thu, 8 Dec 2005 10:35:18 +0000 (10:35 +0000)]
Add ms2 support.
* ms1-tdep.c (ms1_register_type): Check for ms2.
(ms1_breakpoint_from_pc): ms2 has a different break instruction.
(ms1_pseudo_register_read, ms1_pseudo_register_write,
ms1_registers_info): Add ms2.
  * NEWS (Changes since GDB 6.4): Add ms2

18 years ago * i386-dis.c (dofloat): Handle %rip-relative floating point addressing.
Alan Modra [Thu, 8 Dec 2005 09:59:40 +0000 (09:59 +0000)]
* i386-dis.c (dofloat): Handle %rip-relative floating point addressing.

18 years ago2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 8 Dec 2005 01:34:13 +0000 (01:34 +0000)]
2005-12-07  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (assign_section_numbers): Remove extra code in the last
change.

18 years ago2005-12-08 Randolph Chung <tausq@debian.org>
Randolph Chung [Thu, 8 Dec 2005 00:17:33 +0000 (00:17 +0000)]
2005-12-08  Randolph Chung  <tausq@debian.org>

* somread.c (som_symfile_offsets): Iterate through number of sections
in addrs instead of objfile.

18 years ago*** empty log message ***
gdbadmin [Thu, 8 Dec 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agogdb/
Daniel Jacobowitz [Wed, 7 Dec 2005 23:07:54 +0000 (23:07 +0000)]
gdb/
* valops.c (value_struct_elt): Clarify error message.
gdb/testsuite/
2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
* gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
code generation for these functions.
* gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
error message.

18 years agodaily update
Alan Modra [Wed, 7 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agogdb/ChangeLog:
Jim Blandy [Wed, 7 Dec 2005 19:35:43 +0000 (19:35 +0000)]
gdb/ChangeLog:
2005-12-07  Jim Blandy  <jimb@redhat.com>

* target.c (target_xfer_memory_partial): Doc fix.

18 years ago2005-12-07 Jim Blandy <jimb@redhat.com>
Jim Blandy [Wed, 7 Dec 2005 19:30:25 +0000 (19:30 +0000)]
2005-12-07  Jim Blandy  <jimb@redhat.com>

* ax-general.c (ax_reqs): Check stack heights for backward jumps,
too.  Correctly check height at target.  Doc fixes.

18 years ago2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Dec 2005 19:21:44 +0000 (19:21 +0000)]
2005-12-07  H.J. Lu  <hongjiu.lu@intel.com>
    Andreas Schwab  <schwab@suse.de>

PR binutils/1991
* elf.c (assign_section_numbers): Always use the output section
when setting up sh_link for SHF_LINK_ORDER.

18 years agobfd/
H.J. Lu [Wed, 7 Dec 2005 14:43:54 +0000 (14:43 +0000)]
bfd/

2005-12-07  Thiemo Seufer  <ths@networkno.de>
    H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1932
* bfd-in.h (bfd_elf_record_link_assignment): Add output_bfd
and hidden arguments.

* bfd.c (bfd_hide_symbol): Removed.

* bfd-in2.h: Regenerated.

* elflink.c (bfd_elf_record_link_assignment): Handle hidden
symbols which were provided by a linker script.

ld/

2005-12-07  Thiemo Seufer  <ths@networkno.de>
    H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1932
* emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
Adjust bfd_elf_record_link_assignment call.

* ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol.

18 years ago * cris-opc.c (cris_opcodes) <"move" "s,P">: Define using
Hans-Peter Nilsson [Wed, 7 Dec 2005 12:56:13 +0000 (12:56 +0000)]
* cris-opc.c (cris_opcodes) <"move" "s,P">: Define using
MOVE_M_TO_PREG_OPCODE and MOVE_M_TO_PREG_ZBITS instead of constants.

18 years ago * cris.h (MOVE_M_TO_PREG_OPCODE, MOVE_M_TO_PREG_ZBITS)
Hans-Peter Nilsson [Wed, 7 Dec 2005 12:53:57 +0000 (12:53 +0000)]
* cris.h (MOVE_M_TO_PREG_OPCODE, MOVE_M_TO_PREG_ZBITS)
(MOVE_PC_INCR_OPCODE_PREFIX, MOVE_PC_INCR_OPCODE_SUFFIX): New macros.
(ADD_PC_INCR_OPCODE): Don't define.

18 years ago * gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d,
Hans-Peter Nilsson [Wed, 7 Dec 2005 06:43:17 +0000 (06:43 +0000)]
* gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d,
gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d,
gas/cris/rd-brokw-pic-3.d, gas/cris/rd-fragtest-pic.d: New tests.

18 years ago Change 32-bit-branch expansion for --pic.
Hans-Peter Nilsson [Wed, 7 Dec 2005 06:41:56 +0000 (06:41 +0000)]
Change 32-bit-branch expansion for --pic.
* config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state.
(md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC.
(cris_any_v0_v10_long_jump_size_pic): New macro.
(md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC.
(md_convert_frag): Similar.
(md_create_long_jump): Change 32-bit-branch expansion for --pic.
(md_assemble, gen_cond_branch_32): Adjust similarly.
(md_parse_option) <case OPTION_PIC>: Adjust md_long_jump_size.
<case OPTION_ARCH>: Similar, if --pic.

18 years agoAdd missing ChangeLog entry
Hans-Peter Nilsson [Wed, 7 Dec 2005 01:36:14 +0000 (01:36 +0000)]
Add missing ChangeLog entry

18 years ago*** empty log message ***
gdbadmin [Wed, 7 Dec 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
Hans-Peter Nilsson [Tue, 6 Dec 2005 22:42:43 +0000 (22:42 +0000)]
* cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
cris/decodev10.c, cris/decodev10.h, cris/decodev32.c,
cris/decodev32.h, cris/modelv10.c, cris/modelv32.c,
cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.

18 years ago * sim/cris/asm/movmp8.ms, sim/cris/asm/pcplus.ms: New tests.
Hans-Peter Nilsson [Tue, 6 Dec 2005 22:42:07 +0000 (22:42 +0000)]
* sim/cris/asm/movmp8.ms, sim/cris/asm/pcplus.ms: New tests.
* sim/cris/asm/movmp.ms: Do not write to P0, P4 or P8.
* sim/cris/asm/raw13.ms: Write to MOF instead of WZ (P4).

18 years ago2005-12-06 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 6 Dec 2005 22:13:14 +0000 (22:13 +0000)]
2005-12-06  Michael Snyder  <msnyder@redhat.com>

* cli/cli-decode.c (add_setshow_string_cmd): Indent.
(add_setshow_integer_cmd): Indent.

18 years ago2005-12-06 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 6 Dec 2005 22:05:51 +0000 (22:05 +0000)]
2005-12-06  Michael Snyder  <msnyder@redhat.com>

* inf-ptrace.c: Fix typos in comments.

18 years ago * cris.cpu (simplecris-common-writable-specregs)
Hans-Peter Nilsson [Tue, 6 Dec 2005 21:48:28 +0000 (21:48 +0000)]
* cris.cpu (simplecris-common-writable-specregs)
(simplecris-common-readable-specregs): Split from
simplecris-common-specregs.  All users changed.
(cris-implemented-writable-specregs-v0)
(cris-implemented-readable-specregs-v0): Similar from
cris-implemented-specregs-v0.
(cris-implemented-writable-specregs-v3)
(cris-implemented-readable-specregs-v3)
(cris-implemented-writable-specregs-v8)
(cris-implemented-readable-specregs-v8)
(cris-implemented-writable-specregs-v10)
(cris-implemented-readable-specregs-v10)
(cris-implemented-writable-specregs-v32)
(cris-implemented-readable-specregs-v32): Similar.
(bdap-32-pc, move-m-pcplus-p0, move-m-spplus-p8): New
insns and specializations.

18 years agogas/
H.J. Lu [Tue, 6 Dec 2005 12:40:57 +0000 (12:40 +0000)]
gas/

2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/1874
* config/tc-i386.c (match_template): Handle monitor.
(process_suffix): Likewise.

gas/testsuite/

2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/1874
* gas/i386/i386.exp: Add x86-64-prescott for 64bit.

* gas/i386/prescott.s: Test address size override for monitor.
* gas/i386/prescott.d: Updated.

* gas/i386/x86-64-prescott.d: New file.
* gas/i386/x86-64-prescott.s: Likewise.

include/opcode/

2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/1874
* i386.h (i386_optab): Add 64bit support for monitor and mwait.

opcodes/

2005-12-06  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/1874
* i386-dis.c (address_mode): New enum type.
(address_mode): New variable.
(mode_64bit): Removed.
(ckprefix): Updated to check address_mode instead of mode_64bit.
(prefix_name): Likewise.
(print_insn): Likewise.
(putop): Likewise.
(print_operand_value): Likewise.
(intel_operand_size): Likewise.
(OP_E): Likewise.
(OP_G): Likewise.
(set_op): Likewise.
(OP_REG): Likewise.
(OP_I): Likewise.
(OP_I64): Likewise.
(OP_OFF): Likewise.
(OP_OFF64): Likewise.
(ptr_reg): Likewise.
(OP_C): Likewise.
(SVME_Fixup): Likewise.
(print_insn): Set address_mode.
(PNI_Fixup): Add 64bit and address size override support for
monitor and mwait.

18 years ago * cpu-powerpc.c (bfd_powerpc_archs): Add ppc 750.
Alan Modra [Tue, 6 Dec 2005 12:10:26 +0000 (12:10 +0000)]
* cpu-powerpc.c (bfd_powerpc_archs): Add ppc 750.

18 years ago * mi/mi-interp.c (mi_interpreter_resume): Route target error
Frederic Riss [Tue, 6 Dec 2005 05:53:46 +0000 (05:53 +0000)]
* mi/mi-interp.c (mi_interpreter_resume): Route target error
through the MI.

18 years ago*** empty log message ***
gdbadmin [Tue, 6 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * cris-dis.c (bytes_to_skip): Handle new parameter prefix_matchedp.
Hans-Peter Nilsson [Mon, 5 Dec 2005 23:27:01 +0000 (23:27 +0000)]
* cris-dis.c (bytes_to_skip): Handle new parameter prefix_matchedp.
(print_with_operands): Check for prefix when [PC+] is seen.

18 years ago * gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test.
Hans-Peter Nilsson [Mon, 5 Dec 2005 23:26:23 +0000 (23:26 +0000)]
* gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test.

18 years agodaily update
Alan Modra [Mon, 5 Dec 2005 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago Bug gas/1948
Dave Anglin [Mon, 5 Dec 2005 17:00:36 +0000 (17:00 +0000)]
Bug gas/1948
* symbols.c (colon): Also check if now_seg is bss_section when a symbol
is being redefined.

18 years agotoplevel:
Paolo Bonzini [Mon, 5 Dec 2005 15:16:05 +0000 (15:16 +0000)]
toplevel:
2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:

2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

        * configure.in (CONFIGURED_BISON, CONFIGURED_YACC, CONFIGURED_M4,
        CONFIGURED_FLEX, CONFIGURED_LEX, CONFIGURED_MAKEINFO): Remove
        "CONFIGURED_" from the AC_CHECK_PROGS invocation.  Move below.
        Find in-tree tools if available.
        (EXPECT, RUNTEST, LIPO, STRIP): Find them and substitute them.
        (CONFIGURED_*_FOR_TARGET): Don't set nor substitute.
        (*_FOR_TARGET): Set them with GCC_TARGET_TOOL.
        (COMPILER_*_FOR_TARGET): New.
        * Makefile.tpl (HOST_EXPORTS): Add *_FOR_TARGET symbols that gcc needs.
        (BASE_TARGET_EXPORTS): Use COMPILER_*_FOR_TARGET symbols.
        (CONFIGURED_*, USUAL_*): Remove.
        (BISON, YACC, FLEX, LEX, M4, MAKEINFO, EXPECT, RUNTEST, LIPO,
        STRIP): Use autoconf substitutions.
        (COMPILER_AS_FOR_TARGET, COMPILER_LD_FOR_TARGET,
        COMPILER_NM_FOR_TARGET): New.
        (EXTRA_HOST_FLAGS): Pass LIPO and STRIP.

        (all): Make all-host and all-target in parallel.
        (do-[+make_target+], do-check, install, [+compare-target+]): Ensure
        that $$r and $$s are set before invoking a recursive make.
        (stage[+id+]-bubble): Likewise, and invoke the comparison at the end.
        ([+bootstrap-target+]): Inline most of the `all' target.

2005-11-29  Ben Elliston  <bje@au.ibm.com>

        * Makefile.tpl (clean-target-libgcc): Invoke clean-target-libgcc
        from the gcc build directory.
        * Makefile.in: Regenerate.

2005-11-29  Ben Elliston  <bje@au.ibm.com>

        * Makefile.def: Add new libdecnumber host_module.  Make all-gcc
        depend on all-libdecnumber.
        * configure.in (host_libs): Include libdecnumber.
        * Makefile.in: Regenerate.
        * configure: Likewise.

2005-11-21  Kean Johnston  <jkj@sco.com>

        * config.sub, config.guess: Sync from upstream sources.

config:
2005-12-05  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (GCC_TARGET_TOOL): New.

18 years ago * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
Hans-Peter Nilsson [Mon, 5 Dec 2005 03:11:47 +0000 (03:11 +0000)]
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
cris/semcrisv32f-switch.c: Regenerate.

18 years agoFix typo last entry
Hans-Peter Nilsson [Mon, 5 Dec 2005 03:11:08 +0000 (03:11 +0000)]
Fix typo last entry

18 years ago*** empty log message ***
gdbadmin [Mon, 5 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 4 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago* amd64obsd-tdep.c: Include "regcache.h" and "bsd-uthread.h".
Mark Kettenis [Sun, 4 Dec 2005 20:19:25 +0000 (20:19 +0000)]
* amd64obsd-tdep.c: Include "regcache.h" and "bsd-uthread.h".
(amd64obsd_uthread_reg_offset): New variable.
(AMD64OBSD_UTHREAD_RSP_OFFSET): New define.
(amd64obsd_supply_uthread, amd64obsd_collect_uthread): New
functions.
(amd64obsd_init_abi): Set supply_uthread and collect_uthread.
* Makefile.in (amd64obsd-tdep.o): Update dependencies.

18 years ago* elf64-hppa.c (elf64_hppa_section_from_phdr): Create .kernel
Mark Kettenis [Sun, 4 Dec 2005 14:58:11 +0000 (14:58 +0000)]
* elf64-hppa.c (elf64_hppa_section_from_phdr): Create .kernel
pseudo-section.  Make sure .reg section comes after the proc
section it's generated from.

18 years ago*** empty log message ***
gdbadmin [Sun, 4 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 3 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * gdb.texinfo (Connecting): Explain that `monitor' is a way to
Eli Zaretskii [Sat, 3 Dec 2005 12:44:31 +0000 (12:44 +0000)]
* gdb.texinfo (Connecting): Explain that `monitor' is a way to
extend GDB with commands for external monitor.

18 years ago*** empty log message ***
gdbadmin [Sat, 3 Dec 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 2 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agoconfig/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>
Arnold Metselaar [Fri, 2 Dec 2005 22:31:16 +0000 (22:31 +0000)]
config/tc-z80.c (emit_ldreg): fix bug in ld rr,<xx>

18 years ago2005-12-02 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 2 Dec 2005 20:09:42 +0000 (20:09 +0000)]
2005-12-02  Dave Brolley  <brolley@redhat.com>

        * configure.in (cgen_files): Add cgen-bitset.lo.
        (ta): Add cgen-bitset.lo when arch==bfd_cris_arch.
        * Makefile.am (CFILES): Add cgen-bitset.c.
        (ALL_MACHINES): Add cgen-bitset.lo.
        (cgen-bitset.lo): New target.
        * cgen-opc.c (cgen_bitset_create, cgen_bitset_init, cgen_bitset_clear)
        (cgen_bitset_add, cgen_bitset_set, cgen_bitset_contains)
        (cgen_bitset_compare, cgen_bitset_intersect_p, cgen_bitset_copy)
        (cgen_bitset_union): Moved from here ...
        * cgen-bitset.c: ... to here. New file.
        * Makefile.in: Regenerated.
        * configure: Regenerated.

18 years ago2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 2 Dec 2005 14:58:18 +0000 (14:58 +0000)]
2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>

* breakpoint.c (BREAK_ARGS_HELP): New mecro.
(_initialize_breakpoint): Enhance break, tbreak, hbreak and thbreak
commands' help by adding more information and using BREAK_ARGS_HELP
to duplicate the common parts.  Remove now-redundant cross-references.

testsuite/
* gdb.base/help.exp (help b, help br, help bre, help brea)
(help break): Update the expected message.

18 years ago2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 2 Dec 2005 11:44:19 +0000 (11:44 +0000)]
2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>

* value.c (init_if_undefined_command): New function.
(_initialize_values): Add command init-if-undefined.
* NEWS (Changes since GDB 6.3): Rename to 'Changes in GDB 6.4'.
(Changes since GDB 6.4): New section.
Mention new command init-if-undefined.

doc/
* gdb.texinfo (Convenience variables): Add init-if-undefined command.

18 years ago2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Fri, 2 Dec 2005 11:11:23 +0000 (11:11 +0000)]
2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>

* symfile.c (symbol_file_clear): Test symfile_objfile is not NULL
before dereferencing it.
Gettextize the query.

18 years ago GDB 6.4 released from GDB 6.4 branch.
Joel Brobecker [Fri, 2 Dec 2005 07:35:20 +0000 (07:35 +0000)]
   GDB 6.4 released from GDB 6.4 branch.

18 years ago*** empty log message ***
gdbadmin [Fri, 2 Dec 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 1 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * ms1-tdep.c (ms1_register_name): Const qualify array.
Nathan Sidwell [Thu, 1 Dec 2005 13:19:58 +0000 (13:19 +0000)]
* ms1-tdep.c (ms1_register_name): Const qualify array.
(ms1_registers_info): Use gdb_byte.
(ms1_push_dummy_call): Likewise.
(ms1_gdbarch_init): Remove illformed nested prototype.

18 years ago* elf32-m32r.c (m32r_elf_sweep_hook): Fix an illegal duplicate check.
Nick Clifton [Thu, 1 Dec 2005 04:48:13 +0000 (04:48 +0000)]
* elf32-m32r.c (m32r_elf_sweep_hook): Fix an illegal duplicate check.
(m32r_elf_relocate_section): Fix R_M32R_10_PCREL_RELA linkage bug.
(m32r_elf_gc_sweep_hook): Likewise.
(m32r_elf_check_relocs): Likewise.

18 years ago*** empty log message ***
gdbadmin [Thu, 1 Dec 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 30 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years agoAdd Finnish translation
Nick Clifton [Wed, 30 Nov 2005 21:02:05 +0000 (21:02 +0000)]
Add Finnish translation

18 years ago*** empty log message ***
gdbadmin [Wed, 30 Nov 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 29 Nov 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * dwarf2-frame.c (dwarf2_frame_prev_register): Handle
Frederic Riss [Tue, 29 Nov 2005 07:52:39 +0000 (07:52 +0000)]
* dwarf2-frame.c (dwarf2_frame_prev_register): Handle
DWARF2_FRAME_REG_CFA_OFFSET.
* dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
DWARF2_FRAME_REG_CFA_OFFSET.

18 years ago * sim-signal.c (sim_signal_to_target): Fix typos.
Mark Mitchell [Tue, 29 Nov 2005 02:43:06 +0000 (02:43 +0000)]
* sim-signal.c (sim_signal_to_target): Fix typos.

18 years ago*** empty log message ***
gdbadmin [Tue, 29 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * configure.ac (USE_WIN32API): Define it.
Mark Mitchell [Mon, 28 Nov 2005 23:19:39 +0000 (23:19 +0000)]
* configure.ac (USE_WIN32API): Define it.
* configure.in: Regenerate.
* config.in: Likewise.
* emul_netbsd.c (write_timezone): Guard with HAVE_GETTIMEOFDAY.
* emul_unix.c (do_unix_mkdir): Handle Win32 1-argument mkdir.

18 years agodaily update
Alan Modra [Mon, 28 Nov 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago * psim.c: Include gdb/signals.h.
Mark Mitchell [Mon, 28 Nov 2005 21:30:07 +0000 (21:30 +0000)]
* psim.c: Include gdb/signals.h.

18 years ago * remote-sim.c (gdbsim_wait): Pass target signal numbers to
Mark Mitchell [Mon, 28 Nov 2005 18:33:03 +0000 (18:33 +0000)]
* remote-sim.c (gdbsim_wait): Pass target signal numbers to
sim_resume.  Expect target signal numbers from sim_stop_reason.

* wrapper.c (gdb/signals.h): Include it.
(SIGTRAP): Don't define.
(SIGBUS): Likewise.
(sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.

* sim-reason.c (sim_stop_reason): Use
sim_signal_to_target, not sim_signal_to_host.
* sim-signal.c (sim_signal_to_host): Fix typo.
(sim_signal_to_target): New function.

* interp.c (gdb/signals.h): Include it.
(sim_stop_reason): Use TARGET_SIGNAL_*.

* interf.c: (gdb/signals.h): Include it.
(sim_stop_reason): Use TARGET_SIGNAL_*.

* sim_calls.c (gdb/signals.h): Include it.
(sim_stop_reason): Use TARGET_SIGNAL_*.
* psim.c (cntrl_c_simulation): Use TARGET_SIGNAL_*.

18 years agoFix changelog typo.
Daniel Jacobowitz [Mon, 28 Nov 2005 03:29:07 +0000 (03:29 +0000)]
Fix changelog typo.

18 years ago* win32-nat.c (env_sort): New function.
Christopher Faylor [Mon, 28 Nov 2005 01:17:59 +0000 (01:17 +0000)]
* win32-nat.c (env_sort): New function.
(win32_create_inferior): Rename env to in_env.  Sort environment before handing
it off to CreateProcess.
(win32_current_sos): Quiet a compiler warning.

18 years ago*** empty log message ***
gdbadmin [Mon, 28 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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