OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago2005-09-19 David Edelsohn <edelsohn@gnu.org>
David Edelsohn [Tue, 20 Sep 2005 03:13:02 +0000 (03:13 +0000)]
2005-09-19  David Edelsohn  <edelsohn@gnu.org>

        * configure.in (powerpc-*-aix*): Add target-libssp to noconfigdirs.
        (rs6000-*-aix*): Same.
        * configure: Regenerate.

2005-09-14  Francois-Xavier Coudert  <coudert@clipper.ens.fr>

        * configure.in: Recognize f95 in the --enable-languages option,
        and substitute it for fortran, issuing a warning.
        * configure: Regenerate.

18 years ago * read.c (pseudo_set): Set segment of expression syms to expr_section.
Alan Modra [Tue, 20 Sep 2005 03:06:13 +0000 (03:06 +0000)]
* read.c (pseudo_set): Set segment of expression syms to expr_section.

18 years ago * ldlang.h (lang_output_section_statement_struct): Change type of
Alan Modra [Tue, 20 Sep 2005 03:00:53 +0000 (03:00 +0000)]
* ldlang.h (lang_output_section_statement_struct): Change type of
"processed" to bfd_boolean.
* ldexp.c (fold_name): Update references to os->processed.
* ldlang.c (lang_output_section_statement_lookup_1): Likewise.
(lang_size_sections_1): Likewise.
(lang_reset_memory_regions): Likewise.

18 years agodaily update
Alan Modra [Tue, 20 Sep 2005 00:00:10 +0000 (00:00 +0000)]
daily update

