OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years agoAdd files for ARM auto-IT patch
nickc [Tue, 23 Jun 2009 07:42:34 +0000 (07:42 +0000)]
Add files for ARM auto-IT patch

15 years ago PR 10147
ian [Tue, 23 Jun 2009 07:19:35 +0000 (07:19 +0000)]
PR 10147
* object.cc (Object::section_contents): Don't try to get a view if
the section has length zero.
(Object::handle_gnu_warning_section): If the section is empty, use
the name of the section as the warning.

15 years ago PR 10133
ian [Tue, 23 Jun 2009 07:04:10 +0000 (07:04 +0000)]
PR 10133
* stringpool.h (class Stringpool_template): Add optimize_ field.
(Stringpool_template::set_optimize): New function.
* stringpool.cc (Stringpool_template::Stringpool_template):
Initialize optimize_ field.
(Stringpool_template::set_string_offsets): Test local optimize
fild rather than parameter.
* layout.cc (Layout::Layout): Call set_optimize on the section
name stringpool.

15 years ago PR 10030
ian [Tue, 23 Jun 2009 06:39:46 +0000 (06:39 +0000)]
PR 10030
* yyscript.y: Parse TARGET.
* script.cc (script_set_target): New function.
* script-c.h (script_set_target): Declare.
* options.cc (General_options::string_to_object_format): Rename
from string_to_object_format in anonymous namespace.  Change
callers.
* options.h (class General_options): Declare
string_to_object_format.

15 years ago * script-sections.cc (Script_sections::create_segments): Don't put
ian [Tue, 23 Jun 2009 06:07:49 +0000 (06:07 +0000)]
* script-sections.cc (Script_sections::create_segments): Don't put
program headers in a PT_LOAD segment if -n or -N.

15 years ago*** empty log message ***
gdbadmin [Tue, 23 Jun 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Tue, 23 Jun 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago PR 10141
ian [Mon, 22 Jun 2009 20:23:21 +0000 (20:23 +0000)]
PR 10141
* options.h (class General_options): Add -z lazy and -z now.  Sort
-z options into alphabetical order.
* layout.cc (Layout::finish_dynamic_section): Handle -z now.

15 years agogdb/
jkratoch [Mon, 22 Jun 2009 19:50:10 +0000 (19:50 +0000)]
gdb/
PR gdb/9988:
* buildsym.c (block_compar): New function.
(end_symtab): Replace the bubble sort by a qsort based code.

15 years ago * linux-low.c (usr_fetch_inferior_registers): Remove check for regno 0.
aristovski [Mon, 22 Jun 2009 19:33:41 +0000 (19:33 +0000)]
* linux-low.c (usr_fetch_inferior_registers): Remove check for regno 0.
* proc-service.c (ps_lgetregs): Pass -1 to fetch all registers.
* regcache.c (get_regcache): Likewise.
* spu-low.c (spu_fetch_registers): Remove 0 to -1 conversion.
* win32-low.c (child_fetch_inferior_registers): Remove check for
regno 0.

15 years ago2009-05-07 Sami Wagiaalla <swagiaal@redhat.com>
swagiaal [Mon, 22 Jun 2009 18:17:01 +0000 (18:17 +0000)]
2009-05-07  Sami Wagiaalla  <swagiaal@redhat.com>

* MAINTAINERS (Write After Approval): Add self.

15 years ago * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
nickc [Mon, 22 Jun 2009 17:56:00 +0000 (17:56 +0000)]
    * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
        gas/config/atof-ieee.c, gas/config/obj-aout.c,
        gas/config/obj-coff.c, gas/config/obj-ecoff.c,
        gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
        gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
        gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
        gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
        gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
        gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
        gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
        gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
        gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
        gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
        gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
        gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
        gas/config/tc-s390.c, gas/config/tc-score.c,
        gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
        gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
        gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
        gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
        gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
        gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
        gas macro `assert' to `gas_assert'.

15 years ago * spu-tdep.c (spu_get_longjmp_target): New function.
uweigand [Mon, 22 Jun 2009 17:14:43 +0000 (17:14 +0000)]
* spu-tdep.c (spu_get_longjmp_target): New function.
(spu_gdbarch_init): Install it.

15 years ago2009-06-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 22 Jun 2009 16:03:32 +0000 (16:03 +0000)]
2009-06-22  H.J. Lu  <hongjiu.lu@intel.com>

PR server/10306
* remote.c (getpkt_or_notif_sane_1): Initialize val to -1.

15 years ago * semantics.scm (insn-build-known-values): Fix typo in comment.
devans [Mon, 22 Jun 2009 15:46:18 +0000 (15:46 +0000)]
* semantics.scm (insn-build-known-values): Fix typo in comment.

15 years ago * spawn.cc (spawn_guts): Don't run additional check for Win32
corinna [Mon, 22 Jun 2009 15:40:59 +0000 (15:40 +0000)]
* spawn.cc (spawn_guts): Don't run additional check for Win32
incompatible CWD if newargv.fixup bailed out already.
(av::fixup): Check shell scripts for executability.

