OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
17 years ago2006-09-04 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 5 Sep 2006 14:07:22 +0000 (14:07 +0000)]
2006-09-04  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_neon_dyadic_if_i): Remove.
(do_neon_dyadic_if_i_d): Avoid setting U bit.
(do_neon_mac_maybe_scalar): Ditto.
(do_neon_dyadic_narrow): Force operand type to NT_integer.
(insns): Remove out of date comments.

gas/testsuite/
* gas/arm/neon-cov.s: Test .u and .s aliases for .i suffixes.
* gas/arm/neon-cov.d: Adjust expected output.

opcodes/
* arm-dis.c (neon_opcode): Fix suffix on VMOVN.

17 years agoPR binutils/3166
Nick Clifton [Tue, 5 Sep 2006 08:22:27 +0000 (08:22 +0000)]
PR binutils/3166
* objcopy.c (is_strip_section): Do not treat group sections as debugging sections.
* doc/binutils.texi (--only-keep-debug): Document that this switch is only intended for use on fully linked files.

17 years agodaily update
Alan Modra [Mon, 4 Sep 2006 23:59:55 +0000 (23:59 +0000)]
daily update

17 years ago bfd/
Mark Shinwell [Mon, 4 Sep 2006 07:11:11 +0000 (07:11 +0000)]
bfd/
        * elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for
        R_ARM_THM_ALU_PREL_11_0 and R_ARM_THM_PC12 relocations.
        (elf32_arm_final_link_relocate): Handle R_ARM_THM_ALU_PREL_11_0
        and R_ARM_THM_PC12 relocations.

17 years agodaily update
Alan Modra [Sun, 3 Sep 2006 23:59:56 +0000 (23:59 +0000)]
daily update

17 years agodaily update
Alan Modra [Sat, 2 Sep 2006 23:59:57 +0000 (23:59 +0000)]
daily update

17 years agodaily update
Alan Modra [Sat, 2 Sep 2006 00:00:00 +0000 (00:00 +0000)]
daily update

17 years agoPR binutils/3146
Nick Clifton [Fri, 1 Sep 2006 11:38:20 +0000 (11:38 +0000)]
PR binutils/3146
* readelf.c (dump_relocations): Check for a NULL value in rtype before using it.

17 years agodaily update
Alan Modra [Thu, 31 Aug 2006 23:59:58 +0000 (23:59 +0000)]
daily update

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

17 years ago * configure.in: Never build newlib for a Mingw host.
Corinna Vinschen [Wed, 30 Aug 2006 13:14:18 +0000 (13:14 +0000)]
* configure.in: Never build newlib for a Mingw host.
Never build newlib as Mingw target library.
Test the existence of winsup/cygwin for building a Cygwin newlib,
rather than just winsup.
Add winsup/mingw and winsup/w32api paths to FLAGS_FOR_TARGET if
building a Mingw target.
* configure: Regenerate.

17 years ago * configure.ac: Add case for Mingw as host.
Corinna Vinschen [Wed, 30 Aug 2006 13:08:27 +0000 (13:08 +0000)]
* configure.ac: Add case for Mingw as host.
* configure: Regenerate.

17 years agodaily update
Alan Modra [Wed, 30 Aug 2006 00:00:00 +0000 (00:00 +0000)]
daily update

17 years ago* read.c (s_align): Initialize the 'stopc' variable to prevent
Nick Clifton [Tue, 29 Aug 2006 15:19:43 +0000 (15:19 +0000)]
* read.c (s_align): Initialize the 'stopc' variable to prevent
  compiler complaints about it being used without being initialized.
 (s_comm_internal, s_mri_common, s_fail, s_globl, s_space,
  s_float_space, s_struct, cons_worker, equals): Likewise.

17 years ago * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
Nathan Sidwell [Tue, 29 Aug 2006 11:27:45 +0000 (11:27 +0000)]
* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.