18 years ago * elflink.c (_bfd_elf_merge_symbol): Simplify.
Alan Modra [Mon, 19 Sep 2005 23:30:05 +0000 (23:30 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Simplify.

18 years ago PR ld/1353
Alan Modra [Mon, 19 Sep 2005 23:17:47 +0000 (23:17 +0000)]
PR ld/1353
* ldlang.c (lang_size_sections_1): Process addr_tree earlier,
so that unused output section statements affect dot.

18 years ago * elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
Alan Modra [Mon, 19 Sep 2005 09:35:26 +0000 (09:35 +0000)]
* elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
branch offset is in range with an error.  Print full stub name on
errors.
(ppc_size_one_stub): Print full stub name on errors.
(group_sections): Warn if section size exceeds group size.
(ppc64_elf_size_stubs): Continue relaxing when stub types change.

18 years agodaily update
Alan Modra [Mon, 19 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sun, 18 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 17 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Fri, 16 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update

18 years agomerge from gcc
DJ Delorie [Thu, 15 Sep 2005 01:04:05 +0000 (01:04 +0000)]
merge from gcc

18 years agodaily update
Alan Modra [Thu, 15 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agogas/
Jan Beulich [Wed, 14 Sep 2005 06:33:25 +0000 (06:33 +0000)]
gas/
2005-09-14  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
registers, floating point control and status words, and mxcsr as
well as (for 64-bit code) segment base registers and rflags.

18 years agodaily update
Alan Modra [Wed, 14 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Tue, 13 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Mon, 12 Sep 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sun, 11 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 10 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago * elf32-am33lin.c (bfd.h, sysdep.h, elf-bfd.h, elf/mn10300.h):
Kevin Buettner [Fri, 9 Sep 2005 18:26:03 +0000 (18:26 +0000)]
* elf32-am33lin.c (bfd.h, sysdep.h, elf-bfd.h, elf/mn10300.h):
Include.
(elf32_am33lin_grok_prstatus, elf32_am33lin_grok_psinfo): New
functions.
(elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.

18 years ago * readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
Richard Earnshaw [Fri, 9 Sep 2005 13:12:21 +0000 (13:12 +0000)]
* readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
SHT_ARM_ATTRIBUTES.

18 years ago * elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP
Richard Earnshaw [Fri, 9 Sep 2005 13:10:01 +0000 (13:10 +0000)]
* elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP
and SHT_ARM_ATTRIBUTES.

18 years ago * arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.
Richard Earnshaw [Fri, 9 Sep 2005 13:06:21 +0000 (13:06 +0000)]
* arm.h (SHT_ARM_PREEMPTMAP, SHT_ARM_ATTRIBUTES): New defines.

18 years ago2005-09-09 Dmitry Diky <diwil@spec.ru>
Dmitry Diky [Fri, 9 Sep 2005 08:46:19 +0000 (08:46 +0000)]
2005-09-09  Dmitry Diky  <diwil@spec.ru>

        * config/tc-msp430.c (msp430_operands): Undo last changes. Instead...
(msp430_relax_frag): add a guard check to ensure that final fr_subtype
has been reached.

18 years ago2005-09-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 9 Sep 2005 05:11:51 +0000 (05:11 +0000)]
2005-09-08  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_get_linked_section_vma): Fix a typo in comment.
* elfxx-ia64.c (elf_backend_link_order_error_handler): Likewise.

18 years agodaily update
Alan Modra [Fri, 9 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago* doc/as.texinfo: Document -mdsp and -mno-dsp options.
Chao-ying Fu [Thu, 8 Sep 2005 18:05:15 +0000 (18:05 +0000)]
* doc/as.texinfo: Document -mdsp and -mno-dsp options.
* doc/c-mips.texi: Likewise, and document ".set dsp" and ".set nodsp"
directives.

18 years ago * ld.texinfo: Document -z {no,}execstack, -z {no,}relro
Jakub Jelinek [Thu, 8 Sep 2005 16:03:26 +0000 (16:03 +0000)]
* ld.texinfo: Document -z {no,}execstack, -z {no,}relro
and --eh-frame-hdr options.

18 years ago2005-09-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 8 Sep 2005 14:24:22 +0000 (14:24 +0000)]
2005-09-08  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1263
* elflink.c (elf_link_add_object_symbols): Abort for
--just-symbols on DSO.

18 years ago2005-09-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 8 Sep 2005 12:49:27 +0000 (12:49 +0000)]
2005-09-08  Paul Brook  <paul@codesourcery.com>

bfd/
* reloc.c: Rename BFD_RELOC_ARM_SMI to BFD_RELOC_ARM_SMC.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
opcodes/
* arm-dis.c (arm_opcodes, thumb32_opcodes): Rename smi to smc.
gas/
* config/tc-arm.c (do_smi, do_t_smi): Rename ...
(do_smc, do_t_smc): ... to this.
(insns): Remane smi to smc.
(md_apply_fix, tc_gen_reloc): Rename BFD_RELOC_ARM_SMI to
BFD_RELOC_ARM_SMC.
gas/testsuite/
* gas/arm/arch6zk.d: Rename smi to smc.
* gas/arm/arch6zk.s: Ditto.
* gas/arm/thumb32.d: Ditto.
* gas/arm/thumb32.s: Ditto.

18 years agoRemove extraneous line.
Andreas Schwab [Thu, 8 Sep 2005 10:08:34 +0000 (10:08 +0000)]
Remove extraneous line.

18 years agodaily update
Alan Modra [Thu, 8 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago * dwarf2dbg.c (dwarf2_where): Set line->isa.
Richard Henderson [Wed, 7 Sep 2005 19:22:42 +0000 (19:22 +0000)]
    * dwarf2dbg.c (dwarf2_where): Set line->isa.
        (dwarf2_set_isa): New.
        (dwarf2_directive_loc): Rearrange to allow all options on one line.
        * dwarf2dbg.h (dwarf2_set_isa): Declare.
        * doc/as.texinfo: Update .loc documentation.

        * gas/lns/lns-common-1.d: Don't match header or special opcode numbers.
        * gas/lns/lns-common-1.s: Update for syntax change.
        * gas/lns/lns-diag-1.[sl]: Likewise.

18 years ago * gas/mips/mips16-dwarf2.d: Don't match anything but address and line
Richard Henderson [Wed, 7 Sep 2005 19:08:54 +0000 (19:08 +0000)]
    * gas/mips/mips16-dwarf2.d: Don't match anything but address and line
        number increments.  Adjust relocation address.
        * gas/mips/mips16-dwarf2-n32.d: Likewise.  Add "N32" to test name.

18 years ago * gas/cris/rd-dw2-1.d: Don't match anything but address and line
Richard Henderson [Wed, 7 Sep 2005 18:46:16 +0000 (18:46 +0000)]
    * gas/cris/rd-dw2-1.d: Don't match anything but address and line
        number increments.
        * gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d,
        gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d,
        gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d, gas/cris/rd-dw2-4.d,
        gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, gas/cris/rd-dw2-7.d,
        gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d: Likewise.

18 years ago2005-09-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Sep 2005 16:25:35 +0000 (16:25 +0000)]
2005-09-07  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (get_elf_section_flags): Handle 64bit sh_flags.

18 years ago * dwarf2dbg.c: Include safe-ctype.h.
Richard Henderson [Wed, 7 Sep 2005 11:41:25 +0000 (11:41 +0000)]
    * dwarf2dbg.c: Include safe-ctype.h.
        (DWARF2_LINE_OPCODE_BASE): Bump to 13.
        (current): Initialize.
        (dwarf2_emit_insn): Clear DWARF2_FLAG_BASIC_BLOCK,
        DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN.
        (dwarf2_directive_file): Cope with invalid filename.
        (dwarf2_directive_loc): Add handling for basic_block, prologue_end,
        epilogue_begin, is_stmt, isa.
        (emit_inc_line_addr): Move line_delta == 0, addr_delta == 0 special
        case down lower.
        (process_entries): Handle isa, DWARF2_FLAG_PROLOGUE_END,
        and DWARF2_FLAG_EPILOGUE_BEGIN.
        (out_debug_line): Emit sizes for DW_LNS_set_prologue_end,
        DW_LNS_set_epilogue_begin, DW_LNS_set_isa.
        * dwarf2dbg.h (DWARF2_FLAG_IS_STMT): Rename from DWARF2_FLAG_BEGIN_STMT.        (DWARF2_FLAG_BASIC_BLOCK): Rename from DWARF2_FLAG_BEGIN_BLOCK.
        (DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN): New.
        (struct dwarf2_line_info): Add isa member.
        * doc/as.texinfo (LNS directives): New node.

18 years ago* config/tc-mips.c (append_insn): Undo last change. Instead add
David Ung [Wed, 7 Sep 2005 11:39:17 +0000 (11:39 +0000)]
* config/tc-mips.c (append_insn): Undo last change.  Instead add
guard to suppress calling frag_grow if the current instruction is
one that allows a delay slot.

18 years ago * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
Alan Modra [Wed, 7 Sep 2005 06:27:36 +0000 (06:27 +0000)]
* ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section.
(exp_fold_tree_1): Print assert message only in final stage of
linking.  Trigger assertion failure if expression cannot be
evaluated.

18 years ago2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Sep 2005 05:01:53 +0000 (05:01 +0000)]
2005-09-06  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1263
* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
--just-symbols on DSO.

18 years ago2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 7 Sep 2005 05:01:16 +0000 (05:01 +0000)]
2005-09-06  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1301
* elflink.c (_bfd_elf_merge_symbol): Don't check undefined
symbol introduced by "ld -u" for TLS.

18 years ago Import from Autoconf sources:
Ben Elliston [Wed, 7 Sep 2005 00:42:19 +0000 (00:42 +0000)]
Import from Autoconf sources:

2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
* move-if-change: Don't output "$2 is unchanged"; suggested by Ben
Elliston.  Handle weird characters correctly.

18 years agodaily update
Alan Modra [Wed, 7 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago* gas/mips/mips.exp: Run MT test for mips32r2 only.
Chao-ying Fu [Tue, 6 Sep 2005 18:56:21 +0000 (18:56 +0000)]
* gas/mips/mips.exp: Run MT test for mips32r2 only.
* gas/mips/mips32-mt.[sdl]: New test.

18 years ago* config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.
Chao-ying Fu [Tue, 6 Sep 2005 18:53:03 +0000 (18:53 +0000)]
* config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.
(mips_opts): Add -1 to initialize ase_mt.
(file_ase_mt): New variable for -mmt.
(CPU_HAS_MT): New define.
(validate_mips_insn): Add supports for +t, +T, !, $, *, &, g operand
formats.
(mips_ip): Check ase_mt to enable MT instructions.
Handle !, $, *, &, +T, +t, g operand formats.
For "mftc1", "mfthc1", "cftc1", "mttc1", "mtthc1", "cttc1", we allow
odd float registers.
(OPTION_MT, OPTION_NO_MT): New define.
(OPTION_COMPAT_ARCH_BASE): Change because of inserting MT define.
(md_parse_option): Parse OPTION_MT and OPTION_NO_MT.
(mips_after_parse_args): Set ase_mt based on CPU.
(s_mipsset): Handle ".set mt" and ".set nomt".
(mips_elf_final_processing): Remind of adding new flag for MT ASE.
(md_show_usage): Show usage of -mmt and -mno-mt.
* doc/as.texinfo: Document -mmt and -mno-mt options.
* doc/c-mips.texi: Likewise, and document ".set mt" and ".set nomt"
directives.

18 years ago* mips-opc.c (MT32): New define.
Chao-ying Fu [Tue, 6 Sep 2005 18:46:57 +0000 (18:46 +0000)]
* mips-opc.c (MT32): New define.
(mips_builtin_opcodes): Move "bc0f", "bc0fl", "bc0t", "bc0tl" to the
bottom to avoid opcode collision with "mftr" and "mttr".
Add MT instructions.
* mips-dis.c (mips_arch_choices): Enable INSN_MT for mips32r2.
(print_insn_args): Add supports for +t, +T, !, $, *, &, g operand
formats.

18 years agoRemove duplicated chunk in previous patch.
Paul Brook [Tue, 6 Sep 2005 18:43:45 +0000 (18:43 +0000)]
Remove duplicated chunk in previous patch.

18 years ago* mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
Chao-ying Fu [Tue, 6 Sep 2005 18:42:58 +0000 (18:42 +0000)]
* mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
OP_SH_MTACC_T, OP_MASK_MTACC_T, OP_SH_MTACC_D, OP_MASK_MTACC_D): New
define.
Document !, $, *, &, g, +t, +T operand formats for MT instructions.
(INSN_ASE_MASK): Update to include INSN_MT.
(INSN_MT): New define for MT ASE.

18 years ago2005-09-06 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 6 Sep 2005 16:59:24 +0000 (16:59 +0000)]
2005-09-06  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_it): Add relax field.
(T16_32_TAB): Add addi, addis, add_pc, add_sp, dec_sp, inc_sp,
b, bcond, ldr_pc, ldr_pc2, ldr_sp, str_sp, subi, subis.
(do_t_add_sub, do_t_addr, do_t_branch, do_t_ldst,
do_t_mov_cmp): Allow relaxation.
(output_relax_insn): New function.
(put_thumb32_insn): New function.
(output_inst): Use new functions.
(md_assemble): Don't throw error on relaxable instructions.
(insns): Change "b" entry from TCE(...) to tCE(...).
(md_estimate_size_before_relax): Return 2.
(md_convert_frag, relax_immediate, relax_adr, relax_addsub,
relax_branch, arm_relax_frag): New functions.
(arm_force_relocation): Return 0 for Thumb-2 immediate operand
relocations.
* config/tc-arm.h (md_convert_frag): Remove definition.
(md_relax_frag): Define.
(arm_relax_frag): Add prototype.
gas/testsuite/
* gas/arm/thumb2_relax.d: New test.
* gas/arm/thumb2_relax.s: New test.
* gas/arm/thumb32.d: Adjust expected results to include relaxation.
* gas/arm/thumb32.s: Tweak for better coverage of relaxable
instructions.  Remove load/store tests.