15 years ago * config/tc-arm.c (implicit_it_mode): New enum.
nickc [Mon, 22 Jun 2009 14:40:26 +0000 (14:40 +0000)]
    * config/tc-arm.c (implicit_it_mode): New enum.
        (implicit_it_mode): New global.
        (it_instruction_type): New enum.
        (arm_parse_it_mode): New function.
        (arm_long_opts): New option added.
        (arm_it): New field.
        (it_state): New enum.
        (now_it): New macro.
        (check_it_blocks_finished): New function.
        (insns[]): Use the IT Thumb opcodes for ARM too.
        (arm_cleanup): Call check_it_blocks_finished.
        (now_it_compatible): New function.
        (conditional_insn): New function.
        (set_it_insn_type): New macro.
        (set_it_insn_type_last): New macro.
        (do_it): Call automatic IT machinery functions.
        (do_t_add_sub): Likewise
        (do_t_arit3): Likewise.
        (do_t_arit3c): Likewise.
        (do_t_blx): Likewise.
        (do_t_branch): Likewise.
        (do_t_bkpt): Likewise.
        (do_t_branch23): Likewise.
        (do_t_bx): Likewise.
        (do_t_bxj): Likewise.
        (do_t_cps): Likewise.
        (do_t_cpsi): Likewise.
        (do_t_cbz): Likewise.
        (do_t_it): Likewise.
        (encode_thumb2_ldmstm): Likewise.
        (do_t_ldst): Likewise.
        (do_t_mov_cmp): Likewise.
        (do_t_mvn_tst): Likewise.
        (do_t_mul): Likewise.
        (do_t_neg): Likewise.
        (do_t_setend): Likewise.
        (do_t_shift): Likewise.
        (do_t_tb): Likewise.
        (output_it_inst): New function.
        (new_automatic_it_block): New function.
        (close_automatic_it_block): New function.
        (now_it_add_mask): New function.
        (it_fsm_pre_encode): New function.
        (handle_it_state): New function.
        (it_fsm_post_encode): New function.
        (force_automatic_it_block_close): New function.
        (in_it_block): New function.
        (md_assemble): Call automatic IT block machinery functions.
        (arm_frob_label): Likewise.
        (arm_opts): New element.
        * config/tc-arm.h (it_state): New enum.
        (current_it): New struct.
        (arm_segment_info_type): New member added.
        * doc/c-arm.texi: New option -mimplicit-it documented.

        * gas/arm/arm-it-auto.d: New test.
        * gas/arm/arm-it-auto.s: New file.
        * gas/arm/arm-it-auto-2.d: New test case.
        * gas/arm/arm-it-auto-2.s: New file.
        * gas/arm/arm-it-auto-3.d: New test case.
        * gas/arm/arm-it-auto-3.s: New file.
        * gas/arm/arm-it-bad.d: New test case.
        * gas/arm/arm-it-bad.l: New file.
        * gas/arm/arm-it-bad.s: New file.
        * gas/arm/arm-it-bad-2.d: New test case.
        * gas/arm/arm-it-bad-2.l: New file.
        * gas/arm/arm-it-bad-2.s: New file.
        * gas/arm/arm-it-bad-3.d: New test case.
        * gas/arm/arm-it-bad-3.l: New file.
        * gas/arm/arm-it-bad-3.s: New file.
        * gas/arm/thumb2_it_auto.d: New test.
        * gas/arm/thumb2_it_bad.l: Error message updated.
        * gas/arm/thumb2_it_bad_auto.d: New test.
        * gas/arm/thumb2_it.d: Comment added.
        * gas/arm/thumb2_it_bad.d: Comment added.

15 years ago * po/fi.po: Updated Finish translation.
nickc [Mon, 22 Jun 2009 11:32:21 +0000 (11:32 +0000)]
    * po/fi.po: Updated Finish translation.

15 years ago2009-06-22 Christophe Lyon <christophe.lyon@st.com>
clyon [Mon, 22 Jun 2009 10:55:32 +0000 (10:55 +0000)]
2009-06-22  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (elf32_arm_size_stubs): Use PLT address as
destination for defined dynamic symbols when deciding whether to
insert a stub or not.
(allocate_dynrelocs): Make sure functions are not marked as Thumb
when actually accessed through a PLT, even when generating a
shared lib.

ld/testsuite:
* ld-arm/farcall-mixed-app.s: Add new references to check more
modes switching.
* ld-arm/farcall-mixed-lib1.s: Likewise.
* ld-arm/farcall-mixed-app-v5.d: Update expected result.
* farcall-mixed-app.d: Likewise.
* ld-arm/farcall-mixed-lib.d: Likewise.

15 years ago * ld-pe/pe-run.exp (proc test_direct_link_dll): Fix incorrect
davek [Mon, 22 Jun 2009 09:34:52 +0000 (09:34 +0000)]
* ld-pe/pe-run.exp (proc test_direct_link_dll):  Fix incorrect
line-wrapping.

15 years ago * readelf.c (target_specific_reloc_handling): New function:
nickc [Mon, 22 Jun 2009 08:46:13 +0000 (08:46 +0000)]
    * readelf.c (target_specific_reloc_handling): New function:
        Processes relocs in a target specific manner.
        (debug_apply_relocations): Use the new function.
        * dwarf.c (display_debug_loc): End the dump with a blank line.
        (struct debug_display): Enable reloc processing for .debug_aranges
        and .debug_loc sections.

15 years ago(committed as obvious)
gingold [Mon, 22 Jun 2009 08:24:29 +0000 (08:24 +0000)]
(committed as obvious)
2009-06-22  Tristan Gingold  <gingold@adacore.com>

* darwin-nat.c (darwin_xfer_partial): Use host_address_to_string
instead of "%p".

15 years ago2009-06-22 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 22 Jun 2009 08:14:52 +0000 (08:14 +0000)]
2009-06-22  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_canonicalize_reloc): Append a sentinel to
the relocs array.

15 years ago2009-06-22 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 22 Jun 2009 08:14:34 +0000 (08:14 +0000)]
2009-06-22  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_canonicalize_reloc): Append a sentinel to
the relocs array.

15 years ago * rtl-xform.scm (rtx-simplify-insn): New function.
devans [Mon, 22 Jun 2009 07:02:35 +0000 (07:02 +0000)]
* rtl-xform.scm (rtx-simplify-insn): New function.
* html.scm (gen-insn-docs): Call it.
* sem-frags.scm (sem-find-common-frags, -frag-test-data): Ditto.
* iformat.scm (ifmt-analyze): Minor simplification.

15 years agoRemove now outdated comment.
devans [Mon, 22 Jun 2009 06:58:59 +0000 (06:58 +0000)]
Remove now outdated comment.

15 years ago * elfcpp.h (SHN_X86_64_LCOMMON): Define enum constant.
ian [Mon, 22 Jun 2009 06:56:05 +0000 (06:56 +0000)]
* elfcpp.h (SHN_X86_64_LCOMMON): Define enum constant.
(enum SHT): Add SHT_X86_64_UNWIND.
(enum SHF): Add SHT_X86_64_LARGE.

15 years agoFix ChangeLog e-mail address.
ian [Mon, 22 Jun 2009 06:52:11 +0000 (06:52 +0000)]
Fix ChangeLog e-mail address.

