binutils-gdb.git
18 years ago*** empty log message ***
gdbadmin [Tue, 29 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 29 Aug 2006 00:00:02 +0000 (00:00 +0000)]
daily update

18 years ago* m32c-tdep.c (m32c_decode_srcdest4): Initialize fields in sd
DJ Delorie [Mon, 28 Aug 2006 21:13:31 +0000 (21:13 +0000)]
* m32c-tdep.c (m32c_decode_srcdest4): Initialize fields in sd
that may not be initialized elsewhere.
(m32c_decode_sd23): Likewise.

18 years ago * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
Alan Modra [Mon, 28 Aug 2006 01:52:56 +0000 (01:52 +0000)]
* scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
not match random object files in a path containing "crtbegin" or
"crtend" as part of a directory name.
* scripttempl/armbpabi.sc: Likewise.
* scripttempl/crisaout.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mmo.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.

18 years agomerge from gcc
DJ Delorie [Mon, 28 Aug 2006 00:56:25 +0000 (00:56 +0000)]
merge from gcc

18 years ago*** empty log message ***
gdbadmin [Mon, 28 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 28 Aug 2006 00:00:02 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 27 Aug 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 27 Aug 2006 00:00:03 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 26 Aug 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 26 Aug 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Do not check
Bob Wilson [Fri, 25 Aug 2006 19:59:31 +0000 (19:59 +0000)]
* config/tc-xtensa.c (xtensa_mark_literal_pool_location): Do not check
the state of the absolute_literals directive.  Remove align frag at
the start of the literal pool position.

18 years ago * doc/c-xtensa.texi: Add @group commands in examples.
Bob Wilson [Fri, 25 Aug 2006 19:50:30 +0000 (19:50 +0000)]
* doc/c-xtensa.texi: Add @group commands in examples.

18 years agoAdd myself as mips maintainer.
Thiemo Seufer [Fri, 25 Aug 2006 18:06:21 +0000 (18:06 +0000)]
Add myself as mips maintainer.

18 years ago * buildsym.c (finish_block): Don't adjust the boundaries of
Daniel Jacobowitz [Fri, 25 Aug 2006 16:32:32 +0000 (16:32 +0000)]
* buildsym.c (finish_block): Don't adjust the boundaries of
nested functions.

18 years agobfd/
Bob Wilson [Fri, 25 Aug 2006 00:08:55 +0000 (00:08 +0000)]
bfd/
* elf32-xtensa.c (xtensa_get_property_section_name): Delete.
(xtensa_get_property_section): New.
(xtensa_read_table_entries): Use xtensa_get_property_section.
(relax_property_section, xtensa_get_property_predef_flags): Handle
group name suffixes in property section names.
(match_section_group): New.
gas/
* config/tc-xtensa.c (FINI_LITERAL_SECTION_NAME): Delete.
(INIT_LITERAL_SECTION_NAME): Delete.
(lit_state struct): Remove segment names, init_lit_seg, and
fini_lit_seg.  Add lit_prefix and current_text_seg.
(init_literal_head_h, init_literal_head): Delete.
(fini_literal_head_h, fini_literal_head): Delete.
(xtensa_begin_directive): Move argument parsing to
xtensa_literal_prefix function.
(xtensa_end_directive): Deallocate lit_prefix field of lit_state.
(xtensa_literal_prefix): Parse the directive argument here and
record it in the lit_prefix field.  Remove code to derive literal
section names.
(linkonce_len): New.
(get_is_linkonce_section): Use linkonce_len.  Check for any
".gnu.linkonce.*" section, not just text sections.
(md_begin): Remove initialization of deleted lit_state fields.
(xtensa_reorder_segments, xtensa_post_relax_hook): Remove references
to init_literal_head and fini_literal_head.
(xtensa_move_literals): Likewise.  Skip literals for .init and .fini
when traversing literal_head list.
(match_section_group): New.
(cache_literal_section): Rewrite to determine the literal section
name on the fly, create the section and return it.
(xtensa_switch_to_literal_fragment): Adjust for cache_literal_section.
(xtensa_switch_to_non_abs_literal_fragment): Likewise.
(xtensa_create_property_segments, xtensa_create_xproperty_segments):
Use xtensa_get_property_section from bfd.
(retrieve_xtensa_section): Delete.
* doc/c-xtensa.texi (Xtensa Options): Fix --text-section-literals
description to refer to plural literal sections and add xref to
the Literal Directive section.
(Literal Directive): Describe new rules for deriving literal section
names.  Add footnote for special case of .init/.fini with
--text-section-literals.
(Literal Prefix Directive): Replace old naming rules with xref to the
Literal Directive section.
ld/
* emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
* scripttempl/elfxtensa.sc (.text): Add .literal.*.

18 years ago*** empty log message ***
gdbadmin [Fri, 25 Aug 2006 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
Nick Clifton [Thu, 24 Aug 2006 14:59:24 +0000 (14:59 +0000)]
* ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
  Adjust the current address of DEFAULT_MEMORY_REGION even when dot hasn't changed.

18 years ago * symfile.c (add_symbol_file_command): Fix off-by-one when
Andreas Schwab [Thu, 24 Aug 2006 12:43:10 +0000 (12:43 +0000)]
* symfile.c (add_symbol_file_command): Fix off-by-one when
extending sect_opts.

18 years ago*** empty log message ***
gdbadmin [Thu, 24 Aug 2006 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 24 Aug 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agoRefer to next release of Emacs as 22.1.
Nick Roberts [Wed, 23 Aug 2006 21:29:06 +0000 (21:29 +0000)]
Refer to next release of Emacs as 22.1.

18 years ago*** empty log message ***
Nick Roberts [Wed, 23 Aug 2006 21:28:49 +0000 (21:28 +0000)]
*** empty log message ***

18 years ago* archive.c (hpux_uid_gid_encode): Fix thinko decrementing "cnt" variable.
Nick Clifton [Wed, 23 Aug 2006 17:20:08 +0000 (17:20 +0000)]
* archive.c (hpux_uid_gid_encode): Fix thinko decrementing "cnt" variable.

18 years ago2006-08-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 23 Aug 2006 14:48:49 +0000 (14:48 +0000)]
2006-08-23  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (three_byte_table): Expand to 256 elements.

18 years ago2006-08-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 23 Aug 2006 14:45:30 +0000 (14:45 +0000)]
2006-08-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3052
* ld-elf/loadaddr1.t: Add "AT (ADDR(.data))".
* ld-elf/loadaddr2.t: Likewise.

18 years ago2006-08-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 23 Aug 2006 14:43:56 +0000 (14:43 +0000)]
2006-08-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3103
* ld-elf/overlay.d: New file.
* ld-elf/overlay.s: Likewise.
* ld-elf/overlay.t: Likewise.

