OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Thu, 11 May 2006 14:30:58 +0000 (14:30 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (append_insn): Don't check the range of j or
jal addresses.

[ gas/testsuite/ChangeLog ]
* gas/mips/jal-range.l: Don't check the range of j or jal
addresses.

18 years ago * ld-elf/stab.d: New.
Alan Modra [Thu, 11 May 2006 12:35:44 +0000 (12:35 +0000)]
* ld-elf/stab.d: New.

18 years ago * elf.c (_bfd_elf_init_private_section_data): Don't change
Alan Modra [Thu, 11 May 2006 12:34:46 +0000 (12:34 +0000)]
* elf.c (_bfd_elf_init_private_section_data): Don't change
section type if already set.

18 years agoPR ld/2607
Nick Clifton [Thu, 11 May 2006 08:57:08 +0000 (08:57 +0000)]
PR ld/2607
* elfcode.h (valid_section_index_p): New function: Checks for a valid section
  index.  Allows indicies in the range SHN_LOPROC to SHN_HIOS.
  (elf_object_p): Use valid_section_index_p.

18 years agoApply fixes to allow arm WinCE toolchain to produce working executables.
Nick Clifton [Thu, 11 May 2006 08:48:58 +0000 (08:48 +0000)]
Apply fixes to allow arm WinCE toolchain to produce working executables.

18 years agodaily update
Alan Modra [Thu, 11 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * ld-elf/sec64k.exp: Extend for MIPS ELF.
Thiemo Seufer [Wed, 10 May 2006 15:07:24 +0000 (15:07 +0000)]
* ld-elf/sec64k.exp: Extend for MIPS ELF.

18 years ago PR 2342
Alan Modra [Wed, 10 May 2006 04:55:43 +0000 (04:55 +0000)]
PR 2342
* elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.

18 years agodaily update
Alan Modra [Wed, 10 May 2006 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago2006-05-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 9 May 2006 17:05:55 +0000 (17:05 +0000)]
2006-05-09  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-gidt.d: Adjusted.

18 years agogas/testsuite/
H.J. Lu [Tue, 9 May 2006 16:05:40 +0000 (16:05 +0000)]
gas/testsuite/

2006-05-09  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run x86-64-gidt.

* gas/i386/x86-64-gidt.d: New file.
* gas/i386/x86-64-gidt.s: Likewise.

opcodes/

2006-05-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (grps): Update sgdt/sidt for 64bit.

18 years agoRevised test (that is not O(n2)) for checking for orphaned cloned symbols
Nick Clifton [Tue, 9 May 2006 15:13:22 +0000 (15:13 +0000)]
Revised test (that is not O(n2)) for checking for orphaned cloned symbols

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Tue, 9 May 2006 14:16:50 +0000 (14:16 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (append_insn): Only warn about an out-of-range
j or jal address.

[ gas/testsuite/ChangeLog ]
* gas/mips/jal-range.l: Only warn about an out-of-range j or jal
        address.

18 years ago* config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups against
Nick Clifton [Tue, 9 May 2006 11:47:48 +0000 (11:47 +0000)]
* config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups against
   symbols which are not going to be placed into the symbol table.
* coffcode.h (coff_write_relocs): Produce an error message if a an
   out-of-range symbol index is detected in a reloc.

18 years ago * expr.c (operand): Remove `if (0 && ..)' statement and
Ben Elliston [Tue, 9 May 2006 04:54:32 +0000 (04:54 +0000)]
    * expr.c (operand): Remove `if (0 && ..)' statement and
        subsequently unused target_op label.  Collapse `if (1 || ..)'
        statement.
        * app.c (do_scrub_chars): Remove unused case 0, as it is handled
        separately above the switch.

18 years ago * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
Ben Elliston [Tue, 9 May 2006 03:38:30 +0000 (03:38 +0000)]
    * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
        local variable `dynobj'.

18 years agodaily update
Alan Modra [Tue, 9 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * gas/mips/mips32.s, gas/mips/mips32.d: Extend testcase to check
Thiemo Seufer [Mon, 8 May 2006 18:18:09 +0000 (18:18 +0000)]
* gas/mips/mips32.s, gas/mips/mips32.d: Extend testcase to check
larger offset arguments for cache instructions.

18 years ago PR gas/2623b
Nick Clifton [Mon, 8 May 2006 17:08:34 +0000 (17:08 +0000)]
PR gas/2623b
* config/tc-msp430.c (line_separator_character): Define as |.

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Mon, 8 May 2006 15:57:05 +0000 (15:57 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips_set_options): Add ase_smartmips flag.
(mips_opts): Likewise.
(file_ase_smartmips): New variable.
(ISA_HAS_ROR): SmartMIPS implements rotate instructions.
(macro_build): Handle SmartMIPS instructions.
(mips_ip): Likewise.
(md_longopts): Add argument handling for smartmips.
(md_parse_options, mips_after_parse_args): Likewise.
(s_mipsset): Add .set smartmips support.
(md_show_usage): Document -msmartmips/-mno-smartmips.
* doc/as.texinfo: Document -msmartmips/-mno-smartmips and
.set smartmips.
* doc/c-mips.texi: Likewise.

[ gas/testsuite/ChangeLog ]
* gas/mips/smartmips.s, gas/mips/smartmips.d: New smartmips test.
* gas/mips/mips.exp: Run smartmips test.

18 years agoRemove bfd/ in ChangeLog entry.
H.J. Lu [Mon, 8 May 2006 14:17:11 +0000 (14:17 +0000)]
Remove bfd/ in ChangeLog entry.

18 years agodaily update
Alan Modra [Mon, 8 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * write.c (relax_segment): Add pass count arg. Don't error on
Alan Modra [Sun, 7 May 2006 23:03:48 +0000 (23:03 +0000)]
* write.c (relax_segment): Add pass count arg.  Don't error on
negative org/space on first two passes.
(relax_seg_info): New struct.
(relax_seg, write_object_file): Adjust.
* write.h (relax_segment): Update prototype.

18 years agodaily update
Alan Modra [Sun, 7 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 6 May 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago * arm-dis.c (coprocessor_opcodes): Don't interpret fldmx/fstmx as
Julian Brown [Fri, 5 May 2006 18:56:01 +0000 (18:56 +0000)]
* arm-dis.c (coprocessor_opcodes): Don't interpret fldmx/fstmx as
vldm/vstm.

18 years ago * config/tc-arm.c (parse_vfp_reg_list): Improve register bounds
Julian Brown [Fri, 5 May 2006 18:54:44 +0000 (18:54 +0000)]
* config/tc-arm.c (parse_vfp_reg_list): Improve register bounds
checking.
(do_neon_mov): Enable several VMOV variants for VFP. Add suitable
architecture version checks.
(insns): Allow overlapping instructions to be used in VFP mode.

18 years ago * gas/arm/vfp-neon-overlap.s: New test. Overlapping VFP/Neon
Julian Brown [Fri, 5 May 2006 18:53:09 +0000 (18:53 +0000)]
* gas/arm/vfp-neon-overlap.s: New test. Overlapping VFP/Neon
instructions.
* gas/arm/vfp-neon-overlap.d: Expected output of above.
* gas/arm/vfp1xD.d: Test for fldmx/fstmx.
* gas/arm/vfp1xD_t2.d: Likewise.
* gas/arm/vfpv3-32drs.d: Likewise.

18 years ago2006-05-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 5 May 2006 18:24:45 +0000 (18:24 +0000)]
2006-05-05  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/2598
* config/obj-elf.c (obj_elf_change_section): Allow user
specified SHF_ALPHA_GPREL.

18 years ago* gas/config/tc-avr.h (TC_VALIDATE_FIX): Define. Disable fixups for PMEM
Nick Clifton [Fri, 5 May 2006 17:46:47 +0000 (17:46 +0000)]
* gas/config/tc-avr.h (TC_VALIDATE_FIX): Define.  Disable fixups for PMEM
    related expressions.
* bfd/elf32-avr.c (elf32_avr_relax_delete_bytes): Iterate over all of the
    bfd's sections for the reloc-addend adjustments.

18 years agoPR gas/2582
Nick Clifton [Fri, 5 May 2006 16:55:28 +0000 (16:55 +0000)]
PR gas/2582
* dwarf2dbg.c (INSERT_DIR_SEPARATOR): New macro.  Handles the insertion of a
  directory separator character into a string at a given offset.  Uses
  heuristics to decide when to use a backslash character rather than a
  forward-slash character.
  (dwarf2_directive_loc): Use the macro.
  (out_debug_info): Likewise.

18 years ago * gas/mips/noreorder.s, gas/mips/noreorder.d: New test for
Thiemo Seufer [Fri, 5 May 2006 16:38:09 +0000 (16:38 +0000)]
* gas/mips/noreorder.s, gas/mips/noreorder.d: New test for
reorder/noreorder corner case.
* gas/mips/mips.exp: Run new test.
-------------------------------------------------------------------

18 years ago [ gas/ChangeLog ]
Thiemo Seufer [Fri, 5 May 2006 15:41:23 +0000 (15:41 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (macro_build): Add case 'k' to handle cache
instruction.
(macro): Add new case M_CACHE_AB.

[ opcodes/ChangeLog ]
* mips-opc.c: Add macro for cache instruction.

[ include/opcode/ChangeLog ]
* mips.h (enum): Add macro M_CACHE_AB.

18 years ago * elf32-s390.c (invalid_tls_insn): Call bfd_set_error.
Martin Schwidefsky [Fri, 5 May 2006 13:21:34 +0000 (13:21 +0000)]
* elf32-s390.c (invalid_tls_insn): Call bfd_set_error.
(elf_s390_relocate_section): Add code to do the GD->LE and
LD->LE TLS linker optimizations if a brasl instruction is used
for the __tls_get_offset function call.
* elf64-s390.c (invalid_tls_insn): Call bfd_set_error.

18 years ago * ld-powerpc/tlsexetoc.r: Update for correction to tls optimization.
Alan Modra [Fri, 5 May 2006 13:08:49 +0000 (13:08 +0000)]
* ld-powerpc/tlsexetoc.r: Update for correction to tls optimization.
* ld-powerpc/tlsexetoc.g: Likewise.

18 years ago * elf64-ppc.c (ppc64_elf_tls_optimize): Only optimize
Alan Modra [Fri, 5 May 2006 13:07:30 +0000 (13:07 +0000)]
* elf64-ppc.c (ppc64_elf_tls_optimize): Only optimize
R_PPC64_TPREL64 and R_PPC64_DTPMOD64 relocs when they are in
the .toc and referenced by a TLS code sequence.
(ppc64_elf_edit_toc): Cater for the unlikely situation that
.toc is the first section in a file.

18 years ago * ld.texinfo: Document PowerPC and PowerPC64 options.
Alan Modra [Fri, 5 May 2006 00:51:37 +0000 (00:51 +0000)]
* ld.texinfo: Document PowerPC and PowerPC64 options.
* gen-doc.texi: Enable.

18 years agodaily update
Alan Modra [Fri, 5 May 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago * aoutf1.h (struct external_sparc_core): Declare c_regs as struct
Andreas Schwab [Thu, 4 May 2006 21:25:52 +0000 (21:25 +0000)]
* aoutf1.h (struct external_sparc_core): Declare c_regs as struct
regs instead of an array of int.
(struct external_solaris_bcp_core): Likewise.
(swapcore_sun3): Use offsetof instead of computing the offset
manually.
(swapcore_sparc): Likewise.  Simplify reference to c_regs.
(swapcore_solaris_bcp): Likewise.

18 years ago * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling
Daniel Jacobowitz [Thu, 4 May 2006 19:03:24 +0000 (19:03 +0000)]
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling
for missing GOTs.

18 years ago * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
Daniel Jacobowitz [Thu, 4 May 2006 18:15:21 +0000 (18:15 +0000)]
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
mapping symbols.

18 years agogas/
Kazu Hirata [Thu, 4 May 2006 15:41:00 +0000 (15:41 +0000)]
gas/
* config/tc-arm.c (opcode_tag): Add OT_cinfix3_deprecated.
(opcode_lookup): Issue a warning for opcode with
OT_cinfix3_deprecated.  Otherwise treat OT_cinfix3_deprecated
identical to OT_cinfix3.
(TxC3w, TC3w, tC3w): New.
(insns): Use tC3w and TC3w for comparison instructions with
's' suffix.

gas/testsuite
* gas/arm/armv1.d (error-output): New.
* gas/arm/armv1.l: New.
* gas/arm/thumb32.d (error-output): New.
* gas/arm/thumb32.l: New.

18 years ago2006-05-04 Steve Ellcey <sje@cup.hp.com>
Daniel Jacobowitz [Thu, 4 May 2006 15:11:54 +0000 (15:11 +0000)]
2006-05-04  Steve Ellcey  <sje@cup.hp.com>

* blt, iwidgets, mmalloc: Remove directories.

18 years ago[ gas/testsuite/ChangeLog ]
Thiemo Seufer [Thu, 4 May 2006 10:47:05 +0000 (10:47 +0000)]
[ gas/testsuite/ChangeLog ]
2006-05-04  Thiemo Seufer  <ths@mips.com>
            Nigel Stephens  <nigel@mips.com>

        * gas/mips/mips.exp: Run mips32-dsp tests only for mips32r2.
        * gas/mips/set-arch.d: Adjust according to opcode table changes.

[ include/opcode/ChangeLog ]
2006-05-04  Thiemo Seufer  <ths@mips.com>
            Nigel Stephens  <nigel@mips.com>
            David Ung  <davidu@mips.com>

        * mips.h: Add INSN_SMARTMIPS define.

[ opcodes/ChangeLog ]
2006-05-04  Thiemo Seufer  <ths@mips.com>
            Nigel Stephens  <nigel@mips.com>
            David Ung  <davidu@mips.com>

        * mips-dis.c (mips_arch_choices): Add smartmips instruction
        decoding to MIPS32 and MIPS32R2.  Limit DSP decoding to release
        2 ISAs.  Add MIPS3D decoding to MIPS32R2.  Add MT decoding to
        MIPS64R2.
        * mips-opc.c: fix random typos in comments.
        (INSN_SMARTMIPS): New defines.
        (mips_builtin_opcodes): Add paired single support for MIPS32R2.
        Move bc3f, bc3fl, bc3t, bc3tl downwards.  Move flushi, flushd,
        flushid, wb upwards.  Move cfc3, ctc3 downwards.  Rework the
        FP_S and FP_D flags to denote single and double register
        accesses separately.  Move dmfc3, dmtc3, mfc3, mtc3 downwards.
        Allow jr.hb and jalr.hb for release 1 ISAs.  Allow luxc1, suxc1
        for MIPS32R2.  Add SmartMIPS instructions.  Add two-argument
        variants of bc2f, bc2fl, bc2t, bc2tl.  Add mfhc2, mthc2 to
        release 2 ISAs.
        * mips16-opc.c (mips16_opcodes): Add sdbbp instruction.

18 years ago * coff-or32.c (bfd_section_from_shdr): Remove unused local
Ben Elliston [Thu, 4 May 2006 05:05:25 +0000 (05:05 +0000)]
* coff-or32.c (bfd_section_from_shdr): Remove unused local
variable `ptr'.
* cofflink.c (process_embedded_commands): Remove unused local
variables `had_read' and `had_shared'.
* ecofflink.c (bfd_ecoff_debug_accumulate): Remove unused local
variable `fdr_adr'.
* ihex.c (ihex_read_section): Remove unused local variable `addr'.

18 years agodaily update
Alan Modra [Thu, 4 May 2006 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago * subsegs.h (struct frchain): Delete frch_seg.
Alan Modra [Wed, 3 May 2006 23:52:15 +0000 (23:52 +0000)]
* subsegs.h (struct frchain): Delete frch_seg.
(frchain_root): Delete.
(seg_info): Define as macro.
* subsegs.c (frchain_root): Delete.
(abs_seg_info, und_seg_info, absolute_frchain): Delete.
(subsegs_begin, subseg_change): Adjust for above.
(subseg_set_rest): Likewise.  Add new frchain structs to seginfo
rather than to one big list.
(subseg_get): Don't special case abs, und sections.
(subseg_new, subseg_force_new): Don't set frchainP here.
(seg_info): Delete.
(subsegs_print_statistics): Adjust frag chain control list traversal.
* debug.c (dmp_frags):  Likewise.
* dwarf2dbg.c (first_frag_for_seg): Don't start looking for frag
at frchain_root.  Make use of known frchain ordering.
(last_frag_for_seg): Likewise.
(get_frag_fix): Likewise.  Add seg param.
(process_entries, out_debug_aranges): Adjust get_frag_fix calls.
* write.c (chain_frchains_together_1): Adjust for struct frchain.
(SUB_SEGMENT_ALIGN): Likewise.
(subsegs_finish): Adjust frchain list traversal.
* config/tc-xtensa.c (xtensa_cleanup_align_frags): Likewise.
(xtensa_fix_target_frags, xtensa_mark_narrow_branches): Likewise.
(xtensa_mark_zcl_first_insns, xtensa_fix_a0_b_retw_frags): Likewise.
(xtensa_fix_b_j_loop_end_frags): Likewise.
(xtensa_fix_close_loop_end_frags): Likewise.
(xtensa_fix_short_loop_frags, xtensa_sanity_check): Likewise.
(retrieve_segment_info): Delete frch_seg initialisation.

18 years ago2006-05-03 Thiemo Seufer <ths@mips.com>
Thiemo Seufer [Wed, 3 May 2006 20:59:20 +0000 (20:59 +0000)]
2006-05-03  Thiemo Seufer  <ths@mips.com>

        [ opcodes/ChangeLog ]
        * mips-opc.c (mips_builtin_opcodes): Fix mftr argument order.

        [ gas/testsuite/ChangeLog ]
        * gas/mips/mips32-mt.d: Fix mftr argument order.

18 years ago2006-05-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 May 2006 16:45:59 +0000 (16:45 +0000)]
2006-05-03  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/copy-3.d: Fix a typo.

18 years agobfd/
Alan Modra [Wed, 3 May 2006 14:26:41 +0000 (14:26 +0000)]
bfd/
* libbfd-in.h (_bfd_generic_new_section_hook): Declare.
* section.c (bfd_abs_symbol, bfd_com_symbol): Delete.
(bfd_und_symbol, bfd_ind_symbol): Delete.
(BFD_FAKE_SECTION): Remove SYM_PTR param, set symbol_ptr_ptr to
&SEC.symbol.
(STD_SECTION): Adjust.
(_bfd_generic_new_section_hook): New function, extracted from..
(bfd_section_init): ..here.
(bfd_make_section_old_way): Call new_section_hook for abs, com,
und and ind sections.
* elf.c (_bfd_elf_large_com_section): Adjust.
* aoutx.h (new_section_hook): Call _bfd_generic_new_section_hook.
* pdp11.c (new_section_hook): Likewise.
* coffcode.h (coff_new_section_hook): Likewise.
* ecoff.c (_bfd_ecoff_new_section_hook): Likewise.
* elf.c (_bfd_elf_new_section_hook): Likewise.
* vms.c (vms_new_section_hook): Likwise.
* elf32-arm.c (elf32_arm_new_section_hook): Check used_by_bfd isn't
already set.
* elf32-sh64.c (sh64_elf_new_section_hook): Likewise.
* elf32-xtensa.c (elf_xtensa_new_section_hook): Likewise.
* elf64-mmix.c (mmix_elf_new_section_hook): Likewise.
* elf64-ppc.c (ppc64_elf_new_section_hook): Likewise.
* elfxx-mips.c (_bfd_mips_elf_new_section_hook): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_new_section_hook): Likewise.
* ieee.c (ieee_new_section_hook): Likewise.  Call
_bfd_generic_new_section_hook too.
* mmo.c (mmo_new_section_hook): Likewise.
* oasys.c (oasys_new_section_hook): Likewise.
* som.c (som_new_section_hook): Likewise.
* coff-w65.c (reloc_processing): Don't use bfd_abs_symbol.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
gas/
* subsegs.c (subseg_get): Don't call obj_sec_set_private_data.
* config/obj-elf.h (obj_sec_set_private_data): Delete.
* config/tc-hppa.c (tc_gen_reloc): Don't use bfd_abs_symbol.
* config/tc-mn10300.c (tc_gen_reloc): Likewise.

18 years ago2006-05-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 May 2006 14:21:18 +0000 (14:21 +0000)]
2006-05-03  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/copy-3.d: New.

* objcopy.exp: Run copy-3.

18 years ago * hash.c (DEFAULT_SIZE): Revert last change.
Alan Modra [Wed, 3 May 2006 04:20:52 +0000 (04:20 +0000)]
* hash.c (DEFAULT_SIZE): Revert last change.
(higher_prime_number): Correct test for no larger prime.  Don't
abort on error, instead return 0.  Depopulate primes[].
(bfd_hash_lookup): If we overflow size, refuse to grow table.

18 years agodaily update
Alan Modra [Wed, 3 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agoAvoid confusing error message for trivial profiled testcase.
Jim Wilson [Tue, 2 May 2006 18:03:02 +0000 (18:03 +0000)]
Avoid confusing error message for trivial profiled testcase.
* gprof.c (main): When setting default output_style, add separate
checks for INPUT_HISTOGRAM and INPUT_CALL_GRAPH.

18 years ago2006-05-02 Dave Korn <dave.korn@artimi.com>
Dave Korn [Tue, 2 May 2006 17:46:41 +0000 (17:46 +0000)]
2006-05-02  Dave Korn  <dave.korn@artimi.com>

* binutils-all/copy-1.d (name):  Correct spelling of 'setting'.
* binutils-all/copy-2.d (name):  Likewise.

18 years ago * config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset by 4
Joseph Myers [Tue, 2 May 2006 14:42:30 +0000 (14:42 +0000)]
* config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset by 4
here.
(md_apply_fix3): Multiply offset by 4 here for
BFD_RELOC_ARM_CP_OFF_IMM_S2 and BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.

testsuite:
* gas/arm/iwmmxt.s: Increase offsets for wstrb and wstrh.
* gas/arm/iwmmxt.d: Update expected results.
* gas/arm/iwmmxt-bad2.s: Test wstrb, wstrh, wldrb and wldrh.
* gas/arm/iwmmxt-bad2.l: Update expected error messages.

18 years ago2006-05-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 2 May 2006 14:24:03 +0000 (14:24 +0000)]
2006-05-02  H.J. Lu  <hongjiu.lu@intel.com>
    Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (output_invalid_buf): Change size for
unsigned char.
* config/tc-tic30.c (output_invalid_buf): Likewise.

* config/tc-i386.c (output_invalid): Cast none-ascii char to
unsigned char.
* config/tc-tic30.c (output_invalid): Likewise.

18 years agobinutils/
Daniel Jacobowitz [Tue, 2 May 2006 14:20:46 +0000 (14:20 +0000)]
binutils/
* doc/Makefile.am (AM_MAKEINFOFLAGS): New.
(TEXI2POD): Use AM_MAKEINFOFLAGS.
(config.texi): Don't set top_srcdir.
* doc/binutils.texi: Don't use top_srcdir.
* aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
gas/
* doc/Makefile.am (AM_MAKEINFOFLAGS): New.
(TEXI2POD): Use AM_MAKEINFOFLAGS.
(asconfig.texi): Don't set top_srcdir.
* doc/as.texinfo: Don't use top_srcdir.
* aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
ld/
* Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
(TEXI2POD): Use AM_MAKEINFOFLAGS.
(configdoc.texi): Don't set top_srcdir.
* ld.texinfo: Don't use top_srcdir.
* aclocal.m4, Makefile.in: Regenerated.

18 years ago * texi2pod.pl: Handle -I.
Daniel Jacobowitz [Tue, 2 May 2006 13:59:42 +0000 (13:59 +0000)]
* texi2pod.pl: Handle -I.

18 years ago2006-05-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 2 May 2006 13:35:45 +0000 (13:35 +0000)]
2006-05-02  H.J. Lu  <hongjiu.lu@intel.com>

* ld-cdtest/cdtest-foo.cc (Foo::Foo): Add const to char *.
* ld-cdtest/cdtest-foo.h (Foo::Foo): Likewise.
* ld-srec/sr3.cc (Foo::Foo): Likewise.

18 years ago2006-05-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 2 May 2006 13:34:26 +0000 (13:34 +0000)]
2006-05-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (output_invalid_buf): Change size to 16.
* config/tc-tic30.c (output_invalid_buf): Likewise.

* config/tc-i386.c (output_invalid): Use snprintf instead of
sprintf.
* config/tc-ia64.c (declare_register_set): Likewise.
(emit_one_bundle): Likewise.
(check_dependencies): Likewise.
* config/tc-tic30.c (output_invalid): Likewise.

18 years ago2006-05-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 2 May 2006 13:09:18 +0000 (13:09 +0000)]
2006-05-02  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Set thumb funciton bit
for R_ARM_REL32.
gas/
* config/tc-arm.c (arm_optimize_expr): New function.
* config/tc-arm.h (md_optimize_expr): Define
(arm_optimize_expr): Add prototype.
(TC_FORCE_RELOCATION_SUB_SAME): Define.
ld/testsuite/
* ld-arm/arm-elf.exp: Add thumb-rel32.
* ld-arm/thumb-rel32.d: New test.
* ld-arm/thumb-rel32.s: New test.

18 years ago* binutils-all/copy-2.d: Change the name of the section whose flags are
Nick Clifton [Tue, 2 May 2006 12:17:30 +0000 (12:17 +0000)]
* binutils-all/copy-2.d: Change the name of the section whose flags are
  changed to "foo" so that the test will work with PE based targets.
  Skip this test for AOUT based targeted.
* binutils-all/copytest.s: New file.

18 years ago * mips-dis.c (print_insn_args): Force mips16 to odd addresses.
Thiemo Seufer [Tue, 2 May 2006 11:12:41 +0000 (11:12 +0000)]
* mips-dis.c (print_insn_args): Force mips16 to odd addresses.
(print_mips16_insn_arg): Force mips16 to odd addresses.

18 years ago * archive.c (bfd_generic_archive_p): Remove unused local variable
Ben Elliston [Tue, 2 May 2006 10:01:56 +0000 (10:01 +0000)]
* archive.c (bfd_generic_archive_p): Remove unused local variable
`fail'.
* dwarf2.c (decode_line_info): Remove unused local variable
`basic_block'.
* elfcode.h (elf_slurp_reloc_table_from_section): Remove unsed
local varibale `s'.
* tekhex.c (tekhex_write_object_contents): Remove unused local
variable `bytes_written'.
* aout-ns32k.c (MY_swap_std_reloc_out): Remove unused local
variable `r_addend'.
* elf32-dlx.c (dlx_rtype_to_howto): Remove breaks after returns.
* elfxx-mips.c (_bfd_elf_mips_mach): Remove breaks after returns.
(_bfd_ns32k_relocate_contents): Remove break after return.
* elf.c (bfd_section_from_shdr): Remove breaks after returns.

18 years agoRename DEBUG to SYMBIAN_DEBUG to avoid conflicts with global DEBUG definition
Nick Clifton [Tue, 2 May 2006 09:56:00 +0000 (09:56 +0000)]
Rename DEBUG to SYMBIAN_DEBUG to avoid conflicts with global DEBUG definition

18 years ago * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Make single bit
Ben Elliston [Tue, 2 May 2006 04:21:39 +0000 (04:21 +0000)]
* config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Make single bit
field unsigned.

18 years ago * sb.h (sb_list_vector): Move to sb.c.
Ben Elliston [Tue, 2 May 2006 03:39:04 +0000 (03:39 +0000)]
* sb.h (sb_list_vector): Move to sb.c.
* sb.c (free_list): Use type of sb_list_vector directly.
(sb_build): Fix off-by-one error in assertion about `size'.

18 years ago * dwarf2.c: Formatting.
Alan Modra [Tue, 2 May 2006 01:41:20 +0000 (01:41 +0000)]
* dwarf2.c: Formatting.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Simplify
output section check.
* elf32-i370.c: Warning fixes inside #ifdef DEBUG.
* elf32-m32c.c: Similarly.
* elf32-ppc.c: Similarly.
* elf32-v850.c: Similarly.
* nlm32-sparc.c: Similarly.
* elfcode.h: Similarly.
(elf_symbol_flags): Delete.
* elflink.c (elf_link_input_bfd): Comment typo.

18 years agoFix typo.
DJ Delorie [Tue, 2 May 2006 00:58:33 +0000 (00:58 +0000)]
Fix typo.

18 years ago* configure.in: Restore CFLAGS if GM P isn't present.
DJ Delorie [Tue, 2 May 2006 00:16:50 +0000 (00:16 +0000)]
* configure.in: Restore CFLAGS if GM P isn't present.
* configure: Regenerate.

18 years agodaily update
Alan Modra [Tue, 2 May 2006 00:00:39 +0000 (00:00 +0000)]
daily update

18 years ago* bfd-in.h (bfd_hash_table): Add count field.
DJ Delorie [Mon, 1 May 2006 19:36:27 +0000 (19:36 +0000)]
* bfd-in.h (bfd_hash_table): Add count field.
* bfd-in2.h: Regenerate.
* hash.c (higher_prime_number): New.
(bfd_hash_table_inint_n): Init count field.
(bfd_hash_lookup): Grow table as needed.

18 years ago2006-05-01 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 1 May 2006 14:09:35 +0000 (14:09 +0000)]
2006-05-01  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/objcopy.exp: Run "copy-1" for ELF only.

18 years ago * listing.c (listing_listing): Remove useless loop.
Ben Elliston [Mon, 1 May 2006 09:21:46 +0000 (09:21 +0000)]
* listing.c (listing_listing): Remove useless loop.
* macro.c (macro_expand): Remove is_positional local variable.
* read.c (s_comm_internal): Simplify `if' condition 1 || x -> 1
and simplify surrounding expressions, where possible.
(assign_symbol): Likewise.
(s_weakref): Likewise.
* symbols.c (colon): Likewise.

18 years ago * subsegs.c (subseg_set_rest): Always set seginfp->frchainP if NULL.
Alan Modra [Mon, 1 May 2006 05:41:40 +0000 (05:41 +0000)]
* subsegs.c (subseg_set_rest): Always set seginfp->frchainP if NULL.

18 years ago * binutils-all/objcopy.exp (objcopy_test_readelf): Remove stray ;
Ben Elliston [Mon, 1 May 2006 04:01:25 +0000 (04:01 +0000)]
* binutils-all/objcopy.exp (objcopy_test_readelf): Remove stray ;

18 years agodaily update
Alan Modra [Mon, 1 May 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago[ gas/ChangeLog ]
Thiemo Seufer [Sun, 30 Apr 2006 18:34:39 +0000 (18:34 +0000)]
[ gas/ChangeLog ]
2006-04-30  Thiemo Seufer  <ths@mips.com>
            David Ung  <davidu@mips.com>

        * config/tc-mips.c (validate_mips_insn): Handling of udi cases.
        (mips_immed): New table that records various handling of udi
        instruction patterns.
        (mips_ip): Adds udi handling.

[ include/opcode/ChangeLog ]
2006-04-30  Thiemo Seufer  <ths@mips.com>
            David Ung  <davidu@mips.com>

        * mips.h: Defines udi bits and masks.  Add description of
        characters which may appear in the args field of udi
        instructions.

[ opcodes/ChangeLog ]
2006-04-30  Thiemo Seufer  <ths@mips.com>
            David Ung  <davidu@mips.com>

        * mips-opc.c (mips_builtin_opcodes): Add udi instructions
        "udi0" to "udi15".
        * mips-dis.c (print_insn_args): Adds udi argument handling.

18 years ago2006-04-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 30 Apr 2006 00:23:00 +0000 (00:23 +0000)]
2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elfvers/vers.exp: Xfail vers7a, vers7, vers23a, vers23b,
vers23c, vers23d, vers23, vers25a, vers25b1, vers25b2, vers27a,
vers27b, vers27c1, vers27c2, vers27d4 and vers27d5 if PIC is
required.

18 years ago2006-04-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 30 Apr 2006 00:21:26 +0000 (00:21 +0000)]
2006-04-29  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/fp.d: New file.
* gas/i386/fp.s: Likewise.

* gas/i386/i386.exp: Run "fp".

18 years agodaily update
Alan Modra [Sun, 30 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agoMove opcode ChangeLog entry to opcode/ChangeLog.
H.J. Lu [Sat, 29 Apr 2006 16:54:51 +0000 (16:54 +0000)]
Move opcode ChangeLog entry to opcode/ChangeLog.

18 years agoFix buglet noticed while looking at PR 1298.
Jim Wilson [Sat, 29 Apr 2006 03:11:31 +0000 (03:11 +0000)]
Fix buglet noticed while looking at PR 1298.
* m68k-dis.c (match_insn_m68k): Restore fprintf_func before printing
error message.

18 years agodaily update
Alan Modra [Sat, 29 Apr 2006 00:00:11 +0000 (00:00 +0000)]
daily update

18 years agoDon't mis-spell your boss' name...
Thiemo Seufer [Fri, 28 Apr 2006 13:38:49 +0000 (13:38 +0000)]
Don't mis-spell your boss' name...

18 years ago[ opcodes/ChangeLog ]
Thiemo Seufer [Fri, 28 Apr 2006 13:17:00 +0000 (13:17 +0000)]
[ opcodes/ChangeLog ]
2006-04-28  Thiemo Seufer  <ths@mips.com>
            David Ung  <davidu@mips.com>
            Nigel Stevens  <nigel@mips.com>

* mips-dis.c (mips_cp0sel_names_mips3264r2): Add MT register
        names.

[ gas/testsuite/ChangeLog ]
2006-04-28  Thiemo Seufer  <ths@mips.com>
            David Ung  <davidu@mips.com>
            Nigel Stevens  <nigel@mips.com>

* gas/mips/cp0sel-names-mips32r2.d,
gas/mips/cp0sel-names-mips64r2.d: Update for MT register names.

18 years ago * mips-dis.c (print_insn_args): Add mips_opcode argument.
Thiemo Seufer [Fri, 28 Apr 2006 12:59:30 +0000 (12:59 +0000)]
* mips-dis.c (print_insn_args): Add mips_opcode argument.
(print_insn_mips):  Adjust print_insn_args call.

18 years ago * mips-dis.c (print_insn_args): Print $fcc only for FP
Thiemo Seufer [Fri, 28 Apr 2006 12:19:31 +0000 (12:19 +0000)]
* mips-dis.c (print_insn_args): Print $fcc only for FP
instructions, use $cc elsewise.

18 years ago * opcodes/mips-dis.c (mips16_to_32_reg_map, mips16_reg_names):
Thiemo Seufer [Fri, 28 Apr 2006 11:42:28 +0000 (11:42 +0000)]
* opcodes/mips-dis.c (mips16_to_32_reg_map, mips16_reg_names):
Map MIPS16 registers to O32 names.
(print_mips16_insn_arg): Use mips16_reg_names.

18 years ago * dwarf2dbg.c (get_line_subseg): Attach new struct line_seg to end
Alan Modra [Fri, 28 Apr 2006 04:07:33 +0000 (04:07 +0000)]
* dwarf2dbg.c (get_line_subseg): Attach new struct line_seg to end
of list rather than beginning.

18 years agodaily update
Alan Modra [Fri, 28 Apr 2006 00:00:36 +0000 (00:00 +0000)]
daily update

18 years ago PR binutils/2584
Kaz Kojima [Thu, 27 Apr 2006 05:57:09 +0000 (05:57 +0000)]
PR binutils/2584
* tekhex.c (getvalue): Change return type to bfd_boolean and
add the new parameter.  Return false if the unexpected character
is found.
(getsym): Likewise.
(first_phase): Change return type to bfd_boolean and return
false if the unexpected character is found.  Replace abort
with returning false.
(pass_over): Change return type to bfd_boolean and the type of
the second argument to bfd_boolean (*) (bfd *, int, char *).
Return false if FUNC returns false.
(tekhex_object_p): Return NULL if pass_over fails.

18 years ago * coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.
Alan Modra [Thu, 27 Apr 2006 01:19:35 +0000 (01:19 +0000)]
* coff-rs6000.c (xcoff_write_archive_contents_old): Warning fix.

18 years agodaily update
Alan Modra [Thu, 27 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago * mips.h: Improve comments describing the bitfield instruction
Thiemo Seufer [Wed, 26 Apr 2006 18:19:15 +0000 (18:19 +0000)]
* mips.h: Improve comments describing the bitfield instruction
fields.

18 years ago * gas/config/tc-arm.c (neon_is_quarter_float): Move, and rename to...
Julian Brown [Wed, 26 Apr 2006 16:03:02 +0000 (16:03 +0000)]
* gas/config/tc-arm.c (neon_is_quarter_float): Move, and rename to...
(is_quarter_float): Rename from above. Simplify slightly.
(parse_qfloat_immediate): Parse a "quarter precision" floating-point
number.
(parse_neon_mov): Parse floating-point constants.
(neon_qfloat_bits): Fix encoding.
(neon_cmode_for_move_imm): Tweak to use floating-point encoding in
preference to integer encoding when using the F32 type.

18 years ago * gas/testsuite/gas/arm/neon-const.s: New testcase. Neon floating-point
Julian Brown [Wed, 26 Apr 2006 16:02:40 +0000 (16:02 +0000)]
* gas/testsuite/gas/arm/neon-const.s: New testcase. Neon floating-point
constants.
* gas/testsuite/gas/arm/neon-const.d: Expected output of above.
* gas/testsuite/gas/arm/neon-cov.d: Expect floating-point disassembly
for VMOV.F32.

18 years ago * arm-dis.c (print_insn_neon): Disassemble floating-point constant
Julian Brown [Wed, 26 Apr 2006 16:02:07 +0000 (16:02 +0000)]
* arm-dis.c (print_insn_neon): Disassemble floating-point constant
VMOV.

18 years ago * config/tc-arm.c (neon_el_type): Make NT_invtype be the zero (so
Julian Brown [Wed, 26 Apr 2006 15:55:45 +0000 (15:55 +0000)]
* config/tc-arm.c (neon_el_type): Make NT_invtype be the zero (so
zero-initialising structures containing it will lead to invalid types).
(arm_it): Add vectype to each operand.
(NTA_HASTYPE, NTA_HASINDEX): Constants used in neon_typed_alias
defined field.
(neon_typed_alias): New structure. Extra information for typed
register aliases.
(reg_entry): Add neon type info field.
(arm_reg_parse): Remove RTYPE argument (revert to previous arguments).
Break out alternative syntax for coprocessor registers, etc. into...
(arm_reg_alt_syntax): New function. Alternate syntax handling broken
out from arm_reg_parse.
(parse_neon_type): Move. Return SUCCESS/FAIL.
(first_error): New function. Call to ensure first error which occurs is
reported.
(parse_neon_operand_type): Parse exactly one type.
(NEON_ALL_LANES, NEON_INTERLEAVE_LANES): Move.
(parse_typed_reg_or_scalar): New function. Handle core of both
arm_typed_reg_parse and parse_scalar.
(arm_typed_reg_parse): Parse a register with an optional type.
(NEON_SCALAR_REG, NEON_SCALAR_INDEX): Extract parts of parse_scalar
result.
(parse_scalar): Parse a Neon scalar with optional type.
(parse_reg_list): Use first_error.
(parse_vfp_reg_list): Use arm_typed_reg_parse instead of arm_reg_parse.
(neon_alias_types_same): New function. Return true if two (alias) types
are the same.
(parse_neon_el_struct_list): Use parse_typed_reg_or_scalar. Return type
of elements.
(insert_reg_alias): Return new reg_entry not void.
(insert_neon_reg_alias): New function. Insert type/index information as
well as register for alias.
(create_neon_reg_alias): New function. Parse .dn/.qn directives and
make typed register aliases accordingly.
(s_dn, s_qn): New functions. Handle incorrectly used .dn/.qn at start
of line.
(s_unreq): Delete type information if present.
(s_arm_unwind_save_mmxwr): Remove arg 3 from arm_reg_parse calls.
(s_arm_unwind_save_mmxwcg): Likewise.
(s_arm_unwind_movsp): Likewise.
(s_arm_unwind_setfp): Likewise.
(parse_shift): Likewise.
(parse_shifter_operand): Likewise.
(parse_address): Likewise.
(parse_tb): Likewise.
(tc_arm_regname_to_dw2regnum): Likewise.
(md_pseudo_table): Add dn, qn.
(parse_neon_mov): Handle typed operands.
(parse_operands): Likewise.
(neon_type_mask): Add N_SIZ.
(N_ALLMODS): New macro.
(neon_check_shape): Fix typo in NS_DDD_QQQ case. Use first_error.
(el_type_of_type_chk): Add some safeguards.
(modify_types_allowed): Fix logic bug.
(neon_check_type): Handle operands with types.
(neon_three_same): Remove redundant optional arg handling.
(do_neon_dyadic_i64_su, do_neon_shl_imm, do_neon_qshl_imm)
(do_neon_logic, do_neon_qdmulh, do_neon_fcmp_absolute)
(do_neon_step): Adjust accordingly.
(neon_cmode_for_logic_imm): Use first_error.
(do_neon_bitfield): Call neon_check_type.
(neon_dyadic): Rename to...
(neon_dyadic_misc): ...this. New name for neon_dyadic. Add bitfield
to allow modification of type of the destination.
(do_neon_dyadic_if_su, do_neon_dyadic_if_i, do_neon_dyadic_if_i_d)
(do_neon_addsub_if_i, do_neon_mul): Adjust accordingly.
(do_neon_compare): Make destination be an untyped bitfield.
(neon_scalar_for_mul): Use NEON_SCALAR_REG, NEON_SCALAR_INDEX.
(neon_mul_mac): Return early in case of errors.
(neon_move_immediate): Use first_error.
(neon_mac_reg_scalar_long): Fix type to include scalar.
(do_neon_dup): Likewise.
(do_neon_mov): Likewise (in several places).
(do_neon_tbl_tbx): Fix type.
(do_neon_ld_st_interleave, neon_alignment_bit, do_neon_ld_st_lane)
(do_neon_ld_dup): Exit early in case of errors and/or use
first_error.
(opcode_lookup): Update for parse_neon_type returning SUCCESS/FAIL.
Handle .dn/.qn directives.
(REGDEF): Add zero for reg_entry neon field.