15 years ago * layout.cc (Layout::make_output_section): Call
ian [Mon, 22 Jun 2009 06:51:53 +0000 (06:51 +0000)]
* layout.cc (Layout::make_output_section): Call
Target::new_output_section.
(Layout::attach_allocated_section_to_segment): Put large section
sections in a separate load segment with the large segment flag
set.
(Layout::segment_precedes): Sort large data segments after other
load segments.
(align_file_offset): New static function.
(Layout::set_segment_offsets): Use align_file_offset.
* output.h (class Output_section): Add is_small_section_ and
is_large_section_ fields.
(Output_section::is_small_section): New function.
(Output_section::set_is_small_section):  New function.
(Output_section::is_large_section): New function.
(Output_section::set_is_large_section): New function.
(Output_section::is_large_data_section): New function.
(class Output_segment): Add is_large_data_segment_ field.
(Output_segment::is_large_data_segment): New function.
(Output_segment::set_is_large_data_segment): New function.
* output.cc (Output_section::Output_section): Initialize new
fields.
(Output_segment::Output_segment): Likewise.
(Output_segment::add_output_section): Add assertion that large
data sections always go in large data segments.  Force small data
sections to the end of the list of data sections.  Force small BSS
sections to the start of the list of BSS sections.  For large BSS
sections to the end of the list of BSS sections.
* symtab.h (class Symbol): Declare is_common_shndx.
(Symbol::is_defined): Check Symbol::is_common_shndx.
(Symbol::is_common): Likewise.
(class Symbol_table): Define enum Commons_section_type.  Update
declarations.  Add small_commons_ and large_commons_ fields.
* symtab.cc (Symbol::is_common_shndx): New function.
(Symbol_table::Symbol_table): Initialize new fields.
(Symbol_table::add_from_object): Put small and large common
symbols in the right list.
(Symbol_table::sized_finalized_symbol): Check
Symbol::is_common_shndx.
(Symbol_table::sized_write_globals): Likewise.
* common.cc (Symbol_table::do_allocate_commons): Allocate new
common symbol lists.  Don't call do_allocate_commons_list if the
list is empty.
(Symbol_table::do_allocate_commons_list): Remove is_tls
parameter.  Add comons_section_type parameter.  Change all
callers.  Handle small and large common symbols.
* object.cc (Sized_relobj::do_finalize_local_symbols): Check
Symbol::is_common_shndx.
* resolve.cc (symbol_to_bits): Likewise.
* target.h (Target::small_common_shndx): New function.
(Target::small_common_section_flags): New function.
(Target::large_common_shndx): New function.
(Target::large_common_section_flags): New function.
(Target::new_output_section): New function.
(Target::Target_info): Add small_common_shndx, large_common_shndx,
small_common_section_flags, and large_common_section_flags
fields.
(Target::do_new_output_section): New virtual function.
* arm.cc (Target_arm::arm_info): Initialize new fields.
* i386.cc (Target_i386::i386_info): Likewise.
* powerpc.cc (Target_powerpc::powerpc_info) [all versions]:
Likewise.
* sparc.c (Target_sparc::sparc_info) [all versions]: Likewise.
* x86_64.cc (Target_x86_64::x86_64_info): Likewise.
(Target_x86_64::do_new_output_section): New function.
* configure.ac: Define conditional MCMODEL_MEDIUM.
* testsuite/Makefile.am (check_PROGRAMS): Add large.
(large_SOURCES, large_CFLAGS, large_DEPENDENCIES): Define.
(large_LDFLAGS): Define.
* testsuite/large.c: New file.
* testsuite/testfile.cc (Target_test::test_target_info):
Initialize new fields.
* configure, testsuite/Makefile.in: Rebuild.

15 years ago * semantics.scm (semantic-compile): Change arg sem-code-list to
devans [Mon, 22 Jun 2009 05:14:09 +0000 (05:14 +0000)]
* semantics.scm (semantic-compile): Change arg sem-code-list to
sem-code.
(semantic-attrs): Ditto.
* iformat.scm (ifmt-analyze): Update.
(ifmt-compute!): Update.
* rtl-traverse.scm (-compile-expr-fn, rtx-compile): Move to
rtl-xform.scm.
(-rtx-trim-args, -rtx-trim-for-doc, rtx-trim-for-doc): Ditto.
* rtl.scm (-rtx-canonicalize-expr, rtx-canonicalize): Ditto.
* semantics.scm (rtx-simplify): Ditto.
(rtx-const-equal, rtx-const-list-equal): Ditto, and make local.
(rtx-simplify-eq-attr-mach, rtx-simplify-eq-attr-insn): Ditto.
(-simplify-expr-fn): Move to rtl-xform.scm.
(-solve-expr-fn, rtx-solve): Ditto.
* rtl-xform.c: New file.
* read.scm: Load it.

15 years agocpu/
amodra [Mon, 22 Jun 2009 00:53:25 +0000 (00:53 +0000)]
cpu/
* m32c.opc (parse_lab_5_3): Use correct enum.
opcodes/
* m32c-asm.c: Regenerate.

15 years agoinclude/elf/
amodra [Mon, 22 Jun 2009 00:52:20 +0000 (00:52 +0000)]
include/elf/
* ppc.h (R_PPC_RELAX*): Define as enum.
bfd/
* elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch.
* elf32-v850.c (v850_elf_relocate_section): Warning fix.

15 years ago * score-dis.c (print_insn_score48, print_insn_score32): Move default
amodra [Mon, 22 Jun 2009 00:01:56 +0000 (00:01 +0000)]
* score-dis.c (print_insn_score48, print_insn_score32): Move default
case label to proper lexical block.
* score7-dis.c (print_insn_score32): Likewise.

