OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years agodaily update
Alan Modra [Sun, 24 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 24 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 23 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago Unbreak 'target async'.
Vladimir Prus [Sat, 23 Feb 2008 20:04:20 +0000 (20:04 +0000)]
Unbreak 'target async'.
        * serial.c (serial_async): Set the
        handler function before enabling async
        mode.

16 years agogas/testsuite/
H.J. Lu [Sat, 23 Feb 2008 17:29:17 +0000 (17:29 +0000)]
gas/testsuite/

2008-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/jump.s: Add tests for far branches.
* gas/i386/jump16.s: Likewise.

* gas/i386/jump.d: Updated.
* gas/i386/jump16.d: Likewise.
* gas/i386/x86-64-inval.l: Likewise.

* gas/i386/x86-64-inval.s: Add tests for 16-bit near indirect
branches.

opcodes/

2008-02-23  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Disallow 16-bit near indirect branches for
x86-64.
* i386-tbl.h: Regenerated.

16 years ago * elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change.
Alan Modra [Sat, 23 Feb 2008 05:50:28 +0000 (05:50 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change.

16 years ago * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Copy
Alan Modra [Sat, 23 Feb 2008 01:56:21 +0000 (01:56 +0000)]
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Copy
pointer_equality_needed.
(ppc_elf_check_relocs): Split out non-branch relocs from others
that might emit dynamic relocs.  Set pointer_equality_needed
for their symbols.  Don't set non_got_ref on branch reloc symbols.
(ppc_elf_hash_symbol): New function.
(elf_backend_hash_symbol): Define.
(ppc_elf_finish_dynamic_symbol): Handle pointer_equality_needed.
Error if pointer_equality_needed on weak plt symbol.

16 years ago2008-02-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 23 Feb 2008 00:02:05 +0000 (00:02 +0000)]
2008-02-22  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/5788
* elflink.c (elf_create_symbuf): Correct buffer size and
position.

16 years ago*** empty log message ***
gdbadmin [Sat, 23 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 22 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * solib-svr4.c (enable_break): Convert r_brk to a code address.
Daniel Jacobowitz [Fri, 22 Feb 2008 19:48:05 +0000 (19:48 +0000)]
* solib-svr4.c (enable_break): Convert r_brk to a code address.

16 years ago PR 868
Nick Clifton [Fri, 22 Feb 2008 15:27:38 +0000 (15:27 +0000)]
    PR 868
        *dwarf2.c: Revert previous patch.  All of the allocate memory is
        on an obstack which will be freed at some other time.

16 years ago*** empty log message ***
gdbadmin [Fri, 22 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 21 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * remote.c (extended_remote_attach_1): Set attach_flag.
Pedro Alves [Thu, 21 Feb 2008 17:26:16 +0000 (17:26 +0000)]
* remote.c (extended_remote_attach_1): Set attach_flag.
(extended_remote_create_inferior_1): Clear attach_flag.

16 years agoopcodes/
Jan Beulich [Thu, 21 Feb 2008 16:18:04 +0000 (16:18 +0000)]
opcodes/
2008-02-21  Jan Beulich  <jbeulich@novell.com>

* i386-opc.tbl: Allow Dword for far indirect call. Allow Dword
and Fword for far indirect jmp. Allow Reg16 and Word for near
indirect jmp on x86-64. Disallow Fword for lcall.
* i386-tbl.h: Re-generate.

16 years ago * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
Daniel Jacobowitz [Thu, 21 Feb 2008 01:47:32 +0000 (01:47 +0000)]
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
r_brk_offset.
(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
* solib-svr4.c (solib_svr4_r_brk): New.
(open_symbol_file_object, svr4_current_sos): Always check the
debug base.
(svr4_fetch_objfile_link_map): Do not set debug_base.
(enable_break): Use r_brk if it is set.
(svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
(svr4_lp64_fetch_link_map_offsets): Likewise.
* solib-svr4.h (struct link_map_offsets): Add r_brk_offset.

16 years ago * stack1.c: Include stdlib.h
Keith Seitz [Thu, 21 Feb 2008 00:24:46 +0000 (00:24 +0000)]
    * stack1.c: Include stdlib.h
        * simple.c: Likewise.
        Include string.h.

16 years ago*** empty log message ***
gdbadmin [Thu, 21 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 20 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoPR 868
Nick Clifton [Wed, 20 Feb 2008 17:42:36 +0000 (17:42 +0000)]
PR 868
   * libbfd.c (bfd_realloc_or_free): New function.  Performs like
   bfd_realloc, but if the (re)allocation fails, the pointer is
   freed.
   * libbfd-in.h: Prototype.
   * libbfd.h: Regenerate.
   * bfdio.c (bfd_bwrite): Use the new function.
   (bfd_seek): Likewise.
   * bfdwin.c:(bfd_get_file_window): Likewise.
   * elf-strtab.c (_bfd_elf_strtab_add): Likewise.
   * elf32-ppc.c (ppc_elf_relax_section): Likewise.
   * elf32-xtensa.c (vsprintf_msg): Likewise.
   * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise.
   * stabs.c (_bfd_link_seciton_stabs): Likewise.
   * vms-misc.c (_bfd_vms_get_record): Likewise.
   * vms-tir.c (check_section): Likewise.
   * vms.c (vms_new_section_hook): Likewise.
   * elf32-arm.c (elf32_arm_section_map_add): Check that the
   allocation of sec_data->map succeeded before using it.
   * elflink.c (elf_link_output_sym): Do not overwrite finfo->
   symshndxbuf until it is known that the reallocation succeeded.

16 years agoconfig:
Paolo Bonzini [Wed, 20 Feb 2008 16:28:09 +0000 (16:28 +0000)]
config:
2008-02-20  Uros Bizjak  <ubizjak@gmail.com>

* mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.

16 years agoPR 868
Nick Clifton [Wed, 20 Feb 2008 15:56:33 +0000 (15:56 +0000)]
PR 868
   * dwarf2.c (read_abbrevs): Free the abbreviation table if we run
   out of memory.
   (decode_line_info): Free the line_info_table before returning a
   failure result.
   (_bfd_dwarf2_cleanup_debug_info): Free the abbreviation table.
   Free the line table.  Free the function table.  Free the variable
   table.

16 years ago2008-02-20 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Wed, 20 Feb 2008 15:45:20 +0000 (15:45 +0000)]
2008-02-20  Markus Deuling  <deuling@de.ibm.com>
    Mark Kettenis  <kettenis@gnu.org>

* alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
trad_frame_saved_reg.
(trad-frame.h): New include.

(alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
instead of frame_obstack_zalloc.
(alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.

* Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.

16 years ago2008-02-20 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 20 Feb 2008 15:17:56 +0000 (15:17 +0000)]
2008-02-20  Paul Brook  <paul@codesourcery.com>

ld/
* emultempl/armelf.em (OPTION_FIX_V4BX_INTERWORKING): Define.
(PARSE_AND_LIST_LONGOPTS): Add fix-v4bx-interworking.
(PARSE_AND_LIST_OPTIONS): Ditto.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FIX_V4BX_INTERWORKING.
* emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Add .v4_bx.
* emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Ditto.
* emulparams/armnto.sh (OTHER_TEXT_SECTIONS): Ditto.
* ld.texinfo: Document --fix-v4bx-interworking.

ld/testsuite/
* ld-arm/armv4-bx.d: New test.
* ld-arm/armv4-bx.s: New test.
* ld-arm/arm.ld: Add .v4bx.
* ld-arm/arm-elf.exp: Add armv4-bx.

gas/testsuite/
* gas/arm/thumb.d: Exclude EABI targets.
* gas/arm/arch4t.d: Exclude EABI targts.
* gas/arm/v4bx.d: New test.
* gas/arm/v4bx.s: New test.
* gas/arm/thumb-eabi.d: New test.
* gas/arm/arch4t-eabi.d: New test.

gas/
* config/tc-arm.c (fix_v4bx): New variable.
(do_bx): Generate V4BX relocations.
(md_assemble): Allow bx on v4 codes when fix_v4bx.
(md_apply_fix): Handle BFD_RELOC_ARM_V4BX.
(tc_gen_reloc): Ditto.
(OPTION_FIX_V4BX): Define.
(md_longopts): Add fix-v4bx.
(md_parse_option): Handle OPTION_FIX_V4BX.
(md_show_usage): Document --fix-v4bx.
* doc/c-arm.texi: Document --fix-v4bx.

bfd/
* reloc.c: Add BFD_RELOC_ARM_V4BX.
* elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_V4BX.
(ARM_BX_GLUE_SECTION_NAME, ARM_BX_GLUE_SECTION_NAME): Define.
(elf32_arm_link_hash_table): Add bx_glue_size and bx_glue_offset.
Update comment for fix_v4bx.
(elf32_arm_link_hash_table_create): Zero bx_glue_size and
bx_glue_offset.
(ARM_BX_VENEER_SIZE, armbx1_tst_insn, armbx2_moveq_insn,
armbx3_bx_insn): New.
(bfd_elf32_arm_allocate_interworking_sections): Allocate BX veneer
section.
(bfd_elf32_arm_add_glue_sections_to_bfd): Ditto.
(bfd_elf32_arm_process_before_allocation): Record BX veneers.
(record_arm_bx_glue, elf32_arm_bx_glue): New functions.
(elf32_arm_final_link_relocate): Handle BX veneers.
(elf32_arm_output_arch_local_syms): Output mapping symbol for .v4_bx.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

16 years ago * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
Markus Deuling [Wed, 20 Feb 2008 14:34:43 +0000 (14:34 +0000)]
* rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
from disassemble_info instead of gdbarch_byte_order.

* mips-tdep.c (gdb_print_insn_mips): Likewise.
* arm-tdep.c (gdb_print_insn_arm): Likewise.

16 years ago * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
Markus Deuling [Wed, 20 Feb 2008 14:31:40 +0000 (14:31 +0000)]
* gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
gdbarch as parameter.

* gdbarch.{c,h}: Regenerate.

* ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as
parameter.
* mem-break.c (default_memory_insert_breakpoint)
(default_memory_remove_breakpoint): Likewise.
* target.h (default_memory_remove_breakpoint)
(default_memory_insert_breakpoint): Likewise.

* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as
parameter. Replace current_gdbarch by gdbarch.
* m32r-tdep.c (m32r_memory_insert_breakpoint)
(m32r_memory_remove_breakpoint): Likewise.

16 years ago2008-02-20 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 20 Feb 2008 14:26:59 +0000 (14:26 +0000)]
2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/32009
        PR bootstrap/32161

        * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
        * configure: Regenerate.

        * Makefile.def: Define stage_libcflags for all bootstrap stages.
        * Makefile.tpl (BOOT_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
        STAGE4_LIBCFLAGS): New.
        (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
        $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
        (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
        (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
        (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
        for target modules.  Don't export LIBCFLAGS.
        (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
        $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
        the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
        (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
        $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
        * Makefile.in: Regenerate.

config:
2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/32009
        * mh-ppc-darwin (BOOT_CFLAGS): Reenable.

16 years ago*** empty log message ***
gdbadmin [Wed, 20 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 19 Feb 2008 23:00:34 +0000 (23:00 +0000)]
daily update

16 years agodoc/
Pedro Alves [Tue, 19 Feb 2008 21:36:54 +0000 (21:36 +0000)]
doc/
* gdb.texinfo (vAttach, vRun): Remove requirement of the stub
killing the inferior when it is already debugging a process.

gdbserver/
* server.c (handle_v_requests): When handling the vRun and vAttach
packets, if already debugging a process, don't kill it.  Return an
error instead.

16 years ago * MAINTAINERS: Add Vladimir Prus as MI maintainer.
Daniel Jacobowitz [Tue, 19 Feb 2008 19:11:16 +0000 (19:11 +0000)]
* MAINTAINERS: Add Vladimir Prus as MI maintainer.

16 years ago * NEWS: Add entry describing Add support improvements.
Joel Brobecker [Tue, 19 Feb 2008 18:20:45 +0000 (18:20 +0000)]
    * NEWS: Add entry describing Add support improvements.

16 years ago PR other/12618
Ben Elliston [Tue, 19 Feb 2008 03:22:19 +0000 (03:22 +0000)]
PR other/12618
* testsuite/Makefile.in (mostlyclean): Remove any core file.

16 years ago*** empty log message ***
gdbadmin [Tue, 19 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 18 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
Markus Deuling [Mon, 18 Feb 2008 19:58:27 +0000 (19:58 +0000)]
* m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
M68K_FP0_REGNUM.

16 years ago * sentinel-frame.c (sentinel_frame_prev_register): Do not call
Markus Deuling [Mon, 18 Feb 2008 16:37:17 +0000 (16:37 +0000)]
* sentinel-frame.c (sentinel_frame_prev_register): Do not call
register_offset_hack anymore.

* regcache.{c,h} (register_offset_hack): Remove.

16 years ago * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
Markus Deuling [Mon, 18 Feb 2008 16:11:21 +0000 (16:11 +0000)]
* hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.

* hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
current_gdbarch by gdbarch.
(hppa64_hpux_find_global_pointer): Likewise.
* hppa-tdep.c (hppa_find_global_pointer): Likewise.
(hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
find_global_pointer.

* hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
parameter.
* hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.

* hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
of gdbarch_num_regs.

* hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
replace current_gdbarch by gdbarch.
(hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.

16 years ago * cr16.h (cr16_num_optab): Declared.
Nick Clifton [Mon, 18 Feb 2008 13:46:45 +0000 (13:46 +0000)]
    * cr16.h (cr16_num_optab): Declared.
        * cr16-opc.c  (cr16_num_optab): Defined

16 years ago * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
Markus Deuling [Mon, 18 Feb 2008 11:00:02 +0000 (11:00 +0000)]
* rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
and replace current_gdbarch by gdbarch.

(store_register): Update call for exec_one_dummy_insn.
(fetch_register, store_register): Update call of regmap.

* ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
parameter and replace current_gdbarch by gdbarch.

(ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
the current architecture. Update call for getregs_supplies and
getfpregs_supplies.
(ppcnbsd_fetch_inferior_registers): Likewise.

* ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
replace current_gdbarch by gdbarch.
(ppcobsd_fetch_registers, ppcobsd_store_registers): Use
get_regcache_arch to get at the current architecture. Update call for
getfpregs_supplies.

16 years ago * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
Markus Deuling [Mon, 18 Feb 2008 10:56:43 +0000 (10:56 +0000)]
* arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
variables.

16 years ago*** empty log message ***
gdbadmin [Mon, 18 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago* elf.c (swap_out_syms): Avoid preprocessing directive within
Mark Kettenis [Sun, 17 Feb 2008 23:45:23 +0000 (23:45 +0000)]
* elf.c (swap_out_syms): Avoid preprocessing directive within
macro arg.

16 years agodaily update
Alan Modra [Sun, 17 Feb 2008 23:00:04 +0000 (23:00 +0000)]
daily update

16 years ago * server.c (handle_query): Correct length check.
Daniel Jacobowitz [Sun, 17 Feb 2008 15:26:17 +0000 (15:26 +0000)]
* server.c (handle_query): Correct length check.

16 years ago* elf.c (assign_file_positions_for_load_sections): Set the type of
Jan Kratochvil [Sun, 17 Feb 2008 13:21:20 +0000 (13:21 +0000)]
* elf.c (assign_file_positions_for_load_sections): Set the type of
PT_NOTE sections to SHT_NOTE.

16 years ago*** empty log message ***
gdbadmin [Sun, 17 Feb 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * simple.c (bfd_simple_get_relocated_section_contents): Set
Alan Modra [Sat, 16 Feb 2008 23:00:12 +0000 (23:00 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Set
link_info.output_bfd.

16 years agodaily update
Alan Modra [Sat, 16 Feb 2008 23:00:07 +0000 (23:00 +0000)]
daily update

16 years agogas/
H.J. Lu [Sat, 16 Feb 2008 16:16:47 +0000 (16:16 +0000)]
gas/

2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (inoutportreg): New.
(process_immext): New.
(md_assemble): Use it.
(update_imm): Use imm16 and imm32s.
(i386_att_operand): Use inoutportreg.

opcodes/

2008-02-16  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c  (operand_type_init): Add OPERAND_TYPE_INOUTPORTREG.
* i386-init.h: Regenerated.

16 years ago2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Paolo Bonzini [Sat, 16 Feb 2008 15:26:46 +0000 (15:26 +0000)]
2008-02-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

PR libgcj/33085
* libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ] <GCJ>:
Do not use -DDLL_EXPORT.  Backport from upstream.

16 years ago * dwarf2.c (find_line): Don't trust debug information after an
Nathan Sidwell [Sat, 16 Feb 2008 10:51:38 +0000 (10:51 +0000)]
* dwarf2.c (find_line): Don't trust debug information after an
unparseable compilation unit.

16 years ago*** empty log message ***
gdbadmin [Sat, 16 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 15 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago PR 5765
Alan Modra [Fri, 15 Feb 2008 10:35:46 +0000 (10:35 +0000)]
PR 5765
* section.c (SEC_LINK_DUPLICATES): Correct.  Renumber following flags.
* bfd-in2.h: Regenerate.

16 years ago * elf-bfd.h (enum elf_object_id): Add HPPA_ELF_TDATA.
Alan Modra [Fri, 15 Feb 2008 08:27:19 +0000 (08:27 +0000)]
* elf-bfd.h (enum elf_object_id): Add HPPA_ELF_TDATA.
* elf.c (bfd_elf_allocate_object): Don't check for already allocated
tdata.
* elf32-hppa.c (elf32_hppa_mkobject): New function.
(bfd_elf32_mkobject): Define.
* elf32-ppc.c (is_ppc_elf_target): Delete.  Replace all uses with..
(is_ppc_elf): ..this new macro.
* elf64-ppc.c (is_ppc64_elf_target): Delete.  Replace all uses with..
(is_ppc64_elf): ..this new macro.

16 years ago * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
Markus Deuling [Fri, 15 Feb 2008 04:50:58 +0000 (04:50 +0000)]
* mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.

16 years agoinclude/
Alan Modra [Fri, 15 Feb 2008 03:35:52 +0000 (03:35 +0000)]
include/
* bfdlink.h (struct bfd_link_hash_table): Delete creator field.
(struct bfd_link_info): Add output_bfd.
bfd/
* elflink.c: Replace all accesses to hash->creator field with
output_bfd->xvec.
* cofflink.c: Likewise.
* coff-h8300.c: Likewise.
* ecoff.c: Likewise.
* elf32-m68hc1x.c: Likewise.
* elf32-ppc.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sparc.c: Likewise.
* elfxx-mips.c: Likewise.
* i386linux.c: Likewise.
* m68klinux.c: Likewise.
* sparclinux.c: Likewise.
* sunos.c: Likewise.
* xcofflink.c: Likewise.
* linker.c: Likewise.
(_bfd_link_hash_table_init): Don't store creator.
ld/
* ldmain.h (output_bfd): Delete.
* ldmain.c (output_bfd): Delete.
Replace all occurrences of output_bfd with link_info.output_bfd.
* ldcref.c: Likewise.
* ldctor.c: Likewise.
* ldemul.c: Likewise.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldlang.c: Likewise.
* ldmisc.c: Likewise.
* ldwrite.c: Likewise.
* pe-dll.c: Likewise.
* emultempl/aix.em: Likewise.
* emultempl/alphaelf.em: Likewise.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/avrelf.em: Likewise.
* emultempl/beos.em: Likewise.
* emultempl/elf-generic.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/gld960.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/irix.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/lnk960.em: Likewise.
* emultempl/m68hc1xelf.em: Likewise.
* emultempl/mmix-elfnmmo.em: Likewise.
* emultempl/mmo.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/pep.em: Likewise.
* emultempl/ppc32elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/scoreelf.em: Likewise.
* emultempl/sh64elf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/vanilla.em: Likewise.
* emultempl/vxworks.em: Likewise.
* emultempl/xtensaelf.em: Likewise.
* emultempl/z80.em: Likewise.
* ldlang.c (open_output): Don't return output, instead write
link_info_output_bfd directly.
* emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
with link_info.output_bfd->xvec.
* emultempl/hppaelf.em: Likewise.
* emultempl/ppc32elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/spuelf.em: Likewise.

16 years ago*** empty log message ***
gdbadmin [Fri, 15 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 14 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * win32-low.c (do_initial_child_stuff): Add process handle
Pedro Alves [Thu, 14 Feb 2008 22:41:39 +0000 (22:41 +0000)]
* win32-low.c (do_initial_child_stuff): Add process handle
parameter.  Set current_process_handle and current_process_id from the
parameters. Clear globals.
(win32_create_inferior): Don't set current_process_handle and
current_process_id here.  Instead pass them on the call to
do_initial_child_stuff.
(win32_attach): Likewise.
(win32_clear_inferiors): New.
(win32_kill): Don't close the current process handle or the
current thread handle here.  Instead call win32_clear_inferiors.
(win32_detach): Don't open a new handle to the process.  Call
win32_clear_inferiors.
(win32_join): Don't rely on current_process_handle; open a new
handle using the process id.
(win32_wait): Call win32_clear_inferiors when the inferior process
has exited.

16 years ago * NEWS: Mention pending breakpints in MI
Vladimir Prus [Thu, 14 Feb 2008 20:20:44 +0000 (20:20 +0000)]
* NEWS: Mention pending breakpints in MI

16 years ago * server.c (monitor_show_help): Add "exit".
Daniel Jacobowitz [Thu, 14 Feb 2008 16:42:55 +0000 (16:42 +0000)]
* server.c (monitor_show_help): Add "exit".

16 years ago * efi-rtdrv-ia32.c: New file.
Nick Clifton [Thu, 14 Feb 2008 15:20:26 +0000 (15:20 +0000)]
    * efi-rtdrv-ia32.c: New file.
        * efi-bsdrv-ia32.c: New file.
        * efi-rtdrv-ia64.c: New file.
        * efi-bsdrv-ia64.c: New file.
        * efi-rtdrv-x86_64.c: New file.
        * efi-bsdrv-x86_64.c: New file.
        * peicode.h (pe_bfd_object_p): Add support for boot service and
        runtime service drivers.
        * libpei.h: Add macros for EFI formats, and rename the efi application
        format macros to disambiguate.
        * targets.c: Add bfd_target _vec externs.
        (_bfd_tar): Add EFI _vec entries.
        * config.bfd: Add EFI vectors into the selection routines.
        * configure.in: add EFI _vec entries.
        * configure: Regenerate.
        * Makefile.am: Add EFI files.
        * Makefile.in: Regenerate.

16 years ago PR gas/2626
Nick Clifton [Thu, 14 Feb 2008 13:04:29 +0000 (13:04 +0000)]
    PR gas/2626

        * avr.h (AVR_ISA_2xxe): Define.

        * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
        to AVR_ISA_2xxe.
        (avr_operand): Disallow post-increment addressing in the lpm
        instruction for the attiny26.

16 years ago * dwarf1.c (struct dwarf1_debug): Add syms member.
Nathan Sidwell [Thu, 14 Feb 2008 13:02:38 +0000 (13:02 +0000)]
* dwarf1.c (struct dwarf1_debug): Add syms member.
(alloc_dwarf1_unit, alloc_dwarf1_func): Check for out of memory.
(parse_line_table, _bfd_dwarf1_find_nearest_line): Relocate
section contents, check for out of memory.

* dwarf1.c (struct dwarf1_debug): Change data pointers to bfd_byte.
(parse_die): Change data pointers to bfd_byte.
(parse_line_table, parse_functions_in_unit): Likewise.

16 years agoImport this patch from gcc:
Nick Clifton [Thu, 14 Feb 2008 12:44:38 +0000 (12:44 +0000)]
Import this patch from gcc:
2008-01-24  David Edelsohn  <edelsohn@gnu.org>

            * libtool.m4: Backport AIX 6 support from ToT Libtool.

16 years agoPR binutils/5524
Nick Clifton [Thu, 14 Feb 2008 12:33:17 +0000 (12:33 +0000)]
PR binutils/5524
   * configure.in (SHARED_LIBADD): Select the correct host specific
   file extension for shared libraries.
   * configure: Regenerate.

16 years ago * elflink.c (compute_bucket_count): Warning fixes.
Alan Modra [Thu, 14 Feb 2008 08:31:47 +0000 (08:31 +0000)]
* elflink.c (compute_bucket_count): Warning fixes.

16 years ago * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
Markus Deuling [Thu, 14 Feb 2008 04:49:12 +0000 (04:49 +0000)]
* Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.

16 years ago*** empty log message ***
gdbadmin [Thu, 14 Feb 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 13 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agogas/
Jan Beulich [Wed, 13 Feb 2008 13:41:26 +0000 (13:41 +0000)]
gas/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (parse_real_register): Don't return 'FLAT'
if not in Intel mode.
(i386_intel_operand): Ignore segment overrides in immediate and
offset operands.
(intel_e11): Range-check i.mem_operands before use as array
index. Filter out FLAT for uses other than as segment override.
(intel_get_token): Remove broken promotion of "FLAT:" to mean
"offset FLAT:".

gas/testsuite/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelok.s: Replace invalid offset expression with
valid ones.
* gas/i386/x86_64.s: Likewise.

opcodes/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* i386-opc.h (RegFlat): New.
* i386-reg.tbl (flat): Add.
* i386-tbl.h: Re-generate.

16 years agogas/
Jan Beulich [Wed, 13 Feb 2008 13:29:31 +0000 (13:29 +0000)]
gas/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (intel_e09): Also special-case 'bound'.

gas/testsuite/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelbad.s, gas/i386/intelok.s: Add 'bound' tests.
* gas/i386/intelbad.l, gas/i386/intelok.l, gas/i386/intelok.e,
gas/i386/opcode-intel.d: Adjust.

opcodes/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (a_mode): New.
(cond_jump_mode): Adjust.
(Ma): Change to a_mode.
(intel_operand_size): Handle a_mode.
* i386-opc.tbl: Allow Dword and Qword for bound.
* i386-tbl.h: Re-generate.

16 years agogas/
Jan Beulich [Wed, 13 Feb 2008 10:14:40 +0000 (10:14 +0000)]
gas/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (allow_pseudo_reg): New.
(parse_real_register): Check for NULL just once. Allow all
register table entries when allow_pseudo_reg is non-zero.
Don't allow any registers without type when allow_pseudo_reg
is zero.
(tc_x86_regname_to_dw2regnum): Replace with ...
(tc_x86_parse_to_dw2regnum): ... this.
(tc_x86_frame_initial_instructions): Adjust for above change.
* config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
(tc_parse_to_dw2regnum): New.
(tc_x86_regname_to_dw2regnum): Replace with ...
(tc_x86_parse_to_dw2regnum): ... this.
* dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
(cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
error handling.

gas/testsuite/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* gas/cfi/cfi-i386.s: Add code testing use of all registers.
Fix a few comments.
* gas/cfi/cfi-x86_64.s: Likewise.
* gas/cfi/cfi-i386.d, gas/cfi/cfi-x86_64.d: Adjust.

opcodes/
2008-02-13  Jan Beulich  <jbeulich@novell.com>

* i386-gen.c (process_i386_registers): Process new fields.
* i386-opc.h (reg_entry): Shrink reg_flags and reg_num to
unsigned char. Add dw2_regnum and Dw2Inval.
* i386-reg.tbl: Provide initializers for dw2_regnum. Add pseudo
register names.
* i386-tbl.h: Re-generate.

16 years ago Add script to build and test GDB using enable-targets=all.
Markus Deuling [Wed, 13 Feb 2008 05:05:29 +0000 (05:05 +0000)]
Add script to build and test GDB using enable-targets=all.

* gdb_buildall.sh: New file.

doc/
        * gdbint.texinfo (Build Script): New section. Mention new build script
        gdb_buildall.sh.

16 years ago*** empty log message ***
gdbadmin [Wed, 13 Feb 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 12 Feb 2008 23:00:07 +0000 (23:00 +0000)]
daily update

16 years ago* elf32-iq2000.c (iq2000_elf_relocate_section): Adjust addend of
DJ Delorie [Tue, 12 Feb 2008 19:11:55 +0000 (19:11 +0000)]
* elf32-iq2000.c (iq2000_elf_relocate_section): Adjust addend of
relocation pointing to local symbol in merged section.
* elf32-iq2000.c (iq2000_elf_relocate_offset16): New.
(iq2000_elf_relocate_section): Call it.

16 years agoCorrect last 2 ChangeLog entries.
H.J. Lu [Tue, 12 Feb 2008 17:22:02 +0000 (17:22 +0000)]
Correct last 2 ChangeLog entries.

16 years agoPR ld/5692
Nick Clifton [Tue, 12 Feb 2008 11:32:31 +0000 (11:32 +0000)]
PR ld/5692
   * elf-bfd.h (enum elf_object_id): New enum, used to identify
   target specific extensions to the elf_obj_tdata structure.
   (struct elf_obj_tdata): New field 'object_id'.
   (elf_object_id, elf_program_header_size, elf_symtab_hdr): New
   macros for accessing fields in the elf_obj_tdata structure.
   (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object.
   (bfd_elf_allocate_object): New function.
   * elf.c (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object
   and implement by calling bfd_elf_allocate_object.
   (bfd_elf_allocate_object): New function: Allocates an
   elf_obj_tdata structure, possibly with a target specific
   extension.
   * elfxx-target.h (bfd_elfNN_mkobject): Use
   bfd_elf_make_generic_object as the default value.
   * elf32-arm.c (elf32_arm_obj_tdata): Rename to elf_arm_obj_tdata
   for consistency with other, similar structures.
   (is_arm_elf): New macro.  Checks a BFD to make sure that is an ARM
   ELF bfd.
   (elf32_arm_mkobject): Call bfd_elf_allocate_object.
   (bfd_elf32_arm_vfp11_erratum_scan): Use is_arm_elf macro to check
   the bfd being processed.
   (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
   (bfd_elf32_arm_set_target_relocs): Likewise.
   (bfd_elf32_arm_final_link_relocate): Likewise.
   (bfd_elf32_arm_copy_private_bfd_data): Likewise.
   (bfd_elf32_arm_merge_eabi_attributes): Likewise.
   (bfd_elf32_arm_merge_private_bfd_data): Likewise.
   (bfd_elf32_arm_check_relocs): Likewise.
   (bfd_elf32_arm_gc_mark_extra_sections): Likewise.
   (bfd_elf32_arm_size_dynamic_sections): Likewise.
   (bfd_elf32_arm_process_before_allocation): Use elf_symtab_hdr.
   (bfd_elf32_arm_init_maps): Likewise.
   (bfd_elf32_arm_final_link_relocate): Likewise.
   (bfd_elf32_arm_relocate_section): Likewise.
   (bfd_elf32_arm_gc_sweep_hook): Likewise.
   (bfd_elf32_arm_check_relocs): Likewise.
   (bfd_elf32_arm_size_dynamic_sections): Likewise.
   * elf32-i386.c (elf_i386_mkobject): Call bfd_elf_allocate_object.
   (is_i386_elf): New macro.  Checks a BFD to make sure that is an x86
   ELF bfd.
   (elf_i386_check_relocs): Use is_i386_elf macro to check    the bfd
   being processed.
   (elf_i386_size_dynamic_sections): Likewise.
   (elf_i386_relocate_section): Likewise.
   (elf_i386_check_relocs): Use elf_symtab_hdr.
   (elf_i386_gc_sweep_hook): Likewise.
   (elf_i386_size_dynamic_sections): Likewise.
   (elf_i386_relocate_section): Likewise.
   * elf32-ppc.c (ppc_elf_mkobject): Call bfd_elf_allocate_object.
   (elf_create_pointer_linker_section): Use is_ppc_elf_target to
   verify that the bfd before accessing target specific fields.
   (ppc_elf_check_relocs): Likewise.
   (elf_finish_pointer_linker_section): Likewise.
   (elf_create_pointer_linker_section): Use elf_symtab_hdr.
   (ppc_elf_check_relocs): Likewise.
   (ppc_elf_gc_sweep_hook): Likewise.
   (ppc_elf_tls_optimize): Likewise.
   (ppc_elf_size_dynamic_sections): Likewise.
   (ppc_elf_relax_section): Likewise.
   (ppc_elf_relocate_section): Likewise.
   * elf32-s390.c (struct elf_s390_obj_tdata): Add a comment
   reminding programmers to keep this structure in sync with the one
   defined in elf64-s390.c.
   (elf_s390_mkobject): Call bfd_elf_allocate_object.
   (is_s390_elf): New macro.  Checks a BFD to make sure that is an s390
   ELF bfd.
   (elf_s390_check_relocs): Use is_s390_elf macro to check    the bfd
   being processed.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   (elf_s390_check_relocs): Use elf_symtab_hdr.
   (elf_s390_gc_sweep_hook): Likewise.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   * elf32-sh.c (sh_elf_mkobject): Call bfd_elf_allocate_object.
   (is_sh_elf): New macro.  Checks a BFD to make sure that is an SH
   ELF bfd.
   (sh_elf_size_dynamic_sections): Use is_sh_elf macro to check the
   bfd being processed.
   (sh_elf_relocate_section): Likewise.
   (sh_elf_check_relocs): Likewise.
   (sh_elf_copy_private_data): Likewise.
   (sh_elf_relax_section): Use elf_symtab_hdr.
   (sh_elf_size_dynamic_sections): Likewise.
   (sh_elf_relocate_section): Likewise.
   (sh_elf_get_relocated_section_contents): Likewise.
   (sh_elf_gc_sweep_hook): Likewise.
   (sh_elf_check_relocs): Likewise.
   * elf64-alpha.c (elf64_alpha_mkobject): Call bfd_elf_allocate_object.
   (is_alpha_elf): New macro.  Checks a BFD to make sure that is an
   Alpha ELF bfd.
   (elf64_alpha_create_got_section): Use is_alpha_elf macro to check
   the bfd being processed.
   (elf64_alpha_create_dynamic_section): Likewise.
   (elf64_alpha_check_relocs): Likewise.
   (elf64_alpha_size_got_sections): Likewise.
   (elf64_alpha_relax_section): Likewise.
   (elf64_alpha_relocate_section): Likewise.
   (elf64_alpha_final_link): Likewise.
   (elf64_alpha_check_relocs): Use elf_symtab_hdr.
   (elf64_alpha_relax_section): Likewise.
   (elf64_alpha_relocate_section_r): Likewise.
   (elf64_alpha_relocate_section): Likewise.
   * elf64-ppc.c (ppc64_elf_mkobject): Call bfd_elf_allocate_object.
   (ppc64_elf_check_relocs): Use is_ppc64_elf_target to check the bfd
   being processed.
   (opd_entry_value): Likewise.
   (allocate_dynrelocs): Likewise.
   (ppc64_elf_relocate_section): Likewise.
   (ppc64_elf_check_relocs): Use elf_symtab_hdr.
   (opd_entry_value): Likewise.
   (ppc64_elf_gc_sweep_hook): Likewise.
   (get_sym_h): Likewise.
   (ppc64_elf_edit_opd): Likewise.
   (ppc64_elf_tls_optimize): Likewise.
   (ppc64_elf_edit_toc): Likewise.
   (ppc64_elf_size_dynamic_sections): Likewise.
   (toc_adjusting_stub_needed): Likewise.
   (ppc64_elf_size_stubs): Likewise.
   (ppc64_elf_relocate_section): Likewise.
   * elf64-s390.c (struct elf_s390_obj_tdata): Add a comment
   reminding programmers to keep this structure in sync with the one
   defined in elf32-s390.c.
   (elf_s390_mkobject): Call bfd_elf_allocate_object.
   (is_s390_elf): New macro.  Checks a BFD to make sure that is an s390
   ELF bfd.
   (elf_s390_check_relocs): Use is_s390_elf macro to check    the bfd
   being processed.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   (elf_s390_check_relocs): Use elf_symtab_hdr.
   (elf_s390_gc_sweep_hook): Likewise.
   (elf_s390_size_dynamic_sections): Likewise.
   (elf_s390_relocate_section): Likewise.
   * elf64-x86_64.c (elf64_x86_64_mkobject): Call bfd_elf_allocate_object.
   (is_x86_64_elf): New macro.  Checks a BFD to make sure that is an
   x86_64 ELF bfd.
   (elf64_x86_64_check_relocs): Use is_x86_64_elf macro to check the bfd
   being processed.
   (elf64_x86_64_size_dynamic_sections): Likewise.
   (elf64_x86_64_relocate_section): Likewise.
   (elf64_x86_64_check_relocs): Use elf_symtab_hdr.
   (elf64_x86_64_gc_sweep_hook): Likewise.
   (elf64_x86_64_size_dynamic_sections): Likewise.
   (elf64_x86_64_relocate_section): Likewise.
   * elfxx-sparc.c (_bfd_sparc_elf_mkobject): Call bfd_elf_allocate_object.
   (is_sparc_elf): New macro.  Checks a BFD to make sure that is a Sparc
   ELF bfd.
   (_bfd_sparc_elf_check_relocs): Use is_sparc_elf macro to check the
   bfd being processed.
   (_bfd_sparc_elf_gc_sweep_hook): Likewise.
   (_bfd_sparc_elf_size_dynamic_sections): Likewise.
   (_bfd_sparc_elf_check_relocs): Use elf_symtab_hdr.
   (_bfd_sparc_elf_gc_sweep_hook): Likewise.
   (_bfd_sparc_elf_size_dynamic_sections): Likewise.
   (_bfd_sparc_elf_relocate_section): Likewise.

16 years agogas/
H.J. Lu [Tue, 12 Feb 2008 05:35:36 +0000 (05:35 +0000)]
gas/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add .xsave.
(md_show_usage): Add .xsave.

* doc/c-i386.texi: Add xsave to -march=.

gas/testsuite/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10.s: Add xgetbv.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-10.d: Likewise.

opcodes/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c  (cpu_flag_init): Add CPU_XSAVE_FLAGS.
* i386-init.h: Updated.

16 years agomissed from last commit
Alan Modra [Tue, 12 Feb 2008 00:28:55 +0000 (00:28 +0000)]
missed from last commit

16 years ago PR 5755
Alan Modra [Tue, 12 Feb 2008 00:26:00 +0000 (00:26 +0000)]
PR 5755
* arange-set.c: Delete.
* arange-set.h: Delete.
* dwarf2.c: Revert 2007-09-21 changes.
* Makefile.am: Likewise.
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

16 years agogas/testsuite/
H.J. Lu [Tue, 12 Feb 2008 00:04:45 +0000 (00:04 +0000)]
gas/testsuite/

2002-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run xsave, xsave-intel, x86-64-xsave
and x86-64-xsave-intel.

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

opcodes/

2008-02-11  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flags): Add CpuXsave.

* i386-opc.h (CpuXsave): New.
(Cpu64): Updated.
(i386_cpu_flags): Add cpuxsave.

* i386-dis.c (MOD_0FAE_REG_4): New.
(RM_0F01_REG_2): Likewise.
(MOD_0FAE_REG_5): Updated.
(RM_0F01_REG_3): Likewise.
(reg_table): Use MOD_0FAE_REG_4.
(mod_table): Use RM_0F01_REG_2.  Add MOD_0FAE_REG_4.  Updated
for xrstor.
(rm_table): Add RM_0F01_REG_2.

* i386-opc.tbl: Add xsave, xrstor, xgetbv and xsetbv.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years ago*** empty log message ***
gdbadmin [Tue, 12 Feb 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 11 Feb 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoFix formatting of most recent entry.
Ben Elliston [Mon, 11 Feb 2008 22:56:13 +0000 (22:56 +0000)]
Fix formatting of most recent entry.

16 years ago * elf32-bfin.c (bfinfdpic_relocate_section): Take more care not to
Bernd Schmidt [Mon, 11 Feb 2008 22:25:03 +0000 (22:25 +0000)]
* elf32-bfin.c (bfinfdpic_relocate_section): Take more care not to
emit invalid relocs or rofixup entries for deleted .eh_frame entries.

16 years ago2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
Maxim Grigoriev [Mon, 11 Feb 2008 22:00:31 +0000 (22:00 +0000)]
2008-02-11  Maxim Grigoriev  <maxim2405@gmail.com>

* gdbserver/Makefile.in (SFILES): Add linux-xtensa-low.c.
(clean): Add reg-xtensa.c.
(linux-xtensa-low.o, reg-xtensa.o, reg-xtensa.c): New dependencies.
* gdbserver/configure.srv (xtensa*-*-linux*) New target.
* gdbserver/linux-xtensa-low.c: New.
* gdbserver/xtensa-xtregs.c: New.

16 years ago2008-02-11 Maxim Grigoriev <maxim2405@gmail.com>
Maxim Grigoriev [Mon, 11 Feb 2008 21:58:41 +0000 (21:58 +0000)]
2008-02-11  Maxim Grigoriev  <maxim2405@gmail.com>

* NEWS (New native configurations): Xtensa GNU/Linux.
(New targets): Xtensa GNU/Linux.
* Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
xtensa-linux-tdep.o
(ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
(xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
* configure.tgt (xtensa*-*-linux*): New entry.
* xtensa-config.c (xtensa_tdep): New variable.
(xtensa_config_byte_order, xtensa_config_tdep): Removed.
(rmap): Change format based on new macro XTREG.
(XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
* xtensa-linux-nat.c: New.
* xtensa-linux-tdep.c: New.
* xtensa-xtregs.c: New.
* xtensa-tdep.h (xtensa_elf_gregset_t): Update.
(XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
(XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
(xtensa_register_t): New field coprocessor.
(XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
* xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
(xtensa_pseudo_register_read, xtensa_pseudo_register_write):
Update to handle privileged registers.
(xtensa_supply_gregset) Remove exccause and excvaddr registers.
(xtensa_push_dummy_call): Set windowstart register correctly.
(call0_analyze_prologue): Initialize xtensa_default_isa.
(xtensa_derive_tdep): New.
(xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
Call xtensa_derive_tdep().
* config/xtensa/linux.mh: New.
* regformats/reg-xtensa.dat: New.

16 years ago * xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
Bob Wilson [Mon, 11 Feb 2008 17:53:04 +0000 (17:53 +0000)]
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
(XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.

16 years ago * elf32-bfin.c (bfin_relocate_section): Set up dynobj before using it
Bernd Schmidt [Mon, 11 Feb 2008 16:04:51 +0000 (16:04 +0000)]
* elf32-bfin.c (bfin_relocate_section): Set up dynobj before using it
if necessary.
(elf32_bfin_merge_private_bfd_data): Simplify, and ensure object type
mismatches are detected.

16 years agoopcodes/
Jan Beulich [Mon, 11 Feb 2008 15:11:06 +0000 (15:11 +0000)]
opcodes/
2008-02-11  Jan Beulich  <jbeulich@novell.com>
* i386-opc.tbl: Remove Disp32S from CpuNo64 opcodes. Remove
Disp16 from Cpu64 non-jump opcodes (including loop and j?cxz).
* i386-tbl.h: Re-generate.

16 years ago * cache.c (cache_bread): Set bfd_error_file_truncated if EOF
Daniel Jacobowitz [Mon, 11 Feb 2008 13:52:02 +0000 (13:52 +0000)]
* cache.c (cache_bread): Set bfd_error_file_truncated if EOF
was reached.
* srec.c (srec_scan): Calculate the checksum.  Complain on mismatch.

16 years ago*** empty log message ***
gdbadmin [Mon, 11 Feb 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 10 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 10 Feb 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 9 Feb 2008 23:00:05 +0000 (23:00 +0000)]
daily update