summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ld/binutils-csl-sourcerygxx-4_1-24binutils-csl-sourcerygxx-4_1-23Joseph Myers2006-10-031-0/+8
| | | | | | | * configure.tgt (i[3-7]86-*-linux-*): Also define targ_extra_libpath in want64 case. * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as x86_64*-linux*.
* binutils/binutils-csl-sourcerygxx-4_1-22binutils-csl-sourcerygxx-4_1-21binutils-csl-arm-2006q3-21Nathan Sidwell2006-09-291-0/+6
| | | | | * ar.c (usage): Pass s to list_supported_targets. * cxxfilt.c (usage): Print bug url when giving help.
* include/binutils-csl-palmsource-arm-prelinker-1_0-1Mark Shinwell2006-09-2810-36/+222
| | | | | | | | | | | | | | | | | | | | | * 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.
* 2006-09-19 Mark Shinwell <shinwell@codesourcery.com>Joseph Myers2006-09-196-17/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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'.
* 2006-09-18 Paul Brook <paul@codesourcery.com>Paul Brook2006-09-181-0/+19
| | | | | | | | | | | | | | | | | | | 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.
* 2006-09-16 Paul Brook <paul@codesourcery.com>Paul Brook2006-09-161-0/+7
| | | | | | | gas/testsuite/ * gas/arm/unwind.s: Test two argument form of .movsp. * gas/arm/unwind.d: Update expected output. * gas/arm/unwind_vxworks.d: Ditto.
* 2006-09-14 Paul Brook <paul@codesourcery.com>Paul Brook2006-09-141-0/+6
| | | | | | gas/ * config/tc-arm.c (s_arm_unwind_movsp): Add offset argument. * doc/c-arm.texi (movsp): Document offset argument.
* 2006-09-14 Paul Brook <paul@codesourcery.com>Paul Brook2006-09-141-0/+5
| | | | | * config/tc-arm.c (thumb32_negate_data_op): Consistently use unsigned int to avoid 64-bit host problems.
* gas/Julian Brown2006-09-141-0/+19
| | | | | | | | | | | | | | | | | | * 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.
* 2006-09-14 Paul Brook <paul@codesourcery.com>binutils-csl-sourcerygxx-4_1-20Paul Brook2006-09-141-0/+5
| | | | | ld/ * Makefile.in: Regenerate.
* gas/binutils-csl-sourcerygxx-4_1-19binutils-csl-arm-2006q3-19Nathan Sidwell2006-09-111-0/+6
| | | | | * config/tc-m68k.c (m68k_register_mcf5210a_ctrl): New. (m68k_cpus): Add 5210a & 5211a.
* bfd/Nathan Sidwell2006-09-116-33/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2006-09-08 Paul Brook <paul@codesourcery.com>Paul Brook2006-09-081-0/+9
| | | | | | | | | gas/ * config/tc-arm.c (object_arch): New variable. (s_arm_object_arch): New function. (md_pseudo_table): Add object_arch. (aeabi_set_public_attributes): Obey object_arch. * doc/c-arm.texi: Document .object_arch.
* missing changelogNathan Sidwell2006-09-081-0/+8
|
* gas/testsuite/Kazu Hirata2006-09-081-0/+8
| | | | | | | Backport 2006-09-08 Kazu Hirata <kazu@codesourcery.com> * lib/gas-dg.exp (gas-dg-test): Treat $dir as a literal.
* * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): FixNathan Sidwell2006-09-082-238/+245
| | | | | quoting. * configure: Regenerated.
* 2006-09-07 Paul Brook <paul@codesourcery.com>Paul Brook2006-09-071-0/+9
| | | | | | | | | gas/ * config/tc-arm.c (insns): Allow ARM IT pseudo-insn on all cores. gas/testsuite/ * gas/arm/arm-it.s: New test. * gas/arm/arm-it.d: New test.
* 2006-09-06 Paul Brook <paul@codesourcery.com>binutils-csl-sourcerygxx-4_1-18Paul Brook2006-09-061-0/+9
| | | | | | | | | 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.
* gas/Julian Brown2006-09-051-0/+10
| | | | | | | | | * 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.
* 2006-09-05 Paul Brook <paul@codesourcery.com>Paul Brook2006-09-051-0/+12
| | | | | | | | | | | | 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.
* 2006-09-05 Vladimir Prus <vladimir@codesourcery.com>Paul Brook2006-09-052-2/+12
| | | | | | | | | | | | 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.
* gas/Julian Brown2006-09-051-0/+6
| | | | | * config/tc-arm.c (parse_qfloat_immediate): Disallow integer syntax for floating-point immediates.
* 2006-09-04 Paul Brook <paul@codesourcery.com>Paul Brook2006-09-042-1/+17
| | | | | | | | | | | | | | | | 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.
* bfd/Mark Shinwell2006-09-012-2/+8
| | | | | * elf32-arm.c (elf32_arm_howto_table_1): Correct masks for R_ARM_THM_PC12 relocation.
* ld/testsuite/Nathan Sidwell2006-09-011-0/+6
| | | | * ld-elf/loadaddr.s: Copy from mainline.
* bfd/Mark Shinwell2006-08-312-6/+89
| | | | | | | * 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.
* ld/testsuite/Joseph Myers2006-08-311-0/+5
| | | | * ld-scripts/crossref.exp: XFAIL third test on mips*-*-linux*.
* bfd/Mark Shinwell2006-08-302-6/+41
| | | | | | | * 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.
* Add comment about my ldexp.c changebinutils-csl-renesas-4_1-9Nathan Sidwell2006-08-291-0/+1
|
* * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.Nathan Sidwell2006-08-291-0/+4
|
* ld/Nathan Sidwell2006-08-291-0/+19
| | | | | | | | | | | | | | | | | | 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.
* ld/Nathan Sidwell2006-08-291-0/+11
| | | | | | | | | | * 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.
* bfd/Mark Shinwell2006-08-242-13/+68
| | | | | | | | | | | | | | | | | | | * 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.
* bfd/Mark Shinwell2006-08-242-13/+45
| | | | | | | | * 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.
* Merge changes between binutils-csl-2_17-branchpoint andJoseph Myers2006-08-2279-3763/+12500
| | | | binutils-2_17, except for the addition of generated files to CVS.
* bfd/Mark Shinwell2006-08-212-1/+7
| | | | | * elf32-arm.c (elf32_arm_link_hash_table): Correct typo in comment for target1_is_rel.
* gas/Joseph Myers2006-08-191-0/+11
| | | | | | | | | | * 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.
* 2006-08-18 Paul Brook <paul@codesourcery.com>binutils-csl-renesas-4_1-8Paul Brook2006-08-182-25/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* libiberty/Julian Brown2006-08-182-60/+57
| | | | | | | * floatformat.c (get_field): Fix segfault with little-endian word order on 64-bit hosts. (put_field): Likewise. (min): Move definition.
* * arm-dis.c (print_insn_neon): Disassemble 32-bit immediates asJulian Brown2006-08-182-1/+9
| | | | signed on 64-bit hosts.
* gas/Julian Brown2006-08-161-0/+15
| | | | | | | | | | | | | * 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. gas/testsuite/ * 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.
* * config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to beJulian Brown2006-08-161-0/+5
| | | | recognized in non-unified syntax mode.
* Correction to add missing "gas/" from previous ChangeLog.csl entry.Mark Shinwell2006-08-151-0/+1
|
* * config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New. ParseMark Shinwell2006-08-151-0/+11
| | | | | | | | | | a directive saving VFP registers for ARMv6 or later. (s_arm_unwind_save): Add parameter arch_v6 and call s_arm_unwind_save_vfp or s_arm_unwind_save_vfp_armv6 as appropriate. (md_pseudo_table): Add entry for new "vsave" directive. * doc/c-arm.texi: Correct error in example for "save" directive (fstmdf -> fstmdx). Also document "vsave" directive.
* Backport from mainline.binutils-csl-renesas-4_1-7binutils-csl-renesas-4_1-6Joseph Myers2006-08-031-0/+22
| | | | | | | | | | | | | | | | | | | | gas/ * config/tc-arm.c (parse_operands): Handle invalid register name for OP_RIWR_RIWC. gas/testsuite/ * gas/arm/iwmmxt-bad.s: Test invalid register names for wldrw and wstrw. * gas/arm/iwmmxt-bad.l: Update. gas/ * config/tc-arm.c (enum operand_parse_code): Add OP_RIWC_RIWG. (parse_operands): Handle it. (insns): Use it for tmcr and tmrc. gas/testsuite/ * gas/arm/iwmmxt.s: Test tmcr and tmrc with wcgr registers. * gas/arm/iwmmxt.d: Update.
* 2006-07-27 Carlos O'Donell <carlos@codesourcery.com>binutils-csl-sourcerygxx-4_1-17Carlos O'Donell2006-07-282-0/+22
| | | | | | | bfd/ * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT and EF_MIPS_UCODE.
* bfd/Nathan Sidwell2006-07-267-6/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: (VERSUFFIX_s): New. Pass it to compiler via -D. * Makefile.in: Regenerated. * configure: Regenerated. * configure.in: Add --with-versuffix option. * version.h: Add BFD_VERSION_SUFFIX, use it in BFD_VERSION_STRING. binutils/ * Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler via -D. * Makefile.in: Regenerated. * configure: Regenerated. * configure.in: Add --with-bugurl option. gas/ * Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler via -D. * Makefile.in: Regenerated. * configure: Regenerated. * configure.in: Add --with-bugurl option. gprof/ * Makefile.am: (VERSUFFIX_s, REPORT_BUGS_TO_s): New. Pass them to compiler via -D. * Makefile.in: Regenerated. * configure: Regenerated. * configure.in: Add --with-versuffix and --with-bugurl option. * gprof.c: Print version suffix. ld/ * Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler via -D. * Makefile.in: Regenerated. * configure: Regenerated. * configure.in: Add --with-bugurl option.
* opcodes/Richard Sandiford2006-07-262-1/+11
| | | | | | | | | * m68k-opc.c (m68k_opcodes): Fix operand specificer in the Coldfire "fdaddl" entry. gas/testsuite/ * gas/m68k/mcf-fpu.s: Add tests for all addressing modes. * gas/m68k/mcf-fpu.d: Update accordingly.
* Backport from mainline.Julian Brown2006-07-202-1/+14
| | | | | | | | | | | opcodes/ * arm-dis.c (coprocessor): Alter fmsrr disassembly syntax. gas/testsuite/ * gas/arm/vfp-neon-syntax.d: Tweak expected fmsrr syntax. * gas/arm/vfp-neon-syntax_t2.d: Likewise. * gas/arm/vfp2.d: Likewise. * gas/arm/vfp2_t2.d: Likewise.
* 2006-07-19 Paul Brook <paul@codesourcery.com>Paul Brook2006-07-192-2/+12
| | | | | | | | | | Backport from mainline. gas/ * config/tc-arm.c (insns): Fix rbit Arm opcode. gas/testsuite/ * gas/arm/archv6t2.d: Adjust expected output for rbit. opcodes/ * armd-dis.c (arm_opcodes): Fix rbit opcode.