18 years ago * ldexp.c (fold_name <LOADADDR>): Return an absolute value
Alan Modra [Wed, 23 Aug 2006 01:35:31 +0000 (01:35 +0000)]
* ldexp.c (fold_name <LOADADDR>): Return an absolute value
        rather than a section relative value.

18 years agodaily update
Alan Modra [Wed, 23 Aug 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 23 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago(gdbmi): Remove gdb-force-update, initialize
Nick Roberts [Tue, 22 Aug 2006 21:45:22 +0000 (21:45 +0000)]
(gdbmi): Remove gdb-force-update, initialize
other variables.
(gdbmi-send): Ensure any text properties can be removed.
(gdbmi-prompt1): Update to gdb-ui.el
(gud-gdbmi-marker-filter): Defer setting of gud-running.
Keep gdb-done-regexp for partial-output-buffer.
(gdb-stack-list-frames-handler): Add face to function names.

18 years ago*** empty log message ***
Nick Roberts [Tue, 22 Aug 2006 21:44:57 +0000 (21:44 +0000)]
*** empty log message ***

18 years ago* valprint.c (val_print_type_code_flags): Fix GNU coding standards
Mark Kettenis [Tue, 22 Aug 2006 21:36:05 +0000 (21:36 +0000)]
* valprint.c (val_print_type_code_flags): Fix GNU coding standards
violation.

18 years ago* alpha-tdep.c (alpha_register_to_value, alpha_value_to_register)
Mark Kettenis [Tue, 22 Aug 2006 21:31:36 +0000 (21:31 +0000)]
* alpha-tdep.c (alpha_register_to_value, alpha_value_to_register)
(alpha_push_dummy_call, alpha_extract_return_value)
(alpha_breakpoint_from_pc, alpha_read_insn)
(alpha_get_longjmp_target, alpha_supply_int_regs)
(alpha_fill_int_regs, alpha_supply_fp_regs, alpha_fill_fp_regs)
(alpha_next_pc): Use gdb_byte instead of (unsigned) char where
appropriate.

18 years ago* sparc64-tdep.c (sparc64_pstate_type, sparc64_fsr_type)
Mark Kettenis [Tue, 22 Aug 2006 20:57:56 +0000 (20:57 +0000)]
* sparc64-tdep.c (sparc64_pstate_type, sparc64_fsr_type)
(sparc64_fprs_type): New variables.
(sparc64_init_types): New function.:
(sparc64_register_info): Use appropriate flag types for %fsr and
%fprs.
(sparc64_pseudo_register_info): Use appropriate type for %pstate.
(_initialize_sparc64_tdep): New function.

18 years ago* valprint.c (val_print_type_code_flags): Fix for bitfields larger
Mark Kettenis [Tue, 22 Aug 2006 20:32:39 +0000 (20:32 +0000)]
* valprint.c (val_print_type_code_flags): Fix for bitfields larger
than 32 bits.

18 years ago* gdbtypes.c (init_flags_type): Set all fields to zero instead of
Mark Kettenis [Tue, 22 Aug 2006 19:45:12 +0000 (19:45 +0000)]
* gdbtypes.c (init_flags_type): Set all fields to zero instead of
just the first one.

18 years ago * Makefile.in (INTERNAL_CPPFLAGS): New.
Daniel Jacobowitz [Tue, 22 Aug 2006 19:08:31 +0000 (19:08 +0000)]
* Makefile.in (INTERNAL_CPPFLAGS): New.
(INTERNAL_CFLAGS_BASE): Use it.

18 years ago2006-08-22 Michael Snyder <Michael.Snyder@PalmSource.com>
Michael Snyder [Tue, 22 Aug 2006 17:57:41 +0000 (17:57 +0000)]
2006-08-22  Michael Snyder  <Michael.Snyder@PalmSource.com>

* MAINTAINERS: Update my email address.

18 years ago * elf32-arm.c (elf32_arm_copy_indirect_symbol): Only copy
Daniel Jacobowitz [Tue, 22 Aug 2006 13:18:03 +0000 (13:18 +0000)]
* elf32-arm.c (elf32_arm_copy_indirect_symbol): Only copy
plt_thumb_refcount from indirect symbols.

18 years ago * elf32-ppc.c (ppc_elf_relocate_section): Correct GOT and PLT HA
Alan Modra [Tue, 22 Aug 2006 12:06:10 +0000 (12:06 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Correct GOT and PLT HA
reloc handling.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.

18 years ago* configure.tgt: Set targ_emul to arm_wince_pe for ARM Windows CE targets.
Nick Clifton [Tue, 22 Aug 2006 11:50:33 +0000 (11:50 +0000)]
* configure.tgt: Set targ_emul to arm_wince_pe for ARM Windows CE targets.

18 years ago * NEWS: Mention LMA default change.
Alan Modra [Tue, 22 Aug 2006 07:41:05 +0000 (07:41 +0000)]
* NEWS: Mention LMA default change.
* ld.texinfo (Output Section LMA): Update default description.
(Location Counter): Clarify backward movement.
* ldlang.c (lang_size_sections_1): Leave non-alloc sections with
default lma equal to vma.  Warn on backward movement of dot.

18 years agodaily update
Alan Modra [Tue, 22 Aug 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Tue, 22 Aug 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agogas:
Joseph Myers [Mon, 21 Aug 2006 11:41:24 +0000 (11:41 +0000)]
gas:
* config/tc-arm.c (s_arm_unwind_save_mmxwr): Correct condition for
merging with previous long opcode.

gas/testsuite:
* gas/arm/unwind.s: Test not merging iWMMXt register save with
previous long opcode.
* gas/arm/unwind.d, gas/arm/unwind_vxworks.d: Update.

18 years ago bfd/
Mark Shinwell [Mon, 21 Aug 2006 10:47:22 +0000 (10:47 +0000)]
bfd/
* elf32-arm.c (elf32_arm_link_hash_table): Correct typo in
comment for target1_is_rel.

18 years agobfd
Nick Clifton [Mon, 21 Aug 2006 08:12:46 +0000 (08:12 +0000)]
bfd
* Makefile.am: Add rules to build pe-arm-wince.lo and pei-arm-wince.lo objects.
* Makefile.in: Regenerate.
* pe-arm-wince.c: New file.
* pei-arm-wince.c: New file.
* pei-arm.c: Remove ARM_WINCE block.
* pe-arm.c: Remove ARM_WINCE block. Rename
bfd_arm_pe_allocate_interworking_sections,
bfd_arm_pe_get_bfd_for_interworking, and
bfd_arm_pe_process_before_allocation to
bfd_armpe_allocate_interworking_sections,
bfd_armpe_get_bfd_for_interworking, and
bfd_armpe_process_before_allocation. Move them before including bfd.h.
* bfd.c: ARM wince bfd format names were renamed. Adjust.
* coff-arm.c [ARM_WINCE]: Adjust so Windows CE doesn't end up with unexpected/conflicting relocs.
* targets.c: The arm-wince-pe target got its own new vector.  Adjust.
* config.bfd: Likewise.
* configure.in: Likewise.
* configure: Regenerate.

binutils
* configure.in: Split arm-pe and arm-wince-pe. Build dlltool with -DDLLTOOL_ARM_WINCE for Windows CE case.
* configure: Regenerate.
* dlltool.c: Add support for arm-wince.

gas
* Makefile.am (TARG_ENV_HFILES): Add te-wince-pe.h.
* Makefile.in: Regenerate.
* config/tc-arm.h [TARGET_FORMAT]: ARM wince bfd names were  renamed. Adjust.

ld
* Makefile.am: Split arm-wince into its own emulation.
* Makefile.in: Regenerate.
* configure.tgt: Set targ_emul to arm_wince_pe for ARM Windows CE targets.
* pe-dll.c : Define PE_ARCH_arm_wince.
  (pe_detail_list): Add PE_ARCH_arm_wince case.
  (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
* emulparams/arm_wince_pe.sh: New file.
* emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
  Remap bfd_arm_allocate_interworking_sections, bfd_arm_get_bfd_for_interworking and
  bfd_arm_process_before_allocation for arm-pe and arm-wince-pe targets too.
  (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and arm-epoc bfd format names.

18 years ago*** empty log message ***
gdbadmin [Mon, 21 Aug 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 21 Aug 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 20 Aug 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 20 Aug 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agogdb/
Daniel Jacobowitz [Sat, 19 Aug 2006 15:15:18 +0000 (15:15 +0000)]
gdb/
* Makefile.in (amd64_linux_tdep_h): New.
(amd64-linux-nat.o, amd64-linux-tdep.o): Update.
* amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add
ORIG_RAX.
(_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs.
* amd64-linux-tdep.c (amd64_linux_register_name)
(amd64_linux_register_type, amd64_linux_register_reggroup_p)
(amd64_linux_write_pc): New.
(amd64_linux_init_abi): Use them, and update num_regs.
* amd64-linux-tdep.h: New file.
* amd64-tdep.c (amd64_register_name, amd64_register_type): Make
public.
* amd64-tdep.h (amd64_register_name, amd64_register_type): New
prototypes.

* regformats/reg-x86-64-linux.dat: New file.
gdb/testsuite/
* Makefile.in (clean): Clean reg-x86-64-linux.c.
(reg-x86-64-linux.o, reg-x86-64-linux.c): New.
* configure.srv (x86_64-*-linux*): Use reg-x86-64-linux.o.
* linux-x86-64-low.c (x86_64_regmap): Include ORIG_RAX.
(x86_64_fill_gregset, x86_64_store_gregset): Skip floating
point registers.

18 years ago * infrun.c (handle_inferior_event): Check the current frame ID
Daniel Jacobowitz [Sat, 19 Aug 2006 03:19:00 +0000 (03:19 +0000)]
* infrun.c (handle_inferior_event): Check the current frame ID
before unwinding to the previous frame.

18 years agodaily update
Alan Modra [Sat, 19 Aug 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 19 Aug 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoAnother snapshot of the current state of the sources. Gets to the
Ian Lance Taylor [Fri, 18 Aug 2006 22:29:20 +0000 (22:29 +0000)]
Another snapshot of the current state of the sources.  Gets to the
point of symbol resolution and can now issue a multiple definition
error.  Also added target selection infrastructure.

18 years agoReviewed and approved by Daniel Jacobowitz <dan@codesourcery.com>
Fred Fish [Fri, 18 Aug 2006 18:34:18 +0000 (18:34 +0000)]
Reviewed and approved by Daniel Jacobowitz <dan@codesourcery.com>

2006-08-18  Fred Fish  <fnf@specifix.com>
* lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
'$' in front of skip_vmx_tests_saved when setting that.

18 years agoAdd comment missing from previous patch.
Paul Brook [Fri, 18 Aug 2006 16:18:23 +0000 (16:18 +0000)]
Add comment missing from previous patch.

18 years ago2006-08-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 18 Aug 2006 15:00:18 +0000 (15:00 +0000)]
2006-08-18  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_link_hash_entry): Add export_glue.
(elf32_arm_link_hash_newfunc): Initialize export_glue.
(record_arm_to_thumb_glue): Return stub symbol.
(elf32_arm_create_thumb_stub): New function.
(elf32_arm_to_thumb_stub): Use it.
(elf32_arm_to_thumb_export_stub): New function.
(elf32_arm_begin_write_processing): New function.
(allocate_dynrelocs): Allocate Arm stubs.
(elf_backend_begin_write_processing): Define.
(elf32_arm_symbian_begin_write_processing): Remove ATTRIBUTE_UNUSED.
Call elf32_arm_begin_write_processing.

ld/
* emultempl/armelf.em (arm_elf_before_allocation): Call
gld${EMULATION_NAME}_before_allocation after setting interworking bfd.

ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): Add armthumb-lib.so.  Add
-use-blx to mixed-lib.so
* ld-arm/armthumb-lib.d: New file.
* ld-arm/armthumb-lib.sym: New file.

18 years ago2006-08-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 18 Aug 2006 14:38:00 +0000 (14:38 +0000)]
2006-08-18  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3052
* ld-elf/loadaddr.s: New file.
* ld-elf/loadaddr1.d: Likewise.
* ld-elf/loadaddr1.t: Likewise.
* ld-elf/loadaddr2.d: Likewise.
* ld-elf/loadaddr2.t: Likewise.

18 years ago * dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR
Daniel Jacobowitz [Fri, 18 Aug 2006 13:26:31 +0000 (13:26 +0000)]
* dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR
number in a comment.

18 years ago* sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment.
Mark Kettenis [Fri, 18 Aug 2006 08:49:04 +0000 (08:49 +0000)]
* sparc-nat.c (sparc_xfer_wcookie): Signal EOF.  Tweak comment.

18 years ago * dwarf2read.c (quirk_gcc_member_function_pointer): New.
Daniel Jacobowitz [Fri, 18 Aug 2006 04:10:30 +0000 (04:10 +0000)]
* dwarf2read.c (quirk_gcc_member_function_pointer): New.
(read_structure_type): Call it.

18 years ago*** empty log message ***
gdbadmin [Fri, 18 Aug 2006 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 18 Aug 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago* gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T'
Jim Blandy [Thu, 17 Aug 2006 18:47:49 +0000 (18:47 +0000)]
* gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T'
responses.

18 years ago* pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
Christopher Faylor [Thu, 17 Aug 2006 17:02:13 +0000 (17:02 +0000)]
* pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
(generate_reloc): Revert to skipping sections without a SEC_LOAD flag, and to
not skipping .idata* sections.

18 years agobfd/
Alan Modra [Thu, 17 Aug 2006 08:21:06 +0000 (08:21 +0000)]
bfd/
* elf64-ppc.c (create_linkage_sections): Align .glink to 8 bytes.
(ppc64_elf_build_stubs): Use new lazy linking stub.
ld/testsuite/
* ld-powerpc/tlsexe.d: Update for lazy link stub change.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexetoc.d: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.d: Likewise.
* ld-powerpc/tlstocso.d: Likewise.

18 years ago * elf64-ppc.c (ppc64_elf_size_stubs): Ignore non-code sections.
Alan Modra [Thu, 17 Aug 2006 08:09:52 +0000 (08:09 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): Ignore non-code sections.

18 years agobfd/
H.J. Lu [Thu, 17 Aug 2006 02:04:53 +0000 (02:04 +0000)]
bfd/

2006-08-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3015
* elf.c (get_program_header_size): Add a PT_GNU_RELRO segment
only if there is a PT_DYNAMIC segment.
(_bfd_elf_map_sections_to_segments): Likewise.
(assign_file_positions_for_load_sections): Set PT_GNU_RELRO
segment alignment to 1.

ld/testsuite/

2006-08-16  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3015
* ld-elf/binutils.exp: Add tests for "-z relro".

18 years ago*** empty log message ***
gdbadmin [Thu, 17 Aug 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 17 Aug 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * NEWS: Mention "set trust-readonly-sections" fix.
Daniel Jacobowitz [Wed, 16 Aug 2006 20:33:23 +0000 (20:33 +0000)]
* NEWS: Mention "set trust-readonly-sections" fix.

18 years ago * remote.c, target.c: Strip trailing whitespace.
Daniel Jacobowitz [Wed, 16 Aug 2006 18:31:03 +0000 (18:31 +0000)]
* remote.c, target.c: Strip trailing whitespace.

18 years ago * config/tc-arm.c (md_assemble): Improve diagnostic when attempting
Julian Brown [Wed, 16 Aug 2006 10:33:50 +0000 (10:33 +0000)]
* config/tc-arm.c (md_assemble): Improve diagnostic when attempting
to use ARM instructions on non-ARM-supporting cores.
(autoselect_thumb_from_cpu_variant): New function. Switch on Thumb
mode automatically based on cpu variant.
(md_begin): Call above function.

18 years ago * gas/arm/noarm.s: Add test for disabled ARM insns.
Julian Brown [Wed, 16 Aug 2006 10:32:40 +0000 (10:32 +0000)]
* gas/arm/noarm.s: Add test for disabled ARM insns.
* gas/arm/noarm.d: Drive test for above.
* gas/arm/noarm.l: Expected error output.

18 years ago * config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to be
Julian Brown [Wed, 16 Aug 2006 10:16:29 +0000 (10:16 +0000)]
* config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to be
recognized in non-unified syntax mode.

18 years agold/
Alan Modra [Wed, 16 Aug 2006 08:31:45 +0000 (08:31 +0000)]
ld/
PR 3052
* ldlang.h (lang_output_section_statement_type): Replace
"processed" field with "processed_vma" and "processed_lma".
* ldlang.c (lang_do_assignments_1): Move lma setting code..
(lang_size_sections_1): ..to here.
(lang_reset_memory_regions): Adjust for
lang_output_section_statement_type change.
* ldexp.c (fold_name): Likewise.

And this is something I forgot the check in from the previous patch.
ld/testsuite/
* ld-scripts/overlay-size-map.d: Adjust.

18 years agodaily update
Alan Modra [Wed, 16 Aug 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 16 Aug 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago PR remote/1966
Daniel Jacobowitz [Tue, 15 Aug 2006 18:46:25 +0000 (18:46 +0000)]
PR remote/1966
* dcache.c (dcache_write_line): Use target_write.
(dcache_read_line): Use target_read.
* mi/mi-main.c (mi_cmd_data_read_memory): Use target_read.
* symfile.c (struct load_section_data): Add new per-section
members.
(load_progress): New function.
(load_section_callback): Pass load_progress to the new
target_write_with_progress.
* target.c (current_xfer_partial, memory_xfer_partial): New.
(target_xfer_partial): New prototype.
(target_xfer_memory, target_xfer_partial_p, xfer_using_stratum)
(do_xfer_memory, target_xfer_memory_partial)
(target_read_memory_partial, target_write_memory_partial): Delete.
(trust_readonly): Move higher in the file.
(update_current_target): Use current_xer_partial.
(target_xfer_partial): Use memory_xfer_partial.  Handle
TARGET_OBJECT_RAW_MEMORY specially.
(target_read_memory): Use target_read.
(target_write_memory): Use target_write.
(default_xfer_partial): Call to_xfer_partial directly.
(target_write_with_progress): New function, based on target_write.
(target_write): Call it.
* target.h (enum target_object): Add TARGET_OBJECT_RAW_MEMORY.
(target_write_with_progress): New prototype.
(do_xfer_memory, target_read_memory_partial)
(target_write_memory_partial): Delete prototypes.

18 years ago * elf32-mips.c, elf64-mips.c, elfn32-mips.c
Thiemo Seufer [Tue, 15 Aug 2006 18:28:48 +0000 (18:28 +0000)]
* elf32-mips.c, elf64-mips.c, elfn32-mips.c
(elf_backend_merge_symbol_attribute): Define.
* elflink.c (elf_link_add_object_symbols): Merge only the ELF
visibility flags.
* elfxx-mips.c (_bfd_mips_elf_merge_symbol_attribute): New function.

18 years ago [ ChangeLog ]
Thiemo Seufer [Tue, 15 Aug 2006 18:23:11 +0000 (18:23 +0000)]
[ ChangeLog ]
* config.sub: Add support for sde as alias of mipsisa32-sde-elf.

[ bfd/ChangeLog ]
* config.bfd: Add configurations for mips*el-sde-elf* and
mips*-sde-elf*.

[ binutils/testsuite/ChangeLog ]
* binutils-all/readelf.exp (readelf_test): Handle mips*-sde-elf*.

[ gas/ChangeLog ]
* configure.tgt: Handle mips*-sde-elf*.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips.exp: Handle mips*-sde-elf*.

18 years ago * remote.c (remote_write_bytes): Take a const buffer argument.
Daniel Jacobowitz [Tue, 15 Aug 2006 18:17:57 +0000 (18:17 +0000)]
* remote.c (remote_write_bytes): Take a const buffer argument.
Do the checks from remote_xfer_memory.
(remote_read_bytes): Do the checks from remote_xfer_memory.
(remote_xfer_memory): Remove checks pushed into lower level
functions.
(remote_xfer_partial): Call remote_write_bytes and remote_read_bytes
directly.
* remote.h (remote_write_bytes): Update prototype.

18 years agoPR binutils/3039
Nick Clifton [Tue, 15 Aug 2006 12:01:43 +0000 (12:01 +0000)]
PR binutils/3039
* wrstabs.c (stab_tag_type): Initialize 'size'.

18 years agodaily update
Alan Modra [Tue, 15 Aug 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Tue, 15 Aug 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoFix bug 3000
Michael Meissner [Mon, 14 Aug 2006 23:45:59 +0000 (23:45 +0000)]
Fix bug 3000

18 years ago* elf-m10300.c (elf32_mn10300_link_hash_entry): Add value.
DJ Delorie [Mon, 14 Aug 2006 20:05:00 +0000 (20:05 +0000)]
* elf-m10300.c (elf32_mn10300_link_hash_entry): Add value.
(elf32_mn10300_count_hash_table_entries): New.
(elf32_mn10300_list_hash_table_entries): New.
(sort_by_value): New.
(mn10300_elf_relax_section): Don't skip data sections; restrict
code-specific tests to code-specific areas so that potential
indirect calls can be detected.  Check for multiple local symbols
at the same address and merge their flags.
(elf32_mn10300_link_hash_newfunc): Initialize value.

18 years ago * elfxx-mips.c (_bfd_mips_elf_symbol_processing,
Thiemo Seufer [Mon, 14 Aug 2006 12:19:20 +0000 (12:19 +0000)]
* elfxx-mips.c (_bfd_mips_elf_symbol_processing,
_bfd_mips_elf_add_symbol_hook): Don't try to place small common TLS
symbols in .scommon.

18 years agodaily update
Alan Modra [Mon, 14 Aug 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Mon, 14 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 13 Aug 2006 00:22:16 +0000 (00:22 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 13 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Sat, 12 Aug 2006 23:00:35 +0000 (23:00 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips16_ip): Fix argument register handling
for restore instruction.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips16-save.d: Fix testcase.

18 years agodaily update
Alan Modra [Sat, 12 Aug 2006 00:00:30 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 12 Aug 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also
Thiemo Seufer [Fri, 11 Aug 2006 14:05:12 +0000 (14:05 +0000)]
* ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also
MIPS small commons.

18 years ago * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Set
Thiemo Seufer [Fri, 11 Aug 2006 13:55:38 +0000 (13:55 +0000)]
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Set
sh_entsize only when sgot was already initialized.