and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  1. 29 Sep, 2006 2 commits
    • nobody's avatar
      This commit was manufactured by cvs2svn to create tag 'binutils-csl- · 12df1c9a
      nobody authored
      sourcerygxx-4_1-22'.
      
      Sprout from binutils-csl-2_17-branch 2006-09-29 12:25:31 UTC Nathan Sidwell <nathan@codesourcery.com> '	binutils/'
      Delete:
          ld/emultempl/mipself.em
          ld/testsuite/ld-mips-elf/hash1.s
          ld/testsuite/ld-mips-elf/hash1a.d
          ld/testsuite/ld-mips-elf/hash1b.d
          ld/testsuite/ld-mips-elf/hash1c.d
      12df1c9a
    • Nathan Sidwell's avatar
      binutils/ · c8afed08
      Nathan Sidwell authored
      	* ar.c (usage): Pass s to list_supported_targets.
      	* cxxfilt.c (usage): Print bug url when giving help.
      c8afed08
  2. 28 Sep, 2006 1 commit
    • Mark Shinwell's avatar
      include/ · 57f52df4
      Mark Shinwell authored
      	* libiberty.h: Declare pex_run_in_environment.
      
      	libiberty/
      	* pex-common.c: New function pex_run_in_environment.
      	* pex-common.h: Add environment parameter to exec_child.
      	* pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
      	* pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
      	(pex_djgpp_exec_child): Pass environment to child process.
      	* pex-unix.c: Add environment parameter to pex_unix_exec_child.
      	(pex_unix_exec_child): Pass environment to child process.
      	* pex-win32.c: Add environment parameter to pex_win32_exec_child.
      	New function env_compare for comparing VAR=VALUE pairs.
      	(win32_spawn): Assemble environment block and pass to CreateProcess.
      	(spawn_script): Pass environment through to win32_spawn.
      	(pex_win32_exec_child): Pass environment through to spawn_script and
      	win32_spawn.
      	* functions.texi: Regenerate.
      	* pexecute.txh: Document pex_run_in_environment.
      57f52df4
  3. 19 Sep, 2006 1 commit
    • Joseph Myers's avatar
      2006-09-19 Mark Shinwell <shinwell@codesourcery.com> · b8377fb3
      Joseph Myers authored
                  Joseph Myers  <joseph@codesourcery.com>
                  Ian Lance Taylor  <ian@wasabisystems.com>
                  Ben Elliston  <bje@wasabisystems.com>
      
      	bfd/
      	* archures.c: Add definition for bfd_mach_arm_iWMMXt2.
      	* cpu-arm.c (processors): Add bfd_mach_arm_iWMMXt2.
      	(arch_info_struct, bfd_arm_update_notes): Likewise.
      	(architectures): Likewise.
      	(bfd_arm_merge_machines): Check for iWMMXt2.
      	* bfd-in2.h: Rebuild.
      
      	gas/
      	* config/tc-arm.c (enum operand_parse_code): New code OP_RIWR_I32z.
      	(parse_operands): Handle OP_RIWR_I32z.
      	(do_iwmmxt_wmerge): New function.
      	(do_iwmmxt_wldstd): Handle iwmmxt2 case where second operand is
      	a register.
      	(do_iwmmxt_wrwrwr_or_imm5): New function.
      	(insns): Mark instructions as RIWR_I32z as appropriate.
      	Also add torvsc<b,h,w>, wabs<b,h,w>, wabsdiff<b,h,w>,
      	waddbhus<l,m>, waddhc, waddwc, waddsubhx, wavg4{r}, wmaddu{x,n},
      	wmadds{x,n}, wmerge, wmiaxy{n}, wmiawxy{n}, wmul<sm,um>{r},
      	wmulw<um,sm,l>{r}, wqmiaxy{n}, wqmulm{r}, wqmulwm{r}, wsubaddhx.
      	(md_begin): Handle IWMMXT2.
      	(arm_cpus): Add iwmmxt2.
      	(arm_extensions): Likewise.
      	(arm_archs): Likewise.
      
      	gas/testsuite/
      	* gas/arm/iwmmxt2.s: New file.
      	* gas/arm/iwmmxt2.d: New file.
      
      	opcodes/
      	* arm-dis.c (coprocessor_opcodes): The X-qualifier to WMADD may
      	only be used with the default multiply-add operation, so if N is
      	set, don't bother printing X.  Add new iwmmxt instructions.
      	(IWMMXT_INSN_COUNT): Update.
      	(iwmmxt_wwssnames): Qualify "wwss" names at index 2, 6, 10 and 14
      	with a 'c' suffix.
      	(print_insn_coprocessor): Check for iWMMXt2.  Handle format
      	specifiers 'r', 'i'.
      b8377fb3
  4. 18 Sep, 2006 1 commit
    • Paul Brook's avatar
      2006-09-18 Paul Brook <paul@codesourcery.com> · 2e91ce89
      Paul Brook authored
      	gas/
      	* config/tc-arm.c (parse_immediate_maybe_bounded): Rename back...
      	(parse_immediate): ... to this.  Revert earlier changes.
      	(parse_immediate_bounded): Remove.
      	(parse_immediate_unbounded): Remove.
      	(parse_address_main): Revert earlier changes.
      	(parse_ror): Ditto.
      	(po_imm_unb_or_fail): Remove.
      	(neon_cmode_for_logic_imm): Try smaller element sizes.
      	(neon_cmode_for_move_imm): Ditto.
      	(do_neon_logic): Handle .i64 pseudo-op.
      
      	gas/testsuite/
      	* testsuite/gas/arm/neon-cov.s: Test pseudo-instruction forms of
      	vmov, vmvn and logic immediate instructions.
      	* testsuite/gas/arm/neon-cov.d: ditto.
      2e91ce89
  5. 16 Sep, 2006 1 commit
  6. 14 Sep, 2006 4 commits
    • Paul Brook's avatar
      2006-09-14 Paul Brook <paul@codesourcery.com> · 5ca513e9
      Paul Brook authored
      	gas/
      	* config/tc-arm.c (s_arm_unwind_movsp): Add offset argument.
      	* doc/c-arm.texi (movsp): Document offset argument.
      5ca513e9
    • Paul Brook's avatar
      2006-09-14 Paul Brook <paul@codesourcery.com> · d86b547f
      Paul Brook authored
      	* config/tc-arm.c (thumb32_negate_data_op): Consistently use
      	unsigned int to avoid 64-bit host problems.
      d86b547f
    • Julian Brown's avatar
      gas/ · 956e7e50
      Julian Brown authored
      	* config/tc-arm.c (parse_immediate): Add BOUNDED parameter, rename
      	to...
      	(parse_immediate_maybe_bounded): This. Only bounds-check if BOUNDED
      	is true.
      	(parse_immediate_bounded): New function, with same arguments and
      	semantics as previous parse_immediate.
      	(parse_immediate_unbounded): New function. Parse an unbounded
      	integer (with sizeof (exp.X_add_number)).
      	(parse_big_immediate): Allow for 64-bit exp.X_add_number when
      	parsing 64-bit immediates.
      	(parse_address_main): Use parse_immediate_bounded not
      	parse_immediate.
      	(parse_ror): Likewise.
      	(parse_operands): Likewise. For Neon immediates, use
      	parse_immediate_unbounded. Add new local po_imm_unb_or_fail macro.
      956e7e50
    • Paul Brook's avatar
      2006-09-14 Paul Brook <paul@codesourcery.com> · bf4fc51e
      Paul Brook authored
      	ld/
      	* Makefile.in: Regenerate.
      bf4fc51e
  7. 11 Sep, 2006 2 commits
    • Nathan Sidwell's avatar
      gas/ · 3d2cb0c6
      Nathan Sidwell authored
      	* config/tc-m68k.c (m68k_register_mcf5210a_ctrl): New.
      	(m68k_cpus): Add 5210a & 5211a.
      3d2cb0c6
    • Nathan Sidwell's avatar
      bfd/ · f0fc286c
      Nathan Sidwell authored
      	* Makefile.am (VERSUFFIX_s): Remove.
      	(bfdver.h): Replace bfd_version_suffix with bfd_version_package.
      	* configure.in: Replace --with-versuffix with --with-pkgversion.
      	* version.h: Remove BFD_VERSION_SUFFIX. Update BFD_VERSION_STRING.
      	* Makefile.in: Rebuilt.
      	* configure: Rebuilt.
      
      	binutils/
      	* Makefile.am (REPORT_BUGS_TO_s): Replace with ...
      	(REPORT_BUGS_TO): ... this.
      	(INCLUDES): Update.
      	* Makefile.in: Rebuilt.
      
      	gas/
      	* Makefile.am (REPORT_BUGS_TO_s): Replace with ...
      	(REPORT_BUGS_TO): ... this.
      	(INCLUDES, DEP_INCLUDES): Update.
      	* Makefile.in: Rebuilt.
      
      	gprof/
      	* Makefile.am (REPORT_BUGS_TO_s): Replace with ...
      	(REPORT_BUGS_TO): ... this.
      	(VERSUFFIX_s): Remove.
      	(INCLUDES): Update.
      	* configure.in: Replace --with-versuffix with --with-pkgversion.
      	* gprof.c (main): Update version printing.
      	* Makefile.in: Rebuilt.
      	* configure: Rebuilt.
      
      	ld/
      	* Makefile.am (REPORT_BUGS_TO_s): Replace with ...
      	(REPORT_BUGS_TO): ... this.
      	(INCLUDES): Update.
      	* Makefile.in: Rebuilt.
      f0fc286c
  8. 08 Sep, 2006 4 commits
  9. 07 Sep, 2006 1 commit
  10. 06 Sep, 2006 1 commit
    • Paul Brook's avatar
      2006-09-06 Paul Brook <paul@codesourcery.com> · 993a2c03
      Paul Brook authored
      	gas/
      	* config/tc-arm.c (parse_operands): Mark operand as present.
      
      	gas/testsuite/
      	* gas/arm/neon-omit.s: Test three-argument variants.
      	* gas/arm/neon-omit.d: Update expected output.
      993a2c03
  11. 05 Sep, 2006 4 commits
    • Julian Brown's avatar
      gas/ · 4cd2fbad
      Julian Brown authored
      	* config/tc-arm.c (parse_qfloat_immediate): Fix hex immediates,
      	handle 0.0 and -0.0 specially.
      
      	gas/testsuite/
      	* gas/arm/neon-const.s: Use FP syntax for 0/-0.
      	* gas/arm/vfp-neon-syntax-inc.s: Likewise, for 1.
      4cd2fbad
    • Paul Brook's avatar
      2006-09-05 Paul Brook <paul@codesourcery.com> · aa56d821
      Paul Brook authored
      	gas/
      	* config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
      	and vacle.
      
      	gas/testsuite/
      	* gas/arm/neon-cov.d: Adjust expected output.
      	* gas/arm/neon-omit.s: Add tests for vcgt and vcle.  Reorder vacle
      	and vacle.
      	* gas/arm/neon-omit.d: Adjust expected output.
      aa56d821
    • Paul Brook's avatar
      2006-09-05 Vladimir Prus <vladimir@codesourcery.com> · b37a2a24
      Paul Brook authored
      	bfd/
      	* elf32-arm.c (elf32_arm_swap_symbol_out): Remove
      	unconditionall setting of low bit for Thumb symbol
      	mistakenly left behind after check for external
      	symbols was added.
      
      	ld/testsuite/
      	* ld-arm/use-thumb-lib.sym: Use regexps instead of
      	absolute addresses, for robustness.
      b37a2a24
    • Julian Brown's avatar
      gas/ · a447ca98
      Julian Brown authored
      	* config/tc-arm.c (parse_qfloat_immediate): Disallow integer syntax for
      	floating-point immediates.
      a447ca98
  12. 04 Sep, 2006 1 commit
    • Paul Brook's avatar
      2006-09-04 Paul Brook <paul@codesourcery.com> · 27a08722
      Paul Brook authored
      	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.
      27a08722
  13. 01 Sep, 2006 2 commits
    • Mark Shinwell's avatar
      bfd/ · a5fb8385
      Mark Shinwell authored
              * elf32-arm.c (elf32_arm_howto_table_1): Correct masks for
              R_ARM_THM_PC12 relocation.
      a5fb8385
    • Nathan Sidwell's avatar
      ld/testsuite/ · 934ab22a
      Nathan Sidwell authored
      	* ld-elf/loadaddr.s: Copy from mainline.
      934ab22a
  14. 31 Aug, 2006 2 commits
    • Mark Shinwell's avatar
      bfd/ · c8953ce4
      Mark Shinwell authored
              * 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.
      c8953ce4
    • Joseph Myers's avatar
      ld/testsuite/ · 9e04e563
      Joseph Myers authored
      	* ld-scripts/crossref.exp: XFAIL third test on mips*-*-linux*.
      9e04e563
  15. 30 Aug, 2006 1 commit
    • Mark Shinwell's avatar
      bfd/ · 506135d8
      Mark Shinwell authored
              * elf32-arm.c (elf32_arm_final_link_relocate): Add support for
              R_ARM_MOVW_BREL_NC, R_ARM_MOVW_BREL, R_ARM_MOVT_BREL,
              R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVW_BREL and
              R_ARM_THM_MOVT_BREL relocations.
      506135d8
  16. 29 Aug, 2006 5 commits
    • Nathan Sidwell's avatar
      Add comment about my ldexp.c change · 3535938d
      Nathan Sidwell authored
      3535938d
    • Nathan Sidwell's avatar
    • Nathan Sidwell's avatar
      ld/ · f18815c0
      Nathan Sidwell authored
      	Backport 2006-08-28  Alan Modra  <amodra@bigpond.net.au>
      	* 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.
      f18815c0
    • Nathan Sidwell's avatar
      ld/ · 3a2bdb87
      Nathan Sidwell authored
      	* ldexp.c (fold_name): Loadaddrs of sections with an lma_region
      	are absolute.
      
      	ld/testsuite/
      	* ld-elf/loadaddr3.t: New.
      	* ld-elf/loadaddr3a.d: New.
      	* ld-elf/loadaddr3b.d: New.
      3a2bdb87
    • nobody's avatar
      This commit was manufactured by cvs2svn to create branch 'binutils-csl- · b3260590
      nobody authored
      2_17-branch'.
      
      Cherrypick from master 2006-08-29 05:16:18 UTC Alan Modra <amodra@gmail.com> 'Adjust target test.':
          ld/testsuite/ld-elf/loadaddr3.t
          ld/testsuite/ld-elf/loadaddr3a.d
          ld/testsuite/ld-elf/loadaddr3b.d
      b3260590
  17. 24 Aug, 2006 2 commits
    • Mark Shinwell's avatar
      bfd/ · 414edaa3
      Mark Shinwell authored
      	* elf32-arm.c (elf32_arm_howto_table_1): Change offset for
      	R_THM_CALL to 25 and remove FIXME comment.
      	(using_thumb2): New function.
      	(elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.
      
      	ld/testsuite/
      	* arm-elf.exp: Add thumb1-bl, thumb2-bl, thumb2-bl-as-thumb1-bad
      	and thumb2-bl-bad tests.
      	* thumb1-bl.d: New.
      	* thumb1-bl.s: New.
      	* thumb2-bl-as-thumb1-bad.d: New.
      	* thumb2-bl-as-thumb1-bad.s: New.
      	* thumb2-bl-bad.d: New.
      	* thumb2-bl-bad.s: New.
      	* thumb2-bl.d: New.
      	* thumb2-bl.s: New.
      414edaa3
    • Mark Shinwell's avatar
      bfd/ · 565e6b35
      Mark Shinwell authored
      	* elf32-arm.c (elf32_arm_final_link_relocate): Add cases
      	for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
      	(elf32_arm_gc_sweep_hook): Likewise.
      	(elf32_arm_check_relocs): Likewise.
      	(allocate_dynrelocs): Likewise.
      565e6b35
  18. 22 Aug, 2006 1 commit
  19. 21 Aug, 2006 1 commit
    • Mark Shinwell's avatar
      bfd/ · 97f56ab6
      Mark Shinwell authored
      	* elf32-arm.c (elf32_arm_link_hash_table): Correct typo in
      	comment for target1_is_rel.
      97f56ab6
  20. 19 Aug, 2006 1 commit
    • Joseph Myers's avatar
      gas/ · 58f3a426
      Joseph Myers authored
      	* 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.
      58f3a426
  21. 18 Aug, 2006 2 commits
    • Paul Brook's avatar
      2006-08-18 Paul Brook <paul@codesourcery.com> · 45b77be0
      Paul Brook authored
      	Backport from mainline.
      	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.
      45b77be0
    • nobody's avatar
      This commit was manufactured by cvs2svn to create branch 'binutils-csl- · 426de2bf
      nobody authored
      2_17-branch'.
      
      Cherrypick from master 2006-08-18 15:00:18 UTC Paul Brook <paul@codesourcery.com> '2006-08-18  Paul Brook  <paul@codesourcery.com>':
          ld/testsuite/ld-arm/armthumb-lib.d
          ld/testsuite/ld-arm/armthumb-lib.sym
          ld/testsuite/ld-elf/loadaddr.s
      426de2bf