]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
17 years ago2006-12-13 Paul Brook <paul@codesourcery.com> binutils-csl-coldfire-4_1-32 binutils-csl-innovasic-fido-3_4_4-33 binutils-csl-sourcerygxx-4_1-32
Paul Brook [Wed, 13 Dec 2006 16:07:33 +0000 (16:07 +0000)] 
2006-12-13  Paul Brook  <paul@codesourcery.com>

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.

17 years ago2006-12-01 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 1 Dec 2006 16:45:27 +0000 (16:45 +0000)] 
2006-12-01  Paul Brook  <paul@codesourcery.com>

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.

17 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Fri, 1 Dec 2006 16:42:27 +0000 (16:42 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-12-01 16:42:26 UTC Paul Brook <paul@codesourcery.com> '2006-12-01  Paul Brook  <paul@codesourcery.com>':
    gas/testsuite/gas/arm/thumbrel.d
    gas/testsuite/gas/arm/thumbrel.s

17 years ago bfd/
Kazu Hirata [Fri, 1 Dec 2006 08:13:19 +0000 (08:13 +0000)] 
bfd/
* bfd-in2.h: Regenerate.

17 years ago bfd/ binutils-csl-sourcerygxx-4_1-29
Kazu Hirata [Thu, 30 Nov 2006 14:49:43 +0000 (14:49 +0000)] 
bfd/
* 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.

17 years ago Backport:
Daniel Jacobowitz [Wed, 29 Nov 2006 16:31:58 +0000 (16:31 +0000)] 
Backport:
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.

17 years ago Backport from mainline:
Mark Shinwell [Wed, 29 Nov 2006 16:31:10 +0000 (16:31 +0000)] 
    Backport from mainline:

        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.

17 years ago bfd/
Kazu Hirata [Wed, 29 Nov 2006 10:32:51 +0000 (10:32 +0000)] 
bfd/
* 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.

17 years ago bfd/
Kazu Hirata [Tue, 28 Nov 2006 14:09:50 +0000 (14:09 +0000)] 
bfd/
* 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.

17 years ago opcodes/
Nathan Sidwell [Sun, 19 Nov 2006 22:00:45 +0000 (22:00 +0000)] 
opcodes/
* m68k-opc.c (m68k_opcodes):   Add tpf coldfire instruction as
alias for trapf. (missed on 2006-11-16 checkin).

17 years ago bfd/
Kazu Hirata [Fri, 17 Nov 2006 14:21:51 +0000 (14:21 +0000)] 
bfd/
* 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.

17 years ago gas/testuite/
Nathan Sidwell [Thu, 16 Nov 2006 12:46:53 +0000 (12:46 +0000)] 
gas/testuite/
* 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.

17 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Thu, 16 Nov 2006 07:22:26 +0000 (07:22 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-11-16 07:22:25 UTC Nathan Sidwell <nathan@codesourcery.com> 'gas/':
    gas/testsuite/gas/m68k/mcf-trap.d
    gas/testsuite/gas/m68k/mcf-trap.s

17 years ago binutils/
Nathan Sidwell [Mon, 13 Nov 2006 09:59:52 +0000 (09:59 +0000)] 
binutils/
* 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.

17 years ago2006-11-08 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Wed, 8 Nov 2006 17:45:23 +0000 (17:45 +0000)] 
2006-11-08  Vladimir Prus  <vladimir@codesourcery.com>

        * 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.

17 years ago2006-11-07 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Wed, 8 Nov 2006 10:25:05 +0000 (10:25 +0000)] 
2006-11-07  Vladimir Prus  <vladimir@codesourcery.com>

* testsuite/ld-elf/symbol2w.s: Use "%" instead
of "@" to avoid breakage on ARM.

17 years ago2006-11-06 Vladimir Prus <vladimir@codesourcery.com>
Vladimir Prus [Mon, 6 Nov 2006 10:16:56 +0000 (10:16 +0000)] 
2006-11-06  Vladimir Prus  <vladimir@codesourcery.com>

        ld/testsuite
        * ld-elf/symbol2ref.s: Use "dc.a" as opposed to ".long".