15 years ago*** empty log message ***
gdbadmin [Mon, 22 Jun 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * elf64-ppc.c (ppc64_elf_edit_opd): Avoid gcc warning.
amodra [Mon, 22 Jun 2009 00:00:32 +0000 (00:00 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Avoid gcc warning.

15 years agodaily update
amodra [Mon, 22 Jun 2009 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago2009-06-21 Michael Snyder <msnyder@vmware.com>
msnyder [Sun, 21 Jun 2009 18:00:19 +0000 (18:00 +0000)]
2009-06-21  Michael Snyder  <msnyder@vmware.com>

* inferior.h: Update ancient comment.

15 years ago * rtl-traverse.scm (-rtx-traverse-expr): Tweak comments.
devans [Sun, 21 Jun 2009 17:53:16 +0000 (17:53 +0000)]
* rtl-traverse.scm (-rtx-traverse-expr): Tweak comments.
(-rtx-traverse, rtx-traverse): Ditto.

15 years ago * rtl-c.scm (delay): Add FIXME, tweak formatting.
devans [Sun, 21 Jun 2009 17:41:47 +0000 (17:41 +0000)]
* rtl-c.scm (delay): Add FIXME, tweak formatting.

15 years agomerge from gcc
dj [Sun, 21 Jun 2009 17:13:08 +0000 (17:13 +0000)]
merge from gcc

15 years ago * doc/rtl.texi (Expressions): Enhance docs of shift ops.
devans [Sun, 21 Jun 2009 06:54:49 +0000 (06:54 +0000)]
* doc/rtl.texi (Expressions): Enhance docs of shift ops.

15 years ago*** empty log message ***
gdbadmin [Sun, 21 Jun 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sun, 21 Jun 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago * configure.in: Update version to 1.1.
devans [Sat, 20 Jun 2009 21:58:01 +0000 (21:58 +0000)]
* configure.in: Update version to 1.1.
* configure: Regenerate.
* read.scm (-CGEN-VERSION): Update to 1.1.0.

15 years ago * desc-cpu.scm (cgen-desc.h): Tweak logit message for consistency.
devans [Sat, 20 Jun 2009 21:34:28 +0000 (21:34 +0000)]
* desc-cpu.scm (cgen-desc.h): Tweak logit message for consistency.
(cgen-desc.c): Ditto.
* sid-cpu.scm (cgen-desc.h, cgen-cpu.h, cgen-defs.h): Ditto.
(cgen-write.cxx, cgen-semantics.cxx, cgen-sem-switch.cxx): Ditto.
* sid-decode.scm (cgen-decode.h, cgen-decode.cxx): Ditto.
* sid-model.scm (cgen-model.cxx, cgen-model.h): Ditto.
* sim-arch.scm (cgen-arch.h, cgen-arch.c): Ditto.
(cgen-cpuall.h, cgen-ops.c): Ditto.
* sim-cpu.scm (cgen-cpu.h, cgen-defs.h, cgen-cpu.c): Ditto.
(cgen-read.c, cgen-write.c, cgen-semantics.c): Ditto.
(cgen-sem-switch.c): Ditto.
* sim-decode.scm (cgen-decode.h, cgen-decode.c): Ditto.
* sim-model.c (cgen-model.c): Ditto.

15 years ago * mloop.in: Add missing # comment marker.
devans [Sat, 20 Jun 2009 21:19:20 +0000 (21:19 +0000)]
* mloop.in: Add missing # comment marker.
* mloop2.in: Ditto.
* mloopx.in: Ditto.

15 years ago2009-06-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 20 Jun 2009 13:13:11 +0000 (13:13 +0000)]
2009-06-19  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_link_add_object_symbols): Avoid warning
from -Wjump-misses-init in gcc 4.5.0.

15 years ago PR 10302
amodra [Sat, 20 Jun 2009 02:52:08 +0000 (02:52 +0000)]
PR 10302
* doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.

15 years ago2009-06-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 20 Jun 2009 00:43:21 +0000 (00:43 +0000)]
2009-06-19  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_check_relocs): Properly check local
symbol on error.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.

15 years ago * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Avoid dereferencing
palves [Sat, 20 Jun 2009 00:16:02 +0000 (00:16 +0000)]
* solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Avoid dereferencing
NULL pointer.
(scan_dyntag): Skip if input bfd isn't elf flavoured.
(locate_base): Call elf_locate_base even without an exec_bfd.

15 years ago*** empty log message ***
gdbadmin [Sat, 20 Jun 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sat, 20 Jun 2009 00:00:08 +0000 (00:00 +0000)]
daily update

15 years ago2009-06-19 Joseph Myers <joseph@codesourcery.com>
jjohnstn [Fri, 19 Jun 2009 18:17:58 +0000 (18:17 +0000)]
2009-06-19  Joseph Myers  <joseph@codesourcery.com>

        * Makefile.in (html, pdf): New.
        * doc/Makefile.in (html, pdf, porting.pdf, porting.html): New.
        * doc/porting.texi: Fix section structure.

15 years ago2009-06-19 Joel Sherrill <joel.sherrill@oarcorp.com>
jjohnstn [Fri, 19 Jun 2009 18:15:34 +0000 (18:15 +0000)]
2009-06-19  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/sys/rtems/machine/param.h: Change ALIGNBYTES
        so it can point to an aligned structure or double.

15 years agoFix typo in bug number
tromey [Fri, 19 Jun 2009 16:01:20 +0000 (16:01 +0000)]
Fix typo in bug number

15 years agobfd/
hjl [Fri, 19 Jun 2009 16:00:30 +0000 (16:00 +0000)]
bfd/

2009-06-19  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_tls_transition): Add a parameter,
r_symndx.  Report local symbol name on error.
(elf_i386_check_relocs): Updated.  Report local symbol name on
error.
(elf_i386_gc_sweep_hook): Updated.
(elf_i386_relocate_section): Likewise.

* elf64-x86-64.c (elf64_x86_64_tls_transition): Add a parameter,
r_symndx.  Report local symbol name on error.
(elf64_x86_64_check_relocs): Updated.  Report local symbol name
on error.
(elf64_x86_64_gc_sweep_hook): Updated.
(elf64_x86_64_relocate_section): Likewise.

ld/testsuite/

2009-06-19  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/i386.exp: Run tlsgd2.

* ld-i386/tlsgd2.d: New.
* ld-i386/tlsgd2.s: Likewise.

* ld-x86-64/tlsgd3.d: Updated.

15 years ago2009-06-19 Samuel Bronson <naesten@gmail.com>
tromey [Fri, 19 Jun 2009 15:49:35 +0000 (15:49 +0000)]
2009-06-19  Samuel Bronson  <naesten@gmail.com>

PR cli/9930:
* cli/cli-decode.c (apropos_cmd): Skip traversing abbreviations
for prefix commands to avoid duplicates in the output.

15 years ago2009-06-19 Samuel Bronson <naesten@gmail.com>
tromey [Fri, 19 Jun 2009 15:47:07 +0000 (15:47 +0000)]
2009-06-19  Samuel Bronson  <naesten@gmail.com>

PR cli/9930:
* cli/cli-decode.c (apropos_cmd): Fix avoidance of double
printing.

15 years ago * breakpoint.c (expand_line_sal_maybe): When explicit_line,
guitton [Fri, 19 Jun 2009 15:14:10 +0000 (15:14 +0000)]
* breakpoint.c (expand_line_sal_maybe): When explicit_line,
skip prologue on each sals.
(skip_prologue_sal): Return explicit_line and explicit_pc
unmodified.

