summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure thatDave Anglin2009-01-252-2/+30
| | | | | branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F and R_PARISC_PCREL12F relocations.
* daily updateAlan Modra2009-01-251-1/+1
|
* * gas/lns/lns.exp: Don't run lns-duplicate for d10v target.Andreas Schwab2009-01-242-1/+9
|
* PR 6022Alan Modra2009-01-242-92/+91
| | | | | | | * elflink.c (find_version_for_sym): New function split out from, but without export_dynamic test, .. (_bfd_elf_link_assign_sym_version): ..here. (_bfd_elf_export_symbol): Use it.
* daily updateAlan Modra2009-01-241-1/+1
|
* * doc/c-arm.texi (): Document -mwarn-deprecated.Nathan Sidwell2009-01-233-14/+31
| | | | | | | | | * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ... (warn_on_deprecated): ... this. (opcode_lookup, md_assemble): Check it before warning. (arm_opts): Add m[no-]warn-deprecated. (md_parse_option): Replace WARN_DEPRECATED with warn_on_deprecated.
* * options.h (General_options::gc_sections): Define as a no-op for now.Christopher Faylor2009-01-233-0/+20
| | | | | | (General_options::no_keep_memory): Ditto. (General_options::Bshareable): Define. * options.cc (General_options::finalize): Honor -Bshareable.
* * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: CastAndreas Schwab2009-01-232-12/+15
| | | | arguments to macro_build to match format.
* * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.Andreas Schwab2009-01-238-14/+28
| | | | | | | | | | * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define. testsuite/: * gas/mips/mips16-e.d: Adjust for change in LOCAL_LABEL_PREFIX. * gas/mips/mipsel16-e.d: Likewise. * gas/mips/tmips16-e.d: Likewise. * gas/mips/tmipsel16-e.d: Likewise.
* * elf-bfd.h (struct elf_assign_sym_version_info): Delete.Alan Modra2009-01-233-91/+65
| | | | | | | | | | | | | | | | | (struct elf_info_failed, struct elf_find_verdep_info): Move to.. * elflink.c: ..here, somewhat modified. * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol, _bfd_elf_link_find_version_dependencies, _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section, _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't declare.. * elflink.c: ..and make static here. (_bfd_elf_link_find_version_dependencies): Adjust for removal of output_bfd from struct elf_find_verdep_info. (_bfd_elf_link_assign_sym_version): Similarly adjust to use struct elf_info_failed. (bfd_elf_size_dynamic_sections): Adjust.
* daily updateAlan Modra2009-01-231-1/+1
|
* PR 6832Alan Modra2009-01-222-8/+15
| | | | | * dwarf2.c (find_line): Don't update stash->sec_info_ptr until after comp_unit_find_line call.
* 2009-01-21 Jeff Johnston <jjohnstn@redhat.com>cgen-snapshot-20090201Jeff Johnston2009-01-222-0/+35
| | | | * COPYING.NEWLIB: Add ARM license.
* daily updateAlan Modra2009-01-221-1/+1
|
* PR 9769Nick Clifton2009-01-212-3/+7
| | | | | * vmsutil.c (vms_file_stats_name): Remove use of unsupported tm_gmtoff field in struct tm.
* * ld-spu/icache1.d: Add --non-ia-text to ld options.Alan Modra2009-01-212-1/+5
|
* bfd/Alan Modra2009-01-215-11/+47
| | | | | | | | | | | | * elf32-spu.h (struct spu_elf_params): Add non_ia_text. * elf32-spu.c (mark_overlay_section): Only include .text.ia.* sections in soft-icache lines unless non_ia_text. Don't add rodata if doing so would exceed line size. ld/ * emultempl/spuelf.em (params): Init new field. (OPTION_SPU_NON_IA_TEXT): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
* daily updateAlan Modra2009-01-211-1/+1
|
* * powerpc.cc (Powerpc_relocate_functions::rel16_ha): Don't try toAndreas Schwab2009-01-202-8/+9
| | | | | | read the value in the contents, since we don't use it. Use the template endianness when writing. (Relocate::relocate): Use it for R_PPC_REL16_HA.
* Regenerate for copyright date update.Alan Modra2009-01-2034-55/+66
|
* daily updateAlan Modra2009-01-201-1/+1
|
* * configure.tgt (powerpc64-*): Fix targ_obj.Andreas Schwab2009-01-192-7/+10
|
* * ld-cris/expdref3.s, ld-cris/expdref4.s, ld-cris/weakref3.d,Hans-Peter Nilsson2009-01-196-1/+93
| | | | | ld-cris/weakref4.d: New tests. * ld-cris/libdso-15b.d: Adjust for recent weakref fix.
* * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbolHans-Peter Nilsson2009-01-192-1/+11
| | | | | types than bfd_link_hash_indirect, before early return, call _bfd_elf_link_hash_copy_indirect.
* 2009-01-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-01-192-1/+5
| | | | * ld-elf/group9.s: Replace .byte with .long.
* * lib/gas-defs.exp (run_list_test): Fix typo in comment.Nick Clifton2009-01-192-2/+6
|
* * gas/arm/attr-syntax.d: Do not run for non-ELF based ARM targets.Nick Clifton2009-01-194-51/+66
| | | | | | * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for ELF format ARM targets. * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
* * configure.tgt: Restore alpha sorting to object format switchNick Clifton2009-01-192-2/+13
| | | | statement.
* 2009-01-19 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2009-01-1922-0/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ld/testsuite/ * ld-arm/arm-elf.exp (armeabitests): Add EABI attribute merging 3, EABI attribute merging 4, and EABI attribute merging 5, EABI attribute arch merging 1, EABI attribute arch merging 1 reversed, EABI attribute arch merging 2, EABI attribute arch merging 2 reversed. Add attr-merge-unknown-1, attr-merge-unknown-2, attr-merge-unknown-2r, and attr-merge-unknown-3 dump tests. * ld-arm/arch-v6.s: New file. * ld-arm/arch-v6k.s: New file. * ld-arm/arch-v6t2.s: New file. * ld-arm/attr-merge-3.attr: New file. * ld-arm/attr-merge-3a.s: New file. * ld-arm/attr-merge-3b.s: New file. * ld-arm/attr-merge-4.attr: New file. * ld-arm/attr-merge-4a.s: New file. * ld-arm/attr-merge-4b.s: New file. * ld-arm/attr-merge-5.attr: New file. * ld-arm/attr-merge-5.s: New file. * ld-arm/attr-merge-arch-1.attr: New file. * ld-arm/attr-merge-arch-2.attr: New file. * ld-arm/attr-merge-unknown-1.d: New file. * ld-arm/attr-merge-unknown-1.s: New file. * ld-arm/attr-merge-unknown-2.d: New file. * ld-arm/attr-merge-unknown-2.s: New file. * ld-arm/attr-merge-unknown-2r.d: New file. * ld-arm/attr-merge-unknown-3.d: New file. * ld-arm/blank.s: New file.
* 2009-01-19 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2009-01-198-1/+73
| | | | | | | | | | | | | | bfd/ * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering. * elf-bfd.h (elf_backend_data): Add obj_attrs_order. * elf32-arm.c (elf32_arm_obj_attrs_order): New function. (elf_backend_obj_attrs_order): New define. * elfxx-target.h (elf_backend_obj_attrs_order): New define. (elfNN_bed): Add elf_backend_obj_attrs_order. gas/testsuite/ * gas/arm/attr-order.d: New file. * gas/arm/attr-order.s: New file.
* 2009-01-19 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2009-01-194-25/+46
| | | | | | | | | | | | | | | bfd/ * elf-attrs.c (is_default_attr): Substitute magic numbers with macros. (obj_attr_size): Likewise. (write_obj_attribute): Likewise. (_bfd_elf_copy_obj_attributes): Likewise. (_bfd_elf_parse_attributes): Likewise. * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define. (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines. (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines. (ATTR_TYPE_HAS_NO_DEFAULT): New define. * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers with macros.
* 2009-01-19 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2009-01-196-12/+33
| | | | | | | | | | | | | | | | | bfd/ * elf-attrs.c (is_default_attr): Support defaultless attributes. (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type. (bfd_elf_add_obj_attr_string): Likewise. (bfd_elf_add_obj_attr_int_string): Likewise. (_bfd_elf_parse_attributes): Allow for unknown flag bits in type. * elf-bfd.h (struct obj_attribute): Document new flag bit. * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that Tag_nodefaults has no default value. (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults comment to reflect the new state. gas/ * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
* PR 9695Alan Modra2009-01-192-19/+13
| | | | | | * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC. (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC. (adjust_z_magix): Delete dead code handling QMAGIC.
* daily updateAlan Modra2009-01-191-1/+1
|
* * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,Dave Korn2009-01-183-53/+6
| | | | | as it no longer shares libiberty object files. * configure: Regenerated.
* daily updateAlan Modra2009-01-181-1/+1
|
* daily updateAlan Modra2009-01-171-1/+1
|
* 2009-01-16 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2009-01-162-4/+18
| | | | | * coffcode.h (styp_to_sec_flags): Correct interpretation of IMAGE_SCN_MEM_DISCARDABLE.
* ld/H.J. Lu2009-01-168-2/+54
| | | | | | | | | | | | | | | | | | | | | | 2009-01-16 H.J. Lu <hongjiu.lu@intel.com> * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT. (ld_options): Add -Ttext-segment. (parse_args): Handle OPTION_TTEXT_SEGMENT. * ld.texinfo: Document -Ttext-segment. * NEWS: Mention -Ttext-segment. * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START. (SHLIB_TEXT_START_ADDR): Likewise. ld/testsuite/ 2009-01-16 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/textaddr1.d: New. * ld-elf/textaddr2.d: Likewise.
* 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>Joseph Myers2009-01-163-2/+7
| | | | | * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5. * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
* 2009-01-16 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2009-01-168-27/+158
| | | | | | | | | | | | | | | | | Daniel Jacobowitz <dan@codesourcery.com> gas/ * config/tc-arm.c (arm_copy_symbol_attributes): New function. * config/tc-arm.h (arm_copy_symbol_attributes): New prototype. (CONVERT_SYMBOLIC_ATTRIBUTE): New define. * read.c (s_vendor_attribute): Add support for symbolic tag names. Improve string parser. * doc/c-arm.texi (ARM Machine Directives): Document .eabi_attribute symbolic tag names. gas/testsuite/ * gas/arm/attr-syntax.d: New file. * gas/arm/attr-syntax.s: New file.
* formattingAlan Modra2009-01-161-1/+1
|
* * Makefile.def (configure-opcodes): Depend on configure-libiberty.Alan Modra2009-01-163-1/+30
| | | | | * Makefile.def (all-opcodes): Depend on all-libiberty. * Makefile.in: Regenerate.
* bfd/Alan Modra2009-01-1617-191/+186
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS. * configure.in (commonbfdlib): Delete. (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/ (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such is available, not just for linux. * po/SRC-POTFILES.in: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate. opcodes/ * configure.in (commonbfdlib): Delete. (SHARED_LIBADD): Add pic libiberty if such is available. * configure: Regenerate. * po/POTFILES.in: Regenerate. binutils/ * configure.in (commonbfdlib): Delete. * configure: Regenerate. gas/ * configure.in (commonbfdlib): Delete. * configure: Regenerate. * po/POTFILES.in: Regenerate.
* daily updateAlan Modra2009-01-161-1/+1
|
* * object.cc (Sized_relobj::write_local_symbols): Don't write outIan Lance Taylor2009-01-152-7/+15
| | | | local symbols when stripping all symbols.
* 2009-01-15 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2009-01-157-146/+548
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Julian Brown <julian@codesourcery.com> bfd/ * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known ARM attributes in ABI 2.07. * elf32-arm.c (get_secondary_compatible_arch): New function. (set_secondary_compatible_arch): New function. (tag_cpu_arch_combine): New function. (elf32_arm_copy_one_eabi_other_attribute): Delete function. (elf32_arm_copy_eabi_other_attribute_list): Delete function. (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to make it fit with order_01243. Add support for Tag_also_compatible_with, Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use, Tag_MPextension_use, Tag_nodefaults and Tag_conformance. Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name, Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension, Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed, Tag_VFP_arch and Tag_ABI_FP_16bit_format. Rework the way unknown attributes are handled. Defer errors until all attributes have been processed. gas/ * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11. include/elf/ * arm.h (TAG_CPU_ARCH_V6_M, TAG_CPU_ARCH_V6S_M): New defines. (MAX_TAG_CPU_ARCH, TAG_CPU_ARCH_V4T_PLUS_V6_M): New defines. (Tag_NEON_arch): Rename to Tag_Advanced_SIMD_arch to match ARM ABI version 2.07. (Tag_undefined39, Tag_nodefaults): New enum values. (Tag_also_compatible_with, Tag_T2EE_use): Likewise. (Tag_conformance, Tag_Virtualization_use): Likewise. (Tag_undefined69, Tag_MPextension_use): Likewise.
* oops - forgot to commit with the previous deltaNick Clifton2009-01-151-0/+1
|
* 2009-01-15 Andrew Stubbs <ams@codesourcery.com>Andrew Stubbs2009-01-156-93/+67
| | | | | | | | | | | | | | | | | | | | | | | | | bfd/ * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to bfd_elf_add_obj_attr_int_string. Read Tag_compatibility from its new location in the attribute array, rather than the attribute list. (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat -> bfd_elf_add_obj_attr_int_string. (_bfd_elf_parse_attributes): Likewise. (_bfd_elf_merge_object_attributes): There's now only one Tag_compatibility, and it's in the array, not the list. * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include Tag_compatibility. (bfd_elf_add_obj_attr_compat): Rename to bfd_elf_add_obj_attr_int_string. (bfd_elf_add_proc_attr_compat): Rename to bfd_elf_add_proc_attr_int_string. * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle Tag_compatibility. gas/ * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat -> bfd_elf_add_obj_attr_int_string.
* * configure.ac (ia64*-*-*vms*): Add case with no gdb or ld support.Nick Clifton2009-01-153-0/+13
| | | | * configure: Regenerate.