17 years ago ld/
Vladimir Prus [Sat, 4 Nov 2006 10:20:53 +0000 (10:20 +0000)] 
    ld/
        * 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.

17 years ago gas/
Mark Shinwell [Tue, 31 Oct 2006 16:46:37 +0000 (16:46 +0000)] 
    gas/
        * 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.

17 years ago2006-10-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 30 Oct 2006 21:56:42 +0000 (21:56 +0000)] 
2006-10-30  Paul Brook  <paul@codesourcery.com>

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.

17 years ago Merge fido bits:
Kazu Hirata [Mon, 30 Oct 2006 19:46:10 +0000 (19:46 +0000)] 
Merge fido bits:
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.

17 years ago2006-10-28 Paul Brook <paul@codesourcery.com>
Paul Brook [Sun, 29 Oct 2006 00:03:03 +0000 (00:03 +0000)] 
2006-10-28  Paul Brook  <paul@codesourcery.com>
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.

17 years ago include/opcode/
Kazu Hirata [Sat, 28 Oct 2006 23:12:44 +0000 (23:12 +0000)] 
include/opcode/
* m68k.h (mcfmac, mcfemac, cfloat, mcfhwdiv, mcfisa_a,
mcfisa_aa, mcfisa_b, mcfusp, mcf_mask): Double the defined
values.

17 years ago2006-10-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 26 Oct 2006 22:18:50 +0000 (22:18 +0000)] 
2006-10-26  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_neon_ext): Fix constraint.

17 years ago2006-10-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 26 Oct 2006 19:44:34 +0000 (19:44 +0000)] 
2006-10-26  Paul Brook  <paul@codesourcery.com>

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.

17 years ago2006-10-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 26 Oct 2006 19:41:54 +0000 (19:41 +0000)] 
2006-10-26  Paul Brook  <paul@codesourcery.com>

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.

17 years ago2006-10-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 26 Oct 2006 19:41:14 +0000 (19:41 +0000)] 
2006-10-26  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT
for EABIv4.

17 years ago2006-10-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 26 Oct 2006 19:31:11 +0000 (19:31 +0000)] 
2006-10-26  Paul Brook  <paul@codesourcery.com>

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.

17 years ago2006-10-25 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 25 Oct 2006 23:28:52 +0000 (23:28 +0000)] 
2006-10-25  Paul Brook  <paul@codesourcery.com>

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.

17 years ago gas/
Mark Shinwell [Tue, 24 Oct 2006 14:06:25 +0000 (14:06 +0000)] 
    gas/
        * config/tc-arm.c (md_apply_fix): Turn CZB instructions that
        attempt to jump to the next instruction into NOPs.

17 years ago2006-10-19 Joseph S. Myers <joseph@codesourcery.com>
Joseph Myers [Thu, 19 Oct 2006 22:36:12 +0000 (22:36 +0000)] 
2006-10-19  Joseph S. Myers  <joseph@codesourcery.com>
            Mark Mitchell  <mark@codesourcery.com>

ld/
* configure.tgt (arm*linux*): Support both big- and little-endian.

17 years ago binutils/
Nathan Sidwell [Mon, 16 Oct 2006 20:21:25 +0000 (20:21 +0000)] 
binutils/
* 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.

17 years ago bfd/
Mark Shinwell [Mon, 16 Oct 2006 13:09:20 +0000 (13:09 +0000)] 
    bfd/
        * elf32-arm.c (using_thumb2): Use TAG_CPU_* constants.

        include/
        * elf/arm.h: Define TAG_CPU_ARCH_* constants.

17 years ago gas/
Nathan Sidwell [Fri, 13 Oct 2006 07:39:34 +0000 (07:39 +0000)] 
gas/
* config/tc-m68k.c (m68k_ip):  Correct output of cpu aliases.

17 years ago ld/testsuite/ld-arm/
Vladimir Prus [Mon, 9 Oct 2006 11:53:53 +0000 (11:53 +0000)] 
ld/testsuite/ld-arm/
* use-thumb-lib.sym: Robustify, by ignoring symbols we're not
interested in and bucket number.