17 years agoAdjust target test.
Alan Modra [Tue, 29 Aug 2006 05:16:18 +0000 (05:16 +0000)]
Adjust target test.

17 years ago * ecoff.c (ecoff_directive_val): Fix message typo.
Alan Modra [Tue, 29 Aug 2006 01:31:56 +0000 (01:31 +0000)]
* ecoff.c (ecoff_directive_val): Fix message typo.
* config/tc-ns32k.c (convert_iif): Likewise.
* config/tc-sh64.c (shmedia_check_limits): Likewise.

17 years agoNew tests.
Alan Modra [Tue, 29 Aug 2006 01:24:17 +0000 (01:24 +0000)]
New tests.

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

17 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.

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

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

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

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

17 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.

17 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.

17 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.*.

17 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.

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

17 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.

17 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.

17 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.

17 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.

17 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.

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

17 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.

17 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.

17 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.

17 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.

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

17 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.

17 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.

17 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.

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

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

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

17 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.

17 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.

17 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.

17 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.

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

17 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.

17 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.

17 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.

17 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".

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

17 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.

17 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.

17 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.

17 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.

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

17 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.

17 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*.

17 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'.

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

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

17 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.

17 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.

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

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

17 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.

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

17 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.

17 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.

17 years agodaily update
Alan Modra [Fri, 11 Aug 2006 00:00:34 +0000 (00:00 +0000)]
daily update

17 years ago PR binutils/3017
Joern Rennecke [Thu, 10 Aug 2006 13:23:15 +0000 (13:23 +0000)]
PR binutils/3017
* doc/Makefile.am: Use single quotes inside backquotes for
date command while generating config.texi.
* doc/Makefile.in: Regenerate.

17 years agodaily update
Alan Modra [Thu, 10 Aug 2006 01:14:24 +0000 (01:14 +0000)]
daily update

17 years ago2006-08-08 Peter S. Mazinger <ps.m@gmx.net>
Mike Frysinger [Wed, 9 Aug 2006 00:52:31 +0000 (00:52 +0000)]
2006-08-08  Peter S. Mazinger  <ps.m@gmx.net>

* emulparams/armelf.sh (MAXPAGESIZE): Changed to
"CONSTANT (MAXPAGESIZE)".

17 years agodaily update
Alan Modra [Wed, 9 Aug 2006 00:27:48 +0000 (00:27 +0000)]
daily update

17 years agogas/ChangeLog:
Bob Wilson [Tue, 8 Aug 2006 19:09:34 +0000 (19:09 +0000)]
gas/ChangeLog:
* dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): New.
(out_sleb128): New.
(out_fixed_inc_line_addr): New.
(process_entries): Use out_fixed_inc_line_addr when
DWARF2_USE_FIXED_ADVANCE_PC is set.
* config/tc-xtensa.h (DWARF2_USE_FIXED_ADVANCE_PC): Define.
gas/testsuite/ChangeLog:
* gas/lns/lns-common-1-alt.d: New file.
* gas/lns/lns.exp: Use lns-common-1-alt.d for xtensa targets.

17 years ago* elf32-sh.c (sh_elf_relax_section): Allow for branches across
DJ Delorie [Tue, 8 Aug 2006 17:21:55 +0000 (17:21 +0000)]
* elf32-sh.c (sh_elf_relax_section): Allow for branches across
non-moving .align directives.  Preserve any DIR32 offset when
converting bsr's to jsr's.

17 years ago* config/tc-sh.c (sh_frob_section): Canonicalize pointers to local
DJ Delorie [Tue, 8 Aug 2006 17:21:04 +0000 (17:21 +0000)]
* config/tc-sh.c (sh_frob_section): Canonicalize pointers to local
vs full symbols so that we never have more than one pointer value
for any given symbol in our symbol table.

17 years ago2006-08-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 8 Aug 2006 16:08:47 +0000 (16:08 +0000)]
2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3006
* ldlang.c (lang_section_bst_type): Moved to ...
* ldlang.h: Here.