15 years ago * ar.c (usage): Do not use #ifdef inside _("...).
nickc [Fri, 19 Jun 2009 15:05:23 +0000 (15:05 +0000)]
    * ar.c (usage): Do not use #ifdef inside _("...).
        * nm.c (usage): Likewise.

15 years ago2009-06-19 Tristan Gingold <gingold@adacore.com>
gingold [Fri, 19 Jun 2009 14:32:19 +0000 (14:32 +0000)]
2009-06-19  Tristan Gingold  <gingold@adacore.com>

* darwin-nat.c (_initialize_darwin_inferior): Remove commented-out
line.

15 years ago2009-06-19 Tristan Gingold <gingold@adacore.com>
gingold [Fri, 19 Jun 2009 14:30:26 +0000 (14:30 +0000)]
2009-06-19  Tristan Gingold  <gingold@adacore.com>

* machoread.c (macho_symtab_read): Adjust for bfd changes.
* darwin-nat.h (struct darwin_exception_msg): New type to describe
a mach exception.
(struct private_thread_info): New type to describe the state of the
thread.
(DEF_VEC_I thread_t): Removed, replaced by ...
(DEF_VEC_O darwin_thread_t): ... this new type.
(struct darwin_inferior): Renamed to ...
(struct private_inferior): ... this type.  Fields added.
(darwin_not_port): Moved into the private inferior structure.
* darwin-nat.c: Add includes, improve comments.
Rewrite to handle multiple threads and processes.
(darwin_resume_to): New function and protype.
(darwin_resume, darwin_wait_to, darwin_wait): Ditto.
(darwin_kill_inferior): Add ops argument.
(darwin_pid_to_str): New function.
(darwin_thread_alive): Ditto.
(darwin_inf, darwin_not_port): Removed.
(darwin_inf_fake_stop): New variable.
(msgin, msgout, msg_state, exc_msg): Removed.
(mach_check_error): Use warning instead of error.
(darwin_ptrace): Adjust debug level.
(cmp_thread_t): Fix names (typo).
(darwin_check_new_threads): Argument is now an inferior,
adjust for new structures, add no change check, ignore dead ports,
handle first thread case.
(find_inferior_task_it): New function.
(find_inferior_notify_it): Ditto.
(darwin_find_inferior_by_task): Ditto.
(darwin_find_inferior_by_notify): Ditto.
(darwin_find_thread): Ditto.
(darwin_suspend_inferior): Ditto.
(darwin_resume_inferior): Ditto.
(catch_exception_raise_state): Removed.
(catch_exception_raise_state_identity): Removed.
(darwin_suspend_inferior_it): New function.
(darwin_resume_inferior_it): Ditto.
(darwin_dump_message): New function, extracted from darwin_wait.
(darwin_decode_exception_message): New function.
(darwin_encode_reply): New function.
(catch_exception_raise): Removed.
(darwin_send_reply): New function, extracted from darwin_resume.
(darwin_resume_thread): New function, extracted from darwin_resume.
(struct resume_inferior_threads_param): New type.
(darwin_resume_inferior_threads_it): New function.
(darwin_resume_inferior_threads): New function.
(darwin_suspend_inferior_threads): New function.
(darwin_resume): Mostly rewritten to handle multiple threads and
some corner cases.
(darwin_decode_message): New function extracted from darwin_wait.
(cancel_breakpoint): New function.
(darwin_wait): Mostly rewritten.  Handle multiple threads.
(darwin_mourn_inferior): Adjust for per process structures.
(darwin_reply_to_all_pending_messages): New function.
(darwin_stop_inferior): Adjust for per inferior structures.
(darwin_attach_pid): Ditto.
(darwin_init_thread_list): Ditto.
(darwin_attach): Ditto.
(darwin_detach): Ditto.
(darwin_files_info): Now empty.
(darwin_pid_to_str): Adjust returns string to match one expected by
the testsuite.
(darwin_read_write_inferior): Rename err variable to match other uses.
Adjust debug message.  Handle submaps.
(darwin_xfer_memory): Adjust for per inferior structures.
(set_enable_mach_exceptions): Ditto.
(darwin_pid_to_exec_file): New function.
(darwin_get_ada_task_ptid): Ditto.
(darwin_supports_multi_process): Ditto.
(_initialize_darwin_inferior): Remove useless assertion, adjust for
per inferior structures.  Add new target operations.

15 years ago * generic/gdbtk-cmds.c (gdb_update_mem): Dispatch
palves [Fri, 19 Jun 2009 13:49:37 +0000 (13:49 +0000)]
* generic/gdbtk-cmds.c (gdb_update_mem): Dispatch
TARGET_OBJECT_MEMORY reads to the topmost target, not to the
flattened current_target.

15 years ago2009-06-19 Aleksandar Ristovski <aristovski@qnx.com>
palves [Fri, 19 Jun 2009 13:35:35 +0000 (13:35 +0000)]
2009-06-19  Aleksandar Ristovski  <aristovski@qnx.com>
    Pedro Alves <pedro@codesourcery.com>

* target.h (struct target_ops) <supports_multi_process>: New
callback.
(target_supports_multi_process): New.
* server.c (handle_query): Even if GDB reports support, only
enable multi-process if the target also supports it.  Report
multi-process support only if the target backend supports it.
* linux-low.c (linux_supports_multi_process): New function.
(linux_target_ops): Install it as target_supports_multi_process
callback.

15 years ago * config/tc-s390.c (md_gather_operands): Accept an instruction
sky [Fri, 19 Jun 2009 10:58:27 +0000 (10:58 +0000)]
    * config/tc-s390.c (md_gather_operands): Accept an instruction
        without operands if all operands are tagged as optional.

15 years ago * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
sky [Fri, 19 Jun 2009 10:55:41 +0000 (10:55 +0000)]
    * s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
        MASK_RX_0RRD_OPT): New instruction formats with optional arguments.
        * s390-opc.txt (nopr, nop): Use new instruction format.

15 years ago * new-features.sgml (ov-new1.7-misc): Add new link libs.
corinna [Fri, 19 Jun 2009 09:33:45 +0000 (09:33 +0000)]
* new-features.sgml (ov-new1.7-misc): Add new link libs.
* setup2.sgml (setup-locale-ov): Explain locale-specific wcwidth
feature.

15 years ago2009-06-19 Tristan Gingold <gingold@adacore.com>
gingold [Fri, 19 Jun 2009 09:23:54 +0000 (09:23 +0000)]
2009-06-19  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_print_private_header): Fix format character.