17 years ago ld/
Joseph Myers [Tue, 3 Oct 2006 22:55:01 +0000 (22:55 +0000)] 
ld/
* 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*.

17 years ago binutils/
Nathan Sidwell [Fri, 29 Sep 2006 12:25:31 +0000 (12:25 +0000)] 
binutils/
* ar.c (usage): Pass s to list_supported_targets.
* cxxfilt.c (usage): Print bug url when giving help.

17 years ago include/
Mark Shinwell [Thu, 28 Sep 2006 20:41:10 +0000 (20:41 +0000)] 
include/
* 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.

17 years ago2006-09-19 Mark Shinwell <shinwell@codesourcery.com>
Joseph Myers [Tue, 19 Sep 2006 18:45:45 +0000 (18:45 +0000)] 
2006-09-19  Mark Shinwell  <shinwell@codesourcery.com>
            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'.

17 years ago2006-09-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 18 Sep 2006 18:29:57 +0000 (18:29 +0000)] 
2006-09-18  Paul Brook  <paul@codesourcery.com>

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.

17 years ago2006-09-16 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 16 Sep 2006 16:28:05 +0000 (16:28 +0000)] 
2006-09-16  Paul Brook  <paul@codesourcery.com>

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.

17 years ago2006-09-14 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 14 Sep 2006 22:33:48 +0000 (22:33 +0000)] 
2006-09-14  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (s_arm_unwind_movsp): Add offset argument.
* doc/c-arm.texi (movsp): Document offset argument.

17 years ago2006-09-14 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 14 Sep 2006 15:28:35 +0000 (15:28 +0000)] 
2006-09-14  Paul Brook  <paul@codesourcery.com>

* config/tc-arm.c (thumb32_negate_data_op): Consistently use
unsigned int to avoid 64-bit host problems.

17 years ago gas/
Julian Brown [Thu, 14 Sep 2006 13:57:36 +0000 (13:57 +0000)] 
gas/
* 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.

17 years ago2006-09-14 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 14 Sep 2006 02:23:01 +0000 (02:23 +0000)] 
2006-09-14  Paul Brook  <paul@codesourcery.com>

ld/
* Makefile.in: Regenerate.

17 years ago gas/
Nathan Sidwell [Mon, 11 Sep 2006 11:34:51 +0000 (11:34 +0000)] 
gas/
* config/tc-m68k.c (m68k_register_mcf5210a_ctrl): New.
(m68k_cpus): Add 5210a & 5211a.

17 years ago bfd/
Nathan Sidwell [Mon, 11 Sep 2006 09:45:50 +0000 (09:45 +0000)] 
bfd/
* 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.

17 years ago2006-09-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 8 Sep 2006 22:36:13 +0000 (22:36 +0000)] 
2006-09-08  Paul Brook  <paul@codesourcery.com>

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.

17 years agomissing changelog
Nathan Sidwell [Fri, 8 Sep 2006 20:45:56 +0000 (20:45 +0000)] 
missing changelog

17 years ago gas/testsuite/
Kazu Hirata [Fri, 8 Sep 2006 17:24:01 +0000 (17:24 +0000)] 
gas/testsuite/
Backport
2006-09-08  Kazu Hirata  <kazu@codesourcery.com>

* lib/gas-dg.exp (gas-dg-test): Treat $dir as a literal.

17 years ago * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
Nathan Sidwell [Fri, 8 Sep 2006 08:15:18 +0000 (08:15 +0000)] 
* configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
        quoting.
        * configure: Regenerated.

17 years ago2006-09-07 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 7 Sep 2006 20:02:45 +0000 (20:02 +0000)] 
2006-09-07  Paul Brook  <paul@codesourcery.com>

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.

17 years ago2006-09-06 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 6 Sep 2006 16:35:22 +0000 (16:35 +0000)] 
2006-09-06  Paul Brook  <paul@codesourcery.com>

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.

17 years ago gas/
Julian Brown [Tue, 5 Sep 2006 20:23:47 +0000 (20:23 +0000)] 
gas/
* 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.