* ldlang.h (lang_wild_statement_struct): Add a tree field.

* ldlang.c (wild_sort_fast): Use the tree field for BST.
(wild): Likeise.
(analyze_walk_wild_section_handler): Initialize the tree field.

17 years agold/
H.J. Lu [Tue, 8 Aug 2006 15:07:16 +0000 (15:07 +0000)]
ld/

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

PR ld/3009
* ldlang.c (update_wild_statements): Update the whole wild
section list.

ld/testsuite/

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

PR ld/3009
* ld-scripts/sort.t: New file.
* ld-scripts/sort_b_a-1.d: Likewise.
* ld-scripts/sort_b_a-1.s: Likewise.
* ld-scripts/sort_b_n-1.d: Likewise.
* ld-scripts/sort_b_n-1.s: Likewise.

17 years ago * elf64-ppc.c (ppc64_elf_build_stubs): Clear relbrlt reloc_count
Alan Modra [Tue, 8 Aug 2006 14:21:46 +0000 (14:21 +0000)]
* elf64-ppc.c (ppc64_elf_build_stubs): Clear relbrlt reloc_count
after stubs have been built.

17 years agoPR binutils/2768
Nick Clifton [Tue, 8 Aug 2006 09:43:10 +0000 (09:43 +0000)]
PR binutils/2768
* dwarf.c (display_debug_aranges): When the address size is greater than 4
  display addresses and lengths as 16 hex digits, otherwise use 8 hex digits.

17 years ago* dwarf2dbg.c (out_debug_info): Add new parameter ranges_seg and emit
Nick Clifton [Tue, 8 Aug 2006 08:29:08 +0000 (08:29 +0000)]
* dwarf2dbg.c (out_debug_info): Add new parameter ranges_seg and emit
  DW_AT_ranges when code in compilation unit is not contiguous.
  (out_debug_abbrev): Emit DW_AT_ranges abbreviation if code in is not contiguous.
  (dwarf2_finish): Create and pass ranges_seg to out_debug_info.
  (out_debug_ranges): New function to emit .debug_ranges section when code is not contiguous.

17 years ago* config/tc-arm.c (WARN_DEPRECATED): Enable.
Nick Clifton [Tue, 8 Aug 2006 08:23:25 +0000 (08:23 +0000)]
* config/tc-arm.c (WARN_DEPRECATED): Enable.