15 years ago2009-06-19 Tristan Gingold <gingold@adacore.com>
gingold [Fri, 19 Jun 2009 09:12:41 +0000 (09:12 +0000)]
2009-06-19  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Add prototype.
(bfd_mach_o_version): Use bfd_mach_o_get_data instead of direct access.
(bfd_mach_o_valid): Ditto.
(bfd_mach_o_wide_p): Ditto.
(bfd_mach_o_canonicalize_reloc): Ditto.
(bfd_mach_o_build_commands): Ditto.
(bfd_mach_o_scan_read_thread): Ditto.
(bfd_mach_o_flatten_sections): Ditto.
(bfd_mach_o_scan_start_address): Ditto.
(bfd_mach_o_lookup_section): Ditto.
(bfd_mach_o_core_fetch_environment): Ditto.
(bfd_mach_o_write_contents): Ditto.  Handle reexport_dylib.
(bfd_mach_o_scan_write_relocs): Adjust for bfd_mach_o_get_data.
(bfd_mach_o_scan_write_symtab): Ditto.
Use macros instead of hard-coded values.
(bfd_mach_o_scan_read_symtab_symbol): Make the function static.
Use bfd_mach_o_get_data instead of direct access.  Use macros
instead of hard-coded values.
(bfd_mach_o_scan_read_symtab_strtab): Make the function static.
Remove sym argument and get section from mdata.
Move code into the else branch.
(bfd_mach_o_scan_read_symtab_symbols): Make the function static.
Remove sym argument and get section from mdata.  Adjust code.
(bfd_mach_o_scan_read_dylib): Move assertion into the created
switch (which replaces consecutive if statements).
(bfd_mach_o_scan_read_dysymtab): Rename seg to cmd.  Load
module table, table of content, indirect symbols and external
referenced symbols.
(bfd_mach_o_scan_read_symtab): Renames seg to symtab.  Set symtab
field.
(bfd_mach_o_scan_read_linkedit): New function.
(bfd_mach_o_scan_read_str): Ditto.
(bfd_mach_o_count_symbols): Simplify the code by using the symtab
field of mdata.
(bfd_mach_o_get_symtab_upper_bound): Remove check as
bfd_mach_o_count_symbols never returns an error.
(bfd_mach_o_canonicalize_symtab): Simplify the code by using the
symtab field (there might be only one symtab).
(bfd_mach_o_scan_read_command): Handle reexported dylib.
Handle sub frameworks, sub umbrella, sub library and sub client.
Read code signature and segment split info commands.
(bfd_mach_o_scan): Reindent.
(bfd_mach_o_xlat_name): New type.
(bfd_mach_o_print_flags): New function.
(bfd_mach_o_get_name): Ditto.
(bfd_mach_o_cpu_name): New variable.
(bfd_mach_o_filetype_name, bfd_mach_o_header_flags_name)
(bfd_mach_o_section_type_name)
(bfd_mach_o_section_attribute_name)
(bfd_mach_o_load_command_name): New variables.
(bfd_mach_o_print_private_header): New function.
(bfd_mach_o_print_section_map): New function extracted from
bfd_mach_o_print_private_bfd_data.
(bfd_mach_o_print_section): Ditto.  Print more infos.
(bfd_mach_o_print_segment): Ditto.
(bfd_mach_o_print_dysymtab): Ditto.
(bfd_mach_o_bfd_print_private_bfd_data): Reworked.  Handle
load weak dylib, reexport dylib and id dylib.
Handle code signature and segment_split info.
Handle sub frameworks, sub umbrella, sub library and sub client.
(bfd_mach_o_section_get_nbr_indirect): New function.

* mach-o.h (BFD_MACH_O_REFERENCE_MASK): New macro.  Add comment.
(bfd_mach_o_header_flags): New enum to define header flags.
(bfd_mach_o_section_attribute): New enum to replace ...
(BFD_MACH_O_S_ATTR_LOC_RELOC, BFD_MACH_O_S_ATTR_EXT_RELOC,
BFD_MACH_O_S_ATTR_SOME_INSTRUCTIONS, BFD_MACH_O_S_ATTR_DEBUG,
BFD_MACH_O_S_SELF_MODIFYING_CODE, BFD_MACH_O_S_ATTR_LIVE_SUPPORT,
BFD_MACH_O_S_ATTR_NO_DEAD_STRIP, BFD_MACH_O_S_ATTR_STRIP_STATIC_SYMS,
BFD_MACH_O_S_ATTR_NO_TOC, BFD_MACH_O_S_ATTR_PURE_INSTRUCTIONS): ...
these removed macros.
(BFD_MACH_O_NLIST_SIZE, BFD_MACH_O_NLIST_64_SIZE): New macros.
(bfd_mach_o_dylib_module): New type.
(BFD_MACH_O_DYLIB_MODULE_SIZE, BFD_MACH_O_DYLIB_MODULE_64_SIZE): New
macros.
(bfd_mach_o_dylib_table_of_content): New type.
(BFD_MACH_O_TABLE_OF_CONTENT_SIZE): New macro.
(bfd_mach_o_dylib_reference): New type.
(BFD_MACH_O_REFERENCE_SIZE): New macro.
(bfd_mach_o_dysymtab_command): Add fields for loaded and decoded
modules, toc, references and indirect syms.
(BFD_MACH_O_INDIRECT_SYMBOL_SIZE): New macro.
(bfd_mach_o_dylinker_command): Remove cmd and cmdsize fields (were
unused).  Add comment.
(bfd_mach_o_dylib_command): Ditto.
(bfd_mach_o_prebound_dylib_command): Ditto.
(bfd_mach_o_linkedit_command): New type.
(bfd_mach_o_str_command): New type.
(bfd_mach_o_load_command): Add linkedit and str fields.
(mach_o_data_struct): Add symtab field.
(bfd_get_mach_o_data): Renamed to ...
(bfd_mach_o_get_data): ... this new macro.
(bfd_mach_o_scan_read_symtab_symbol,
bfd_mach_o_scan_read_symtab_strtab,
bfd_mach_o_scan_read_symtab_symbols): Prototypes removed.

* mach-o-i386.c (bfd_mach_o_i386_mkobject): Use bfd_mach_o_get_data
instead of direct access.