17 years ago2006-09-05 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 5 Sep 2006 18:17:59 +0000 (18:17 +0000)] 
2006-09-05  Paul Brook  <paul@codesourcery.com>

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.

17 years ago2006-09-05 Vladimir Prus <vladimir@codesourcery.com>
Paul Brook [Tue, 5 Sep 2006 16:25:48 +0000 (16:25 +0000)] 
2006-09-05  Vladimir Prus  <vladimir@codesourcery.com>

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.

17 years ago gas/
Julian Brown [Tue, 5 Sep 2006 14:24:01 +0000 (14:24 +0000)] 
gas/
* config/tc-arm.c (parse_qfloat_immediate): Disallow integer syntax for
floating-point immediates.

17 years ago2006-09-04 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 4 Sep 2006 15:55:36 +0000 (15:55 +0000)] 
2006-09-04  Paul Brook  <paul@codesourcery.com>

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.

17 years ago bfd/
Mark Shinwell [Fri, 1 Sep 2006 17:14:16 +0000 (17:14 +0000)] 
    bfd/
        * elf32-arm.c (elf32_arm_howto_table_1): Correct masks for
        R_ARM_THM_PC12 relocation.

17 years ago ld/testsuite/
Nathan Sidwell [Fri, 1 Sep 2006 09:25:14 +0000 (09:25 +0000)] 
ld/testsuite/
* ld-elf/loadaddr.s: Copy from mainline.

17 years ago bfd/
Mark Shinwell [Thu, 31 Aug 2006 14:59:52 +0000 (14:59 +0000)] 
    bfd/
        * 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.

17 years ago ld/testsuite/
Joseph Myers [Thu, 31 Aug 2006 13:21:22 +0000 (13:21 +0000)] 
ld/testsuite/
* ld-scripts/crossref.exp: XFAIL third test on mips*-*-linux*.

17 years ago bfd/
Mark Shinwell [Wed, 30 Aug 2006 17:39:17 +0000 (17:39 +0000)] 
    bfd/
        * 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.

17 years agoAdd comment about my ldexp.c change
Nathan Sidwell [Tue, 29 Aug 2006 13:55:31 +0000 (13:55 +0000)] 
Add comment about my ldexp.c change

17 years ago * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
Nathan Sidwell [Tue, 29 Aug 2006 11:09:04 +0000 (11:09 +0000)] 
* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.

17 years ago ld/
Nathan Sidwell [Tue, 29 Aug 2006 11:03:30 +0000 (11:03 +0000)] 
ld/
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.

17 years ago ld/
Nathan Sidwell [Tue, 29 Aug 2006 10:57:16 +0000 (10:57 +0000)] 
ld/
* 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.

17 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Tue, 29 Aug 2006 05:16:19 +0000 (05:16 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
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

17 years ago bfd/
Mark Shinwell [Thu, 24 Aug 2006 14:49:52 +0000 (14:49 +0000)] 
bfd/
* 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.

17 years ago bfd/
Mark Shinwell [Thu, 24 Aug 2006 14:46:50 +0000 (14:46 +0000)] 
bfd/
* 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.

17 years agoMerge changes between binutils-csl-2_17-branchpoint and
Joseph Myers [Tue, 22 Aug 2006 15:08:47 +0000 (15:08 +0000)] 
Merge changes between binutils-csl-2_17-branchpoint and
binutils-2_17, except for the addition of generated files to CVS.

17 years ago bfd/
Mark Shinwell [Mon, 21 Aug 2006 09:53:55 +0000 (09:53 +0000)] 
bfd/
* elf32-arm.c (elf32_arm_link_hash_table): Correct typo in
comment for target1_is_rel.

17 years ago gas/
Joseph Myers [Sat, 19 Aug 2006 16:27:35 +0000 (16:27 +0000)] 
gas/
* 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.

17 years ago2006-08-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 18 Aug 2006 15:01:16 +0000 (15:01 +0000)] 
2006-08-18  Paul Brook  <paul@codesourcery.com>

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.