17 years agodaily update
Alan Modra [Tue, 8 Aug 2006 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago* elf32-sh.c (vxworks_object_p): Only check for vxworks target vectors if
Nick Clifton [Mon, 7 Aug 2006 14:03:35 +0000 (14:03 +0000)]
* elf32-sh.c (vxworks_object_p): Only check for vxworks target vectors if
  they are going to be created.

17 years agoFix typo in bfd_elf32_shnbsd_vec target list.
Nick Clifton [Mon, 7 Aug 2006 11:04:37 +0000 (11:04 +0000)]
Fix typo in bfd_elf32_shnbsd_vec target list.

17 years ago* coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL relocation types...
Nick Clifton [Mon, 7 Aug 2006 10:26:08 +0000 (10:26 +0000)]
* coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL relocation types if the target is ARM_WINCE

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

17 years ago PR binutils/3001
Nick Clifton [Sun, 6 Aug 2006 15:49:46 +0000 (15:49 +0000)]
 PR binutils/3001
* addr2line.c (process_file): Change function from void to returning an int.  Return 0 upon success, 1 otherwise.
 (main): Use return value from process_file as the exit value.
* ar.c (ranlib_only):  Change function from void to returning an int.  Return 0 upon success, 1 otherwise.
  (ranlib_touch): Likewise.
  (main): Use return value from ranlib functions as exit value.
* objcopy.c (add_specific_symbol): Set status to 1 if get_file_size fails.
  (copy_file): Likewise.
  (strip_main): Likewise.
  (copy_main): Likewise.
* objdump.c (display_file): Set exit_status to 1 if get_file_size fails.
* size.c (display_file): Set return_code to 1 if get_file_size fails.

17 years ago* gas/arm/thumb2_add.s: Don't use elf specific ".type" pseudo-op.
Nick Clifton [Sun, 6 Aug 2006 15:15:36 +0000 (15:15 +0000)]
* gas/arm/thumb2_add.s: Don't use elf specific ".type" pseudo-op.

17 years ago* gas/arm/wince.s: New test.
Nick Clifton [Sun, 6 Aug 2006 15:11:08 +0000 (15:11 +0000)]
* gas/arm/wince.s: New test.
* gas/arm/wince.d: New test.

17 years ago* bfd.c (bfd_get_sign_extend_vma): Add cases for pe-arm-little and pei-arm-little.
Nick Clifton [Sun, 6 Aug 2006 15:04:23 +0000 (15:04 +0000)]
* bfd.c (bfd_get_sign_extend_vma): Add cases for pe-arm-little and pei-arm-little.
* coff-arm.c (coff_arm_rtype_to_howto) [COFF_WITH_PE]: Handle ARM_SECREL.
  (coff_arm_reloc_type_lookup): Map BFD_RELOC_32_SECREL to  ARM_SECREL.
* pe-arm.c [COFF_SECTION_ALIGNMENT_ENTRIES]: Define.
* pei-arm.c [TARGET_UNDERSCORE]: Define for ARM_WINCE like in pe-arm.c.
  [COFF_SECTION_ALIGNMENT_ENTRIES]: Define.

* config/tc-arm.c: Move "dwarf2dbg.h" inclusion out of OBJ_ELF only block.
  (pe_directive_secrel) [TE_PE]: New function.
  (md_pseudo_table) [!OBJ_ELF]: Handle 2byte, 4byte, 8byte, file, loc, loc_mark_labels.
  [TE_PE]: Handle secrel32.
  (output_relax_insn): Remove OBJ_ELF around dwarf2_emit_insn call.
  (output_inst): Remove OBJ_ELF around dwarf2_emit_insn call.
  (arm_frob_label): Remove OBJ_ELF around dwarf2_emit_label call.
  (md_section_align): Only round section sizes here for AOUT targets.
  (tc_arm_regname_to_dw2regnum): Move out for OBJ_ELF only block.
  (tc_pe_dwarf2_emit_offset): New function.
  (md_apply_fix) [TE_PE]: Handle BFD_RELOC_32_SECREL.
  (cons_fix_new_arm): Handle O_secrel.
* config/tc-arm.h : Move DWARF2_LINE_MIN_INSN_LENGTH, DWARF2_DEFAULT_RETURN_COLUMN and DWARF2_CIE_DATA_ALIGNMENT out of OBJ_ELF only block.
  [TE_PE]: Define O_secrel, TC_DWARF2_EMIT_OFFSET, and declare tc_pe_dwarf2_emit_offset.

* ld-pe/pe.exp: Enable tests on arm-wince-pe.
* ld-pe/secrel.d: Adjust test to work on arm-wince-pe too.

17 years agofix my name
Mike Frysinger [Sun, 6 Aug 2006 05:24:32 +0000 (05:24 +0000)]
fix my name

17 years ago2006-08-04 Nick Clifton <nickc@redhat.com>
Mike Frysinger [Sun, 6 Aug 2006 05:23:16 +0000 (05:23 +0000)]
2006-08-04  Nick Clifton  <nickc@redhat.com>
    Mike Frysinger  <michael.frysing@analog.com>
* scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
(__preinit_array_start, __preinit_array_end, __init_array_start,
__init_array_end, __fini_array_start, __fini_array_end, edata, end):
Use ${USER_LABEL_PREFIX}.
* emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
(USER_LABEL_PREFIX): Set.

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