OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years ago*** empty log message ***
nickrob [Sun, 4 Feb 2007 20:57:26 +0000 (20:57 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
nickrob [Sun, 4 Feb 2007 20:57:05 +0000 (20:57 +0000)]
*** empty log message ***

17 years ago* config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
dj [Sun, 4 Feb 2007 04:45:36 +0000 (04:45 +0000)]
* config/tc-m32c.c (m32c_cons_fix_new): New.  Added to support 3
byte relocs.
* config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
(m32c_cons_fix_new): Prototype.

17 years ago*** empty log message ***
gdbadmin [Sun, 4 Feb 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sat, 3 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
bwilson [Sat, 3 Feb 2007 06:34:22 +0000 (06:34 +0000)]
    * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Renamed to...
        (elf_xtensa_dynamic_symbol_p): ...this.

17 years ago * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
bwilson [Sat, 3 Feb 2007 06:24:59 +0000 (06:24 +0000)]
    * elf32-xtensa.c (plt_reloc_count): Move into link hash table.
        (struct elf_xtensa_link_hash_table): New.
        (elf_xtensa_hash_table): New.
        (elf_xtensa_link_hash_table_create): New.
        (elf_xtensa_check_relocs): Update plt_reloc_count references.
        Update arguments to add_extra_plt_sections.
        (elf_xtensa_create_dynamic_sections): Record new sections in the hash
        table.  Update for plt_reloc_count and add_extra_plt_sections.
        (add_extra_plt_sections, elf_xtensa_create_plt_entry): Replace dynobj
        argument with link info.  Update calls to elf_xtensa_get_plt_section
        and elf_xtensa_get_gotplt_section.
        (elf_xtensa_allocate_local_got_size, elf_xtensa_size_dynamic_sections)
        (elf_xtensa_relocate_section, elf_xtensa_finish_dynamic_sections)
        (elf_xtensa_discard_info_for_section, shrink_dynamic_reloc_sections)
        (relax_property_section): Get sections from the hash table and update
        function calls.
        (elf_xtensa_get_plt_section, elf_xtensa_get_gotplt_section): Replace
        dynobj argument with link info.  Get sections for first plt chunk from
        the hash table.
        (bfd_elf32_bfd_link_hash_table_create): Define.

17 years ago*** empty log message ***
nickrob [Sat, 3 Feb 2007 05:41:46 +0000 (05:41 +0000)]
*** empty log message ***

17 years agoNumerous formatting changes.
nickrob [Sat, 3 Feb 2007 05:41:15 +0000 (05:41 +0000)]
Numerous formatting changes.
(mi_cmd_data_write_register_values): Replace clause inadvertantly
removed in my previous change.

17 years ago*** empty log message ***
nickrob [Sat, 3 Feb 2007 05:17:00 +0000 (05:17 +0000)]
*** empty log message ***

17 years agoCosmetic change.
hjl [Sat, 3 Feb 2007 00:55:42 +0000 (00:55 +0000)]
Cosmetic change.

17 years agold/testsuite/
hjl [Sat, 3 Feb 2007 00:46:21 +0000 (00:46 +0000)]
ld/testsuite/

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

* ld-i386/pcrel16.d: Updated.
* ld-x86-64/pcrel16.d: Likewise.

opcodes/

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

* i386-dis.c (OP_J): Mask to 16bit only if there is a data16
prefix.

17 years ago * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
bwilson [Sat, 3 Feb 2007 00:08:22 +0000 (00:08 +0000)]
* config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
(xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.

17 years ago*** empty log message ***
gdbadmin [Sat, 3 Feb 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
bwilson [Fri, 2 Feb 2007 23:59:29 +0000 (23:59 +0000)]
* config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
(xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
(map_suffix_reloc_to_operator): New.
(map_operator_to_reloc): New.
(expression_maybe_register): Fix incorrect test of return value from
xtensa_elf_suffix.  Rearrange to use map_suffix_reloc_to_operator.
(xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.

17 years ago(mi_load_progress, timestamp, print_diff_now):
nickrob [Fri, 2 Feb 2007 23:29:52 +0000 (23:29 +0000)]
(mi_load_progress, timestamp, print_diff_now):
Use 1000000L instead of 1000000.

17 years ago * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
bwilson [Fri, 2 Feb 2007 23:26:52 +0000 (23:26 +0000)]
* config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
(tinsn_get_tok): Delete prototype.
* config/tc-xtensa.c (tinsn_get_tok): Delete.

17 years ago(GDB/MI Miscellaneous Commands): Describe the new
nickrob [Fri, 2 Feb 2007 23:11:34 +0000 (23:11 +0000)]
(GDB/MI Miscellaneous Commands): Describe the new
command -enable-timings.

17 years ago * config/xtensa-relax.h (struct build_instr): Delete id field.
bwilson [Fri, 2 Feb 2007 23:09:50 +0000 (23:09 +0000)]
* config/xtensa-relax.h (struct build_instr): Delete id field.
* config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
and LABEL tokens.
(append_literal_op, append_label_op): Remove litnum/labnum arguments;
set op_data fields to zero.
(parse_id_constant): Delete.
(build_transition): Remove code to handle numbered literals and labels.

17 years ago*** empty log message ***
nickrob [Fri, 2 Feb 2007 23:09:00 +0000 (23:09 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
nickrob [Fri, 2 Feb 2007 23:08:32 +0000 (23:08 +0000)]
*** empty log message ***

17 years ago* mi/mi-main.c: Include <sys/resource.h> if present.
nickrob [Fri, 2 Feb 2007 23:01:27 +0000 (23:01 +0000)]
* mi/mi-main.c: Include <sys/resource.h> if present.
(rusage): Declare if HAVE_GETRUSAGE.
(current_command_ts, do_timings): New static variables.
(timestamp, print_diff_now, print_diff, timeval_diff):
New static timing functions.
(mi_cmd_enable_timings): New function for new MI command.
(captured_mi_execute_command, mi_execute_async_cli_command):
Call timing functions.

* mi/mi-cmds.c (mi_cmds): Add entry for new MI command
-enable-timings.

* mi/mi-cmds.h (mi_cmd_enable_timings): New extern.

* mi/mi-parse.h: (mi_timestamp): New structure.
(mi_parse): Add mi_timestamp* member.

17 years agodaily update
amodra [Fri, 2 Feb 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago* configure.ac: Test for sys/resource.h and getrusage.
nickrob [Fri, 2 Feb 2007 22:55:54 +0000 (22:55 +0000)]
* configure.ac: Test for sys/resource.h and getrusage.
* configure, config.in: Regenerate.

17 years ago2007-02-02 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 2 Feb 2007 22:54:50 +0000 (22:54 +0000)]
2007-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* avr-dis.c (avr_operand): Correct PR number in comment.

17 years ago* configure.ac: Test for sys/resource.h and getrusage.
nickrob [Fri, 2 Feb 2007 22:54:46 +0000 (22:54 +0000)]
* configure.ac: Test for sys/resource.h and getrusage.
* configure, config.in: Regenerate.

17 years ago* configure.ac: Test for sys/resource.h and getrusage.
nickrob [Fri, 2 Feb 2007 22:54:09 +0000 (22:54 +0000)]
* configure.ac: Test for sys/resource.h and getrusage.
* configure, config.in: Regenerate.

17 years ago*** empty log message ***
nickrob [Fri, 2 Feb 2007 22:52:06 +0000 (22:52 +0000)]
*** empty log message ***

17 years agoFix typos in year.
hjl [Fri, 2 Feb 2007 22:15:51 +0000 (22:15 +0000)]
Fix typos in year.

17 years ago * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
bwilson [Fri, 2 Feb 2007 22:08:36 +0000 (22:08 +0000)]
* config/xtensa-relax.c (build_transition): Remove code after as_fatal.
(build_transition_table): Likewise.

17 years ago * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
jakub [Fri, 2 Feb 2007 21:10:50 +0000 (21:10 +0000)]
* elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
* elf.c (struct elf_symbuf_symbol, struct elf_symbuf_head): New types.
(struct elf_symbol): Change first member into union.
(elf_sort_elf_symbol): Compare pointers to internal syms rather than
internal syms.  Only compare st_shndx fields.
(elf_create_symbuf): New function.
(bfd_elf_match_symbols_in_sections): Use it.  If symbufs are available
for bfds, use a binary search, otherwise don't qsort symbols
unnecessarily only to select which symbols are for the particular
shndx.

17 years ago * gdbint.texinfo (Operation System ABI Variant Handling): Update
eliz [Fri, 2 Feb 2007 19:48:50 +0000 (19:48 +0000)]
    * gdbint.texinfo (Operation System ABI Variant Handling): Update
descriptions for new/deleted elements in gdb_osabi.  Add missing
description for function generic_elf_osabi_sniff_abi_tag_sections.

17 years ago2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 2 Feb 2007 17:16:08 +0000 (17:16 +0000)]
2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

* MAINTAINERS: Add a space between H.J. and Lu.

17 years ago2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
jjohnstn [Fri, 2 Feb 2007 16:22:28 +0000 (16:22 +0000)]
2007-02-02  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/include/sys/errno.h: Add ECANCELED.

17 years agobinutils/
hjl [Fri, 2 Feb 2007 15:27:04 +0000 (15:27 +0000)]
binutils/

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

* doc/binutils.texi (objdump): Document the new addr64 option
for i386 disassembler.

include/

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

* dis-asm.h (print_i386_disassembler_options): New.

opcodes/

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

* disassemble.c (disassembler_usage): Call
print_i386_disassembler_options for i386 disassembler.

* i386-dis.c (print_i386_disassembler_options): New.
(print_insn): Support the new addr64 option.

17 years ago * syscalls.cc (unlink_nt): Add missing assignment in case NtClose fails.
corinna [Fri, 2 Feb 2007 15:16:53 +0000 (15:16 +0000)]
* syscalls.cc (unlink_nt): Add missing assignment in case NtClose fails.

17 years ago2076-02-02 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 2 Feb 2007 13:59:54 +0000 (13:59 +0000)]
2076-02-02  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3945
* configure.in (DLLTOOL_DEFAULT): New. Defined for the first PE
target.
(DLLTOOL_DEFS): Add $DLLTOOL_DEFAULT.
* configure: Regenerated.

* dlltool.c (mname): Defined with DLLTOOL_DEFAULT_XXX.

17 years agoPR gas/3812
nickc [Fri, 2 Feb 2007 13:10:58 +0000 (13:10 +0000)]
PR gas/3812
* gas/v850/v850e1.d: Correct expected disassembly of cmov insn to account for sign extension.

17 years ago* doc/binutils.texi (objdump): Document support for disassembling the 440 PowerPC...
nickc [Fri, 2 Feb 2007 12:43:35 +0000 (12:43 +0000)]
* doc/binutils.texi (objdump): Document support for disassembling the 440 PowerPC architecture.

17 years ago2007-02-02 Denis Pilat <denis.pilat@st.com>
denis [Fri, 2 Feb 2007 12:40:11 +0000 (12:40 +0000)]
2007-02-02  Denis Pilat  <denis.pilat@st.com>

* gdb.threads/threadapply.exp: check that frame is not changed by
the thread apply all command.

17 years ago* ppc-dis.c (powerpc_dialect): Handle ppc440.
nickc [Fri, 2 Feb 2007 12:37:41 +0000 (12:37 +0000)]
* ppc-dis.c (powerpc_dialect): Handle ppc440.
* ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can be used.

17 years ago2007-02-02 Denis Pilat <denis.pilat@st.com>
denis [Fri, 2 Feb 2007 12:18:37 +0000 (12:18 +0000)]
2007-02-02  Denis Pilat  <denis.pilat@st.com>

* thread.c (make_cleanup_restore_current_thread): New function.
(info_threads_command): Use of make_cleanup_restore_current_thread
to restore the current thread and the selected frame.
(restore_selected_frame): New function.
(struct current_thread_cleanup): Add frame_id field.
(do_restore_current_thread_cleanup): Add restoring of the selected
frame.
(make_cleanup_restore_current_thread): Likewise.
(thread_apply_all_command): backup the selected frame while
entering the function and restore it at exit.
(thread_apply_command): Likewise.

17 years ago2007-02-02 Denis Pilat <denis.pilat@st.com>
denis [Fri, 2 Feb 2007 10:09:37 +0000 (10:09 +0000)]
2007-02-02  Denis Pilat  <denis.pilat@st.com>

* MAINTAINERS (Write After Approval): Add myself to the list.

17 years ago * ppc-opc.c (insert_bdm): -Many comment.
amodra [Fri, 2 Feb 2007 01:24:43 +0000 (01:24 +0000)]
* ppc-opc.c (insert_bdm): -Many comment.
(valid_bo): Add "extract" param.  Accept both powerpc and power4
BO fields when disassembling with -Many.
(insert_bo, extract_bo, insert_boe, extract_boe): Adjust valid_bo call.

17 years ago*** empty log message ***
gdbadmin [Fri, 2 Feb 2007 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
bwilson [Thu, 1 Feb 2007 23:54:58 +0000 (23:54 +0000)]
* config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
fx_tcbit.
* config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.

17 years agodaily update
amodra [Thu, 1 Feb 2007 23:00:08 +0000 (23:00 +0000)]
daily update

17 years ago Fix typo.
corinna [Thu, 1 Feb 2007 17:13:31 +0000 (17:13 +0000)]
Fix typo.

17 years ago2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
jjohnstn [Thu, 1 Feb 2007 16:43:45 +0000 (16:43 +0000)]
2007-02-01  Joel Schopp <jschopp@austin.ibm.com>
            Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/machine/spu/Makefile.am: Add objects.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/vsscanf.c: New file. Add a stdio function
        implementation.
        * libc/machine/spu/snprintf.c: Ditto.
        * libc/machine/spu/sprintf.c: Ditto.
        * libc/machine/spu/sscanf.c: Ditto.
        * libc/machine/spu/remove.c: Ditto.
        * libc/machine/spu/rename.c: Ditto.
        * libc/machine/spu/tmpnam.c: Ditto.
        * libc/machine/spu/vsnprintf.c: Add initialization routine of
        stdio stuffs.
        * libc/machine/spu/vsprintf.c: Ditto.

17 years ago2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
jjohnstn [Thu, 1 Feb 2007 16:33:04 +0000 (16:33 +0000)]
2007-02-01  Joel Schopp <jschopp@austin.ibm.com>
            Kazunori Asayama <asayama@sm.sony.co.jp>

        * configure.host: Enable SPU specific stdio directory.
        * libc/machine/spu/Makefile.am: Add objects.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/c99ppe.h: Add macros and function
        declarations to initialize SPU specific stdio stuffs.
        * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
        specific FILE structures.
        * libc/machine/spu/perror.c: Add initialization routine of
        stdio stuffs.
        * libc/machine/spu/printf.c: Ditto.
        * libc/machine/spu/putchar.c: Ditto.
        * libc/machine/spu/puts.c: Ditto.
        * libc/machine/spu/vprintf.c: Ditto.
        * libc/machine/spu/clearerr.c: New file. Add a stdio function
        implementation.
        * libc/machine/spu/feof.c: Ditto.
        * libc/machine/spu/ferror.c: Ditto.
        * libc/machine/spu/fileno.c: Ditto.
        * libc/machine/spu/fopen.c: Ditto.
        * libc/machine/spu/fclose.c: Ditto.
        * libc/machine/spu/freopen.c: Ditto.
        * libc/machine/spu/fflush.c: Ditto.
        * libc/machine/spu/fseek.c: Ditto.
        * libc/machine/spu/ftell.c: Ditto.
        * libc/machine/spu/rewind.c: Ditto.
        * libc/machine/spu/fgetpos.c: Ditto.
        * libc/machine/spu/fsetpos.c: Ditto.
        * libc/machine/spu/fread.c: Ditto.
        * libc/machine/spu/fwrite.c: Ditto.
        * libc/machine/spu/getc.c: Ditto.
        * libc/machine/spu/getchar.c: Ditto.
        * libc/machine/spu/gets.c: Ditto.
        * libc/machine/spu/fgetc.c: Ditto.
        * libc/machine/spu/fgets.c: Ditto.
        * libc/machine/spu/ungetc.c: Ditto.
        * libc/machine/spu/putc.c: Ditto.
        * libc/machine/spu/fputc.c: Ditto.
        * libc/machine/spu/fputs.c: Ditto.
        * libc/machine/spu/vfprintf.c: Ditto.
        * libc/machine/spu/vfscanf.c: Ditto.
        * libc/machine/spu/fprintf.c: Ditto.
        * libc/machine/spu/fscanf.c: Ditto.
        * libc/machine/spu/scanf.c: Ditto.
        * libc/machine/spu/vscanf.c: Ditto.
        * libc/machine/spu/setbuf.c: Ditto.
        * libc/machine/spu/setvbuf.c: Ditto.
        * libc/machine/spu/tmpfile.c: Ditto.

2007-02-01  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
        * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
        around stdio macros that manipulate fields in the normal file
        structure.
        * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
        <sys/custom_file.h> to define custom FILE structure.
        * libc/include/sys/custom_file.h: New default header file
        that generates error if not overridden when __CUSTOM_FILE_IO__ set.
        * libc/machine/spu/sys/custom_file.h: New file.

17 years ago * net.cc (ga_dup): New function, taken from ga_clone with v4-in-v6
corinna [Thu, 1 Feb 2007 15:54:40 +0000 (15:54 +0000)]
* net.cc (ga_dup): New function, taken from ga_clone with v4-in-v6
mapping addition.
(ga_clone): Just call ga_dup from here.
(ga_duplist): New function to duplicate list of struct addrinfo.
(ga_echeck): Don't check a_flags, it already happened in
cygwin_getaddrinfo.
(cygwin_freeaddrinfo): Always call ipv4_freeaddrinfo.
(cygwin_getaddrinfo): Use new wincap.supports_all_posix_ai_flags
flag rather than wincap.has_gaa_on_link_prefix.  Always duplicate
WinSock's addrinfo list to a self-allocated list.  Handle AI_V4MAPPED
for pre-Vista platforms supporting getaddrinfo.
* wincap.h (wincapc::supports_all_posix_ai_flags): New element.
* wincap.cc: Implement above element throughout.
* include/netdb.h: Note how AI_ADDRCONFIG is not supported pre-Vista.
Remove superfluous comment.

17 years ago * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
amodra [Thu, 1 Feb 2007 14:12:17 +0000 (14:12 +0000)]
* write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
(struct fix <fx_plt>): Rename to tcbit2.
* write.c (fix_new_internal): Adjust.
(TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
* config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
* config/tc-msp430.c (msp430_force_relocation_local): Likewise.
* config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
* config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
Instead, compare fx_r_type.
* config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
fx_tcbit in place of fx_plt.
* config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
* doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
to fx_plt.

17 years ago * include/cygwin/socket.h: Add IPv6 socket options.
corinna [Thu, 1 Feb 2007 10:04:45 +0000 (10:04 +0000)]
* include/cygwin/socket.h: Add IPv6 socket options.

17 years agoPR ld/3852
nickc [Thu, 1 Feb 2007 09:03:25 +0000 (09:03 +0000)]
PR ld/3852
* elf.c (_bfd_elf_link_hash_table_init): Initialize all the fields in the
elf_link_hash_table structure.

17 years ago * elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
amodra [Thu, 1 Feb 2007 05:35:58 +0000 (05:35 +0000)]
* elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
* elfxx-target.h (elf_backend_write_core_note): Define and use.
* elf.c (elfcore_write_prpsinfo): Call the above.  Add support for
32-bit core note on 64-bit target.
(elfcore_write_prstatus): Likewise.
(elfcore_write_lwpstatus): Make note_name const.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
target.
* elf32-ppc.c (ppc_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.
* elf64-ppc.c (ppc64_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.

17 years ago * ld-scripts/default-script.exp: Add "--local-store 0:0" to
amodra [Thu, 1 Feb 2007 05:12:10 +0000 (05:12 +0000)]
* ld-scripts/default-script.exp: Add "--local-store 0:0" to
LDFLAGS for spu.

17 years ago2006-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
ksakamot [Thu, 1 Feb 2007 05:05:10 +0000 (05:05 +0000)]
2006-02-01  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

* gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
(m32r_store_register): Ditto.

17 years ago*** empty log message ***
gdbadmin [Thu, 1 Feb 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 31 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * Makefile.tpl (LDFLAGS): Substitute it.
schwab [Wed, 31 Jan 2007 22:23:37 +0000 (22:23 +0000)]
* Makefile.tpl (LDFLAGS): Substitute it.
* Makefile.in: Regenerate.

17 years agomerge from gcc
dj [Wed, 31 Jan 2007 20:25:23 +0000 (20:25 +0000)]
merge from gcc

17 years ago2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
jjohnstn [Wed, 31 Jan 2007 19:34:36 +0000 (19:34 +0000)]
2007-01-31  Kazunori Asayama <asayama@sm.sony.co.jp>

* configure.host: Define stdio directory as a variable.
* libc/Makefile.am: Define stdio related names
as macros.
* libc/configure.in: Add detection routine of stdio directory.
* libc/Makefile.in: Regenerated.
* libc/configure: Ditto.
* libc/argz/Makefile.in: Ditto.
* libc/ctype/Makefile.in: Ditto.
* libc/errno/Makefile.in: Ditto.
* libc/iconv/Makefile.in: Ditto.
* libc/iconv/ccs/Makefile.in: Ditto.
* libc/iconv/ccs/binary/Makefile.in: Ditto.
* libc/iconv/ces/Makefile.in: Ditto.
* libc/iconv/lib/Makefile.in: Ditto.
* libc/locale/Makefile.in: Ditto.
* libc/misc/Makefile.in: Ditto.
* libc/posix/Makefile.in: Ditto.
* libc/reent/Makefile.in: Ditto.
* libc/search/Makefile.in: Ditto.
* libc/signal/Makefile.in: Ditto.
* libc/stdio/Makefile.in: Ditto.
* libc/stdio64/Makefile.in: Ditto.
* libc/stdlib/Makefile.in: Ditto.
* libc/string/Makefile.in: Ditto.
* libc/syscalls/Makefile.in: Ditto.
* libc/time/Makefile.in: Ditto.
* libc/unix/Makefile.in: Ditto.

17 years ago * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
schwab [Wed, 31 Jan 2007 19:32:12 +0000 (19:32 +0000)]
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.

17 years ago include/
vprus [Wed, 31 Jan 2007 18:49:40 +0000 (18:49 +0000)]
    include/
        * libiberty.h (PEX_STDERR_TO_PIPE): New define.
        (PEX_BINARY_ERROR): New define.
        (pex_read_err): New function.

        libiberty/
        * pex-common.h (struct pex_obj): New fields
        stderr_pipe and read_err.
        * pex-common.c (pex_init_common): Initialize
        stderr_pipe.
        (pex_run_in_environment): Add error checking
        for PEX_STDERR_TO_PIPE.  Create a pipe
        for stderr if necessary.
        (pex_read_err): New.
        (pex_free): Close read_err.
        * pexecute.txh: Document changes.
        * functions.texi: Regenerated.

17 years ago * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
schwab [Wed, 31 Jan 2007 16:43:00 +0000 (16:43 +0000)]
* gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
in the dwarf sections.
* gdb.dwarf2/mac-fileno.S: Likewise.

17 years ago * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
schwab [Wed, 31 Jan 2007 15:37:49 +0000 (15:37 +0000)]
* gdb.base/callfuncs.exp (do_get_all_registers): Filter out
bspstore register on ia64.

17 years ago * net.cc (cygwin_getaddrinfo): Fix thinko in AI_ADDRCONFIG handling.
corinna [Wed, 31 Jan 2007 15:30:40 +0000 (15:30 +0000)]
* net.cc (cygwin_getaddrinfo): Fix thinko in AI_ADDRCONFIG handling.

17 years ago * net.cc (cygwin_getaddrinfo): Check ai_flags for valid values.
corinna [Wed, 31 Jan 2007 15:10:18 +0000 (15:10 +0000)]
* net.cc (cygwin_getaddrinfo): Check ai_flags for valid values.
Handle AI_NUMERICSERV.  Handle AI_ADDRCONFIG behaviour on Vista.
* include/netdb.h (AI_NUMERICSERV): Add missing flag.

17 years ago2076-01-31 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 31 Jan 2007 14:28:03 +0000 (14:28 +0000)]
2076-01-31  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-cris.c (INCLUDED_TARGET_FILE): Removed.
(elf32_bed): Defined for elf32-us-cris.

* elf64-sh64.c (elf64_bed): Defined for Linux.
(INCLUDED_TARGET_FILE): Removed.

* elfxx-target.h (elfNN_bed): Always define. Don't check
INCLUDED_TARGET_FILE.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::closedir): Add dir name
corinna [Wed, 31 Jan 2007 10:55:59 +0000 (10:55 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::closedir): Add dir name
to debug output.
* syscalls.cc (try_to_bin): Enable code to move file to user specific
recycler dir to eliminate Vista problem.
(unlink_nt): Add comment that rename after opening for delete on close
only fails on XP.

17 years ago * dwarf.c (process_debug_info): Protect against bogus length and
nathan [Wed, 31 Jan 2007 08:42:45 +0000 (08:42 +0000)]
* dwarf.c (process_debug_info): Protect against bogus length and
abbrev offsets.

17 years ago* elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
dj [Wed, 31 Jan 2007 06:11:48 +0000 (06:11 +0000)]
* elf-m10300.c (mn10300_elf_relocate_section): Clarify the warning
message for dangerous relocs, special case the common user error.

17 years ago*** empty log message ***
gdbadmin [Wed, 31 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agomerge from gcc
dj [Tue, 30 Jan 2007 23:16:53 +0000 (23:16 +0000)]
merge from gcc

17 years ago * strsignal.c (psignal): Change type of signo to int.
bje [Tue, 30 Jan 2007 23:13:04 +0000 (23:13 +0000)]
* strsignal.c (psignal): Change type of signo to int.
* functions.texi: Regenerate.

17 years agodaily update
amodra [Tue, 30 Jan 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago * sigproc.cc (child_info::child_info): Set msv_count to non-zero
corinna [Tue, 30 Jan 2007 21:53:05 +0000 (21:53 +0000)]
* sigproc.cc (child_info::child_info): Set msv_count to non-zero
value only on systems requiring it.

17 years ago2007-01-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 30 Jan 2007 15:47:19 +0000 (15:47 +0000)]
2007-01-30  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (copy_elf_program_header): Start from the first section
in a segment and stop when all sections in a segment are
accounted for.

17 years ago* as.c (main): Mark symbols created via the --defsym command line
nickc [Tue, 30 Jan 2007 14:44:36 +0000 (14:44 +0000)]
* as.c (main): Mark symbols created via the --defsym command line
  option as volatile so that they can be overridden later on by a
  .set directive.  This maintains compatibility with the behaviour
  of earlier versions of the assembler.
* doc/as.texinfo (--defsym): Document that the defined symbol's
  value can be overridden via a .set directive.

17 years ago * ser-mingw.c (pipe_windows_open)
vprus [Tue, 30 Jan 2007 09:12:42 +0000 (09:12 +0000)]
    * ser-mingw.c (pipe_windows_open)
        (pipe_windows_read, pipe_windows_write): Declare
        variables at the top of the function.

17 years ago * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
bje [Tue, 30 Jan 2007 03:18:52 +0000 (03:18 +0000)]
* libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
fmt member.
* libc/machine/spu/printf.c (c99_printf_t): Likewise.
(printf): Pass fmt to va_start to suppress a warning.

17 years ago * libc/search/hash.c (init_hash): Make `info' parameter const.
bje [Tue, 30 Jan 2007 03:13:29 +0000 (03:13 +0000)]
* libc/search/hash.c (init_hash): Make `info' parameter const.

17 years ago*** empty log message ***
gdbadmin [Tue, 30 Jan 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Mon, 29 Jan 2007 23:00:10 +0000 (23:00 +0000)]
daily update

17 years ago * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
schwab [Mon, 29 Jan 2007 19:09:47 +0000 (19:09 +0000)]
* gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
"frame-begin" annotation.

17 years ago * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
schwab [Mon, 29 Jan 2007 18:58:24 +0000 (18:58 +0000)]
* gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
number of "frames-invalid" annotations.

17 years ago * doublest.c (floatformat_from_length): Use the right element from
drow [Mon, 29 Jan 2007 17:31:05 +0000 (17:31 +0000)]
* doublest.c (floatformat_from_length): Use the right element from
gdbarch floatformats.
(floatformat_from_type, extract_typed_floating)
(store_typed_floating): Likewise.
* doublest.h: Remove declarations for undefined floatformat arrays.
* gdbarch.sh (float_format, double_format, long_double_format): Change
to pairs.
(pformat): Update for pairs.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
(floatformats_ieee_double_littlebyte_bigword)
(floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
(floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
(floatformats_vax_d): New variables.
(builtin_type_ieee_single, builtin_type_ieee_double)
(builtin_type_arm_ext, builtin_type_ia64_spill)
(builtin_type_ia64_quad): Replace arrays with individual types.
(builtin_type_ieee_single_big, builtin_type_ieee_single_little)
(builtin_type_ieee_double_big, builtin_type_ieee_double_little)
(builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
(builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
(builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
(builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
(builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
unused and endian-specific types.
(recursive_dump_type): Update for floatformat pairs.
(build_flt): Move higher.  Handle bit == -1.  Take a floatformat pair.
(build_gdbtypes): Use build_flt.
(_initialize_gdbtypes): Update set of initialized types.
* gdbtypes.h: Update declarations to match gdbtypes.c.
(struct main_type): Store a pointer to two floatformats.
* arch-utils.c (default_float_format, default_double_format): Delete.
* arch-utils.h (default_float_format, default_double_format): Delete.

* arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
ia64-tdep.c,  iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.

17 years ago2007-01-28 Manuel Lauss <slauss@resi.at>
vapier [Mon, 29 Jan 2007 16:41:14 +0000 (16:41 +0000)]
2007-01-28  Manuel Lauss  <slauss@resi.at>

* configure.ac (sh64-*-*): Change to sh64*-*-*.
(sh-*-*): Change to sh*-*-*.
* configure: Regenerated.

17 years ago * gdb.texinfo (Maintenance Commands): Add documentation for
brobecke [Mon, 29 Jan 2007 16:37:33 +0000 (16:37 +0000)]
    * gdb.texinfo (Maintenance Commands): Add documentation for
        the new "maint print target-stack" command.

17 years ago * target.c (maintenance_print_target_stack): New function.
brobecke [Mon, 29 Jan 2007 16:36:01 +0000 (16:36 +0000)]
    * target.c (maintenance_print_target_stack): New function.
        (initialize_targets): Add new "maintenance print target-stack"
        command.

17 years ago * bfd-in2.h: Regenerate.
jules [Mon, 29 Jan 2007 16:29:21 +0000 (16:29 +0000)]
* bfd-in2.h: Regenerate.
* bfd-in.h (bfd_arm_vfp11_fix): New enum. Specify how VFP11
instruction scanning should be done.
(bfd_elf32_arm_init_maps, bfd_elf32_arm_vfp11_erratum_scan)
(bfd_elf32_arm_vfp11_fix_veneer_locations): Add prototypes.
(bfd_elf32_arm_set_target_relocs): Add vfp11 fix type argument to
prototype.
* elf-bfd.h (elf_backend_write_section): Add struct bfd_link_info
argument.
* elf32-arm.c (VFP11_ERRATUM_VENEER_SECTION_NAME)
(VFP11_ERRATUM_VENEER_ENTRY_NAME): Define macros.
(elf32_vfp11_erratum_type): New enum.
(elf32_vfp11_erratum_list): New struct. List of veneers or jumps to
veneers.
(_arm_elf_section_data): Add mapsize, erratumcount, erratumlist.
(elf32_arm_link_hash_table): Add vfp11_erratum_glue_size,
vfp11_fix and num_vfp11_fixes fields.
(elf32_arm_link_hash_table_create): Initialise vfp11_fix,
vfp11_erratum_glue_size, num_vfp11_fixes fields.
(VFP11_ERRATUM_VENEER_SIZE): Define. Size of an (ARM) veneer.
(bfd_elf32_arm_allocate_interworking_sections): Initialise erratum
glue section.
(elf32_arm_section_map_add): Add an code/data mapping symbol entry
to a section's map.
(record_vfp11_erratum_veneer): Create a single veneer, and its
associated symbols.
(bfd_elf32_arm_add_glue_sections_to_bfd): Add vfp11 erratum glue.
(bfd_elf32_arm_init_maps): Initialise mapping symbol table for input
BFDs.
(bfd_elf32_arm_set_vfp11_fix): Set the type of erratum workaround
required.
(bfd_arm_vfp11_pipe): Define VFP11 instruction pipes.
(bfd_arm_vfp11_regno): Recode a register number from a VFP11 insn.
(bfd_arm_vfp11_write_mask): Update write mask according to coded
register number.
(bfd_arm_vfp11_antidependency): New function.
(bfd_arm_vfp11_insn_decode): Decode a VFP11 insn.
(elf32_arm_compare_mapping): Declare.
(bfd_elf32_arm_vfp11_erratum_scan): Scan the sections of an input
BFD for potential erratum-triggering insns. Record results.
(bfd_elf32_arm_vfp11_fix_veneer_locations): Find out where veneers
and branches to veneers have been placed in virtual memory after
layout.
(bfd_elf32_arm_set_target_relocs): Set vfp11_fix field in global
hash table.
(elf32_arm_output_symbol_hook): Remove.
(elf32_arm_write_section): Output veneers, and branches to veneers.
Use maps from input sections, not output sections, for code
byte-swapping.
* elf32-ppc.c (ppc_elf_write_section): Add dummy link_info argument.
* elf32-score.c (_bfd_score_elf_write_section): Likewise.
* elfxx-mips.c (_bfd_mips_elf_write_section): Likewise.
* elfxx-mips.h (_bfd_mips_elf_write_section): Likewise.

17 years ago * NEWS: Mention --vfp11-denorm-fix option.
jules [Mon, 29 Jan 2007 16:28:40 +0000 (16:28 +0000)]
* NEWS: Mention --vfp11-denorm-fix option.
* ld.texinfo: Document above.
* emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
.vfp11_veneer section.
* emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
* emultempl/armelf.em (vfp11_denorm_fix): New static variable.
(arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
(arm_elf_after_allocation): New function. Call
bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
(arm_elf_create_output_section_statements): Pass vfp11 fix command
line option to BFD.
(OPTION_VFP11_DENORM_FIX): New option.
(PARSE_AND_LIST_LONGOPTS): Handle new option.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Likewise.
(LDEMUL_AFTER_ALLOCATION): Define.

17 years ago * ld-arm/arm-elf.exp: Add VFP11 tests.
jules [Mon, 29 Jan 2007 16:27:34 +0000 (16:27 +0000)]
* ld-arm/arm-elf.exp: Add VFP11 tests.
* ld-arm/vfp11-fix-none.s: New file.
* ld-arm/vfp11-fix-none.d: Expected disassembly of above.
* ld-arm/vfp11-fix-scalar.s: New file.
* ld-arm/vfp11-fix-scalar.d: Expected disassembly of above.
* ld-arm/vfp11-fix-vector.s: New file.
* ld-arm/vfp11-fix-vector.d: Expected disassembly of above.

17 years ago * gdb.base/commands.exp: Call if_commands_test.
drow [Mon, 29 Jan 2007 16:22:36 +0000 (16:22 +0000)]
* gdb.base/commands.exp: Call if_commands_test.
(gdb_test_no_prompt, if_commands_test): New.

17 years ago * remote-utils.c [USE_WIN32API] (read, write): Define.
drow [Mon, 29 Jan 2007 13:22:09 +0000 (13:22 +0000)]
* remote-utils.c [USE_WIN32API] (read, write): Define.
(putpkt_binary, input_interrupt, readchar, getpkt): Use read and
write.

17 years ago*** empty log message ***
gdbadmin [Mon, 29 Jan 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sun, 28 Jan 2007 23:00:09 +0000 (23:00 +0000)]
daily update

17 years ago * gdb.threads/sigthread.c (NSIGS): Make bigger.
kettenis [Sun, 28 Jan 2007 16:45:35 +0000 (16:45 +0000)]
    * gdb.threads/sigthread.c (NSIGS): Make bigger.

17 years ago2076-01-28 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 28 Jan 2007 16:14:33 +0000 (16:14 +0000)]
2076-01-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (swap_imm_operands): Renamed to ...
(swap_2_operands): This.  Take 2 ints.
(md_assemble): Updated.
(swap_operands): Call swap_2_operands to swap 2 operands.

17 years ago * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
kettenis [Sun, 28 Jan 2007 14:42:11 +0000 (14:42 +0000)]
    * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.