17 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Fri, 18 Aug 2006 15:00:19 +0000 (15:00 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
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

17 years ago libiberty/
Julian Brown [Fri, 18 Aug 2006 11:56:44 +0000 (11:56 +0000)] 
libiberty/
* floatformat.c (get_field): Fix segfault with little-endian word
order on 64-bit hosts.
(put_field): Likewise.
(min): Move definition.

17 years ago * arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as
Julian Brown [Fri, 18 Aug 2006 10:30:35 +0000 (10:30 +0000)] 
* arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as
signed on 64-bit hosts.

17 years ago gas/
Julian Brown [Wed, 16 Aug 2006 10:37:32 +0000 (10:37 +0000)] 
gas/
* 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.

17 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Wed, 16 Aug 2006 10:32:41 +0000 (10:32 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-08-16 10:32:40 UTC Julian Brown <julian@codesourcery.com> ' * gas/arm/noarm.s: Add test for disabled ARM insns.':
    gas/testsuite/gas/arm/noarm.d
    gas/testsuite/gas/arm/noarm.l
    gas/testsuite/gas/arm/noarm.s
    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

17 years ago * config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to be
Julian Brown [Wed, 16 Aug 2006 10:04:14 +0000 (10:04 +0000)] 
* config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to be
recognized in non-unified syntax mode.

17 years agoCorrection to add missing "gas/" from previous ChangeLog.csl entry.
Mark Shinwell [Tue, 15 Aug 2006 10:53:53 +0000 (10:53 +0000)] 
Correction to add missing "gas/" from previous ChangeLog.csl entry.

17 years ago * config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New. Parse
Mark Shinwell [Tue, 15 Aug 2006 10:50:40 +0000 (10:50 +0000)] 
    * config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New.  Parse
        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.

17 years ago Backport from mainline.
Joseph Myers [Thu, 3 Aug 2006 16:23:01 +0000 (16:23 +0000)] 
Backport from mainline.

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.

17 years ago2006-07-27 Carlos O'Donell <carlos@codesourcery.com>
Carlos O'Donell [Fri, 28 Jul 2006 17:26:04 +0000 (17:26 +0000)] 
2006-07-27  Carlos O'Donell  <carlos@codesourcery.com>

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.

17 years ago bfd/
Nathan Sidwell [Wed, 26 Jul 2006 18:46:24 +0000 (18:46 +0000)] 
bfd/
* 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.

17 years agoopcodes/
Richard Sandiford [Wed, 26 Jul 2006 11:56:21 +0000 (11:56 +0000)] 
opcodes/
* 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.

17 years ago Backport from mainline.
Julian Brown [Thu, 20 Jul 2006 14:16:42 +0000 (14:16 +0000)] 
Backport from mainline.

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.

17 years ago2006-07-19 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 19 Jul 2006 13:08:21 +0000 (13:08 +0000)] 
2006-07-19  Paul Brook  <paul@codesourcery.com>

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.

17 years ago2006-07-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 18 Jul 2006 16:45:52 +0000 (16:45 +0000)] 
2006-07-18  Paul Brook  <paul@codesourcery.com>

Merge from mainline.
bfd/
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.

gas/
* tc-arm.c (do_t_add_sub): Use addw/subw when source is PC.
(md_convert_frag): Use correct reloc for add_pc.  Use
BFD_RELOC_ARM_T32_ADD_IMM for normal add/sum.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_ADD_IMM.
(arm_force_relocation): Handle BFD_RELOC_ARM_T32_ADD_IMM.

gas/testsuite/
* gas/arm/thumb2_add.d: New test.
* gas/arm/thumb2_add.s: New test.

