summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * scripttempl/elf.sc: Ensure that crtbegin and crtend entries willAlan Modra2006-08-2813-49/+90
| | | | | | | | | | | | | | | | 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.
* merge from gccnickrob-async-20060828-mergepointDJ Delorie2006-08-289-14/+69
|
* daily updateAlan Modra2006-08-281-1/+1
|
* daily updateAlan Modra2006-08-271-1/+1
|
* daily updateAlan Modra2006-08-261-1/+1
|
* * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Do not checkBob Wilson2006-08-252-4/+8
| | | | | the state of the absolute_literals directive. Remove align frag at the start of the literal pool position.
* * doc/c-xtensa.texi: Add @group commands in examples.Bob Wilson2006-08-252-0/+48
|
* bfd/Bob Wilson2006-08-258-249/+342
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.*.
* * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):Nick Clifton2006-08-242-2/+8
| | | | Adjust the current address of DEFAULT_MEMORY_REGION even when dot hasn't changed.
* daily updateAlan Modra2006-08-241-1/+1
|
* * archive.c (hpux_uid_gid_encode): Fix thinko decrementing "cnt" variable.Nick Clifton2006-08-232-1/+6
|
* 2006-08-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2006-08-232-3/+519
| | | | * i386-dis.c (three_byte_table): Expand to 256 elements.
* 2006-08-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2006-08-233-2/+8
| | | | | | PR ld/3052 * ld-elf/loadaddr1.t: Add "AT (ADDR(.data))". * ld-elf/loadaddr2.t: Likewise.
* 2006-08-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2006-08-234-0/+35
| | | | | | | PR ld/3103 * ld-elf/overlay.d: New file. * ld-elf/overlay.s: Likewise. * ld-elf/overlay.t: Likewise.
* * ldexp.c (fold_name <LOADADDR>): Return an absolute valueAlan Modra2006-08-232-2/+6
| | | | rather than a section relative value.
* daily updateAlan Modra2006-08-231-1/+1
|
* * elf32-arm.c (elf32_arm_copy_indirect_symbol): Only copyDaniel Jacobowitz2006-08-222-8/+15
| | | | plt_thumb_refcount from indirect symbols.
* * elf32-ppc.c (ppc_elf_relocate_section): Correct GOT and PLT HAAlan Modra2006-08-223-21/+33
| | | | | reloc handling. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* * configure.tgt: Set targ_emul to arm_wince_pe for ARM Windows CE targets.Nick Clifton2006-08-222-3/+6
|
* * NEWS: Mention LMA default change.Alan Modra2006-08-224-11/+53
| | | | | | | * 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.
* daily updateAlan Modra2006-08-221-1/+1
|
* gas:Joseph Myers2006-08-216-5/+18
| | | | | | | | | | * 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.
* bfd/Mark Shinwell2006-08-212-1/+6
| | | | | * elf32-arm.c (elf32_arm_link_hash_table): Correct typo in comment for target1_is_rel.
* bfdNick Clifton2006-08-2127-75/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* daily updateAlan Modra2006-08-211-1/+1
|
* daily updateAlan Modra2006-08-201-1/+1
|
* daily updateAlan Modra2006-08-191-1/+1
|
* Another snapshot of the current state of the sources. Gets to theIan Lance Taylor2006-08-1820-109/+1673
| | | | | point of symbol resolution and can now issue a multiple definition error. Also added target selection infrastructure.
* Add comment missing from previous patch.Paul Brook2006-08-181-0/+2
|
* 2006-08-18 Paul Brook <paul@codesourcery.com>Paul Brook2006-08-188-29/+248
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2006-08-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2006-08-186-0/+71
| | | | | | | | | 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.
* daily updateAlan Modra2006-08-181-1/+1
|
* * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.Christopher Faylor2006-08-172-6/+6
| | | | | (generate_reloc): Revert to skipping sections without a SEC_LOAD flag, and to not skipping .idata* sections.
* bfd/Alan Modra2006-08-179-104/+111
| | | | | | | | | | | | * 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.
* * elf64-ppc.c (ppc64_elf_size_stubs): Ignore non-code sections.Alan Modra2006-08-172-0/+7
|
* bfd/H.J. Lu2006-08-174-10/+34
| | | | | | | | | | | | | | | | | | 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".
* daily updateAlan Modra2006-08-171-1/+1
|
* * config/tc-arm.c (md_assemble): Improve diagnostic when attemptingJulian Brown2006-08-162-1/+27
| | | | | | | 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.
* * gas/arm/noarm.s: Add test for disabled ARM insns.Julian Brown2006-08-164-0/+25
| | | | | * gas/arm/noarm.d: Drive test for above. * gas/arm/noarm.l: Expected error output.
* * config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to beJulian Brown2006-08-162-5/+16
| | | | recognized in non-unified syntax mode.
* ld/Alan Modra2006-08-166-82/+115
| | | | | | | | | | | | | | | 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.
* daily updateAlan Modra2006-08-161-1/+1
|
* * elf32-mips.c, elf64-mips.c, elfn32-mips.cThiemo Seufer2006-08-156-7/+32
| | | | | | | (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.
* [ ChangeLog ]newlib-csl-sourcerygxx-3_4_4-25Thiemo Seufer2006-08-1510-4/+50
| | | | | | | | | | | | | | | | | * 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*.
* PR binutils/3039Nick Clifton2006-08-152-1/+6
| | | | * wrstabs.c (stab_tag_type): Initialize 'size'.
* daily updateAlan Modra2006-08-151-1/+1
|
* Fix bug 3000Michael Meissner2006-08-144-11/+65
|
* * elf-m10300.c (elf32_mn10300_link_hash_entry): Add value.DJ Delorie2006-08-142-12/+107
| | | | | | | | | | | (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.
* * elfxx-mips.c (_bfd_mips_elf_symbol_processing,Thiemo Seufer2006-08-142-0/+8
| | | | | _bfd_mips_elf_add_symbol_hook): Don't try to place small common TLS symbols in .scommon.
* daily updateAlan Modra2006-08-141-1/+1
|