aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-12-182006-12-18 Mark Shinwell <shinwell@codesourcery.com>github/binutils-csl-2_17-branchbinutils-csl-2_17-branchMark Shinwell1-0/+7
ld/testsuite/ * ld-arm/armthumb-lib.d: Correct address of lib_func2. * armthumb-lib.sym: Correct order of symbols. * mixed-lib.sym: Likewise.
2006-12-132006-12-13 Paul Brook <paul@codesourcery.com>binutils-csl-sourcerygxx-4_1-32binutils-csl-innovasic-fido-3_4_4-33binutils-csl-coldfire-4_1-32Paul Brook1-0/+7
Backport from mainline. gas/ * config/tc-arm.c (arm_arch_option_table): Add v7-{a,r,m}. * doc/c-arm.texi: Fix spelling of ARMv7 profile variants.
2006-12-012006-12-01 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+11
Backport from mainline. gas/ * config/tc-arm.c (arm_force_relocation): Return 1 for relocs against function symbols. gas/testsuite/ * gas/arm/thumbrel.s: New test. * gas/arm/thumbrel.d: New test.
2006-12-01 bfd/Kazu Hirata1-0/+5
* bfd-in2.h: Regenerate.
2006-11-30 bfd/binutils-csl-sourcerygxx-4_1-29Kazu Hirata2-0/+41
* archures.c (bfd_mach_cpu32_fido): New. (bfd_mach_mcf_isa_a_nodiv, bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_mac, bfd_mach_mcf_isa_a_emac, bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac, bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_b_nousp, bfd_mach_mcf_isa_b_nousp_mac, bfd_mach_mcf_isa_b_nousp_emac, bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac, bfd_mach_mcf_isa_b_float, bfd_mach_mcf_isa_b_float_mac, bfd_mach_mcf_isa_b_float_emac): Increment the defined values. * cpu-m68k.c (arch_info_struct): Add en entry for bfd_mach_cpu32_fido. (m68k_arch_features): Add an entry corresponding to bfd_mach_cpu32_fido. (bfd_m68k_compatible): Handle bfd_mach_cpu32_fido. * elf32-m68k.c (elf32_m68k_object_p): Handle EF_M68K_CPU32_FIDO_A. (elf32_m68k_merge_private_bfd_data): Use EF_M68K_CPU32_MASK. (elf32_m68k_print_private_bfd_data): Handle EF_M68K_CPU32_FIDO_A. binutils/ * readelf.c (get_machine_flags): Handle EF_M68K_CPU32_FIDO_A. gas/ * config/tc-m68k.c (m68k_elf_final_processing): Handle EF_M68K_CPU32_FIDO_A. include/ * include/elf/m68k.h (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): New.
2006-11-29 Backport:Daniel Jacobowitz1-0/+7
2006-05-02 James E Wilson <wilson@specifix.com> * gprof.c (main): When setting default output_style, add separate checks for INPUT_HISTOGRAM and INPUT_CALL_GRAPH.
2006-11-29 Backport from mainline:Mark Shinwell3-0/+122
2006-07-29 Richard Sandiford <richard@codesourcery.com> ld/ * Makefile.am (eelf32b4300.c): Update dependencies. (eelf32bmip.c): Likewise. (eelf32bsmip.c): Likewise. (eelf32btsmip.c): Likewise. (eelf32btsmipn32.c): Likewise. (eelf32ltsmip.c): Likewise. (eelf32ltsmipn32.c): Likewise. (eelf32ebmip.c): Likewise. (eelf32ebmipvxworks.c): Likewise. (eelf32elmip.c): Likewise. (eelf32elmipvxworks.c): Likewise. (eelf32bmipn32.c): Likewise. (eelf32lmip.c): Likewise. (eelf32mipswindiss.c): Likewise. (eelf32lsmip.c): Likewise. (eelf64bmip.c): Likewise. (eelf64btsmip.c): Likewise. (eelf64ltsmip.c): Likewise. (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line. (emipsbsd.c): Likewise. (emipsidt.c): Update dependencies. (emipsidtl.c): Likewise. (emipslit.c): Likewise. (emipslnews.c): Likewise. (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation. * Makefile.in: Regenerate. * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define. * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise. * emultempl/irix.em: Include emultempl/mipself.em. * emultempl/mipself.em: New file. ld/testsuite/ * ld-mips-elf/hash1.s, ld-mips-elf/hash1a.d, * ld-mips-elf/hash1b.d, ld-mips-elf/hash1c.d: New tests. * ld-mips-elf/mips-elf.exp: Run them. 2006-07-14 Jakub Jelinek <jakub@redhat.com> * elflink.c (bfd_elf_size_dynsym_hash_dynstr): Fix cinfo.shift2 value. 2006-07-10 Jakub Jelinek <jakub@redhat.com> include/ * bfdlink.h (struct bfd_link_info): Add emit_hash and emit_gnu_hash bitfields. include/elf/ * common.h (SHT_GNU_HASH, DT_GNU_HASH): Define. ld/ * scripttempl/elf.sc: Add .gnu.hash section. * emultempl/elf32.em (OPTION_HASH_STYLE): Define. (gld${EMULATION_NAME}_add_options): Register --hash-style option. (gld${EMULATION_NAME}_handle_option): Handle it. (gld${EMULATION_NAME}_list_options): Document it. * ldmain.c (main): Initialize emit_hash and emit_gnu_hash. * ld.texinfo: Document --hash-style option. ld/testsuite/ * ld-powerpc/tlsso32.r: Adjust. * ld-powerpc/tlsso32.d: Adjust. * ld-powerpc/tlsso32.g: Adjust. * ld-powerpc/tlsso.r: Adjust. * ld-powerpc/tlsso.g: Adjust. * ld-powerpc/tlstocso.g: Adjust. bfd/ * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH. (bfd_section_from_shdr, elf_fake_sections, assign_section_numbers): Handle SHT_GNU_HASH. (special_sections_g): Include .gnu.hash section. (bfd_elf_gnu_hash): New function. * elf-bfd.h (bfd_elf_gnu_hash, _bfd_elf_hash_symbol): New prototypes. (struct elf_backend_data): Add elf_hash_symbol method. * elflink.c (_bfd_elf_link_create_dynamic_sections): Create .hash only if info->emit_hash, create .gnu.hash section if info->emit_gnu_hash. (struct collect_gnu_hash_codes): New type. (elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms, _bfd_elf_hash_symbol): New functions. (compute_bucket_count): Don't compute HASHCODES array, instead add that and NSYMS as arguments. Use bed->s->sizeof_hash_entry instead of bed->s->arch_size / 8. Fix .hash size estimation. When not optimizing, use the number of hashed symbols rather than dynsymcount. (bfd_elf_size_dynamic_sections): Only add DT_HASH if info->emit_hash, and ADD DT_GNU_HASH if info->emit_gnu_hash. (bfd_elf_size_dynsym_hash_dynstr): Size .hash only if info->emit_hash, adjust compute_bucket_count caller. Create and populate .gnu.hash section if info->emit_gnu_hash. (elf_link_output_extsym): Only populate .hash section if finfo->hash_sec != NULL. (bfd_elf_final_link): Adjust assertion. Handle DT_GNU_HASH. * elfxx-target.h (elf_backend_hash_symbol): Define if not yet defined. (elfNN_bed): Add elf_backend_hash_symbol. * elf64-x86-64.c (elf64_x86_64_hash_symbol): New function. (elf_backend_hash_symbol): Define. * elf32-i386.c (elf_i386_hash_symbol): New function. (elf_backend_hash_symbol): Define. binutils/ * readelf.c (get_dynamic_type): Handle DT_GNU_HASH. (get_section_type_name): Handle SHT_GNU_HASH. (dynamic_info_DT_GNU_HASH): New variable. (process_dynamic_section): Handle DT_GNU_HASH. (process_symbol_table): Print also DT_GNU_HASH histogram.
2006-11-29 bfd/Kazu Hirata1-0/+12
* elf32-m68k.c (elf32_m68k_object_p): Treat the default case as ColdFire. (elf32_m68k_merge_private_bfd_data): Use EF_M68K_ARCH_MASK to extract architecture mask. Treat the default case as ColdFire. binutils/ * readelf.c (get_machine_flags): Treat the default case as ColdFire.
2006-11-28 bfd/Kazu Hirata2-1/+19
* elf32-m68k.c (elf32_m68k_object_p, elf32_m68k_print_private_bfd_data): Use EF_M68K_ARCH_MASK to extract architecture mask. binutils/ * readelf.c (get_machine_flags): Use EF_M68K_ARCH_MASK to extract architecture mask. include/elf/ * m68k.h (EF_M68K_ARCH_MASK): New.
2006-11-19 opcodes/binutils-csl-sourcerygxx-4_1-30binutils-csl-sourcerygxx-4_1-28binutils-csl-coldfire-4_1-30binutils-csl-coldfire-4_1-28Nathan Sidwell1-1/+7
* m68k-opc.c (m68k_opcodes): Add tpf coldfire instruction as alias for trapf. (missed on 2006-11-16 checkin).
2006-11-17 bfd/Kazu Hirata2-12/+34
* elf32-m68k.c: Update uses of EF_M68K_*. binutils/ * readelf.c: Update uses of EF_M68K_*. gas/ * config/tc-m68k.c: Update uses of EF_M68K_*. include/elf * m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV, EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP, EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A, EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP, EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK, EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B, EF_M68K_CF_FLOAT, respectively.
2006-11-16 gas/testuite/Nathan Sidwell1-0/+10
* gas/m68k/all.exp: Add mcf-trap. * gas/m68k/mcf-trap.[sd]: New. opcodes/ * m68k-opc.c (m68k_opcodes): Place trap instructions before set conditionals. Add tpf coldfire instruction as alias for trapf.
2006-11-13 binutils/Nathan Sidwell1-0/+10
* Makefile.am (TOOL_PROGS): Set from @TOOL_PROGS@. (install-exec-local): Protect against TOOL_PROGS being empty. * configure.in (TOOL_PROGS): New, set it appropriately. * Makefile.in: Rebuilt. * configure: Rebuilt.
2006-11-082006-11-08 Vladimir Prus <vladimir@codesourcery.com>binutils-csl-sourcerygxx-4_1-27binutils-csl-arm-2006q3-27Vladimir Prus1-0/+7
* pex-win32.c (no_suffixes): Remove. (std_suffixes): Add "" as first element. (find_executable): Remove detection of already-present extension. Try all suffixes in std_suffixes.
2006-11-082006-11-07 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus1-0/+5
* testsuite/ld-elf/symbol2w.s: Use "%" instead of "@" to avoid breakage on ARM.
2006-11-062006-11-06 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus1-0/+5
ld/testsuite * ld-elf/symbol2ref.s: Use "dc.a" as opposed to ".long".
2006-11-04 ld/Vladimir Prus1-0/+11
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't prepend "warning" to the message. ld/testsuite * ld-elf/warn2.d: New. * ld-elf/symbol2w.s: New. * ld-elf/symbol2ref.s: New.
2006-10-31 gas/Mark Shinwell1-0/+7
* config/tc-arm.c (do_t_czb): Rename to do_t_cbz. (insns): Adjust accordingly. (md_apply_fix): Alter comments to use CBZ instead of CZB.
2006-10-302006-10-30 Paul Brook <paul@codesourcery.com>binutils-csl-sourcerygxx-4_1-26binutils-csl-arm-2006q3-26Paul Brook1-0/+8
bfd/ * elf32-arm.c (elf32_arm_to_thumb_export_stub): Assert that output section is present. (allocate_dynrelocs): Only add export stub for symbols definind in this object.
2006-10-30 Merge fido bits:Kazu Hirata3-3/+113
2006-10-25 Kazu Hirata <kazu@codesourcery.com> gprof/ * hist.c, hist.h: Fix formatting. gprof/ * Makefile.in (corefile.o): Depend on hist.h. * corefile.c: Include hist.h. 2006-10-06 Vladimir Prus <vladimir@codesourcery.com> * hist.h (struct histogram) (histograms, num_histograms): New. * hist.c (find_histogram, find_histogram_for_pc) (read_histogram_header): New. (s_lowpc, s_highpc, lowpc, highpc, hist_num_bins) (hist_sample): Remove. (hist_read_rec): Use the above, and handle multiple histogram records with disjoint address ranges. (hist_write_hist): Support several histogram records. (scale_and_align_entries): Adjust for multiple histograms. (hist_assign_samples_1): New. (hist_assign_samples): Use the above. (hist_clip_symbol_address): New. * hist.h (hist_check_address) (hist_clip_symbol_address): Declare. * gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling of legacy format for multiple histogram changes. * corefile.c (find_call): Check for core_text_space and clip symbol address range here. * vax.c (vax_find_call): Don't check for core_text_space, or clip the symbol's address range here. Use hist_check_address to check call's target address. * sparc.c: Likewise. * tahoe.c: Likewise. * i386.c: Likewise. * mips.c: Likewise. Also use core_text_sect->vma as the base address for code accesses, just like other machine-specific routines do. 2006-08-03 Kazu Hirata <kazu@codesourcery.com> * gas/config/tc-m68k.c (archs): Add -mfido as an alias for -mfido_a. 2006-06-23 Kazu Hirata <kazu@codesourcery.com> * gas/config/tc-m68k.c (cpu_of_arch): Replace fido with fido_a. (archs): Likewise. (m68k_ip): Likewise. (select_control_regs): Likewise. (md_show_usage): Replace -mfido with -mfidoa. * include/opcode/m68k.h (fido): Rename to fido_a. * opcodes/m68k-opc.c (m68k_opcodes): Replace fido with fido_a. 2006-06-22 Kazu Hirata <kazu@codesourcery.com> * config.sub: Replace fido with fido. * bfd/config.bfd: Likewise * gas/configure.tgt: Likewise. * gas/config/m68k-parse.h: Likewise. * gas/config/tc-m68k.c: Likewise. * gas/testsuite/gas/m68k/all.exp: Likewise. * gas/testsuite/gas/m68k/fido.d: Rename to fido.d. * gas/testsuite/gas/m68k/fido.s: Rename to fido.s. * include/opcode/m68k.h: Replace fido with fido. * ld/configure.tgt: Likewise. * opcodes/m68k-dis.c: Likewise. * opcodes/m68k-opc.c: Likewise. 2005-08-01 Kazu Hirata <kazu@codesourcery.com> * gas/config/m68k-parse.h (m68k_register): Add CAC and MBB. * gas/config/tc-m68k.c (fido_control_regs): New. (cpu_of_arch): Add fido. (archs): Add an entry for fido. (m68k_ip): Add warnings for uses of tbl[su]{n,}[bwl] on fido. Recognize CAC and MBB. (init_tabl): Add CAC and MBB. (select_control_regs): Choose fido as the current chip when the current architecture is fido or when -mfido is given explicitly. * gas/testsuite/gas/m68k/all.exp: Disable operands, cas, and bitfield on fido-*-*. Run fido on fido-*-*. * gas/testsuite/gas/m68k/fido.d: New. * gas/testsuite/gas/m68k/fido.s: Likewise. * include/opcode/m68k.h: Document new control registers CAC and MBB. * opcodes/m68k-dis.c (print_insn_arg): Add cac and mbb. * opcodes/m68k-opc.c (m68k_opcodes): Add sleep and trapx. 2005-07-22 Kazu Hirata <kazu@codesourcery.com> * gas/config/tc-m68k.c (archs): Add fido as an OR of cpu32 and fido. (md_show_usage): Add -mfido. * include/opcode/m68k.h (fido): New. 2005-07-11 Kazu Hirata <kazu@codesourcery.com> * config.sub: Recognize fido and fido-*. * bfd/config.bfd: Likewise. * gas/configure.tgt: Likewise. * ld/configure.tgt: Likewise.
2006-10-292006-10-28 Paul Brook <paul@codesourcery.com>binutils-csl-sourcerygxx-4_1-25Paul Brook1-0/+9
Julian Brown <julian@codesourcery.com> bfd/ * elf32-arm.c (copy_eabi_attributes): Correct starting offset. (elf32_arm_merge_eabi_attributes): Mark output as initialized. Only set Tag_CPU_name and Tag_ABI_PCS_R9_use if input attribute is present.
2006-10-28 include/opcode/Kazu Hirata2-10/+17
* m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a, mcfisa_aa, mcfisa_b, mcfusp, mcf_mask): Double the defined values.
2006-10-262006-10-26 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+5
gas/ * config/tc-arm.c (do_neon_ext): Fix constraint.
2006-10-262006-10-26 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+8
gas/ * config/tc-arm.c (arm_is_eabi): New function. * config/tc-arm.h (arm_is_eabi): New prototype. (THUMB_IS_FUNC): Use ELF function type for EABI objects. * doc/c-arm.texi (.thumb_func): Update documentation.
2006-10-262006-10-26 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+21
binutils/ * objdump.c (disassemble_section): Set info->symtab_pos. (disassemble_data): Set info->symtab and info->symtab_size. include/ * dis-asm.h (disassemble_info): Add symtab, symtab_pos and symtab_size. opcodes/ * arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New. (get_sym_code_type): New function. (print_insn): Search for mapping symbols.
2006-10-262006-10-26 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+6
gas/ * config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT for EABIv4.
2006-10-262006-10-26 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+10
gas/ * config/tc-arm.c (do_neon_ext): Enforce immediate range. (insns): Use I15 for vext. gas/testsute/ * gas/arm/neon-cov.s: Add new vext test. * gas/arm/neon-cov.d: Ditto.
2006-10-252006-10-25 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+15
gas/ * config/tc-arm.c (do_vfp_sp_const, do_vfp_dp_const): Fix operans encoding. gas/testsuite/ * gas/arm/vfpv3-const-conv.s: Improve test coverage. * gas/arm/vfpv3-const-conv.d: Adjust expected output. * gas/arm/vfp-neon-syntax_t2.d: Ditto. * gas/arm/vfp-neon-syntax.d: Ditto. opcodes/ * arm-dis.c (coprocessor_opcodes): Fix bitfields for fconstd/fconstd.
2006-10-24 gas/Mark Shinwell1-0/+6
* config/tc-arm.c (md_apply_fix): Turn CZB instructions that attempt to jump to the next instruction into NOPs.
2006-10-192006-10-19 Joseph S. Myers <joseph@codesourcery.com>Joseph Myers1-0/+6
Mark Mitchell <mark@codesourcery.com> ld/ * configure.tgt (arm*linux*): Support both big- and little-endian.
2006-10-16 binutils/Nathan Sidwell2-3/+58
* Makefile.am: Rebuild dependencies. (REPORT_BUGS_TO): Always defined. (INCLUDES): Adjust. * Makefile.in: Rebuilt. * configure.in (REPORT_BUGS_TO): Provide default value. * configure: Rebuilt. * bucomm.h: Remove bin-bugs.h. * addr2line.c (usage): Don't print empty REPORT_BUGS_TO. * coffdump.c (show_usage): Likewise. * cxxfilt.c (usage): Likewise. * nlmconv.c (show_usage): Likewise. * nm.c (usage): Likewise. * objcopy.c (copy_usage, strip_usage): Likewise. * objdump.c (usage): Likewise. * size.c (usage): Likewise. * srconv.c (show_usage): Likewise. * string.c (usage): Likewise. * sysdymp.c (show_usage): Likewise. * windres.c (usage): Likewise. * readelf (usage): Likewise. Add STREAM argument. Adjust callers. gas/ * Makefile.am: Rebuild dependencies. (REPORT_BUGS_TO): Always defined. (INCLUDES): Adjust. * Makefile.in: Rebuilt. * configure.in (REPORT_BUGS_TO): Provide default value. * configure: Rebuilt. * as.c (show_usage): Don't print empty REPORT_BUGS_TO. * as.h: Remove bin-bugs.h. ld/ * Makefile.am: Rebuild dependencies. (REPORT_BUGS_TO): Always defined. (INCLUDES): Adjust. * Makefile.in: Rebuilt. * configure.in (REPORT_BUGS_TO): Provide default value. * configure: Rebuilt. * ld.h: Remove bin-bugs.h * lexsup.c (help): Don't print empty REPORT_BUGS_TO. gprof/ * Makefile.am: Rebuild dependencies. (REPORT_BUGS_TO): Always defined. (PKGVERSION): Define. (INCLUDES): Adjust. * Makefile.in: Rebuilt. * configure.in (REPORT_BUGS_TO): Provide default value. * configure: Rebuilt. * gprof.c (usage): Don't print empty REPORT_BUGS_TO. * gprof.h: Remove bin-bugs.h include/ * bin-bugs.h: Remove.
2006-10-16 bfd/Mark Shinwell2-0/+21
* elf32-arm.c (using_thumb2): Use TAG_CPU_* constants. include/ * elf/arm.h: Define TAG_CPU_ARCH_* constants.
2006-10-13 gas/Nathan Sidwell1-0/+5
* config/tc-m68k.c (m68k_ip): Correct output of cpu aliases.
2006-10-03 ld/binutils-csl-sourcerygxx-4_1-24binutils-csl-sourcerygxx-4_1-23Joseph Myers1-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*.
2006-09-29 binutils/binutils-csl-sourcerygxx-4_1-22binutils-csl-sourcerygxx-4_1-21binutils-csl-arm-2006q3-21Nathan Sidwell1-0/+6
* ar.c (usage): Pass s to list_supported_targets. * cxxfilt.c (usage): Print bug url when giving help.
2006-09-28 include/binutils-csl-palmsource-arm-prelinker-1_0-1Mark Shinwell2-0/+39
* 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-192006-09-19 Mark Shinwell <shinwell@codesourcery.com>Joseph Myers2-0/+47
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-182006-09-18 Paul Brook <paul@codesourcery.com>Paul Brook1-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-162006-09-16 Paul Brook <paul@codesourcery.com>Paul Brook1-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-142006-09-14 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+6
gas/ * config/tc-arm.c (s_arm_unwind_movsp): Add offset argument. * doc/c-arm.texi (movsp): Document offset argument.
2006-09-142006-09-14 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+5
* config/tc-arm.c (thumb32_negate_data_op): Consistently use unsigned int to avoid 64-bit host problems.
2006-09-14 gas/Julian Brown1-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-142006-09-14 Paul Brook <paul@codesourcery.com>binutils-csl-sourcerygxx-4_1-20Paul Brook1-0/+5
ld/ * Makefile.in: Regenerate.
2006-09-11 gas/binutils-csl-sourcerygxx-4_1-19binutils-csl-arm-2006q3-19Nathan Sidwell1-0/+6
* config/tc-m68k.c (m68k_register_mcf5210a_ctrl): New. (m68k_cpus): Add 5210a & 5211a.
2006-09-11 bfd/Nathan Sidwell1-0/+38
* 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-082006-09-08 Paul Brook <paul@codesourcery.com>Paul Brook1-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.
2006-09-08missing changelogNathan Sidwell1-0/+8
2006-09-08 gas/testsuite/Kazu Hirata1-0/+8
Backport 2006-09-08 Kazu Hirata <kazu@codesourcery.com> * lib/gas-dg.exp (gas-dg-test): Treat $dir as a literal.
2006-09-08 * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): FixNathan Sidwell2-238/+245
quoting. * configure: Regenerated.
2006-09-072006-09-07 Paul Brook <paul@codesourcery.com>Paul Brook1-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.