18 years ago2005-09-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 6 Sep 2005 15:57:06 +0000 (15:57 +0000)]
2005-09-02  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints.
gas/testsuite/
* gas/arm/arm3-bad.s: New test.
* gas/arm/arm3-bad.d: New test.
* gas/arm/arm3.s: Avoid illegal instructions.
* gas/arm/arm3.d: Ditto.

18 years agodaily update
Alan Modra [Tue, 6 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Mon, 5 Sep 2005 00:00:09 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sun, 4 Sep 2005 00:00:11 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 3 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago2005-09-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 2 Sep 2005 14:54:27 +0000 (14:54 +0000)]
2005-09-02  Paul Brook  <paul@codesourcery.com>

* arm-dis.c (coprocessor_opcodes): Add null terminator.

18 years ago2005-09-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 2 Sep 2005 13:36:33 +0000 (13:36 +0000)]
2005-09-02  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (debug_abbrev_contents): New.
(debug_abbrev_size): Likewise.
(load_debug_abbrev): Likewise.
(free_debug_abbrev): Likewise.
(process_debug_info): Use them.

18 years ago2005-09-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 2 Sep 2005 13:12:45 +0000 (13:12 +0000)]
2005-09-02  Paul Brook  <paul@codesourcery.com>

bfd/
* libbdf.h: Regenerate.
* bfd-in2.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_T32_CP_OFF_IMM and
BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
gas/
* config/tc-arm.c (encode_arm_cp_address): Use
BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode.
(do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb
mode.
(md_assemble): Only allow coprocessor instructions when Thumb-2 is
available.
(cCE, cC3): Define.
(insns): Use them for coprocessor instructions.
(md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM.
(get_thumb32_insn): New function.
(put_thumb32_insn): New function.
(md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and
BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
gas/testsuite/
* gas/arm/vfp-bad_t2.d, gas/arm/vfp-bad_t2.l, arm/vfp-bad_t2.s,
gas/arm/vfp1_t2.d, gas/arm/vfp1_t2.s, gas/arm/vfp1xD_t2.d,
gas/arm/vfp1xD_t2.s, gas/arm/vfp2_t2.d, gas/arm/vfp2_t2.s): New files.
opcodes/
* arm-dis.c (coprocessor_opcodes): New.
(arm_opcodes, thumb32_opcodes): Remove coprocessor insns.
(print_insn_coprocessor): New function.
(print_insn_arm): Use print_insn_coprocessor.  Remove coprocessor
format characters.
(print_insn_thumb32): Use print_insn_coprocessor.

18 years ago2005-09-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Fri, 2 Sep 2005 12:50:44 +0000 (12:50 +0000)]
2005-09-02  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (opcode_lookup): Look for infix opcode when
incorrect suffix matches.
gas/testsuite/
* gas/arm/fpa-mem.d: Test "stfpls".
* gas/arm/fpa-mem.s: Ditto.

18 years agodaily update
Alan Modra [Fri, 2 Sep 2005 00:00:10 +0000 (00:00 +0000)]
daily update

18 years ago2005-08-30 Phil Edwards <phil@codesourcery.com>
DJ Delorie [Thu, 1 Sep 2005 21:03:00 +0000 (21:03 +0000)]
2005-08-30  Phil Edwards  <phil@codesourcery.com>

* configure.in (*-*-vxworks*):  Add target-libstdc++-v3 to noconfigdirs.
* configure:  Regenerated.

18 years ago* config/tc-mips.c (append_insn): Correctly handle mips16 case
David Ung [Thu, 1 Sep 2005 16:35:41 +0000 (16:35 +0000)]
* config/tc-mips.c (append_insn): Correctly handle mips16 case
when the frags are different for the 2 instructions we want to
swap.  If the lengths of the 2 instructions are not the same, we
won't do the swap but emit an nop.

18 years ago2005-09-01 Dmitry Diky <diwil@spec.ru>
Dmitry Diky [Thu, 1 Sep 2005 12:41:25 +0000 (12:41 +0000)]
2005-09-01  Dmitry Diky  <diwil@spec.ru>

* config/tc-msp430.c (msp430_operands): Emit dwarf2_emit_insn()
as appropriate. Change frag_variant() to frag_var() for relaxes.

18 years ago2005-09-01 Dmitry Diky <diwil@spec.ru>
Dmitry Diky [Thu, 1 Sep 2005 11:27:15 +0000 (11:27 +0000)]
2005-09-01  Dmitry Diky <diwil@spec.ru>

* elf32-msp430.c (msp430_elf_relax_delete_bytes): Do not adjust
local symbols and move it to
(msp430_elf_relax_adjust_locals): New function - walk over the
sections in the bfd and adjust relocations as necessary.

18 years ago * ld-cris: Skip tests unsuitable for testing target
Hans-Peter Nilsson [Thu, 1 Sep 2005 01:47:25 +0000 (01:47 +0000)]
* ld-cris: Skip tests unsuitable for testing target
cris-axis-linux-gnu.

18 years ago * gas/cris: Adjust all files for testing target
Hans-Peter Nilsson [Thu, 1 Sep 2005 00:33:11 +0000 (00:33 +0000)]
* gas/cris: Adjust all files for testing target
cris-axis-linux-gnu.

18 years agodaily update
Alan Modra [Thu, 1 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago* elf32-i386.c (elf_i386_check_relocs): Don't cast a unary &
DJ Delorie [Wed, 31 Aug 2005 23:45:46 +0000 (23:45 +0000)]
* elf32-i386.c (elf_i386_check_relocs): Don't cast a unary &
address operator, as that breaks GCC's strict aliasing rules.
(elf_i386_size_dynamic_sections): Avoid the need for type
punning.
* elf64-x86-64.c (elf_x86_64_check_relocs): Don't cast a unary
& address operator, as that breaks GCC's strict aliasing
rules.
(elf_x86_64_size_dynamic_sections): Avoid the need for type
punning.

18 years agodaily update
Alan Modra [Wed, 31 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago(i[3-7]86-*-vxworks): Match vxworks* instead.
Nick Clifton [Tue, 30 Aug 2005 16:06:00 +0000 (16:06 +0000)]
(i[3-7]86-*-vxworks):  Match vxworks* instead.

18 years ago2005-08-30 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 30 Aug 2005 11:21:59 +0000 (11:21 +0000)]
2005-08-30  Paul Brook  <paul@codesourcery.com>

opcodes/
* arm-dis.c (thumb_opcodes): Disassemble sub(3) as subs.
gas/testsuite/
* gas/arm/thumb.d: Change "sub rn, rn, rn" to "subs rn, rn, rn".
* gas/arm/thumb32.d: Ditto.

18 years agodaily update
Alan Modra [Tue, 30 Aug 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years ago2005-08-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 29 Aug 2005 22:25:04 +0000 (22:25 +0000)]
2005-08-29  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1247
* elfxx-ia64.c (allocate_fptr): Check undefined symbol.

18 years ago(_bfd_mips_elf_relocate_section): Initialise 'value' to avoid compile time
Nick Clifton [Mon, 29 Aug 2005 16:42:15 +0000 (16:42 +0000)]
(_bfd_mips_elf_relocate_section): Initialise 'value' to avoid compile time
warning message.

18 years ago(generic_force_reloc): Do not call S_FORCE_RELOC if there is no symbol.
Nick Clifton [Mon, 29 Aug 2005 16:30:14 +0000 (16:30 +0000)]
(generic_force_reloc): Do not call S_FORCE_RELOC if there is no symbol.

18 years agodaily update
Alan Modra [Mon, 29 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sun, 28 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 27 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agogas/
Jan Beulich [Fri, 26 Aug 2005 15:51:15 +0000 (15:51 +0000)]
gas/
2005-08-26  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (intel_e09): Set JumpAbsolute when seeing a PTR-
qualified operand of a branch.
(intel_bracket_expr): Set JumpAbsolute here...
(intel_e11): ... rather than here.

gas/testsuite/
2005-08-26  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intel.s: Adjust.
* gas/i386/intelok.s: Add two more insns.
* gas/i386/intelok.d: Adjust.

18 years agoopcodes/
Jan Beulich [Fri, 26 Aug 2005 15:33:43 +0000 (15:33 +0000)]
opcodes/
2005-08-26  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (intel_operand_size): New, broken out from OP_E for
re-use.
(OP_E): Call intel_operand_size, move call site out of mode
dependent code.
(OP_OFF): Call intel_operand_size if suffix_always. Remove
ATTRIBUTE_UNUSED from parameters.
(OP_OFF64): Likewise.
(OP_ESreg): Call intel_operand_size.
(OP_DSreg): Likewise.
(OP_DIR): Use colon rather than semicolon as separator of far
jump/call operands.

gas/testsuite/
2005-08-26  Jan Beulich  <jbeulich@novell.com>

* gas/i386/intelok.d: Adjust.

18 years agoRe-enable GAS for z8k-coff
Nick Clifton [Fri, 26 Aug 2005 09:47:49 +0000 (09:47 +0000)]
Re-enable GAS for z8k-coff

18 years agodaily update
Alan Modra [Fri, 26 Aug 2005 00:00:10 +0000 (00:00 +0000)]
daily update

18 years ago* gas/mips/mips.exp: Run DSP test.
Chao-ying Fu [Thu, 25 Aug 2005 18:21:47 +0000 (18:21 +0000)]
* gas/mips/mips.exp: Run DSP test.
* gas/mips/mips32-dsp.[sdl]: New test.

18 years ago* config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions.
Chao-ying Fu [Thu, 25 Aug 2005 18:17:36 +0000 (18:17 +0000)]
* config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions.
(mips_opts): Add -1 to initialize ase_dsp.
(file_ase_dsp): New variable for -mdsp.
(CPU_HAS_DSP): New define.
(validate_mips_insn): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, ', :, @
operand formats.
(mips_ip): Add min_range and max_range for checking singed numbers.
Check ase_dsp to enable DSP instructions.
Handle 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats.
(OPTION_DSP, OPTION_NO_DSP): New define.
(OPTION_COMPAT_ARCH_BASE): Change because of inserting DSP define.
(md_parse_option): Parse OPTION_DSP and OPTION_NO_DSP.
(mips_after_parse_args): Set ase_dsp based on CPU.
(s_mipsset): Handle ".set dsp" and ".set nodsp".
(mips_elf_final_processing): Remind of adding new flag for DSP ASE.
(md_show_usage): Show usage of -mdsp and -mno-dsp.

18 years ago* mips-opc.c (WR_a, RD_a, MOD_a, DSP_VOLA, D32): New define.
Chao-ying Fu [Thu, 25 Aug 2005 18:12:44 +0000 (18:12 +0000)]
* mips-opc.c (WR_a, RD_a, MOD_a, DSP_VOLA, D32): New define.
(mips_builtin_opcodes): Add DSP instructions.
* mips-dis.c (mips_arch_choices): Enable INSN_DSP for mips32, mips32r2,
mips64, mips64r2.
(print_insn_args): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, :, ', @
operand formats.

18 years ago* mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,
Chao-ying Fu [Thu, 25 Aug 2005 18:09:24 +0000 (18:09 +0000)]
* mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S,
OP_MASK_DSPACC_S, OP_SH_DSPSFT, OP_MASK_DSPSFT, OP_SH_DSPSFT_7,
OP_MASK_DSPSFT_7, OP_SH_SA3, OP_MASK_SA3, OP_SH_SA4, OP_MASK_SA4,
OP_SH_IMM8, OP_MASK_IMM8, OP_SH_IMM10, OP_MASK_IMM10, OP_SH_WRDSP,
OP_MASK_WRDSP, OP_SH_RDDSP, OP_MASK_RDDSP): New define.
Document 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ operand formats for DSP
instructions.
(INSN_DSP): New define for DSP ASE.

18 years ago * elf32-sh.c (sh_elf_get_flags_from_mach): Fix off-by-one error.
Kaz Kojima [Thu, 25 Aug 2005 05:10:22 +0000 (05:10 +0000)]
* elf32-sh.c (sh_elf_get_flags_from_mach): Fix off-by-one error.

18 years ago2005-08-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 25 Aug 2005 02:32:11 +0000 (02:32 +0000)]
2005-08-24  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1208
* elf-hppa.h (elf_hppa_relocate_section): Print out the name
of unresolvable relocation.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-arm.c (elf32_arm_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.

18 years agodaily update
Alan Modra [Thu, 25 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Wed, 24 Aug 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years agoSync from gcc sources:
Richard Earnshaw [Tue, 23 Aug 2005 18:13:01 +0000 (18:13 +0000)]
Sync from gcc sources:
        * Makefile.def (libssp): Add to lang_env_dependencies.
        * Makefile.in: Regenerate.

18 years ago* config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
David Ung [Tue, 23 Aug 2005 11:32:42 +0000 (11:32 +0000)]
* config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
cpu names.

18 years ago* mips16-opc.c (mips16_opcodes): Add the MIPS16e jalrc/jrc
David Ung [Tue, 23 Aug 2005 11:06:10 +0000 (11:06 +0000)]
* mips16-opc.c (mips16_opcodes): Add the MIPS16e jalrc/jrc
instructions to the table.

18 years ago PR 1036
Alan Modra [Tue, 23 Aug 2005 06:18:45 +0000 (06:18 +0000)]
PR 1036
* config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.

18 years ago * configure.tgt (*-*-vxworks): Match vxworks* instead.
Alan Modra [Tue, 23 Aug 2005 03:23:12 +0000 (03:23 +0000)]
* configure.tgt (*-*-vxworks):  Match vxworks* instead.

18 years agodaily update
Alan Modra [Tue, 23 Aug 2005 00:00:08 +0000 (00:00 +0000)]
daily update

18 years agogas/
Jan Beulich [Mon, 22 Aug 2005 12:37:37 +0000 (12:37 +0000)]
gas/
2005-08-22  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (object_64bit): New.
(i386_target_format): Initialize it.
(output_disp): Use object_64bit for relocation type determination.
(output_imm): Likewise.
(i386_validate_fix): Likewise.
(tc_gen_reloc): Likewise.
(lex_got): Likewise. Remove static mode_name. Change array size
of gotrel's rel field, and adjust its initializer. Adjust diagnostic.
(x86_cons): Use object_64bit for deciding whether quad fields can
have relocations.

gas/testsuite/
2005-08-22  Jan Beulich  <jbeulich@novell.com>

* gas/i386/mixed-mode-reloc.s, gas/i386/mixed-mode-reloc32.d,
gas/i386/mixed-mode-reloc64.d: New.
* gas/i386/i386.exp: Run new tests.

18 years agodaily update
Alan Modra [Mon, 22 Aug 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sun, 21 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Sat, 20 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agodaily update
Alan Modra [Fri, 19 Aug 2005 00:00:07 +0000 (00:00 +0000)]
daily update