2010-08-02 15:53:29 +02:00
|
|
|
|
2010-08-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-d30v.c (d30v_cons_align): Don't align constants
|
|
|
|
|
in debug sections.
|
|
|
|
|
|
2010-08-02 15:19:44 +02:00
|
|
|
|
2010-08-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11867
|
|
|
|
|
* expr.c (operand <'-' and '~'>): Widen bignums.
|
|
|
|
|
(operand <'!'>): Correct bignum result and convert to O_constant.
|
|
|
|
|
* read.c (emit_expr): Don't assert on .byte bignum. Don't display
|
|
|
|
|
bignum truncated warning for sign extended bignums.
|
|
|
|
|
|
2010-08-02 10:43:18 +02:00
|
|
|
|
2010-08-02 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-v850.c (md_assemble): Always pass format string to
|
|
|
|
|
as_warn.
|
|
|
|
|
(md_apply_fix): Similarly for as_warn_where.
|
|
|
|
|
|
2010-07-29 21:23:38 +02:00
|
|
|
|
2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386-intel.c: Reformat.
|
|
|
|
|
|
2010-07-29 09:48:43 +02:00
|
|
|
|
2010-07-29 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
|
|
|
|
|
in large toc code.
|
|
|
|
|
|
2010-07-28 11:36:22 +02:00
|
|
|
|
2010-07-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11841
|
|
|
|
|
* symbols.c (symbol_clone): Correct typo in previous patch.
|
|
|
|
|
|
2010-07-28 10:43:46 +02:00
|
|
|
|
2010-07-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11841
|
|
|
|
|
* symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
|
|
|
|
|
|
2010-07-28 07:21:38 +02:00
|
|
|
|
2010-07-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
|
|
|
|
|
syntax error message.
|
|
|
|
|
|
2010-07-27 23:04:59 +02:00
|
|
|
|
2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (mips16_macro_build): Pass "args" by
|
|
|
|
|
reference rather than value.
|
|
|
|
|
(macro_build): Update accordingly.
|
|
|
|
|
|
|
|
|
|
2010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
|
2010-07-27 23:02:34 +02:00
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
|
|
|
|
|
a fake label.
|
|
|
|
|
|
2010-07-24 03:51:53 +02:00
|
|
|
|
2010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
|
|
|
|
|
delay slot in the noreorder mode with the o32 ABI.
|
|
|
|
|
|
2010-07-23 16:52:54 +02:00
|
|
|
|
2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
|
|
|
|
|
Ina Pandit <ina.pandit@kpitcummins.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-v850.c: Update processor_mask.
|
|
|
|
|
(reg_name): Update the structure to use processors field.
|
|
|
|
|
(md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
|
|
|
|
|
SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
|
|
|
|
|
SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
|
|
|
|
|
SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
|
|
|
|
|
SUBYPTE_SA_9_17_22_32.
|
|
|
|
|
(set_machine): Add support for V850E2 and V850E2V3.
|
|
|
|
|
(md_pseudo_table): Likewise.
|
|
|
|
|
(pre_defined_registers): Update pre defined registers suitable
|
|
|
|
|
for each family of registers.
|
|
|
|
|
(system_registers): Likewise.
|
|
|
|
|
(cc_names): Update the condition code.
|
|
|
|
|
(float_cc_names): Update the condition code for float.
|
|
|
|
|
(reg_name_search): Update based on current modifications.
|
|
|
|
|
(register_name): Likewise.
|
|
|
|
|
(system_register_name): Update to support new system registers
|
|
|
|
|
and supported families.
|
|
|
|
|
(cc_name): Update to support new condition codes.
|
|
|
|
|
(float_cc_name): New function to support float condition codes.
|
|
|
|
|
(parse_register_list): Update to support newly added registers.
|
|
|
|
|
(md_show_usage): Define support for V850E2 and V850E2V3 targets.
|
|
|
|
|
Also support added for disp-size-default-22, disp-size-default-32,
|
|
|
|
|
mextension, mno-bcond17 and mno-stld23.
|
|
|
|
|
(md_parse_option): Implement the support for above options defined
|
|
|
|
|
in md_show-usage.
|
|
|
|
|
(md_convert_frag): Implement support for subtypes defined in
|
|
|
|
|
md_relax_table to support branch operations.
|
|
|
|
|
(md_begin): Add support for V850E2 and V850E2V3.
|
|
|
|
|
(handle_hi016, handle_hi16): new relocation handling functions
|
|
|
|
|
(handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
|
|
|
|
|
handle_tdaoff): Updated relocation handling functions for newly
|
|
|
|
|
added relocations.
|
|
|
|
|
(v850_reloc_prefix): Update the relocation handling functions.
|
|
|
|
|
(v850_insert_operand): Updated the functions with error message
|
|
|
|
|
parameter and modified the function to use it.
|
|
|
|
|
(md_assemble): Update according to the latest modifications.
|
|
|
|
|
(md_apply_fix): Updated the functions with error message parameter
|
|
|
|
|
and modified the function to use it.
|
|
|
|
|
(v850_force_relocation): Update with newly added relocations.
|
|
|
|
|
* configure.tgt: Match all v850 targets.
|
|
|
|
|
* doc/c-v850.texi: Document the newly added targets.
|
|
|
|
|
* NEWS: Likewise.
|
|
|
|
|
|
2010-07-23 08:44:25 +02:00
|
|
|
|
2010-07-23 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11834
|
|
|
|
|
* macro.c (macro_expand): Recover gracefully from named args that
|
|
|
|
|
don't match params.
|
|
|
|
|
|
2010-07-22 09:39:20 +02:00
|
|
|
|
2010-07-22 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
Switch MIPS to 32-bit DWARF format.
|
|
|
|
|
* config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
|
|
|
|
|
* config/tc-mips.c (mips_dwarf2_format): Likewise.
|
|
|
|
|
|
2010-07-20 07:07:23 +02:00
|
|
|
|
2010-07-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
|
|
|
|
|
|
2010-07-16 08:32:46 +02:00
|
|
|
|
2010-07-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-rx.c (md_estimate_size_before_relax): Fix format
|
|
|
|
|
specifier warnings for 32-bit host when --enable-64-bit-bfd.
|
|
|
|
|
(rx_relax_frag, md_convert_frag): Likewise.
|
|
|
|
|
|
2010-07-20 23:31:13 +02:00
|
|
|
|
2010-07-15 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* gas/NEWS: Add note about --compress-debug-sections.
|
|
|
|
|
* gas/as.c (show_usage): Add --compress-debug-sections and
|
|
|
|
|
--nocompress-debug-sections.
|
|
|
|
|
|
2010-07-15 16:34:42 +02:00
|
|
|
|
2010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/obj-elf.c (get_sym_from_input_line_and_check): New
|
|
|
|
|
function to catch missing pseudo-op arguments.
|
|
|
|
|
(obj_elf_local): Call new function.
|
|
|
|
|
(obj_elf_weak): Likewise.
|
|
|
|
|
(obj_elf_visibility): Likewise.
|
|
|
|
|
(obj_elf_vtable_entry): Likewise.
|
|
|
|
|
(obj_elf_type): Likewise.
|
|
|
|
|
|
2010-07-15 15:42:20 +02:00
|
|
|
|
2010-07-15 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* config/obj-coff-seh.c
|
|
|
|
|
(seh_getelm_data_size): New.
|
|
|
|
|
(seh_read_offset): Handle negative values.
|
|
|
|
|
(obj_coff_seh_push): Handle offset for save-register store.
|
|
|
|
|
(obj_coff_seh_setframe): Add unwind-information for frame.
|
|
|
|
|
(seh_store_elm_data): New.
|
|
|
|
|
(seh_getelm_data_size): Return additionally unaligned element count.
|
|
|
|
|
(seh_make_unwind_entry): Correct tweak about element count.
|
|
|
|
|
|
2010-07-12 22:36:01 +02:00
|
|
|
|
2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11806
|
|
|
|
|
* config/tc-i386-intel.c (i386_intel_simplify): Restore fall
|
|
|
|
|
through patch for O_multiply.
|
|
|
|
|
|
2010-07-11 10:45:51 +02:00
|
|
|
|
2010-07-11 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
PR ld/11612
|
|
|
|
|
* config/obj-coff.c (obj_common_parse): Quote symbol-name.
|
|
|
|
|
|
2010-07-09 00:40:28 +02:00
|
|
|
|
2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
|
|
|
|
|
|
|
|
|
|
* tc-arm.c (OP_oBARRIER): Remove.
|
|
|
|
|
(OP_oBARRIER_I15): Add.
|
|
|
|
|
(po_barrier_or_imm): Add macro.
|
|
|
|
|
(parse_operands): Improve OP_oBARRIER_I15 operand parsing.
|
|
|
|
|
(do_barrier): Check correct immediate range.
|
|
|
|
|
(do_t_barrier): Likewise.
|
|
|
|
|
(barrier_opt_names): Add entries for more symbolic operands.
|
|
|
|
|
(insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
|
|
|
|
|
|
2010-07-08 08:22:24 +02:00
|
|
|
|
2010-07-08 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
|
|
|
|
|
error message.
|
|
|
|
|
|
2010-07-06 02:12:42 +02:00
|
|
|
|
2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
|
|
|
|
|
symbols.
|
|
|
|
|
|
2010-07-06 02:02:46 +02:00
|
|
|
|
2010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (nops_for_insn_or_target): Replace
|
|
|
|
|
MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
|
|
|
|
|
MIPS16_INSN_COND_BRANCH.
|
|
|
|
|
|
2010-07-05 17:07:20 +02:00
|
|
|
|
2010-07-05 Jim Wilson <wilson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR gas/10531
|
|
|
|
|
PR gas/11789
|
|
|
|
|
* dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
|
|
|
|
|
if it isn't empty.
|
|
|
|
|
|
2010-07-05 07:56:11 +02:00
|
|
|
|
2010-07-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-moxie.c (md_apply_fix): Delete set but otherwise
|
|
|
|
|
unused var.
|
|
|
|
|
|
2010-07-04 16:35:53 +02:00
|
|
|
|
2010-07-04 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (CONFIG_OBJS): Removed.
|
|
|
|
|
(GENERIC_OBJS): Likewise.
|
|
|
|
|
(OBJS): Likewise.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
|
2010-07-04 00:15:58 +02:00
|
|
|
|
2010-07-03 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11732
|
|
|
|
|
* config/tc-i386.c (i386_finalize_displacement): Don't call
|
|
|
|
|
section_symbol() with expr_section.
|
|
|
|
|
|
2010-07-03 22:52:24 +02:00
|
|
|
|
2010-07-03 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Add compress-debug.c and compress-debug.h.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* config.in: Add HAVE_ZLIB_H.
|
|
|
|
|
* configure.in: Check for zlib.h.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
|
|
|
|
* as.c (parse_args): Add --compress-debug-sections and
|
|
|
|
|
--nocompress-debug-sections.
|
|
|
|
|
* as.h (flag_compress_debug): New variable.
|
|
|
|
|
* compress-debug.c: New file.
|
|
|
|
|
* compress-debug.h: New file.
|
|
|
|
|
* write.c: Include compress-debug.h.
|
|
|
|
|
(compress_frag): New function.
|
|
|
|
|
(compress_debug): New function.
|
|
|
|
|
(write_object_file): Compress debug sections if requested.
|
|
|
|
|
|
2010-07-03 10:27:23 +02:00
|
|
|
|
2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
|
|
|
|
|
before inverting.
|
|
|
|
|
|
2010-07-03 08:51:56 +02:00
|
|
|
|
2010-07-03 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
|
|
|
|
|
(ppc_setup_opcodes): Likewise. Simplify opcode selection.
|
|
|
|
|
|
2010-07-02 22:24:23 +02:00
|
|
|
|
2010-07-02 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
2010-07-02 22:40:28 +02:00
|
|
|
|
* config/tc-rx.h (md_do_align): New.
|
|
|
|
|
(MAX_MEM_FOR_RS_ALIGN_CODE): New.
|
|
|
|
|
* config/tc-rx.c (nops): New.
|
|
|
|
|
(rx_handle_align): Use various sized nops to align code.
|
|
|
|
|
|
2010-07-02 22:24:23 +02:00
|
|
|
|
* config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
|
|
|
|
|
relaxation.
|
|
|
|
|
(rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
|
|
|
|
|
|
Support AVX Programming Reference (June, 2010)
gas/
2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (June, 2010)
* config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
and .f16c.
* doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
gas/testsuite/
2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (June, 2010)
* gas/i386/arch-10.s: Add xsaveopt.
* gas/i386/x86-64-arch-2.s: Likwise.
* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/f16c-intel.d: New.
* gas/i386/f16c.d: Likewise.
* gas/i386/f16c.s: Likewise.
* gas/i386/fsgs-intel.d: Likewise.
* gas/i386/fsgs.d: Likewise.
* gas/i386/fsgs.s: Likewise.
* gas/i386/rdrnd-intel.d: Likewise.
* gas/i386/rdrnd.d: Likewise.
* gas/i386/rdrnd.s: Likewise.
* gas/i386/x86-64-f16c-intel.d: Likewise.
* gas/i386/x86-64-f16c.d: Likewise.
* gas/i386/x86-64-f16c.s: Likewise.
* gas/i386/x86-64-fsgs-intel.d: Likewise.
* gas/i386/x86-64-fsgs.d: Likewise.
* gas/i386/x86-64-fsgs.s: Likewise.
* gas/i386/x86-64-rdrnd-intel.d: Likewise.
* gas/i386/x86-64-rdrnd.d: Likewise.
* gas/i386/x86-64-rdrnd.s: Likewise.
* gas/i386/i386.exp: Run f16c, f16c-intel, fsgs, fsgs-intel,
rdrnd, rdrnd-intel, x86-64-f16c, x86-64-f16c-intel, x86-64-fsgs,
x86-64-fsgs-intel, x86-64-rdrnd, x86-64-rdrnd-intel.
* gas/i386/x86-64-xsave.s: Add tests for xsaveopt64.
* gas/i386/x86-64-xsave-intel.d: Updated.
* gas/i386/x86-64-xsave.d: Likewise.
opcodes/
2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (June, 2010)
* i386-dis.c (PREFIX_0FAE_REG_0): New.
(PREFIX_0FAE_REG_1): Likewise.
(PREFIX_0FAE_REG_2): Likewise.
(PREFIX_0FAE_REG_3): Likewise.
(PREFIX_VEX_3813): Likewise.
(PREFIX_VEX_3A1D): Likewise.
(prefix_table): Add PREFIX_0FAE_REG_0, PREFIX_0FAE_REG_1,
PREFIX_0FAE_REG_2, PREFIX_0FAE_REG_3, PREFIX_VEX_3813 and
PREFIX_VEX_3A1D.
(vex_table): Add PREFIX_VEX_3813 and PREFIX_VEX_3A1D.
(mod_table): Add PREFIX_0FAE_REG_0, PREFIX_0FAE_REG_1,
PREFIX_0FAE_REG_2, PREFIX_0FAE_REG_3 xsaveopt and rdrnd.
* i386-gen.c (cpu_flag_init): Add CPU_XSAVEOPT_FLAGS,
CPU_FSGSBASE_FLAGS, CPU_RDRND_FLAGS and CPU_F16C_FLAGS.
(cpu_flags): Add CpuXsaveopt, CpuFSGSBase, CpuRdRnd and CpuF16C.
* i386-opc.h (CpuXsaveopt): New.
(CpuFSGSBase):Likewise.
(CpuRdRnd): Likewise.
(CpuF16C): Likewise.
(i386_cpu_flags): Add cpuxsaveopt, cpufsgsbase, cpurdrnd and
cpuf16c.
* i386-opc.tbl: Add xsaveopt, rdfsbase, rdgsbase, rdrnd,
wrfsbase, wrgsbase, vcvtph2ps and vcvtps2ph.
2010-07-01 23:55:02 +02:00
|
|
|
|
2010-07-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
AVX Programming Reference (June, 2010)
|
|
|
|
|
* config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
|
|
|
|
|
and .f16c.
|
|
|
|
|
|
|
|
|
|
* doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
|
|
|
|
|
|
2010-07-01 12:02:46 +02:00
|
|
|
|
2010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
|
|
|
|
|
deprecated mov register instructions.
|
|
|
|
|
|
2010-07-01 06:50:21 +02:00
|
|
|
|
2010-07-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (toc_reloc_types): New variable.
|
|
|
|
|
(md_assemble): Set it.
|
|
|
|
|
(ppc_frob_file_before_adjust): Don't warn about toc section size
|
|
|
|
|
if we have large toc relocs and no small toc relocs.
|
|
|
|
|
|
2010-06-29 06:17:34 +02:00
|
|
|
|
2010-06-29 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-maxq.h: Delete file.
|
|
|
|
|
* config/tc-maxq.c: Delete file.
|
|
|
|
|
* Makefile.am: Remove references to maxq.
|
|
|
|
|
* configure.tgt: Likewise.
|
|
|
|
|
* config/obj-coff.h: Likewise.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* po/POTFILES.in: Regenerate.
|
|
|
|
|
|
* config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
* config/tc-crx.c (gettrap): Constify arg.
(handle_LoadStor, get_cinv_parameters): Likewise.
(getreg_image): Fix enum warning
(md_assemble): Restore input line char.
* config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
* config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
* config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
(build_Mytes): Fix build failure for non-elf targets.
* config/tc-tic4x.c (tic4x_eval): Restore terminator char.
* config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
* cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
* ecoff.c (add_ecoff_symbol): Likewise.
* itbl-ops.c (append_insns_as_macros): Likewise.
* listing.c (debugging_pseudo): Likewise.
* read.c (s_mri_common, stringer): Likewise.
* config/obj-coff.c (coff_frob_section): Likewise.
* config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
* config/tc-arm.c (my_get_expression): Likewise.
* config/tc-hppa.c (process_exit, pa_type_args): Likewise.
* config/tc-m32c.c (md_assemble): Likewise.
* config/tc-microblaze.c (md_convert_frag): Likewise.
* config/tc-mips.c (s_change_section): Likewise.
* config/tc-mt.c (mt_fix_adjustable): Likewise.
* config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
* config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
unused vars.
* config/tc-alpha.c (load_expression): Likewise.
(s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
* config/tc-arm.c (parse_neon_el_struct_list): Likewise.
* config/tc-avr.c (extract_word): Likewise.
* config/tc-cris.c (cris_get_expression): Likewise.
* config/tc-d30v.c (build_insn, find_format): Likewise.
* config/tc-dlx.c (machine_ip): Likewise.
* config/tc-hppa.c (pa_get_absolute_expression): Likewise.
* config/tc-i370.c (md_assemble): Likewise.
* config/tc-i960.c (brtab_emit): Likewise.
* config/tc-iq2000.c (s_iq2000_ent): Likewise.
* config/tc-m32c.c (md_convert_frag): Likewise.
* config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
(md_estimate_size_before_relax, md_apply_fix): Likewise.
* config/tc-m68k.c (md_show_usage): Likewise.
* config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
* config/tc-mips.c (s_mips_end): Likewise.
* config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
* config/tc-mn10300.c (md_assemble): Likewise.
* config/tc-msp430.c (extract_word): Likewise.
* config/tc-mt.c (md_assemble): Likewise.
* config/tc-or32.c (machine_ip): Likewise.
* config/tc-pj.c (md_apply_fix): Likewise.
* config/tc-s390.c (md_gather_operands): Likewise.
* config/tc-sh.c (sh_cons_align): Likewise.
* config/tc-sparc.c (sparc_cons_align): Likewise.
* config/tc-tic4x.c (tic4x_sect): Likewise.
* config/tc-tic54x.c (tic54x_stringer): Likewise.
* config/tc-vax.c (vip_op): Likewise.
* config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
* config/tc-xtensa.c (md_assemble): Likewise.
(xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
(xtensa_move_literals): Likewise.
2010-06-28 16:06:57 +02:00
|
|
|
|
2010-06-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
|
|
|
|
|
* config/tc-crx.c (gettrap): Constify arg.
|
|
|
|
|
(handle_LoadStor, get_cinv_parameters): Likewise.
|
|
|
|
|
(getreg_image): Fix enum warning
|
|
|
|
|
(md_assemble): Restore input line char.
|
|
|
|
|
* config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
|
|
|
|
|
* config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
|
|
|
|
|
* config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
|
|
|
|
|
(build_Mytes): Fix build failure for non-elf targets.
|
|
|
|
|
* config/tc-tic4x.c (tic4x_eval): Restore terminator char.
|
|
|
|
|
* config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
|
|
|
|
|
|
|
|
|
|
* cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
|
|
|
|
|
* ecoff.c (add_ecoff_symbol): Likewise.
|
|
|
|
|
* itbl-ops.c (append_insns_as_macros): Likewise.
|
|
|
|
|
* listing.c (debugging_pseudo): Likewise.
|
|
|
|
|
* read.c (s_mri_common, stringer): Likewise.
|
|
|
|
|
* config/obj-coff.c (coff_frob_section): Likewise.
|
|
|
|
|
* config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
|
|
|
|
|
* config/tc-arm.c (my_get_expression): Likewise.
|
|
|
|
|
* config/tc-hppa.c (process_exit, pa_type_args): Likewise.
|
|
|
|
|
* config/tc-m32c.c (md_assemble): Likewise.
|
|
|
|
|
* config/tc-microblaze.c (md_convert_frag): Likewise.
|
|
|
|
|
* config/tc-mips.c (s_change_section): Likewise.
|
|
|
|
|
* config/tc-mt.c (mt_fix_adjustable): Likewise.
|
|
|
|
|
* config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
|
|
|
|
|
unused vars.
|
|
|
|
|
* config/tc-alpha.c (load_expression): Likewise.
|
|
|
|
|
(s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
|
|
|
|
|
* config/tc-arm.c (parse_neon_el_struct_list): Likewise.
|
|
|
|
|
* config/tc-avr.c (extract_word): Likewise.
|
|
|
|
|
* config/tc-cris.c (cris_get_expression): Likewise.
|
|
|
|
|
* config/tc-d30v.c (build_insn, find_format): Likewise.
|
|
|
|
|
* config/tc-dlx.c (machine_ip): Likewise.
|
|
|
|
|
* config/tc-hppa.c (pa_get_absolute_expression): Likewise.
|
|
|
|
|
* config/tc-i370.c (md_assemble): Likewise.
|
|
|
|
|
* config/tc-i960.c (brtab_emit): Likewise.
|
|
|
|
|
* config/tc-iq2000.c (s_iq2000_ent): Likewise.
|
|
|
|
|
* config/tc-m32c.c (md_convert_frag): Likewise.
|
|
|
|
|
* config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
|
|
|
|
|
(md_estimate_size_before_relax, md_apply_fix): Likewise.
|
|
|
|
|
* config/tc-m68k.c (md_show_usage): Likewise.
|
|
|
|
|
* config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
|
|
|
|
|
* config/tc-mips.c (s_mips_end): Likewise.
|
|
|
|
|
* config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
|
|
|
|
|
* config/tc-mn10300.c (md_assemble): Likewise.
|
|
|
|
|
* config/tc-msp430.c (extract_word): Likewise.
|
|
|
|
|
* config/tc-mt.c (md_assemble): Likewise.
|
|
|
|
|
* config/tc-or32.c (machine_ip): Likewise.
|
|
|
|
|
* config/tc-pj.c (md_apply_fix): Likewise.
|
|
|
|
|
* config/tc-s390.c (md_gather_operands): Likewise.
|
|
|
|
|
* config/tc-sh.c (sh_cons_align): Likewise.
|
|
|
|
|
* config/tc-sparc.c (sparc_cons_align): Likewise.
|
|
|
|
|
* config/tc-tic4x.c (tic4x_sect): Likewise.
|
|
|
|
|
* config/tc-tic54x.c (tic54x_stringer): Likewise.
|
|
|
|
|
* config/tc-vax.c (vip_op): Likewise.
|
|
|
|
|
* config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
|
|
|
|
|
* config/tc-xtensa.c (md_assemble): Likewise.
|
|
|
|
|
(xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
|
|
|
|
|
(xtensa_move_literals): Likewise.
|
|
|
|
|
|
2010-06-28 11:10:25 +02:00
|
|
|
|
2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (parse_neon_alignment): New function.
|
|
|
|
|
(parse_address_main): Fix Neon load/store alignment parsing.
|
|
|
|
|
|
2010-06-22 09:43:41 +02:00
|
|
|
|
2010-06-22 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
|
|
|
|
|
symbols named "$".
|
|
|
|
|
(i386_intel_operand): Remove bogus handling of pseudo symbols
|
|
|
|
|
named "$".
|
|
|
|
|
* expr.c (current_location): Remove 'static' and local
|
|
|
|
|
declaration.
|
|
|
|
|
* expr.h (current_location): Declare.
|
|
|
|
|
|
2010-06-22 01:56:34 +02:00
|
|
|
|
2010-06-21 Sterling Augustine <sterling@tensilica.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11728
|
|
|
|
|
* as.c: Globalize keep_it.
|
|
|
|
|
(main): Remove keep_it. Move conditional from here...
|
|
|
|
|
(close_output_file): ...to here.
|
|
|
|
|
|
2010-06-21 12:49:41 +02:00
|
|
|
|
2010-06-21 Andreas Schwab <schwab@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/as.texinfo (Overview): Use @itemx for grouped @table
|
|
|
|
|
items.
|
|
|
|
|
* doc/c-alpha.texi (Alpha Options): Likewise.
|
|
|
|
|
* doc/c-arm.texi (ARM Directives): Likewise.
|
|
|
|
|
* doc/c-bfin.texi (Blackfin Options): Likewise.
|
|
|
|
|
* doc/c-d10v.texi (D10V-Opts): Likewise.
|
|
|
|
|
* doc/c-i386.texi (i386-Options): Likewise.
|
|
|
|
|
* doc/c-ia64.texi (IA-64 Options): Likewise.
|
|
|
|
|
* doc/c-m68k.texi (M68K-Opts): Likewise.
|
|
|
|
|
* doc/c-tic54x.texi (TIC54X-Directives): Likewise.
|
|
|
|
|
* doc/internals.texi (Symbols): Likewise.
|
|
|
|
|
|
2010-06-21 09:42:55 +02:00
|
|
|
|
2010-06-21 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11733
|
|
|
|
|
* config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
|
|
|
|
|
|
2010-06-19 00:44:20 +02:00
|
|
|
|
2010-06-18 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-tic6x.h (tic6x_segment_info_type): Add field
|
|
|
|
|
func_units_used.
|
|
|
|
|
* config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
|
|
|
|
|
(md_assemble): Clear func_units_used for new execute packet.
|
|
|
|
|
Check for duplicate functional units and update func_units_used
|
|
|
|
|
for instructions using a functional unit.
|
|
|
|
|
|
bfd:
* elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Decrease to 2.
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type,
elf32_tic6x_merge_arch_attributes, elf32_tic6x_merge_attributes,
elf32_tic6x_merge_private_bfd_data): New.
(bfd_elf32_bfd_merge_private_bfd_data,
elf_backend_obj_attrs_arg_type, elf_backend_obj_attrs_section,
elf_backend_obj_attrs_section_type, elf_backend_obj_attrs_vendor):
Define.
* elf32-tic6x.h (elf32_tic6x_merge_arch_attributes): Declare.
binutils:
* readelf.c (display_tic6x_attribute, process_tic6x_specific):
New.
(process_arch_specific): Call process_tic6x_specific for
EM_TI_C6000.
gas:
* config/tc-tic6x.c: Include elf/tic6x.h.
(tic6x_arch_attribute, tic6x_seen_insns): New.
(tic6x_arch_table, tic6x_arches): Add attribute values.
(tic6x_use_arch): Handle attribute settings.
(tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
tic6x_attribute_table, tic6x_attributes,
tic6x_convert_symbolic_attribute): New.
(md_pseudo_table): Add c6xabi_attribute.
(md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
(tic6x_set_attribute_int, tic6x_set_attributes): New.
(tic6x_end): Call tic6x_set_attributes.
* config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
(tic6x_convert_symbolic_attribute): Declare.
gas/testsuite:
* gas/elf/elf.exp: Set target_machine for tic6x-*-*.
* gas/elf/section2.e-tic6x, gas/tic6x/attr-arch-directive-1.d,
gas/tic6x/attr-arch-directive-1.s,
gas/tic6x/attr-arch-directive-2.d,
gas/tic6x/attr-arch-directive-2.s,
gas/tic6x/attr-arch-directive-3.d,
gas/tic6x/attr-arch-directive-3.s,
gas/tic6x/attr-arch-directive-4.d,
gas/tic6x/attr-arch-directive-4.s,
gas/tic6x/attr-arch-directive-5.d,
gas/tic6x/attr-arch-directive-5.s,
gas/tic6x/attr-arch-opts-c62x.d, gas/tic6x/attr-arch-opts-c64x+.d,
gas/tic6x/attr-arch-opts-c64x.d, gas/tic6x/attr-arch-opts-c674x.d,
gas/tic6x/attr-arch-opts-c67x+.d, gas/tic6x/attr-arch-opts-c67x.d,
gas/tic6x/attr-arch-opts-none-1.d,
gas/tic6x/attr-arch-opts-none-2.d,
gas/tic6x/attr-arch-opts-override-1.d,
gas/tic6x/attr-arch-opts-override-2.d, gas/tic6x/empty.s: New.
include/elf:
* tic6x-attrs.h: New.
* tic6x.h: Include elf/tic6x-attrs.h for attribute table.
(C6XABI_Tag_CPU_arch_none, C6XABI_Tag_CPU_arch_C62X,
C6XABI_Tag_CPU_arch_C67X, C6XABI_Tag_CPU_arch_C67XP,
C6XABI_Tag_CPU_arch_C64X, C6XABI_Tag_CPU_arch_C64XP,
C6XABI_Tag_CPU_arch_C674X): Define.
ld:
* emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.
ld/testsuite:
* ld-elf/orphan3.d: Allow section names starting '_'.
* ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d,
ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d,
ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d,
ld-tic6x/attr-arch-c62x.s, ld-tic6x/attr-arch-c64x+-c62x.d,
ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d,
ld-tic6x/attr-arch-c64x+-c674x.d,
ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d,
ld-tic6x/attr-arch-c64x+.s, ld-tic6x/attr-arch-c64x-c62x.d,
ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d,
ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d,
ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c64x.s,
ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d,
ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d,
ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d,
ld-tic6x/attr-arch-c674x.s, ld-tic6x/attr-arch-c67x+-c62x.d,
ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d,
ld-tic6x/attr-arch-c67x+-c674x.d,
ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d,
ld-tic6x/attr-arch-c67x+.s, ld-tic6x/attr-arch-c67x-c62x.d,
ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d,
ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d,
ld-tic6x/attr-arch-c67x-c67x.d, ld-tic6x/attr-arch-c67x.s: New.
2010-06-16 02:36:04 +02:00
|
|
|
|
2010-06-15 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-tic6x.c: Include elf/tic6x.h.
|
|
|
|
|
(tic6x_arch_attribute, tic6x_seen_insns): New.
|
|
|
|
|
(tic6x_arch_table, tic6x_arches): Add attribute values.
|
|
|
|
|
(tic6x_use_arch): Handle attribute settings.
|
|
|
|
|
(tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
|
|
|
|
|
tic6x_attribute_table, tic6x_attributes,
|
|
|
|
|
tic6x_convert_symbolic_attribute): New.
|
|
|
|
|
(md_pseudo_table): Add c6xabi_attribute.
|
|
|
|
|
(md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
|
|
|
|
|
(tic6x_set_attribute_int, tic6x_set_attributes): New.
|
|
|
|
|
(tic6x_end): Call tic6x_set_attributes.
|
|
|
|
|
* config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
|
|
|
|
|
(tic6x_convert_symbolic_attribute): Declare.
|
|
|
|
|
|
2010-06-14 16:48:05 +02:00
|
|
|
|
2010-06-14 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (md_assemble): Emit APUinfo section for
|
|
|
|
|
PPC_OPCODE_E500.
|
|
|
|
|
|
2010-06-11 17:07:53 +02:00
|
|
|
|
2010-06-11 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (md_parse_option): Ignore impossible processor
|
|
|
|
|
types.
|
|
|
|
|
(show_arch): New parameter 'check'.
|
|
|
|
|
(md_show_usage): Adjust calls to show_arch().
|
|
|
|
|
|
2010-06-10 18:38:17 +02:00
|
|
|
|
2010-06-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (update_code_flag): New.
|
|
|
|
|
(set_code_flag): Use it.
|
|
|
|
|
(i386_target_format): Replace set_code_flag with update_code_flag.
|
|
|
|
|
|
bfd/
2010-06-10 Tristan Gingold <gingold@adacore.com>
* som.c: Can now be compiled on any host.
Include bfd headers instead of system one.
(som_compute_checksum): Parameter is now a pointer to a
som_external_header structure. Adjust.
(struct section_to_type): Field section is now const.
(R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Removed conditional
definition.
(R_LONG_PCREL_MODE, R_N0SEL, R_N1SEL, R_LINETAB): Ditto.
(R_LINETAB_ESC, R_LTP_OVERRIDE, R_COMMENT): Ditto.
(som_swap_clock_in, som_swap_clock_out): New functions.
(som_swap_header_in, som_swap_header_out): Likewise.
(som_swap_space_dictionary_in): Likewise.
(som_swap_space_dictionary_out): Likewise.
(som_swap_subspace_dictionary_in): Likewise.
(som_swap_subspace_dictionary_record_out): Likewise.
(som_swap_aux_id_in, som_swap_aux_id_out): Likewise.
(som_swap_string_auxhdr_out): Likewise.
(som_swap_compilation_unit_out): Likewise.
(som_swap_exec_auxhdr_in): Likewise.
(som_swap_exec_auxhdr_out): Likewise.
(som_swap_lst_header_in): Likewise.
(som_object_setup): Adjust parameter type using bfd types.
(setup_sections): Likewise. Ditto for object file types.
Use intermediate variables for external representation and use the
swap functions to convert.
(som_object_p): Ditto. Remove #ifdef/#endif on always defined
macros.
(som_prep_headers): Likewise.
(som_write_symbol_strings): Likewise.
(som_begin_writing): Likewise.
(som_finish_writing): Likewise.
(som_build_and_write_symbol_table): Likewise.
(bfd_section_from_som_symbol): Likewise.
(som_slurp_symbol_table): Likewise.
(som_bfd_print_private_bfd_data): Likewise.
(bfd_som_attach_aux_hdr): Likewise. Clear the padding.
(bfd_som_attach_compilation_unit): Likewise.
(som_bfd_count_ar_symbols): Likewise.
(som_bfd_fill_in_ar_symbols): Likewise.
(som_slurp_armap): Likewise.
(som_bfd_ar_write_symbol_stuff): Likewise.
(som_write_armap): Likewise. Use _bfd_ar_spacepad instead of
sprintf to write header fields.
* som.h: Include bfd headers instead of system one.
(FILE_HDR_SIZE, AUX_HDR_SIZE): Removed.
(struct somdata): Use bfd structures instead of system ones.
(struct som_section_data_struct): Likewise.
(struct som_subspace_dictionary_record): Removed (now in
include/som/internal.h)
gas/
2010-06-10 Tristan Gingold <gingold@adacore.com>
* config/obj-som.h: Includes som/reloc.h
2010-06-10 10:51:46 +02:00
|
|
|
|
2010-06-10 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/obj-som.h: Includes som/reloc.h
|
|
|
|
|
|
2010-06-10 09:10:04 +02:00
|
|
|
|
2010-06-10 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (cpu_arch): Add comment.
|
|
|
|
|
(i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
|
|
|
|
|
from the generic entries of cpu_arch[].
|
|
|
|
|
|
2010-06-09 17:11:51 +02:00
|
|
|
|
2010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
bfd/
2010-06-10 Tristan Gingold <gingold@adacore.com>
* som.c: Can now be compiled on any host.
Include bfd headers instead of system one.
(som_compute_checksum): Parameter is now a pointer to a
som_external_header structure. Adjust.
(struct section_to_type): Field section is now const.
(R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Removed conditional
definition.
(R_LONG_PCREL_MODE, R_N0SEL, R_N1SEL, R_LINETAB): Ditto.
(R_LINETAB_ESC, R_LTP_OVERRIDE, R_COMMENT): Ditto.
(som_swap_clock_in, som_swap_clock_out): New functions.
(som_swap_header_in, som_swap_header_out): Likewise.
(som_swap_space_dictionary_in): Likewise.
(som_swap_space_dictionary_out): Likewise.
(som_swap_subspace_dictionary_in): Likewise.
(som_swap_subspace_dictionary_record_out): Likewise.
(som_swap_aux_id_in, som_swap_aux_id_out): Likewise.
(som_swap_string_auxhdr_out): Likewise.
(som_swap_compilation_unit_out): Likewise.
(som_swap_exec_auxhdr_in): Likewise.
(som_swap_exec_auxhdr_out): Likewise.
(som_swap_lst_header_in): Likewise.
(som_object_setup): Adjust parameter type using bfd types.
(setup_sections): Likewise. Ditto for object file types.
Use intermediate variables for external representation and use the
swap functions to convert.
(som_object_p): Ditto. Remove #ifdef/#endif on always defined
macros.
(som_prep_headers): Likewise.
(som_write_symbol_strings): Likewise.
(som_begin_writing): Likewise.
(som_finish_writing): Likewise.
(som_build_and_write_symbol_table): Likewise.
(bfd_section_from_som_symbol): Likewise.
(som_slurp_symbol_table): Likewise.
(som_bfd_print_private_bfd_data): Likewise.
(bfd_som_attach_aux_hdr): Likewise. Clear the padding.
(bfd_som_attach_compilation_unit): Likewise.
(som_bfd_count_ar_symbols): Likewise.
(som_bfd_fill_in_ar_symbols): Likewise.
(som_slurp_armap): Likewise.
(som_bfd_ar_write_symbol_stuff): Likewise.
(som_write_armap): Likewise. Use _bfd_ar_spacepad instead of
sprintf to write header fields.
* som.h: Include bfd headers instead of system one.
(FILE_HDR_SIZE, AUX_HDR_SIZE): Removed.
(struct somdata): Use bfd structures instead of system ones.
(struct som_section_data_struct): Likewise.
(struct som_subspace_dictionary_record): Removed (now in
include/som/internal.h)
gas/
2010-06-10 Tristan Gingold <gingold@adacore.com>
* config/obj-som.h: Includes som/reloc.h
2010-06-10 10:51:46 +02:00
|
|
|
|
* config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
|
2010-06-09 17:11:51 +02:00
|
|
|
|
value.
|
|
|
|
|
(parse_operands): Add support for OP_RRnpctw.
|
bfd/
2010-06-10 Tristan Gingold <gingold@adacore.com>
* som.c: Can now be compiled on any host.
Include bfd headers instead of system one.
(som_compute_checksum): Parameter is now a pointer to a
som_external_header structure. Adjust.
(struct section_to_type): Field section is now const.
(R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Removed conditional
definition.
(R_LONG_PCREL_MODE, R_N0SEL, R_N1SEL, R_LINETAB): Ditto.
(R_LINETAB_ESC, R_LTP_OVERRIDE, R_COMMENT): Ditto.
(som_swap_clock_in, som_swap_clock_out): New functions.
(som_swap_header_in, som_swap_header_out): Likewise.
(som_swap_space_dictionary_in): Likewise.
(som_swap_space_dictionary_out): Likewise.
(som_swap_subspace_dictionary_in): Likewise.
(som_swap_subspace_dictionary_record_out): Likewise.
(som_swap_aux_id_in, som_swap_aux_id_out): Likewise.
(som_swap_string_auxhdr_out): Likewise.
(som_swap_compilation_unit_out): Likewise.
(som_swap_exec_auxhdr_in): Likewise.
(som_swap_exec_auxhdr_out): Likewise.
(som_swap_lst_header_in): Likewise.
(som_object_setup): Adjust parameter type using bfd types.
(setup_sections): Likewise. Ditto for object file types.
Use intermediate variables for external representation and use the
swap functions to convert.
(som_object_p): Ditto. Remove #ifdef/#endif on always defined
macros.
(som_prep_headers): Likewise.
(som_write_symbol_strings): Likewise.
(som_begin_writing): Likewise.
(som_finish_writing): Likewise.
(som_build_and_write_symbol_table): Likewise.
(bfd_section_from_som_symbol): Likewise.
(som_slurp_symbol_table): Likewise.
(som_bfd_print_private_bfd_data): Likewise.
(bfd_som_attach_aux_hdr): Likewise. Clear the padding.
(bfd_som_attach_compilation_unit): Likewise.
(som_bfd_count_ar_symbols): Likewise.
(som_bfd_fill_in_ar_symbols): Likewise.
(som_slurp_armap): Likewise.
(som_bfd_ar_write_symbol_stuff): Likewise.
(som_write_armap): Likewise. Use _bfd_ar_spacepad instead of
sprintf to write header fields.
* som.h: Include bfd headers instead of system one.
(FILE_HDR_SIZE, AUX_HDR_SIZE): Removed.
(struct somdata): Use bfd structures instead of system ones.
(struct som_section_data_struct): Likewise.
(struct som_subspace_dictionary_record): Removed (now in
include/som/internal.h)
gas/
2010-06-10 Tristan Gingold <gingold@adacore.com>
* config/obj-som.h: Includes som/reloc.h
2010-06-10 10:51:46 +02:00
|
|
|
|
(insns): Update floating-point load/store multiples so the
|
2010-06-09 17:11:51 +02:00
|
|
|
|
first register is of type OP_RRnpctw.
|
|
|
|
|
|
2010-06-08 17:42:29 +02:00
|
|
|
|
2010-06-08 Quentin Neill <quentin.neill@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (pi): Rename local loop counter
|
|
|
|
|
variable i that shadows global static i386_insn i
|
|
|
|
|
when DEBUG386 is defined.
|
|
|
|
|
(pte) Ditto.
|
|
|
|
|
|
2010-06-08 12:30:56 +02:00
|
|
|
|
2010-06-08 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* doc/as.texinfo: Replace abbreviated 20th century year numbers
|
|
|
|
|
with full versions.
|
|
|
|
|
|
2010-06-03 19:00:30 +02:00
|
|
|
|
2010-06-02 Quentin Neill <quentin.neill@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
|
|
|
|
|
|
2010-06-02 Tristan Gingold <gingold@adacore.com>
* as.h: Remove conditionnal definition of HAVE_STDARG_H,
USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
Remove conditionnal inclusion of stdarg.h and varargs.h.
Assume ISO C.
* config.in: Regenerate.
* configure: Regenerate.
* configure.in: Remove stdarg.h and varargs.h from
AC_CHECK_HEADERS list.
* messages.c (as_tsktsk): Remove non ISO C version.
(as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
2010-06-03 09:36:04 +02:00
|
|
|
|
2010-06-02 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* as.h: Remove conditionnal definition of HAVE_STDARG_H,
|
|
|
|
|
USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
|
|
|
|
|
Remove conditionnal inclusion of stdarg.h and varargs.h.
|
|
|
|
|
Assume ISO C.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.in: Remove stdarg.h and varargs.h from
|
|
|
|
|
AC_CHECK_HEADERS list.
|
|
|
|
|
* messages.c (as_tsktsk): Remove non ISO C version.
|
|
|
|
|
(as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
|
|
|
|
|
|
2010-05-31 17:53:13 +02:00
|
|
|
|
2010-05-31 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-alpha.c: Add comments for evax.
|
|
|
|
|
* config/obj-evax.c: Ditto.
|
|
|
|
|
|
2010-05-28 18:02:18 +02:00
|
|
|
|
2010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
|
|
|
|
|
lsls and not adds.
|
|
|
|
|
|
2010-05-27 12:40:36 +02:00
|
|
|
|
2010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
|
|
|
|
|
writeback when base register is in register list an error, and
|
|
|
|
|
correct check.
|
|
|
|
|
(do_t_ldmstm): Change warnings.
|
|
|
|
|
|
2010-05-26 14:59:56 +02:00
|
|
|
|
2010-05-26 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (is_opcode_valid): Remove expansionp.
|
|
|
|
|
(macro_build): Change invocation of is_opcode_valid.
|
|
|
|
|
(mips_ip): Likewise.
|
|
|
|
|
|
2010-05-25 17:30:03 +02:00
|
|
|
|
2010-05-25 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (MOSTLYCLEANFILES): Fix typo.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2010-05-21 Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
Andrew Stubbs <ams@codesourcery.com>
bfd/
* config.bfd (sh-*-uclinux* | sh[12]-*-uclinux*): Add
bfd_elf32_shl_vec, and FDPIC vectors to targ_selvecs.
* configure.in: Handle FDPIC vectors.
* elf32-sh-relocs.h: Add FDPIC and movi20 relocations.
* elf32-sh.c (DEFAULT_STACK_SIZE): Define.
(SYMBOL_FUNCDESC_LOCAL): Define. Use it instead of
SYMBOL_REFERENCES_LOCAL for function descriptors.
(fdpic_object_p): New.
(sh_reloc_map): Add FDPIC and movi20 relocations.
(sh_elf_info_to_howto, sh_elf_relocate_section): Handle new invalid
range.
(struct elf_sh_plt_info): Add got20 and short_plt. Update all
definitions.
(FDPIC_PLT_ENTRY_SIZE, FDPIC_PLT_LAZY_OFFSET): Define.
(fdpic_sh_plt_entry_be, fdpic_sh_plt_entry_le, fdpic_sh_plts): New.
(FDPIC_SH2A_PLT_ENTRY_SIZE, FDPIC_SH2A_PLT_LAZY_OFFSET): Define.
(fdpic_sh2a_plt_entry_be, fdpic_sh2a_plt_entry_le)
(fdpic_sh2a_short_plt_be, fdpic_sh2a_short_plt_le, fdpic_sh2a_plts):
New.
(get_plt_info): Handle FDPIC.
(MAX_SHORT_PLT): Define.
(get_plt_index, get_plt_offset): Handle short_plt.
(union gotref): New.
(struct elf_sh_link_hash_entry): Add funcdesc, rename tls_type to
got_type and adjust all uses. Add GOT_FUNCDESC.
(struct sh_elf_obj_tdata): Add local_funcdesc. Rename
local_got_tls_type to local_got_type.
(sh_elf_local_got_type): Renamed from sh_elf_local_got_tls_type. All
users changed.
(sh_elf_local_funcdesc): Define.
(struct elf_sh_link_hash_table): Add sfuncdesc, srelfuncdesc, fdpic_p,
and srofixup.
(sh_elf_link_hash_newfunc): Initialize new fields.
(sh_elf_link_hash_table_create): Set fdpic_p.
(sh_elf_omit_section_dynsym): New.
(create_got_section): Create .got.funcdesc, .rela.got.funcdesc
and .rofixup.
(allocate_dynrelocs): Allocate local function descriptors and space
for R_SH_FUNCDESC-related relocations, and for rofixups.
Handle GOT_FUNCDESC. Create fixups. Handle GOT entries which
require function descriptors.
(sh_elf_always_size_sections): Handle PT_GNU_STACK and __stacksize.
(sh_elf_modify_program_headers): New.
(sh_elf_size_dynamic_sections): Allocate function descriptors for
local symbols. Allocate .got.funcdesc contents. Allocate rofixups.
Handle local GOT entries of type GOT_FUNCDESC. Create fixups for
local GOT entries. Ensure that FDPIC libraries always have a PLTGOT
entry in the .dynamic section.
(sh_elf_add_dyn_reloc, sh_elf_got_offset, sh_elf_initialize_funcdesc)
(sh_elf_add_rofixup, sh_elf_osec_to_segment)
(sh_elf_osec_readonly_p, install_movi20_field): New functions.
(sh_elf_relocate_section): Handle new relocations, R_SH_FUNCDESC,
R_SH_GOTFUNCDESC and R_SH_GOTOFFFUNCDESC. Use sh_elf_got_offset
and .got.plt throughout to find _GLOBAL_OFFSET_TABLE_. Add rofixup
read-only section warnings. Handle undefined weak symbols. Generate
fixups for R_SH_DIR32 and GOT entries. Check for cross-segment
relocations and clear EF_SH_PIC. Handle 20-bit relocations.
Always generate R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE.
(sh_elf_gc_sweep_hook): Handle R_SH_FUNCDESC, R_SH_GOTOFF20,
R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20, and R_SH_GOTOFFFUNCDESC.
Handle 20-bit relocations.
(sh_elf_copy_indirect_symbol): Copy function descriptor reference
counts.
(sh_elf_check_relocs): Handle new relocations. Make symbols
dynamic for FDPIC relocs. Account for rofixups. Error for FDPIC
symbol mismatches. Allocate a GOT for R_SH_DIR32. Allocate fixups
for R_SH_DIR32.
(sh_elf_copy_private_data): Copy PT_GNU_STACK size.
(sh_elf_merge_private_data): Copy initial flags. Do not clobber
non-mach flags. Set EF_SH_PIC for FDPIC. Reject FDPIC mismatches.
(sh_elf_finish_dynamic_symbol): Do not handle got_funcdesc entries
here. Rename sgot to sgotplt and srel to srelplt. Handle short_plt,
FDPIC descriptors, and got20. Create R_SH_FUNCDESC_VALUE for FDPIC.
Use install_movi20_field. Rename srel to srelgot. Always generate
R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE.
(sh_elf_finish_dynamic_sections): Fill in the GOT pointer in rofixup.
Do not fill in reserved GOT entries for FDPIC. Correct DT_PLTGOT.
Rename sgot to sgotplt. Assert that the right number of rofixups
and dynamic relocations were allocated.
(sh_elf_use_relative_eh_frame, sh_elf_encode_eh_address): New.
(elf_backend_omit_section_dynsym): Use sh_elf_omit_section_dynsym.
(elf_backend_can_make_relative_eh_frame)
(elf_backend_can_make_lsda_relative_eh_frame)
(elf_backend_encode_eh_address): Define.
(TARGET_BIG_SYM, TARGET_BIG_NAME, TARGET_LITTLE_SYM)
(TARGET_LITTLE_NAME, elf_backend_modify_program_headers, elf32_bed):
Redefine for FDPIC vector.
* reloc.c: Add SH FDPIC and movi20 relocations.
* targets.c (_bfd_target_vector): Add FDPIC vectors.
* configure, bfd-in2.h, libbfd.h: Regenerated.
binutils/
* readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
gas/
* config/tc-sh.c (sh_fdpic): New.
(sh_check_fixup): Handle relocations on movi20.
(parse_exp): Do not reject PIC operators here.
(build_Mytes): Check for unhandled PIC operators here. Use
sh_check_fixup for movi20.
(enum options): Add OPTION_FDPIC.
(md_longopts, md_parse_option, md_show_usage): Add --fdpic.
(sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
(sh_elf_final_processing): Handle --fdpic.
(sh_uclinux_target_format): New.
(sh_parse_name): Handle FDPIC relocation operators.
* config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
(sh_uclinux_target_format): Declare for TE_UCLINUX.
* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
em=uclinux.
* doc/c-sh.texi (SH Options): Document --fdpic.
gas/testsuite/
* gas/sh/basic.exp: Run new tests. Handle uClinux like Linux.
* gas/sh/fdpic.d: New file.
* gas/sh/fdpic.s: New file.
* gas/sh/reg-prefix.d: Force big-endian.
* gas/sh/sh2a-pic.d: New file.
* gas/sh/sh2a-pic.s: New file.
* lib/gas-defs.exp (is_elf_format): Include sh*-*-uclinux*.
include/elf/
* sh.h (EF_SH_PIC, EF_SH_FDPIC): Define.
(R_SH_FIRST_INVALID_RELOC_6, R_SH_LAST_INVALID_RELOC_6): New. Adjust
other invalid ranges.
(R_SH_GOT20, R_SH_GOTOFF20, R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20)
(R_SH_GOTOFFFUNCDESC, R_SH_GOTOFFFUNCDESC20, R_SH_FUNCDESC)
(R_SH_FUNCDESC_VALUE): New.
ld/
* Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
(eshelf_fd.c, eshlelf_fd.c): New rules.
* Makefile.in: Regenerate.
* configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
emulations.
* emulparams/shelf_fd.sh: New file.
* emulparams/shlelf_fd.sh: New file.
* emulparams/shlelf_linux.sh: Update comment.
ld/testsuite/
* ld-sh/sh.exp: Handle uClinux like Linux.
* lib/ld-lib.exp (is_elf_format): Include sh*-*-uclinux*.
* ld-sh/fdpic-funcdesc-shared.d: New file.
* ld-sh/fdpic-funcdesc-shared.s: New file.
* ld-sh/fdpic-funcdesc-static.d: New file.
* ld-sh/fdpic-funcdesc-static.s: New file.
* ld-sh/fdpic-gotfuncdesc-shared.d: New file.
* ld-sh/fdpic-gotfuncdesc-shared.s: New file.
* ld-sh/fdpic-gotfuncdesc-static.d: New file.
* ld-sh/fdpic-gotfuncdesc-static.s: New file.
* ld-sh/fdpic-gotfuncdesci20-shared.d: New file.
* ld-sh/fdpic-gotfuncdesci20-shared.s: New file.
* ld-sh/fdpic-gotfuncdesci20-static.d: New file.
* ld-sh/fdpic-gotfuncdesci20-static.s: New file.
* ld-sh/fdpic-goti20-shared.d: New file.
* ld-sh/fdpic-goti20-shared.s: New file.
* ld-sh/fdpic-goti20-static.d: New file.
* ld-sh/fdpic-goti20-static.s: New file.
* ld-sh/fdpic-gotofffuncdesc-shared.d: New file.
* ld-sh/fdpic-gotofffuncdesc-shared.s: New file.
* ld-sh/fdpic-gotofffuncdesc-static.d: New file.
* ld-sh/fdpic-gotofffuncdesc-static.s: New file.
* ld-sh/fdpic-gotofffuncdesci20-shared.d: New file.
* ld-sh/fdpic-gotofffuncdesci20-shared.s: New file.
* ld-sh/fdpic-gotofffuncdesci20-static.d: New file.
* ld-sh/fdpic-gotofffuncdesci20-static.s: New file.
* ld-sh/fdpic-gotoffi20-shared.d: New file.
* ld-sh/fdpic-gotoffi20-shared.s: New file.
* ld-sh/fdpic-gotoffi20-static.d: New file.
* ld-sh/fdpic-gotoffi20-static.s: New file.
* ld-sh/fdpic-plt-be.d: New file.
* ld-sh/fdpic-plt-le.d: New file.
* ld-sh/fdpic-plt.s: New file.
* ld-sh/fdpic-plti20-be.d: New file.
* ld-sh/fdpic-plti20-le.d: New file.
* ld-sh/fdpic-stack-default.d: New file.
* ld-sh/fdpic-stack-size.d: New file.
* ld-sh/fdpic-stack.s: New file.
2010-05-25 16:12:43 +02:00
|
|
|
|
2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-sh.c (sh_fdpic): New.
|
|
|
|
|
(sh_check_fixup): Handle relocations on movi20.
|
|
|
|
|
(parse_exp): Do not reject PIC operators here.
|
|
|
|
|
(build_Mytes): Check for unhandled PIC operators here. Use
|
|
|
|
|
sh_check_fixup for movi20.
|
|
|
|
|
(enum options): Add OPTION_FDPIC.
|
|
|
|
|
(md_longopts, md_parse_option, md_show_usage): Add --fdpic.
|
|
|
|
|
(sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
|
|
|
|
|
(sh_elf_final_processing): Handle --fdpic.
|
|
|
|
|
(sh_uclinux_target_format): New.
|
|
|
|
|
(sh_parse_name): Handle FDPIC relocation operators.
|
|
|
|
|
* config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
|
|
|
|
|
(sh_uclinux_target_format): Declare for TE_UCLINUX.
|
|
|
|
|
* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
|
|
|
|
|
em=uclinux.
|
|
|
|
|
* doc/c-sh.texi (SH Options): Document --fdpic.
|
|
|
|
|
|
2010-05-25 16:02:38 +02:00
|
|
|
|
2010-05-25 Jay Krell <jay.krell@cornell.edu>
|
|
|
|
|
|
|
|
|
|
PR ld/11621
|
|
|
|
|
* Makefile.am: Replace all occurences of .o with .@OBJEXT@
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2010-05-25 02:51:49 +02:00
|
|
|
|
2010-05-25 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
|
|
|
|
|
|
2010-05-19 12:47:49 +02:00
|
|
|
|
2010-05-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
|
|
|
|
|
of known section prefixes.
|
|
|
|
|
|
2010-05-18 05:31:07 +02:00
|
|
|
|
2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11600
|
|
|
|
|
* obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
|
|
|
|
|
(obj_elf_parse_section_letters): Likewise.
|
|
|
|
|
(obj_elf_section_word): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_section_letter): Removed.
|
|
|
|
|
(ppc_section_word): Likewise.
|
|
|
|
|
* config/tc-ppc.h (ppc_section_letter): Likewise.
|
|
|
|
|
(ppc_section_word): Likewise.
|
|
|
|
|
(md_elf_section_letter): Likewise.
|
|
|
|
|
(md_elf_section_word): Likewise.
|
|
|
|
|
|
|
|
|
|
* doc/as.texinfo: Document `e' and `#exclude'.
|
|
|
|
|
|
2010-05-13 10:15:04 +02:00
|
|
|
|
2010-05-13 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (md_assemble): Clarify current mode in error
|
|
|
|
|
messages about unsupported instructions.
|
|
|
|
|
(UT): Delete #define.
|
|
|
|
|
(insns): Adjust cbnz, cbz appropriately.
|
|
|
|
|
|
2010-05-11 19:36:33 +02:00
|
|
|
|
2010-05-11 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
|
|
|
|
|
|
|
|
|
|
2010-05-11 Jie Zhang <jie@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (aeabi_set_public_attributes): Set
|
|
|
|
|
Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
|
|
|
|
|
|
2010-05-07 14:28:50 +02:00
|
|
|
|
2010-05-07 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Regenerate with automake 1.11.1.
|
|
|
|
|
* aclocal.m4: Ditto.
|
|
|
|
|
* doc/Makefile.in: Ditto.
|
|
|
|
|
|
2010-05-05 17:28:26 +02:00
|
|
|
|
2010-05-05 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Updated Spanish translation.
|
|
|
|
|
|
2010-05-05 16:17:50 +02:00
|
|
|
|
2010-05-05 Julian Brown <julian@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* read.c (cons_worker): Detect and reject unexpected string argument.
|
|
|
|
|
|
2010-05-04 18:21:07 +02:00
|
|
|
|
2010-05-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* write.c (fixup_segment): Revert previous delta.
|
|
|
|
|
* config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
|
|
|
|
|
generation of relocations for fixups against weak symbols.
|
|
|
|
|
|
2010-04-29 16:44:15 +02:00
|
|
|
|
2010-04-29 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* write.c (fixup_segment): Do not assume we know the section a
|
|
|
|
|
defined weak symbol is in.
|
|
|
|
|
* config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
|
|
|
|
|
weak symbols as not known to be in the same section, even if they
|
|
|
|
|
are defined.
|
|
|
|
|
|
gas:
* config/tc-tic6x.h (tic6x_label_list): New.
(tic6x_segment_info_type): Keep a list of labels and a current
frag instead of a boolean for whether labels seen and a count of
instructions.
(tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
md_do_align, tic6x_do_align, md_end, tic6x_end): New.
* config/tc-tic6x.c (tic6x_frob_label): Put label on list.
(tic6x_cleanup): Correct comment.
(tic6x_free_label_list): New.
(tic6x_cons_align): Free label list and update for
tic6x_segment_info_type changes.
(tic6x_do_align): New.
(md_assemble): Handle list of labels and saved frag for execute
packet. Create machine-dependent frag for new execute packet and
adjust labels accordingly.
(tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
(md_convert_frag, md_estimate_size_before_relax): Update comments.
gas/testsuite:
* gas/tic6x/align-1-be.d, gas/tic6x/align-1.d,
gas/tic6x/align-1.s, gas/tic6x/align-2.d, gas/tic6x/align-2.s:
New.
2010-04-28 01:43:25 +02:00
|
|
|
|
2010-04-27 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-tic6x.h (tic6x_label_list): New.
|
|
|
|
|
(tic6x_segment_info_type): Keep a list of labels and a current
|
|
|
|
|
frag instead of a boolean for whether labels seen and a count of
|
|
|
|
|
instructions.
|
|
|
|
|
(tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
|
|
|
|
|
md_do_align, tic6x_do_align, md_end, tic6x_end): New.
|
|
|
|
|
* config/tc-tic6x.c (tic6x_frob_label): Put label on list.
|
|
|
|
|
(tic6x_cleanup): Correct comment.
|
|
|
|
|
(tic6x_free_label_list): New.
|
|
|
|
|
(tic6x_cons_align): Free label list and update for
|
|
|
|
|
tic6x_segment_info_type changes.
|
|
|
|
|
(tic6x_do_align): New.
|
|
|
|
|
(md_assemble): Handle list of labels and saved frag for execute
|
|
|
|
|
packet. Create machine-dependent frag for new execute packet and
|
|
|
|
|
adjust labels accordingly.
|
|
|
|
|
(tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
|
|
|
|
|
(md_convert_frag, md_estimate_size_before_relax): Update comments.
|
|
|
|
|
|
2010-04-24 19:41:04 +02:00
|
|
|
|
2010-04-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11535
|
|
|
|
|
* config/tc-i386-intel.c (intel_state): Add is_indirect.
|
|
|
|
|
(i386_intel_operand): Initialize intel_state.is_indirect. Check
|
|
|
|
|
intel_state.is_indirect for "call|jmp [symbol]".
|
|
|
|
|
|
2010-04-22 16:37:16 +02:00
|
|
|
|
2010-04-22 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/gas.pot: Updated by the Translation project.
|
|
|
|
|
|
2010-04-22 05:10:48 +02:00
|
|
|
|
2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (i386_is_register): Removed.
|
|
|
|
|
(x86_cons): Don't use i386_is_register.
|
|
|
|
|
(parse_register): Likewise.
|
|
|
|
|
* config/tc-i386-intel.c (i386_intel_simplify): Likewise.
|
|
|
|
|
(i386_intel_operand): Likewise.
|
|
|
|
|
|
2010-04-22 03:01:34 +02:00
|
|
|
|
2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
|
|
|
|
|
i386_is_register.
|
|
|
|
|
|
2010-04-22 02:43:38 +02:00
|
|
|
|
2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
|
|
|
|
|
(x86_cons): Updated.
|
|
|
|
|
(parse_register): Likewise.
|
|
|
|
|
(tc_x86_parse_to_dw2regnum): Likewise.
|
|
|
|
|
* config/tc-i386-intel.c (i386_intel_simplify): Likewise.
|
|
|
|
|
(i386_intel_operand): Likewise.
|
|
|
|
|
|
2010-04-21 20:09:52 +02:00
|
|
|
|
2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11509
|
|
|
|
|
* config/tc-i386-intel.c (i386_intel_simplify_register): New.
|
|
|
|
|
(i386_intel_simplify): Use i386_is_register and
|
|
|
|
|
i386_intel_simplify_register. Set X_md for O_register and
|
|
|
|
|
check X_md for O_constant.
|
|
|
|
|
(i386_intel_operand): Use i386_is_register.
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (i386_is_register): New.
|
|
|
|
|
(x86_cons): Initialize the X_md field. Use i386_is_register.
|
|
|
|
|
(parse_register): Use i386_is_register.
|
|
|
|
|
(tc_x86_parse_to_dw2regnum): Likewise.
|
|
|
|
|
|
2010-04-21 19:10:44 +02:00
|
|
|
|
2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* expr.c (expr): Initialize the X_md field.
|
|
|
|
|
|
bfd:
* elf32-tic6x.h: New.
* elf-bfd.h (enum elf_target_id): Define TIC6X_ELF_DATA.
* elf32-tic6x.c (struct elf32_tic6x_obj_tdata, elf32_tic6x_tdata,
elf32_tic6x_howto_table_rel, elf32_tic6x_info_to_howto_rel,
elf32_tic6x_set_use_rela_p, elf32_tic6x_mkobject,
elf32_tic6x_new_section_hook, elf32_tic6x_rel_relocation_p,
bfd_elf32_mkobject, bfd_elf32_new_section_hook): New.
(elf32_tic6x_reloc_type_lookup, elf32_tic6x_reloc_name_lookup,
elf32_tic6x_relocate_section): Handle REL relocations.
(elf_info_to_howto_rel): Define to elf32_tic6x_info_to_howto_rel.
gas:
* config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
(md_longopts): Add -mgenerate-rel.
(tic6x_generate_rela): New.
(md_parse_option): Handle -mgenerate-rel.
(md_show_usage): Add comment that -mgenerate-rel is undocumented.
(tic6x_init_after_args): New.
(md_apply_fix): Correct shift calculations for SB-relative
relocations.
(md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
adjust addresses for relocations referencing symbols in other
sections.
(tc_gen_reloc): Adjust addend calculations for REL relocations.
* config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
tic6x_pcrel_from_section, tc_init_after_args,
tic6x_init_after_args): New.
ld/testsuite:
* ld-tic6x/data-reloc-global-rel.d,
ld-tic6x/data-reloc-global-rel.s,
ld-tic6x/data-reloc-local-r-rel.d,
ld-tic6x/data-reloc-local-rel.d, ld-tic6x/mvk-reloc-global-rel.d,
ld-tic6x/mvk-reloc-global-rel.s, ld-tic6x/mvk-reloc-local-1-rel.s,
ld-tic6x/mvk-reloc-local-2-rel.s,
ld-tic6x/mvk-reloc-local-r-rel.d, ld-tic6x/mvk-reloc-local-rel.d,
ld-tic6x/pcrel-reloc-global-rel.d,
ld-tic6x/pcrel-reloc-local-r-rel.d,
ld-tic6x/pcrel-reloc-local-rel.d, ld-tic6x/sbr-reloc-global-rel.d,
ld-tic6x/sbr-reloc-global-rel.s, ld-tic6x/sbr-reloc-local-1-rel.s,
ld-tic6x/sbr-reloc-local-2-rel.s,
ld-tic6x/sbr-reloc-local-r-rel.d, ld-tic6x/sbr-reloc-local-rel.d:
New.
2010-04-21 00:03:00 +02:00
|
|
|
|
2010-04-20 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
|
|
|
|
|
(md_longopts): Add -mgenerate-rel.
|
|
|
|
|
(tic6x_generate_rela): New.
|
|
|
|
|
(md_parse_option): Handle -mgenerate-rel.
|
|
|
|
|
(md_show_usage): Add comment that -mgenerate-rel is undocumented.
|
|
|
|
|
(tic6x_init_after_args): New.
|
|
|
|
|
(md_apply_fix): Correct shift calculations for SB-relative
|
|
|
|
|
relocations.
|
|
|
|
|
(md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
|
|
|
|
|
adjust addresses for relocations referencing symbols in other
|
|
|
|
|
sections.
|
|
|
|
|
(tc_gen_reloc): Adjust addend calculations for REL relocations.
|
|
|
|
|
* config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
|
|
|
|
|
tic6x_pcrel_from_section, tc_init_after_args,
|
|
|
|
|
tic6x_init_after_args): New.
|
|
|
|
|
|
2010-04-20 17:54:48 +02:00
|
|
|
|
2010-04-20 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11507
|
|
|
|
|
* macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
|
|
|
|
|
altmacro mode if found inside a quoted string.
|
|
|
|
|
|
2010-04-20 09:10:31 +02:00
|
|
|
|
2010-04-20 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* config/bfin-lex.l (parse_int): Change index() to strchr().
|
|
|
|
|
|
2010-04-16 13:20:41 +02:00
|
|
|
|
2010-04-16 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11395
|
|
|
|
|
* config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
|
|
|
|
|
matcher to accept and unconditional 32-bit add instruction.
|
|
|
|
|
(pa_build_unwind_subspace): Cope with error conditions not
|
|
|
|
|
allowing the start symbol to be set.
|
|
|
|
|
|
2010-04-15 12:56:39 +02:00
|
|
|
|
2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
|
|
|
|
|
new tag names in v2.08 of ARM ABI.
|
|
|
|
|
* doc/c-arm.texi: Document new tag names in ABI.
|
|
|
|
|
|
2010-04-14 11:25:34 +02:00
|
|
|
|
2010-04-14 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-alpha.c: Includes vms/egps.h on EVAX.
|
|
|
|
|
(s_alpha_comm): Used new EGPS macros from egps.h
|
|
|
|
|
(RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
|
|
|
|
|
(s_alpha_section_word): Add comments. Use new EGPS macros.
|
|
|
|
|
Adjust for modified bfd_vms_set_section_flags function.
|
|
|
|
|
|
2010-04-10 16:12:56 +02:00
|
|
|
|
2010-04-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11486
|
|
|
|
|
* config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
|
|
|
|
|
|
2010-04-09 16:40:18 +02:00
|
|
|
|
2010-04-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* as.c (create_obj_attrs_section): Remove unused variable addr.
|
|
|
|
|
* listing.c (listing_listing): Remove unused variable message.
|
|
|
|
|
* read.c: Remove unnecessary register type qualifiers.
|
|
|
|
|
(s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
|
|
|
|
|
defined.
|
|
|
|
|
|
2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
atmega88pa, attiny461a, attiny84a, m3000.
Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
atmega8hvd, attiny327, m3000f, m3000s, m3001b.
* doc/c-avr.texi: Same.
2010-04-09 05:48:54 +02:00
|
|
|
|
2010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
|
|
|
|
|
atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
|
|
|
|
|
atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
|
|
|
|
|
atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
|
|
|
|
|
atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
|
|
|
|
|
atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
|
|
|
|
|
atmega88pa, attiny461a, attiny84a, m3000.
|
|
|
|
|
Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
|
|
|
|
|
atmega8hvd, attiny327, m3000f, m3000s, m3001b.
|
|
|
|
|
* doc/c-avr.texi: Same.
|
|
|
|
|
|
2010-04-07 12:39:06 +02:00
|
|
|
|
2010-04-07 Jie Zhang <jie@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (make_mapping_symbol): Handle the case
|
|
|
|
|
that multiple mapping symbols have the same value 0.
|
|
|
|
|
|
2010-04-07 09:20:51 +02:00
|
|
|
|
2010-04-07 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2010-04-06 18:12:17 +02:00
|
|
|
|
2010-04-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/ru.po: New Russian translation.
|
|
|
|
|
* configure.in (ALL_LINGUAS): Add ru.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2010-03-31 01:20:25 +02:00
|
|
|
|
2010-03-30 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11456
|
|
|
|
|
* input-scrub.c (input_scrub_next_buffer): Use memmove instead
|
|
|
|
|
of memcpy to copy overlap memory.
|
|
|
|
|
|
bfd:
* Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo.
(ALL_MACHINES_CFILES): Add cpu-tic6x.c.
(BFD32_BACKENDS): Add elf32-tic6x.lo.
(BFD32_BACKENDS_CFILES): Add elf32-tic6x.c.
* Makefile.in: Regenerate.
* archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New.
(bfd_archures_list): Update.
* config.bfd (tic6x-*-elf): New.
* configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec):
New.
* configure: Regenerate.
* cpu-tic6x.c, elf32-tic6x.c: New.
* reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12,
BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7,
BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16,
BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B,
BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W,
BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B,
BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W,
BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H,
BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W,
BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W,
BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31,
BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN,
BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New.
* targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New.
(_bfd_target_vector): Update.
* bfd-in2.h, libbfd.h: Regenerate.
binutils:
* MAINTAINERS: Add self as TI C6X maintainer.
* NEWS: Add news entry for TI C6X support.
* readelf.c: Include elf/tic6x.h.
(guess_is_rela): Handle EM_TI_C6000.
(dump_relocations): Likewise.
(get_tic6x_dynamic_type): New.
(get_dynamic_type): Call it.
(get_machine_flags): Handle EF_C6000_REL.
(get_osabi_name): Handle machine-specific values only for relevant
machines. Handle C6X values.
(get_tic6x_segment_type): New.
(get_segment_type): Call it.
(get_tic6x_section_type_name): New.
(get_section_type_name): Call it.
(is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
EM_TI_C6000.
gas:
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
(TARGET_CPU_HFILES): Add config/tc-tic6x.h.
* Makefile.in: Regenerate.
* NEWS: Add news entry for TI C6X support.
* app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
operands if TC_KEEP_OPERAND_SPACES.
* configure.tgt (tic6x-*-*): New.
* config/tc-ia64.h (TC_PREDICATE_START_CHAR,
TC_PREDICATE_END_CHAR): Define.
* config/tc-tic6x.c, config/tc-tic6x.h: New.
* doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
* doc/Makefile.in: Regenerate.
* doc/all.texi (TIC6X): Define.
* doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
* doc/c-tic6x.texi: New.
gas/testsuite:
* gas/tic6x: New directory and testcases.
include:
* dis-asm.h (print_insn_tic6x): Declare.
include/elf:
* common.h (ELFOSABI_C6000_ELFABI, ELFOSABI_C6000_LINUX): Define.
* tic6x.h: New.
include/opcode:
* tic6x-control-registers.h, tic6x-insn-formats.h,
tic6x-opcode-table.h, tic6x.h: New.
ld:
* Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
eelf32_tic6x_le.o.
(eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
* NEWS: Add news entry for TI C6X support.
* configure.tgt (tic6x-*-*): New.
* emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
ld/testsuite:
* ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*.
* ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*.
* ld-tic6x: New directory and testcases.
opcodes:
* Makefile.am (TARGET_LIBOPCODES_CFILES): Add tic6x-dis.c.
* Makefile.in: Regenerate.
* configure.in (bfd_tic6x_arch): New.
* configure: Regenerate.
* disassemble.c (ARCH_tic6x): Define if ARCH_all.
(disassembler): Handle TI C6X.
* tic6x-dis.c: New.
2010-03-25 22:12:36 +01:00
|
|
|
|
2010-03-25 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
|
|
|
|
|
(TARGET_CPU_HFILES): Add config/tc-tic6x.h.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* NEWS: Add news entry for TI C6X support.
|
|
|
|
|
* app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
|
|
|
|
|
TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
|
|
|
|
|
operands if TC_KEEP_OPERAND_SPACES.
|
|
|
|
|
* configure.tgt (tic6x-*-*): New.
|
|
|
|
|
* config/tc-ia64.h (TC_PREDICATE_START_CHAR,
|
|
|
|
|
TC_PREDICATE_END_CHAR): Define.
|
|
|
|
|
* config/tc-tic6x.c, config/tc-tic6x.h: New.
|
|
|
|
|
* doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
* doc/all.texi (TIC6X): Define.
|
|
|
|
|
* doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
|
|
|
|
|
* doc/c-tic6x.texi: New.
|
|
|
|
|
|
2010-03-22 14:49:50 +01:00
|
|
|
|
2010-03-22 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
|
|
|
|
|
|
2010-03-22 04:29:47 +01:00
|
|
|
|
2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (i386_error): Replace oprand_size_mismatch
|
|
|
|
|
with operand_size_mismatch.
|
|
|
|
|
(operand_size_match): Updated.
|
|
|
|
|
(match_template): Likewise.
|
|
|
|
|
|
2010-03-22 03:20:58 +01:00
|
|
|
|
2010-03-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (i386_error): New.
|
|
|
|
|
(_i386_insn): Replace err_msg with error.
|
|
|
|
|
(operand_size_match): Set error instead of err_msg on failure.
|
|
|
|
|
(operand_type_match): Likewise.
|
|
|
|
|
(operand_type_register_match): Likewise.
|
|
|
|
|
(VEX_check_operands): Likewise.
|
|
|
|
|
(match_template): Likewise. Use error instead of err_msg with
|
|
|
|
|
as_bad.
|
|
|
|
|
|
2010-03-19 15:43:09 +01:00
|
|
|
|
2010-03-19 Jie Zhang <jie@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (make_mapping_symbol): Hanle the case
|
|
|
|
|
that two mapping symbols have the same value.
|
|
|
|
|
|
2010-03-18 16:34:47 +01:00
|
|
|
|
2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/c-arm.texi (.setfp): Correct example.
|
|
|
|
|
|
2010-03-18 12:22:46 +01:00
|
|
|
|
2010-03-18 Wei Guozhi <carrot@google.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11323
|
|
|
|
|
* config/tc-arm.c (reloc_names): New relocation names.
|
|
|
|
|
(md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
|
|
|
|
|
(tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
|
|
|
|
|
* doc/c-arm.texi (ARM-Relocations): Document the new relocation.
|
|
|
|
|
|
2010-03-15 16:08:02 +01:00
|
|
|
|
2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
2010-03-15 16:11:13 +01:00
|
|
|
|
* dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
|
|
|
|
|
cases, and not only for .eh_frame.
|
|
|
|
|
|
2010-03-15 16:08:02 +01:00
|
|
|
|
* dw2gencfi.c (output_cie): Make it more explicit which code paths
|
|
|
|
|
belong to .eh_frame only.
|
|
|
|
|
|
2010-03-13 16:54:21 +01:00
|
|
|
|
2010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
|
|
|
|
|
|
* config/tc-v850.c (v850_insert_operand): Handle out-of-range
|
|
|
|
|
assembler constants on 64-bit hosts.
|
|
|
|
|
|
2010-03-10 15:23:58 +01:00
|
|
|
|
2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
|
|
|
|
|
|
|
|
|
|
* bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
|
|
|
|
|
Strip trailing whitespace.
|
|
|
|
|
|
2010-03-10 14:03:29 +01:00
|
|
|
|
2010-03-10 Mike Frysinger <michael.frysinger@analog.com>
|
|
|
|
|
|
|
|
|
|
* doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
|
|
|
|
|
* config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
|
|
|
|
|
BFIN_CPU_BF506.
|
|
|
|
|
(bfin_cpus[]): Add 0.0 for bf504 and bf506.
|
|
|
|
|
|
2010-03-10 04:57:00 +01:00
|
|
|
|
2010-03-10 Jie Zhang <jie@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/as.texinfo: Add Blackfin options.
|
|
|
|
|
* doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
|
|
|
|
|
* config/tc-bfin.c (md_show_usage): Show usage for all
|
|
|
|
|
Blackfin specific options.
|
|
|
|
|
|
2010-03-09 01:41:24 +01:00
|
|
|
|
2010-03-09 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gas/11356
|
|
|
|
|
* listing.c (listing_newline): Correct backslash quote logic.
|
|
|
|
|
|
2010-03-08 15:07:45 +01:00
|
|
|
|
2010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
|
|
|
|
|
(ELF_TARGET_FORMAT64): Define.
|
|
|
|
|
|
2010-03-05 11:41:04 +01:00
|
|
|
|
2010-03-05 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
|
|
|
|
|
|
2010-03-02 10:32:21 +01:00
|
|
|
|
2010-03-02 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-sh.c (get_specific): Move overflow checking code to avoid
|
|
|
|
|
reading uninitialized data.
|
|
|
|
|
|
2010-03-01 17:47:52 +01:00
|
|
|
|
2010-03-01 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
|
|
|
|
|
|
2010-02-26 18:27:00 +01:00
|
|
|
|
2010-02-26 Doug Evans <dje@sebabeach.org>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Fix mep cpu case.
|
|
|
|
|
|
2010-02-26 16:57:59 +01:00
|
|
|
|
2010-02-26 Jie Zhang <jie@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_t_strexd): Remove
|
|
|
|
|
operand[1] != operand[2] contraint.
|
|
|
|
|
|
2010-02-26 16:52:41 +01:00
|
|
|
|
2010-02-26 Jie Zhang <jie@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (neon_select_shape): No need to match
|
|
|
|
|
the remaining operands in the shape when one operand does
|
|
|
|
|
not match.
|
|
|
|
|
|
2010-02-26 16:49:07 +01:00
|
|
|
|
2010-02-26 Jie Zhang <jie@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
|
|
|
|
|
alignment.
|
|
|
|
|
|
2010-02-26 03:30:26 +01:00
|
|
|
|
2010-02-25 Doug Evans <dje@sebabeach.org>
|
|
|
|
|
|
|
|
|
|
* cgen.c: Whitespace fixes.
|
|
|
|
|
(weak_operand_overflow_check): Formatting fix.
|
|
|
|
|
|
2010-02-25 22:47:27 +01:00
|
|
|
|
2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (match_template): Update error messages.
|
|
|
|
|
|
2010-02-25 18:59:52 +01:00
|
|
|
|
2010-02-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (_i386_insn): Add err_msg.
|
|
|
|
|
(operand_size_match): Set err_msg on failure.
|
|
|
|
|
(operand_type_match): Likewise.
|
|
|
|
|
(operand_type_register_match): Likewise.
|
|
|
|
|
(VEX_check_operands): Likewise.
|
|
|
|
|
(match_template): Likewise. Use i.err_msg with as_bad.
|
|
|
|
|
|
2010-02-25 12:15:48 +01:00
|
|
|
|
2010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
|
|
|
|
|
mips_fix_loongson2f_jump): New variables.
|
|
|
|
|
(md_longopts): Add New options -mfix-loongson2f-nop/jump,
|
|
|
|
|
-mno-fix-loongson2f-nop/jump.
|
|
|
|
|
(md_parse_option): Initialize variables via above options.
|
|
|
|
|
(options): New enums for the above options.
|
|
|
|
|
(md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
|
|
|
|
|
(fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
|
|
|
|
|
New functions.
|
|
|
|
|
(append_insn): call fix_loongson2f().
|
|
|
|
|
(mips_handle_align): Replace the implicit nops.
|
|
|
|
|
* config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
|
|
|
|
|
for the new mips_handle_align().
|
|
|
|
|
* doc/c-mips.texi: Document the new options.
|
|
|
|
|
|
2010-02-23 19:04:14 +01:00
|
|
|
|
2010-02-23 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_rd_rm_rn): Added warning
|
|
|
|
|
for obsolete insns.
|
|
|
|
|
|
2010-02-23 12:38:36 +01:00
|
|
|
|
2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
|
|
|
|
|
|
|
|
|
|
PR binutils/11297
|
|
|
|
|
* config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
|
|
|
|
|
(avr_cons_fix_new): Handle fixups of a single byte.
|
|
|
|
|
|
2010-02-22 11:24:56 +01:00
|
|
|
|
2010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
PR 9861
|
|
|
|
|
* config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
|
|
|
|
|
compiler's predefines.
|
|
|
|
|
|
2010-02-19 04:36:06 +01:00
|
|
|
|
2010-02-19 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Whiltespace. Sort moxie entry.
|
|
|
|
|
|
2010-02-18 11:56:28 +01:00
|
|
|
|
2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
|
|
|
|
|
* doc/c-arm.texi: Likewise.
|
|
|
|
|
|
2010-02-12 21:18:47 +01:00
|
|
|
|
2010-02-12 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (asm_opcode): operands type
|
|
|
|
|
change.
|
|
|
|
|
(BAD_PC_ADDRESSING): New macro message.
|
|
|
|
|
(BAD_PC_WRITEBACK): Likewise.
|
|
|
|
|
(MIX_ARM_THUMB_OPERANDS): New macro.
|
|
|
|
|
(operand_parse_code): Added enum values.
|
|
|
|
|
(parse_operands): Added thumb/arm distinction,
|
|
|
|
|
plus new enum values handling.
|
|
|
|
|
(encode_arm_addr_mode_2): Validations enhanced.
|
|
|
|
|
(encode_arm_addr_mode_3): Likewise.
|
|
|
|
|
(do_rm_rd_rn): Likewise.
|
|
|
|
|
(encode_thumb32_addr_mode): Likewise.
|
|
|
|
|
(do_t_ldrex): Likewise.
|
|
|
|
|
(do_t_ldst): Likewise.
|
|
|
|
|
(do_t_strex): Likewise.
|
|
|
|
|
(md_assemble): Call parse_operands with
|
|
|
|
|
a new parameter.
|
|
|
|
|
(OPS_1): New macro.
|
|
|
|
|
(OPS_2): Likewise.
|
|
|
|
|
(OPS_3): Likewise.
|
|
|
|
|
(OPS_4): Likewise.
|
|
|
|
|
(OPS_5): Likewise.
|
|
|
|
|
(OPS_6): Likewise.
|
|
|
|
|
(insns): Updated insns operands.
|
|
|
|
|
|
2010-02-12 15:34:45 +01:00
|
|
|
|
2010-02-12 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
Douglas B Rupp <rupp@gnat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
|
|
|
|
|
(DUMMY_RELOC_IA64_SLOTCOUNT): Added.
|
|
|
|
|
(pseudo_func): Add an entry for slotcount.
|
|
|
|
|
(md_begin): Initialize slotcount pseudo symbol.
|
|
|
|
|
(ia64_parse_name): Handle @slotcount parameter.
|
|
|
|
|
(ia64_gen_real_reloc_type): Handle slotcount.
|
|
|
|
|
(md_apply_fix): Ditto.
|
|
|
|
|
* doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
|
|
|
|
|
|
2010-02-11 20:08:09 +01:00
|
|
|
|
2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (istack_init): Don't call memset.
|
|
|
|
|
|
2010-02-11 20:00:21 +01:00
|
|
|
|
2010-02-11 Sterling Augustine <sterling@tensilica.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (cache_literal_section): Handle prefixes as
|
|
|
|
|
well as suffixes.
|
|
|
|
|
|
2010-02-11 20:08:09 +01:00
|
|
|
|
2010-02-11 Sterling Augustine <sterling@tensilica.com>
|
2010-02-11 20:00:21 +01:00
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
|
|
|
|
|
|
2010-02-11 15:02:50 +01:00
|
|
|
|
2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (build_modrm_byte): Reformat.
|
|
|
|
|
|
2010-02-11 14:41:19 +01:00
|
|
|
|
2010-02-11 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c: Update copyright.
|
|
|
|
|
|
2010-02-11 06:06:14 +01:00
|
|
|
|
2010-02-10 Quentin Neill <quentin.neill@amd.com>
|
|
|
|
|
Sebastian Pop <sebastian.pop@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (vec_imm4) New operand type.
|
|
|
|
|
(fits_in_imm4): New.
|
|
|
|
|
(VEX_check_operands): New.
|
|
|
|
|
(check_reverse): Call VEX_check_operands.
|
|
|
|
|
(build_modrm_byte): Reintroduce code for 5
|
|
|
|
|
operand insns. Fix whitespace.
|
|
|
|
|
|
2010-02-10 20:59:07 +01:00
|
|
|
|
2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
|
|
|
|
|
-mpwr6 and -mpwr7.
|
|
|
|
|
|
2010-02-09 20:36:50 +01:00
|
|
|
|
2010-02-09 Sterling Augustine <sterling@tensilica.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
|
|
|
|
|
(next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
|
|
|
|
|
(xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
|
|
|
|
|
|
2010-02-09 15:44:50 +01:00
|
|
|
|
2010-02-08 Christophe Lyon <christophe.lyon@st.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
|
|
|
|
|
non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
|
|
|
|
|
BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
|
|
|
|
|
BFD_RELOC_ARM_PCREL_CALL)
|
|
|
|
|
|
2010-02-08 19:45:05 +01:00
|
|
|
|
2010-02-08 Sterling Augustine <sterling@tensilica.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (frag_format_size): Generalize logic to
|
|
|
|
|
handle more instruction sizes and fetch widths.
|
|
|
|
|
(branch_align_power): Likewise.
|
|
|
|
|
(text_align_power): Likewise.
|
|
|
|
|
(bytes_to_stretch): Likewise.
|
|
|
|
|
|
2010-02-08 02:59:38 +01:00
|
|
|
|
2010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
|
|
|
|
|
(ppc_mach): Handle titan.
|
|
|
|
|
* doc/c-ppc.texi: Mention -mtitan.
|
|
|
|
|
|
2010-02-08 19:45:05 +01:00
|
|
|
|
2010-02-05 Sterling Augustine <sterling@tensilica.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
|
|
|
|
|
replace with...
|
|
|
|
|
(xtensa_fetch_width) ...this.
|
|
|
|
|
|
2010-02-05 13:43:09 +01:00
|
|
|
|
2010-02-05 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
|
|
|
|
|
MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2010-02-03 21:36:14 +01:00
|
|
|
|
2010-02-03 Quentin Neill <quentin.neill@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
|
|
|
|
|
(i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
|
|
|
|
|
* config/tc-i386.h (processor_type): Same.
|
|
|
|
|
* doc/c-i386.texi: Change amdfam15 to bdver1.
|
|
|
|
|
|
2010-01-29 17:02:41 +01:00
|
|
|
|
2010-01-29 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 11136
|
|
|
|
|
* config/tc-arm.c (neon_check_type): Handle a neon_shape value of
|
|
|
|
|
NS_NULL.
|
|
|
|
|
|
2010-01-27 23:01:38 +01:00
|
|
|
|
2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention new feature.
|
|
|
|
|
* config/obj-coff.c (obj_coff_section): Accept digits and use
|
|
|
|
|
to override default section alignment power if specified.
|
|
|
|
|
* doc/as.texinfo (.section directive): Update documentation.
|
|
|
|
|
|
Allow VL=1 on AVX scalar instructions.
gas/
2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (avxscalar): New.
(OPTION_MAVXSCALAR): Likewise.
(build_vex_prefix): Select vector_length for scalar instructions
based on avxscalar.
(md_longopts): Add OPTION_MAVXSCALAR.
(md_parse_option): Handle OPTION_MAVXSCALAR.
(md_show_usage): Add -mavxscalar=.
* doc/c-i386.texi: Document -mavxscalar=.
gas/testsuite/
2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/avx-scalar-intel.d: New.
* gas/i386/avx-scalar.d: Likewise.
* gas/i386/avx-scalar.s: Likewise.
* gas/i386/x86-64-avx-scalar-intel.d: Likewise.
* gas/i386/x86-64-avx-scalar.d: Likewise.
* gas/i386/x86-64-avx-scalar.s: Likewise.
* gas/i386/i386.exp: Run avx-scalar, avx-scalar-intel,
x86-64-avx-scalar and x86-64-avx-scalar-intel.
opcodes/
2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (XMScalar): New.
(EXdScalar): Likewise.
(EXqScalar): Likewise.
(EXqScalarS): Likewise.
(VexScalar): Likewise.
(EXdVexScalarS): Likewise.
(EXqVexScalarS): Likewise.
(XMVexScalar): Likewise.
(scalar_mode): Likewise.
(d_scalar_mode): Likewise.
(d_scalar_swap_mode): Likewise.
(q_scalar_mode): Likewise.
(q_scalar_swap_mode): Likewise.
(vex_scalar_mode): Likewise.
(vex_len_table): Duplcate entries for VEX_LEN_10_P_1,
VEX_LEN_10_P_3, VEX_LEN_11_P_1, VEX_LEN_11_P_3, VEX_LEN_2A_P_1,
VEX_LEN_2A_P_3, VEX_LEN_2C_P_3, VEX_LEN_2D_P_1, VEX_LEN_2E_P_0,
VEX_LEN_2E_P_2, VEX_LEN_2F_P_2, VEX_LEN_51_P_1, VEX_LEN_51_P_3,
VEX_LEN_52_P_1, VEX_LEN_53_P_1, VEX_LEN_58_P_1, VEX_LEN_58_P_3,
VEX_LEN_59_P_1, VEX_LEN_5A_P_1, VEX_LEN_5A_P_3, VEX_LEN_5C_P_1,
VEX_LEN_5C_P_3, VEX_LEN_5D_P_1, VEX_LEN_5D_P_3, VEX_LEN_5E_P_1,
VEX_LEN_5E_P_3, VEX_LEN_5F_P_1, VEX_LEN_5F_P_3, VEX_LEN_6E_P_2,
VEX_LEN_7E_P_1, VEX_LEN_7E_P_2, VEX_LEN_D6_P_2, VEX_LEN_C2_P_1,
VEX_LEN_C2_P_3, VEX_LEN_3A0A_P_2 and VEX_LEN_3A0B_P_2.
(vex_w_table): Update entries for VEX_W_10_P_1, VEX_W_10_P_3,
VEX_W_11_P_1, VEX_W_11_P_3, VEX_W_2E_P_0, VEX_W_2E_P_2,
VEX_W_2F_P_0, VEX_W_2F_P_2, VEX_W_51_P_1, VEX_W_51_P_3,
VEX_W_52_P_1, VEX_W_53_P_1, VEX_W_58_P_1, VEX_W_58_P_3,
VEX_W_59_P_1, VEX_W_59_P_3, VEX_W_5A_P_1, VEX_W_5A_P_3,
VEX_W_5C_P_1, VEX_W_5C_P_3, VEX_W_5D_P_1, VEX_W_5D_P_3,
VEX_W_5E_P_1, VEX_W_5E_P_3, VEX_W_5F_P_1, VEX_W_5F_P_3,
VEX_W_7E_P_1, VEX_W_D6_P_2 VEX_W_C2_P_1, VEX_W_C2_P_3,
VEX_W_3A0A_P_2 and VEX_W_3A0B_P_2.
(intel_operand_size): Handle d_scalar_mode, d_scalar_swap_mode,
q_scalar_mode, q_scalar_swap_mode.
(OP_XMM): Handle scalar_mode.
(OP_EX): Handle d_scalar_mode, d_scalar_swap_mode, q_scalar_mode
and q_scalar_swap_mode.
(OP_VEX): Handle vex_scalar_mode.
2010-01-27 15:34:40 +01:00
|
|
|
|
2010-01-27 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (avxscalar): New.
|
|
|
|
|
(OPTION_MAVXSCALAR): Likewise.
|
|
|
|
|
(build_vex_prefix): Select vector_length for scalar instructions
|
|
|
|
|
based on avxscalar.
|
|
|
|
|
(md_longopts): Add OPTION_MAVXSCALAR.
|
|
|
|
|
(md_parse_option): Handle OPTION_MAVXSCALAR.
|
|
|
|
|
(md_show_usage): Add -mavxscalar=.
|
|
|
|
|
|
|
|
|
|
* doc/c-i386.texi: Document -mavxscalar=.
|
|
|
|
|
|
2010-01-24 16:44:05 +01:00
|
|
|
|
2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
|
|
|
|
|
0xc4 individually.
|
|
|
|
|
|
2010-01-23 13:05:33 +01:00
|
|
|
|
2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* write.h (fix_at_start): Declare.
|
|
|
|
|
* write.c (fix_new_internal): Add at_beginning parameter.
|
|
|
|
|
Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
|
|
|
|
|
seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
|
|
|
|
|
(fix_new, fix_new_exp): Update accordingly.
|
|
|
|
|
(fix_at_start): New function.
|
|
|
|
|
* config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
|
|
|
|
|
(ppc_ref): New function, for OBJ_XCOFF.
|
|
|
|
|
(md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
|
|
|
|
|
* config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
|
|
|
|
|
|
2010-01-21 21:58:34 +01:00
|
|
|
|
2010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
|
|
|
|
|
on 64-bit Solaris/x86.
|
|
|
|
|
Include obj-format.h earlier.
|
|
|
|
|
|
2010-01-21 12:40:28 +01:00
|
|
|
|
2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
2010-01-29 17:02:41 +01:00
|
|
|
|
|
2010-01-21 12:40:28 +01:00
|
|
|
|
* config/tc-s390.c (s390_elf_final_processing): New function.
|
|
|
|
|
* config/tc-s390.h (elf_tc_final_processing): New macro definition.
|
|
|
|
|
(s390_elf_final_processing): Added prototype.
|
|
|
|
|
|
|
|
|
|
|
2010-01-20 12:21:37 +01:00
|
|
|
|
2010-01-20 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 11109
|
|
|
|
|
* config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
|
|
|
|
|
code to handle round-to-zero for VCVT conversions.
|
|
|
|
|
(do_neon_cvt): New. Call do_neon_cvt_1.
|
|
|
|
|
(do_neon_cvtr): New. Call do_neon_cvt_1.
|
|
|
|
|
(insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
|
|
|
|
|
insn.
|
|
|
|
|
|
2010-01-19 10:14:54 +01:00
|
|
|
|
2010-01-18 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
|
2010-01-20 12:21:37 +01:00
|
|
|
|
|
2010-01-15 22:24:13 +01:00
|
|
|
|
2010-01-15 Sebastian Pop <sebastian.pop@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (md_assemble): Before accessing the IMM field
|
|
|
|
|
check that it's not an XOP insn.
|
|
|
|
|
|
2010-01-14 05:52:57 +01:00
|
|
|
|
2010-01-14 Jie Zhang <jie.zhang@analog.com>
|
|
|
|
|
|
|
|
|
|
* config/bfin-aux.h: Remove argument names in function
|
|
|
|
|
declarations.
|
|
|
|
|
* config/bfin-lex.l (parse_int): Fix shadowed variable name
|
|
|
|
|
warning.
|
|
|
|
|
* config/bfin-parse.y (value_match): Remove argument names
|
|
|
|
|
in declaration.
|
|
|
|
|
(notethat): Likewise.
|
|
|
|
|
(yyerror): Likewise.
|
|
|
|
|
|
2010-01-13 20:01:10 +01:00
|
|
|
|
2010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
|
|
|
|
|
|
2010-01-13 15:08:54 +01:00
|
|
|
|
2010-01-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-h8300.c (h8300_elf_section): New function - issue a
|
|
|
|
|
warning message if a new section is created without setting any
|
|
|
|
|
attributes for it.
|
|
|
|
|
(md_pseudo_table): Intercept section creation pseudos.
|
|
|
|
|
(md_pcrel_from): Replace abort with an error message.
|
|
|
|
|
* config/obj-elf.c (obj_elf_section_name): Export this function.
|
|
|
|
|
* config/obj-elf.h (obj_elf_section_name): Prototype.
|
|
|
|
|
|
2010-01-12 02:10:55 +01:00
|
|
|
|
2010-01-12 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 11122
|
|
|
|
|
* listing.c (print_source): Add one to line number.
|
|
|
|
|
|
2010-01-09 22:11:44 +01:00
|
|
|
|
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
|
2010-01-08 20:40:08 +01:00
|
|
|
|
2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* version.c (parse_args): Change to "Copyright 2010".
|
|
|
|
|
|
2010-01-06 23:52:47 +01:00
|
|
|
|
2010-01-06 Quentin Neill <quentin.neill@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (cpu_arch): Add amdfam15.
|
|
|
|
|
(i386_align_code): Add PROCESSOR_AMDFAM15 cases.
|
|
|
|
|
* config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
|
|
|
|
|
* doc/c-i386.texi: Add amdfam15.
|
|
|
|
|
|
2010-01-05 00:31:04 +01:00
|
|
|
|
2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_neon_logic): Accept imm value
|
|
|
|
|
in the third operand too.
|
|
|
|
|
(operand_parse_code): OP_RNDQ_IMVNb renamed to
|
|
|
|
|
OP_RNDQ_Ibig.
|
|
|
|
|
(parse_operands): OP_NILO case removed, applied renaming.
|
|
|
|
|
(insns): Neon shape changed for some logic instructions.
|
|
|
|
|
|
2010-01-04 23:19:03 +01:00
|
|
|
|
2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_neon_ldx_stx): Added
|
|
|
|
|
validation for vector load/store insns.
|
|
|
|
|
|
2010-01-04 03:32:56 +01:00
|
|
|
|
2010-01-04 Edmar Wienskoski <edmar@freescale.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (md_show_usage): Document -me500mc64.
|
|
|
|
|
|
2010-01-04 01:39:28 +01:00
|
|
|
|
2010-01-03 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (struct arm_it): New flag 'is_neon'.
|
|
|
|
|
(NEON_ENC_*): Macros renamed to _NEON_ENC_*.
|
|
|
|
|
(NEON_ENCODE): New macro.
|
|
|
|
|
(check_neon_suffixes): New macro.
|
|
|
|
|
(do_vfp_cond_or_thumb): Set the 'is_neon' flag.
|
|
|
|
|
(do_vfp_nsyn_opcode): Likewise.
|
|
|
|
|
(do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
|
|
|
|
|
(do_vfp_nsyn_cmp): Likewise.
|
|
|
|
|
(do_neon_shl_imm): Likewise.
|
|
|
|
|
(do_neon_qshl_imm): Likewise.
|
|
|
|
|
(neon_dyadic_misc): Likewise.
|
|
|
|
|
(do_neon_mac_maybe_scalar): Likewise.
|
|
|
|
|
(do_neon_qdmulh): Likewise.
|
|
|
|
|
(do_neon_qmovn): Likewise.
|
|
|
|
|
(do_neon_qmovun): Likewise.
|
|
|
|
|
(do_neon_movn): Likewise.
|
|
|
|
|
(neon_mac_reg_scalar_long): Likewise.
|
|
|
|
|
(do_neon_vmull): Likewise.
|
|
|
|
|
(do_neon_trn): Likewise.
|
|
|
|
|
(do_neon_ldx_stx): Likewise.
|
|
|
|
|
(neon_dp_fixup): Changed signature and set the flag.
|
|
|
|
|
(neon_three_same): Call the above with new signature.
|
|
|
|
|
(neon_two_same): Likewise.
|
|
|
|
|
(neon_imm_shift): Likewise.
|
|
|
|
|
(neon_mul_mac): Likewise.
|
|
|
|
|
(do_neon_abs_neg): Likewise.
|
|
|
|
|
(neon_mixed_length): Likewise.
|
|
|
|
|
(do_neon_ext): Likewise.
|
|
|
|
|
(do_neon_mov): Likewise.
|
|
|
|
|
(do_neon_tbl_tbx): Likewise.
|
|
|
|
|
(do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
|
|
|
|
|
(neon_compare): Likewise.
|
|
|
|
|
(do_neon_shll): Likewise.
|
|
|
|
|
(do_neon_cvt): Likewise.
|
|
|
|
|
(do_neon_mvn): Likewise.
|
|
|
|
|
(do_neon_dup): Likewise.
|
2010-01-04 03:32:56 +01:00
|
|
|
|
(md_assemble): Call check_neon_suffixes ().
|
2009-12-28 19:27:42 +01:00
|
|
|
|
|
2010-01-01 19:06:10 +01:00
|
|
|
|
For older changes see ChangeLog-2009
|
2002-01-07 13:12:47 +01:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|