15 years ago * elf32-ppc.c (ppc_elf_check_relocs): Allow local symbols for
amodra [Fri, 19 Jun 2009 03:30:45 +0000 (03:30 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Allow local symbols for
R_PPC_PLTREL24 relocs.
(ppc_elf_relocate_section): Likewise.

15 years ago * elf32-ppc.c (find_plt_ent): Pass pointer to plist rather than
amodra [Fri, 19 Jun 2009 00:41:28 +0000 (00:41 +0000)]
* elf32-ppc.c (find_plt_ent): Pass pointer to plist rather than
pointer to sym hash.  Update all uses.
(update_plt_info): Likewise.  Don't check addend here.

15 years ago*** empty log message ***
gdbadmin [Fri, 19 Jun 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Fri, 19 Jun 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2009-06-14 Hui Zhu <teawater@gmail.com>
msnyder [Thu, 18 Jun 2009 23:55:57 +0000 (23:55 +0000)]
2009-06-14  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* infrun.c (handle_inferior_event): Reverse-next through
          trampoline.

15 years ago2009-06-18 Hui Zhu <teawater@gmail.com>
msnyder [Thu, 18 Jun 2009 23:41:26 +0000 (23:41 +0000)]
2009-06-18  Hui Zhu  <teawater@gmail.com>
    Michael Snyder  <msnyder@vmware.com>

* infrun.c (handle_inferior_event): Improve reverse stepping
through function epilogue.

15 years ago * gas/cfi/cfi-common-7.s: Skip a multiple of four.
amodra [Thu, 18 Jun 2009 23:16:05 +0000 (23:16 +0000)]
* gas/cfi/cfi-common-7.s: Skip a multiple of four.
* gas/cfi/cfi-common-7.d: Adjust.

15 years ago * gen-all-doc: Add fr30, ip2k, iq2000, lm32, mep, mt.
devans [Thu, 18 Jun 2009 18:23:12 +0000 (18:23 +0000)]
* gen-all-doc: Add fr30, ip2k, iq2000, lm32, mep, mt.

15 years agofix typo in previous entry
devans [Thu, 18 Jun 2009 18:18:13 +0000 (18:18 +0000)]
fix typo in previous entry

15 years ago * html.scm (doc-analyze!): Provide defualt IDOC attribute if missing.
devans [Thu, 18 Jun 2009 18:17:50 +0000 (18:17 +0000)]
* html.scm (doc-analyze!): Provide defualt IDOC attribute if missing.

15 years ago * dev.scm (cload): Change #:arch argument to take the path to the
devans [Thu, 18 Jun 2009 18:12:32 +0000 (18:12 +0000)]
* dev.scm (cload): Change #:arch argument to take the path to the
.cpu file instead of just the name of the architecture.
* read.scm (arch-path): Remove trailing '/'.
(cpu-load): Set `arch-path' to directory of .cpu file.
(-cgen): Don't set `arch-path' here.
(include): Update.
* doc/porting.texi: Update.

15 years ago PR 10169
nickc [Thu, 18 Jun 2009 16:36:02 +0000 (16:36 +0000)]
    PR 10169
        * gas/tc-arm.c (do_t_ssat): Move common code from here...
        (do_t_usat): ... and here to...
        (do_t_ssat_usat): New function: ... here.  Add code to check that
        the shift value, if present, is in range.

        * gas/arm/thumb2_bad_reg.s: Add tests for SSAT and USAT with an
        out of range shift.
        * gas/arm/thumb2_bad_reg.l: Update expected error messages.

15 years ago2009-06-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 18 Jun 2009 15:49:38 +0000 (15:49 +0000)]
2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_check_relocs): Remove isymbuf and use
bfd_sym_from_r_symndx.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.

15 years ago * elf-bfd.h (struct sym_sec_cache): Delete.
amodra [Thu, 18 Jun 2009 14:18:28 +0000 (14:18 +0000)]
* elf-bfd.h (struct sym_sec_cache): Delete.
(struct sym_cache): New.
(bfd_section_from_r_symndx): Delete prototype.
(bfd_sym_from_r_symndx): Define prototype.
* elf.c (bfd_section_from_r_symndx): Delete, replace with..
(bfd_sym_from_r_symndx): ..new function.
* elf32-arm.c: Update all uses of struct sym_sec_cache and
bfd_section_from_r_symndx to new struct and function.
* elf32-bfin.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-m68hc1x.c: Likewise.
* elf32-m68hc1x.h: Likewise.
* elf32-m68k.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-x86-64.c: Likewise.
* elfxx-sparc.c: Likewise.
* elfxx-sparc.h: Likewise.

15 years ago2009-06-18 Paul Pluzhnikov <ppluzhnikov@google.com>
ppluzhnikov [Thu, 18 Jun 2009 14:02:15 +0000 (14:02 +0000)]
2009-06-18  Paul Pluzhnikov  <ppluzhnikov@google.com>

* dwarf2-frame.c (struct comp_unit): Use bfd_size_type for
dwarf_frame_size.

15 years ago2009-06-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 18 Jun 2009 12:49:40 +0000 (12:49 +0000)]
2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_check_relocs): Cache or free isymbuf.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.

15 years ago * elflink.c (elf_link_sort_relocs): Return early if there are no
nickc [Thu, 18 Jun 2009 10:48:57 +0000 (10:48 +0000)]
    * elflink.c (elf_link_sort_relocs): Return early if there are no
        relocs to sort.

15 years agoFix formatting of recent entry
nickc [Thu, 18 Jun 2009 10:41:41 +0000 (10:41 +0000)]
Fix formatting of recent entry

15 years ago PR 10288
nickc [Thu, 18 Jun 2009 10:31:20 +0000 (10:31 +0000)]
    PR 10288
        * arm-dis.c (print_insn_coprocessor): Check that a user specified
        ARM architecture supports the matched instruction.
        (print_insn_arm): Likewise.
        (select_arm_features): New function.  Fills in the fields of an
        arm_feature_set structure based on a given arm machine number.
        (print_insn): Initialise an arm_feature_set structure.

        * objdump.c (disassemble_bytes): Set the
        USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure
        if the user has invoked the -m switch.
        * doc/binutils.texi: Document the additional behaviour of
        objdump's -m switch for ARM targets.

        * dis-asm.h (USER_SPECIFIED_MACHINE_TYPE): New value for the flags
        field of struct disassemble_info.

        * gas/arm/align.s: Add labels so that COFF based targets can
        correctly locate THUMB code.
        * gas/arm/copro.d: Do not pass --architecture switch to objdump.

15 years ago * path.cc (chdir): Check error conditions first.
corinna [Thu, 18 Jun 2009 09:47:13 +0000 (09:47 +0000)]
* path.cc (chdir): Check error conditions first.