17 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Tue, 18 Jul 2006 16:44:48 +0000 (16:44 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-07-18 16:44:47 UTC Paul Brook <paul@codesourcery.com> '2006-07-18  Paul Brook  <paul@codesourcery.com>':
    gas/testsuite/gas/arm/thumb2_add.d
    gas/testsuite/gas/arm/thumb2_add.s

17 years agoForgot to add file for previous commit.
Mark Shinwell [Fri, 14 Jul 2006 13:47:13 +0000 (13:47 +0000)] 
Forgot to add file for previous commit.

17 years ago2006-07-14 Nathan Sidwell <nathan@codesourcery.com>
Mark Shinwell [Fri, 14 Jul 2006 13:39:07 +0000 (13:39 +0000)] 
2006-07-14  Nathan Sidwell  <nathan@codesourcery.com>

bfd/
* config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza.

gas/
* configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.

ld/
* Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
(eshelf_uclinux.c): New target.
* Makefile.in: Rebuilt.
* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
* emulparams/shelf_uclinux.sh: New.

17 years agobfd/
Richard Sandiford [Wed, 12 Jul 2006 13:05:41 +0000 (13:05 +0000)] 
bfd/
2006-07-12  Matthew R. Dempsky  <mrd@alkemio.org>

* cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.

ld/testsuite/
2006-07-12  Richard Sandiford  <richard@codesourcery.com>

* ld-m68k/merge-ok-1c.d: New test.
* ld-m68k/m68k.exp: Run it.

17 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-csl-
nobody [Wed, 12 Jul 2006 12:47:02 +0000 (12:47 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
2_17-branch'.

Cherrypick from master 2006-07-12 12:47:00 UTC Richard Sandiford <rdsandiford@googlemail.com> 'bfd/':
    ld/testsuite/ld-elf/eh1.d
    ld/testsuite/ld-elf/eh2.d
    ld/testsuite/ld-elf/eh3.d
    ld/testsuite/ld-m68k/merge-ok-1c.d

17 years agobinutils/testsuite/
Richard Sandiford [Sat, 24 Jun 2006 09:25:21 +0000 (09:25 +0000)] 
binutils/testsuite/
* binutils-all/localize-hidden-1.d: Use objdump --syms instead
of readelf.

17 years agobinutils/
Richard Sandiford [Thu, 22 Jun 2006 15:44:18 +0000 (15:44 +0000)] 
binutils/
* objcopy.c (localize_hidden): New variable.
(OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
(copy_options): Add --localize-hidden.
(copy_usage): Mention --localize-hidden.
(is_hidden_symbol): New function.
(filter_symbols): Handle localize_hidden.
(copy_object): Call filter_symbols if localize_hidden.
(copy_main): Handle OPTION_LOCALIZE_HIDDEN.
* doc/binutils.texi (--localize-hidden): Document new option.

binutils/testsuite/
* binutils-all/localize-hidden-1.s,
* binutils-all/localize-hidden-1.d,
* binutils-all/localize-hidden-2.s,
* binutils-all/localize-hidden-2.d: New tests.
* binutils-all/objcopy.exp: Run them.

17 years ago Backport from mainline:
Richard Sandiford [Thu, 22 Jun 2006 15:40:14 +0000 (15:40 +0000)] 
Backport from mainline:

binutils/testsuite/
2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>

* lib/utils-lib.exp (run_dump_test): New.
(slurp_options): Likewise.
(regexp_diff): Likewise.
(file_contents): Likewise.
(verbose_eval): Likewise.

17 years agold/
Mark Shinwell [Wed, 21 Jun 2006 14:40:24 +0000 (14:40 +0000)] 
ld/
* ldlang.c (lang_insert_orphan): Correctly handle the case where
the section is to end up after the section currently at the end
of the list in output_bfd.

17 years ago2006-06-19 Vladimir Prus <vladimir@codesourcery.com>
Paul Brook [Tue, 20 Jun 2006 13:55:00 +0000 (13:55 +0000)] 
2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
bit for undefined symbols.

ld/testsuite
* ld-arm/arm-elf.exp: New test.
* ld-arm/use-thumb-lib.s: New file.
* ld-arm/use-thumb-lib.sym: New file.

17 years ago2006-06-19 Vladimir Prus <vladimir@codesourcery.com>
Paul Brook [Mon, 19 Jun 2006 14:22:33 +0000 (14:22 +0000)] 
2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
bit for undefined symbols.

ld/testsuite
* ld-arm/arm-elf.exp: New test.
* ld-arm/use-thumb-lib.s: New file.
* ld-arm/use-thumb-lib.sym: New file.