15 years ago * libc/locale/locale.c (loadlocale): Add handling of "@cjknarrow"
corinna [Thu, 18 Jun 2009 09:13:39 +0000 (09:13 +0000)]
* libc/locale/locale.c (loadlocale): Add handling of "@cjknarrow"
modifier on _MB_CAPABLE targets.  Add comment to explain.  Improve
documentation.

15 years ago * ld-pe/pe-run.exp (proc test_direct_link_dll): Always pass
davek [Thu, 18 Jun 2009 02:47:50 +0000 (02:47 +0000)]
* ld-pe/pe-run.exp (proc test_direct_link_dll):  Always pass
--enable-auto-import to the linker.
* ld-pe/vers-script-1.d:  Replace '\$' by '_' in all symbol names.
* ld-pe/vers-script-3.d:  Likewise.
* ld-pe/vers-script-4.d:  Likewise.
* ld-pe/vers-script-dll.c:  Likewise.
* lib/ld-lib.exp (proc is_pecoff_format):  Also return true for
"*-*-cegcc*" targets.

15 years ago2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
davek [Thu, 18 Jun 2009 02:11:01 +0000 (02:11 +0000)]
2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>

Merge cegcc and mingw32ce target name changes from CeGCC project,
replacing "arm-*-" by "arm*-*-" where needed.

  2008-09-24  Pedro Alves  <pedroalves@users.sourceforge.net>

ld/
* configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
${tooldir}/lib/w32api.

  2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>

bfd/
* config.bfd: Add arm*-*-cegcc* target.

  2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>

binutils/
* configure.in: Add arm*-*-cegcc* and arm*-*-mingw32ce* targets.
* configure: Regenerate.

  2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>

gas/
* configure.tgt: Add arm*-*-cegcc* target.

  2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>

ld/
* configure.tgt: Add arm*-*-cegcc* target.

  2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>

bfd/
* config.bfd: Add arm-*-mingw32ce* target.

  2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>

gas/
* configure.tgt: Add arm-*-mingw32ce* target.

  2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>

ld/
* configure.tgt: Add arm-*-mingw32ce* target.

15 years ago2009-06-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 18 Jun 2009 00:45:14 +0000 (00:45 +0000)]
2009-06-17  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (_bfd_elf_allocate_ifunc_dyn_relocs): New.
* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Likewise.
* elf32-i386.c (elf_i386_allocate_dynrelocs): Use it.
* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.

2009-06-17  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (_bfd_elf_create_ifunc_dyn_reloc): New.
* elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Likewise.
* elf32-i386.c (elf_i386_check_relocs): Use it.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.

2009-06-17  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (elf_dyn_relocs): New.

* elf32-i386.c (elf_i386_dyn_relocs): Removed.
(elf_i386_link_hash_entry): Replace elf_i386_dyn_relocs with
elf_dyn_relocs.
(elf_i386_copy_indirect_symbol): Likewise.
(elf_i386_check_relocs): Likewise.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_allocate_dynrelocs): Likewise.
(elf_i386_readonly_dynrelocs): Likewise.
(elf_i386_size_dynamic_sections): Likewise.

* elf64-x86-64.c (elf64_x86_64_dyn_relocs): Removed.
(elf64_x86_64_link_hash_entry): Replace elf64_x86_64_dyn_relocs
with elf_dyn_relocs.
(elf64_x86_64_copy_indirect_symbol): Updated.
(elf64_x86_64_check_relocs): Likewise.
(elf64_x86_64_gc_sweep_hook): Likewise.
(elf64_x86_64_adjust_dynamic_symbol): Likewise.
(elf64_x86_64_allocate_dynrelocs): Likewise.
(elf64_x86_64_readonly_dynrelocs): Likewise.
(elf64_x86_64_size_dynamic_sections): Likewise.

15 years ago*** empty log message ***
gdbadmin [Thu, 18 Jun 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Thu, 18 Jun 2009 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
muller [Wed, 17 Jun 2009 22:46:08 +0000 (22:46 +0000)]
* lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
target.

15 years ago2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Wed, 17 Jun 2009 22:01:36 +0000 (22:01 +0000)]
2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/stdlib.h (_wtof): Define.

15 years ago * dwarf2read.c (zlib_decompress_section): Use a cleanup.
tromey [Wed, 17 Jun 2009 20:29:42 +0000 (20:29 +0000)]
* dwarf2read.c (zlib_decompress_section): Use a cleanup.

15 years ago * gdbarch.sh (pointer_to_address): Change to type 'm'.
uweigand [Wed, 17 Jun 2009 18:50:30 +0000 (18:50 +0000)]
* gdbarch.sh (pointer_to_address): Change to type 'm'.
(address_to_pointer): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.

* inferior.h (unsigned_pointer_to_address): Add GDBARCH argument.
(signed_pointer_to_address): Likewise.
(unsigned_address_to_pointer, address_to_signed_pointer): Likewise.
* findvar.c (unsigned_pointer_to_address): Likewise.
(signed_pointer_to_address): Likewise.
(unsigned_address_to_pointer, address_to_signed_pointer): Likewise.

* avr-tdep.c (avr_address_to_pointer): Likewise.
(avr_pointer_to_address): Likewise.
* iq2000-tdep.c (iq2000_pointer_to_address): Likewise.
(iq2000_address_to_pointer): Likewise.
* m32c-tdep.c (m32c_m16c_address_to_pointer): Likewise.
(m32c_m16c_pointer_to_address): Likewise.
* spu-tdep.c (spu_pointer_to_address): Likewise.
* xstormy16-tdep.c (xstormy16_pointer_to_address): Likewise.
(xstormy16_address_to_pointer): Likewise.

15 years agoChangeLog:
uweigand [Wed, 17 Jun 2009 18:49:36 +0000 (18:49 +0000)]
ChangeLog:

* printcmd.c (print_scalar_formatted): Always truncate
unsigned data types.

* cli-dump.c (struct callback_data): Change type of load_offset
to CORE_ADDR.
(restore_binary_file): Update type casts.
(restore_command): Parse load_offset as address, not long.

* utils.c (string_to_core_addr): Do not sign-extend value.
* varobj.c (find_frame_addr_in_frame_chain): Truncate frame_base
before comparing against requested frame address.

testsuite/ChangeLog:

* gdb.base/dump.exp: Handle SPU like 64-bit platforms.