2014-05-07 21:37:00 +00:00
|
|
|
|
2014-05-08 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (streq): Define.
|
|
|
|
|
(mips_convert_symbolic_attribute): New function.
|
|
|
|
|
* config/tc-mips.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
|
|
|
|
|
(mips_convert_symbolic_attribute): New prototype.
|
|
|
|
|
|
2013-05-06 17:43:21 +00:00
|
|
|
|
2014-05-02 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (md_apply_fix): mark BFD_RELOC_XTENSA_DIFF*
|
|
|
|
|
fixups as signed.
|
|
|
|
|
|
Add MIPS r3 and r5 support.
This patch firstly adds support for mips32r3 mips32r5, mips64r3
and mips64r5. Secondly it adds support for the eretnc instruction.
ChangeLog:
bfd/
* aoutx.h (NAME (aout, machine_type)): Add mips32r3, mips64r3,
mips32r5 and mips64r5.
* archures.c (bfd_architecture): Likewise.
* bfd-in2.h (bfd_architecture): Likewise.
* cpu-mips.c (arch_info_struct): Likewise.
* elfxx-mips.c (mips_set_isa_flags): Likewise.
gas/
* tc-mips.c (ISA_SUPPORTS_MIPS16E): Add mips32r3, mips32r5, mips64r3
and mips64r5.
(ISA_HAS_64BIT_FPRS): Likewise.
(ISA_HAS_ROR): Likewise.
(ISA_HAS_ODD_SINGLE_FPR): Likewise.
(ISA_HAS_MXHC1): Likewise.
(hilo_interlocks): Likewise.
(md_longopts): Likewise.
(ISA_HAS_64BIT_REGS): Add mips64r3 and mips64r5.
(ISA_HAS_DROR): Likewise.
(options): Add OPTION_MIPS32R3, OPTION_MIPS32R5, OPTION_MIPS64R3, and
OPTION_MIPS64R5.
(mips_isa_rev): Add support for mips32r3, mips32r5, mips64r3 and
mips64r5.
(md_parse_option): Likewise.
(s_mipsset): Likewise.
(mips_cpu_info_table): Add entries for mips32r3, mips32r5, mips64r3
and mips64r5. Also change p5600 entry to be mips32r5.
* configure.in: Add support for mips32r3, mips32r5, mips64r3 and
mips64r5.
* configure: Regenerate.
* doc/c-mips.texi: Document the -mips32r3, -mips32r5, -mips64r3 and
-mips64r5 command line options.
* doc/as.texinfo: Likewise.
gas/testsuite/
* gas/mips/mips.exp: Add MIPS32r5 tests. Also add the mips32r3,
mips32r5, mips64r3 and mips64r5 isas to the testsuite.
* gas/mips/r5.s: New test.
* gas/mips/r5.d: Likewise.
include/opcode/
* mips.h (INSN_ISA_MASK): Updated.
(INSN_ISA32R3): New define.
(INSN_ISA32R5): New define.
(INSN_ISA64R3): New define.
(INSN_ISA64R5): New define.
(INSN_ISA64, INSN_ISA64R2, INSN_ISA3_32, INSN_ISA3_32R2, INSN_ISA4_32
INSN_ISA4_32R2, INSN_ISA5_32R2): Renumbered.
(mips_isa_table): Add entries for mips32r3, mips32r5, mips64r3 and
mips64r5.
(INSN_UPTO32R3): New define.
(INSN_UPTO32R5): New define.
(INSN_UPTO64R3): New define.
(INSN_UPTO64R5): New define.
(ISA_MIPS32R3): New define.
(ISA_MIPS32R5): New define.
(ISA_MIPS64R3): New define.
(ISA_MIPS64R5): New define.
(CPU_MIPS32R3): New define.
(CPU_MIPS32R5): New define.
(CPU_MIPS64R3): New define.
(CPU_MIPS64R5): New define.
opcodes/
* mips-opc.c (mips_builtin_opcodes): Add MIPS32r5 eretnc instruction.
(I34): New define.
(I36): New define.
(I66): New define.
(I68): New define.
* mips-dis.c (mips_arch_choices): Add mips32r3, mips32r5, mips64r3 and
mips64r5.
(parse_mips_dis_option): Update MSA and virtualization support to
allow mips64r3 and mips64r5.
2014-05-02 13:12:48 +00:00
|
|
|
|
2014-05-07 Andrew Bennett <andrew.bennett@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* tc-mips.c (ISA_SUPPORTS_MIPS16E): Add mips32r3, mips32r5, mips64r3
|
|
|
|
|
and mips64r5.
|
|
|
|
|
(ISA_HAS_64BIT_FPRS): Likewise.
|
|
|
|
|
(ISA_HAS_ROR): Likewise.
|
|
|
|
|
(ISA_HAS_ODD_SINGLE_FPR): Likewise.
|
|
|
|
|
(ISA_HAS_MXHC1): Likewise.
|
|
|
|
|
(hilo_interlocks): Likewise.
|
|
|
|
|
(md_longopts): Likewise.
|
|
|
|
|
(ISA_HAS_64BIT_REGS): Add mips64r3 and mips64r5.
|
|
|
|
|
(ISA_HAS_DROR): Likewise.
|
|
|
|
|
(options): Add OPTION_MIPS32R3, OPTION_MIPS32R5, OPTION_MIPS64R3, and
|
|
|
|
|
OPTION_MIPS64R5.
|
|
|
|
|
(mips_isa_rev): Add support for mips32r3, mips32r5, mips64r3 and
|
|
|
|
|
mips64r5.
|
|
|
|
|
(md_parse_option): Likewise.
|
|
|
|
|
(s_mipsset): Likewise.
|
|
|
|
|
(mips_cpu_info_table): Add entries for mips32r3, mips32r5, mips64r3
|
|
|
|
|
and mips64r5. Also change p5600 entry to be mips32r5.
|
|
|
|
|
* configure.in: Add support for mips32r3, mips32r5, mips64r3 and
|
|
|
|
|
mips64r5.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* doc/c-mips.texi: Document the -mips32r3, -mips32r5, -mips64r3 and
|
|
|
|
|
-mips64r5 command line options.
|
|
|
|
|
* doc/as.texinfo: Likewise.
|
|
|
|
|
|
2014-04-28 13:32:59 +00:00
|
|
|
|
2014-04-28 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gas/16858
|
|
|
|
|
* config/tc-i386.c (md_apply_fix): Do not adjust value of
|
|
|
|
|
pc-relative fixes against weak symbols.
|
|
|
|
|
|
2014-04-26 13:30:09 +00:00
|
|
|
|
2014-04-26 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* po/POTFILES.in: Regenerate.
|
|
|
|
|
|
2014-04-24 10:35:51 +00:00
|
|
|
|
2014-04-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (s_ltorg): Only create a mapping symbol for ELF
|
|
|
|
|
based targets.
|
|
|
|
|
|
2014-04-04 09:07:06 +00:00
|
|
|
|
2014-04-23 Will Newton <will.newton@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (s_ltorg): Call make_mapping_symbol
|
|
|
|
|
directly instead of mapping_state.
|
|
|
|
|
|
2014-04-23 10:24:30 +00:00
|
|
|
|
2014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (options): Add OPTION_XPA and OPTION_NO_XPA.
|
|
|
|
|
(md_longopts): Add xpa and no-xpa command line options.
|
|
|
|
|
(mips_ases): Add MIPS XPA ASE.
|
|
|
|
|
(mips_cpu_info_table): Update p5600 entry to allow the XPA ASE.
|
|
|
|
|
* doc/as.texinfo: Document the MIPS XPA command line options.
|
|
|
|
|
* doc/c-mips.texi: Document the MIPS XPA command line options,
|
|
|
|
|
and assembler directives.
|
|
|
|
|
|
2014-04-23 02:41:14 +00:00
|
|
|
|
2014-04-22 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-nios2.c (nios2_consume_arg): Add case for 'E' to
|
|
|
|
|
unbreak self-test mode.
|
|
|
|
|
|
2014-04-15 15:12:46 +00:00
|
|
|
|
2014-04-22 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (xtensa_handle_align): record alignment for the
|
|
|
|
|
first section frag.
|
|
|
|
|
|
2014-04-22 14:57:47 +00:00
|
|
|
|
2014-04-22 Christian Svensson <blue@cmd.nu>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Remove openrisc and or32 support. Add support for or1k.
|
|
|
|
|
* configure.in: Likewise.
|
|
|
|
|
* configure.tgt: Likewise.
|
|
|
|
|
* doc/as.texinfo: Likewise.
|
|
|
|
|
* config/obj-coff.h: Likewise.
|
|
|
|
|
* config/tc-or1k.c: New file.
|
|
|
|
|
* config/tc-or1k.h: New file.
|
|
|
|
|
* config/tc-openrisc.c: Delete.
|
|
|
|
|
* config/tc-openrisc.h: Delete.
|
|
|
|
|
* config/tc-or32.c: Delete.
|
|
|
|
|
* config/tc-or32.h: Delete.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2014-04-16 13:28:15 +00:00
|
|
|
|
2014-04-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-tilegx.h (TC_CONS_FIX_NEW): Add RELOC arg.
|
|
|
|
|
* config/tc-tilepro.h (TC_CONS_FIX_NEW): Likewise.
|
|
|
|
|
|
2014-04-10 15:50:33 +00:00
|
|
|
|
2014-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-avr.c: Add new flag mlink-relax.
|
|
|
|
|
(md_show_usage): Add flag and help text.
|
|
|
|
|
(md_parse_option): Record whether link relax is turned on.
|
|
|
|
|
(relaxable_section): New.
|
|
|
|
|
(avr_validate_fix_sub): New.
|
|
|
|
|
(avr_force_relocation): New.
|
|
|
|
|
(md_apply_fix): Generate DIFF reloc.
|
|
|
|
|
(avr_allow_local_subtract): New.
|
|
|
|
|
|
|
|
|
|
* config/tc-avr.h (TC_LINKRELAX_FIXUP): Define to 0.
|
|
|
|
|
(TC_FORCE_RELOCATION): Define.
|
|
|
|
|
(TC_FORCE_RELOCATION_SUB_SAME): Define.
|
|
|
|
|
(TC_VALIDATE_FIX_SUB): Define.
|
|
|
|
|
(avr_force_relocation): Declare.
|
|
|
|
|
(avr_validate_fix_sub): Declare.
|
|
|
|
|
(md_allow_local_subtract): Define.
|
|
|
|
|
(avr_allow_local_subtract): Declare.
|
|
|
|
|
|
2014-04-08 13:50:42 +00:00
|
|
|
|
2014-04-10 Andrew Bennett <andrew.bennett@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (mips_cpu_info_table): Add P5600
|
|
|
|
|
configuation.
|
|
|
|
|
* doc/c-mips.texi: Document p5600.
|
|
|
|
|
|
2014-04-09 13:05:58 +00:00
|
|
|
|
2014-04-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-rl78.h (TC_CONS_FIX_NEW): Add RELOC parameter.
|
|
|
|
|
* config/tc-z80.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
|
|
|
|
|
* config/tc-aarch64.h (TC_CONS_FIX_NEW): Discard RELOC parameter.
|
|
|
|
|
* read.c (emit_expr_fix): Mark the r parameter as potentially
|
|
|
|
|
unused.
|
|
|
|
|
|
2014-04-08 21:33:53 +00:00
|
|
|
|
2014-04-09 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (warn_476, last_insn, last_seg, last_subseg):
|
|
|
|
|
New static vars.
|
|
|
|
|
(md_longopts, md_parse_option, md_show_usage): Add --ppc476-workaround.
|
|
|
|
|
(ppc_elf_cons_fix_check): New function.
|
|
|
|
|
(md_assemble): Set last_insn, last_seg, last_subseg.
|
|
|
|
|
(ppc_byte, md_apply_fix): Handle warn_476.
|
|
|
|
|
* config/tc-ppc.h (TC_CONS_FIX_CHECK): Define.
|
|
|
|
|
(ppc_elf_cons_fix_check): Declare.
|
|
|
|
|
* read.c (cons_worker): Invoke TC_CONS_FIX_CHECK.
|
|
|
|
|
|
gas TC_PARSE_CONS_EXPRESSION communication with TC_CONS_FIX_NEW
A number of targets pass extra information from TC_PARSE_CONS_EXPRESSION
to TC_CONS_FIX_NEW via static variables. That's OK, but not best
practice. tc-ppc.c goes further in implementing its own replacement
for cons(), because the generic one doesn't allow relocation modifiers
on constants. This patch fixes both of these warts.
* gas/config/tc-alpha.h (TC_CONS_FIX_NEW): Add RELOC parameter.
* gas/config/tc-arc.c (arc_cons_fix_new): Add reloc parameter.
* gas/config/tc-arc.h (arc_cons_fix_new): Update prototype.
(TC_CONS_FIX_NEW): Add RELOC parameter.
* gas/config/tc-arm.c (cons_fix_new_arm): Similarly
* gas/config/tc-arm.h (cons_fix_new_arm, TC_CONS_FIX_NEW): Similarly.
* gas/config/tc-cr16.c (cr16_cons_fix_new): Similarly.
* gas/config/tc-cr16.h (cr16_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
* gas/config/tc-crx.h (TC_CONS_FIX_NEW): Similarly.
* gas/config/tc-m32c.c (m32c_cons_fix_new): Similarly.
* gas/config/tc-m32c.h (m32c_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
* gas/config/tc-mn10300.c (mn10300_cons_fix_new): Similarly.
* gas/config/tc-mn10300.h (mn10300_cons_fix_new, TC_CONS_FIX_NEW):
Similarly.
* gas/config/tc-ns32k.c (cons_fix_new_ns32k): Similarly.
* gas/config/tc-ns32k.h (cons_fix_new_ns32k): Similarly.
* gas/config/tc-pj.c (pj_cons_fix_new_pj): Similarly.
* gas/config/tc-pj.h (pj_cons_fix_new_pj, TC_CONS_FIX_NEW): Similarly.
* gas/config/tc-rx.c (rx_cons_fix_new): Similarly.
* gas/config/tc-rx.h (rx_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
* gas/config/tc-sh.c (sh_cons_fix_new): Similarly.
* gas/config/tc-sh.h (sh_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
* gas/config/tc-tic54x.c (tic54x_cons_fix_new): Similarly.
* gas/config/tc-tic54x.h (tic54x_cons_fix_new, TC_CONS_FIX_NEW):
Similarly.
* gas/config/tc-tic6x.c (tic6x_cons_fix_new): Similarly.
* gas/config/tc-tic6x.h (tic6x_cons_fix_new, TC_CONS_FIX_NEW):
Similarly.
* gas/config/tc-arc.c (arc_parse_cons_expression): Return reloc.
* gas/config/tc-arc.h (arc_parse_cons_expression): Update proto.
* gas/config/tc-avr.c (exp_mod_data): Make global.
(pexp_mod_data): Delete.
(avr_parse_cons_expression): Return exp_mod_data pointer.
(avr_cons_fix_new): Add exp_mod_data_t pointer param.
(exp_mod_data_t): Move typedef..
* gas/config/tc-avr.h: ..to here.
(exp_mod_data): Declare.
(TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
(avr_parse_cons_expression, avr_cons_fix_new): Update prototype.
(TC_CONS_FIX_NEW): Update.
* gas/config/tc-hppa.c (hppa_field_selector): Delete static var.
(cons_fix_new_hppa): Add hppa_field_selector param.
(fix_new_hppa): Adjust.
(parse_cons_expression_hppa): Return field selector.
* gas/config/tc-hppa.h (parse_cons_expression_hppa): Update proto.
(cons_fix_new_hppa): Likewise.
(TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
* gas/config/tc-i386.c (got_reloc): Delete static var.
(x86_cons_fix_new): Add reloc param.
(x86_cons): Return got reloc.
* gas/config/tc-i386.h (x86_cons, x86_cons_fix_new): Update proto.
(TC_CONS_FIX_NEW): Add RELOC param.
* gas/config/tc-ia64.c (ia64_cons_fix_new): Add reloc param. Adjust
calls.
* gas/config/tc-ia64.h (ia64_cons_fix_new): Update prototype.
(TC_CONS_FIX_NEW): Add reloc param.
* gas/config/tc-microblaze.c (parse_cons_expression_microblaze):
Return reloc.
(cons_fix_new_microblaze): Add reloc param.
* gas/config/tc-microblaze.h: Formatting.
(parse_cons_expression_microblaze): Update proto.
(cons_fix_new_microblaze): Likewise.
* gas/config/tc-nios2.c (nios2_tls_ldo_reloc): Delete static var.
(nios2_cons): Return ldo reloc.
(nios2_cons_fix_new): Delete.
* gas/config/tc-nios2.h (nios2_cons): Update prototype.
(nios2_cons_fix_new, TC_CONS_FIX_NEW): Delete.
* gas/config/tc-ppc.c (md_pseudo_table): Remove quad, long, word,
short. Make llong use cons.
(ppc_elf_suffix): Return BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
(ppc_elf_cons): Delete.
(ppc_elf_parse_cons): New function.
(ppc_elf_validate_fix): Don't check for BFD_RELOC_UNUSED.
(md_assemble): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
* gas/config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): Define
(ppc_elf_parse_cons): Declare.
* gas/config/tc-sparc.c (sparc_cons_special_reloc): Delete static var.
(sparc_cons): Return reloc specifier.
(cons_fix_new_sparc): Add reloc specifier param.
(sparc_cfi_emit_pcrel_expr): Use emit_expr_with_reloc.
* gas/config/tc-sparc.h (TC_PARSE_CONS_RETURN_TYPE): Define.
(TC_PARSE_CONS_RETURN_NONE): Define.
(sparc_cons, cons_fix_new_sparc): Update prototype.
* gas/config/tc-v850.c (hold_cons_reloc): Delete static var.
(v850_reloc_prefix): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
(md_assemble): Likewise.
(parse_cons_expression_v850): Return reloc.
(cons_fix_new_v850): Add reloc parameter.
* gas/config/tc-v850.h (parse_cons_expression_v850): Update proto.
(cons_fix_new_v850): Likewise.
* gas/config/tc-vax.c (vax_cons_special_reloc): Delete static var.
(vax_cons): Return reloc.
(vax_cons_fix_new): Add reloc parameter.
* gas/config/tc-vax.h (vax_cons, vax_cons_fix_new): Update proto.
* gas/config/tc-xstormy16.c (xstormy16_cons_fix_new): Add reloc param.
* gas/config/tc-xstormy16.h (xstormy16_cons_fix_new): Update proto.
* gas/dwarf2dbg.c (TC_PARSE_CONS_RETURN_NONE): Provide default.
(emit_fixed_inc_line_addr): Adjust exmit_expr_fix calls.
* gas/read.c (TC_PARSE_CONS_EXPRESSION): Return value.
(do_parse_cons_expression): Adjust.
(cons_worker): Pass return value from TC_PARSE_CONS_EXPRESSION
to emit_expr_with_reloc.
(emit_expr_with_reloc): New function handling reloc, mostly
extracted from..
(emit_expr): ..here.
(emit_expr_fix): Add reloc param. Adjust TC_CONS_FIX_NEW invocation.
Handle reloc.
(parse_mri_cons): Convert to ISO.
* gas/read.h (TC_PARSE_CONS_RETURN_TYPE): Define.
(TC_PARSE_CONS_RETURN_NONE): Define.
(emit_expr_with_reloc): Declare.
(emit_expr_fix): Update prototype.
* gas/write.c (write_object_file): Update TC_CONS_FIX_NEW invocation.
2014-04-08 05:08:22 +00:00
|
|
|
|
2014-04-09 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gas/config/tc-alpha.h (TC_CONS_FIX_NEW): Add RELOC parameter.
|
|
|
|
|
* gas/config/tc-arc.c (arc_cons_fix_new): Add reloc parameter.
|
|
|
|
|
* gas/config/tc-arc.h (arc_cons_fix_new): Update prototype.
|
|
|
|
|
(TC_CONS_FIX_NEW): Add RELOC parameter.
|
|
|
|
|
* gas/config/tc-arm.c (cons_fix_new_arm): Similarly
|
|
|
|
|
* gas/config/tc-arm.h (cons_fix_new_arm, TC_CONS_FIX_NEW): Similarly.
|
|
|
|
|
* gas/config/tc-cr16.c (cr16_cons_fix_new): Similarly.
|
|
|
|
|
* gas/config/tc-cr16.h (cr16_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
|
|
|
|
|
* gas/config/tc-crx.h (TC_CONS_FIX_NEW): Similarly.
|
|
|
|
|
* gas/config/tc-m32c.c (m32c_cons_fix_new): Similarly.
|
|
|
|
|
* gas/config/tc-m32c.h (m32c_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
|
|
|
|
|
* gas/config/tc-mn10300.c (mn10300_cons_fix_new): Similarly.
|
|
|
|
|
* gas/config/tc-mn10300.h (mn10300_cons_fix_new, TC_CONS_FIX_NEW):
|
|
|
|
|
Similarly.
|
|
|
|
|
* gas/config/tc-ns32k.c (cons_fix_new_ns32k): Similarly.
|
|
|
|
|
* gas/config/tc-ns32k.h (cons_fix_new_ns32k): Similarly.
|
|
|
|
|
* gas/config/tc-pj.c (pj_cons_fix_new_pj): Similarly.
|
|
|
|
|
* gas/config/tc-pj.h (pj_cons_fix_new_pj, TC_CONS_FIX_NEW): Similarly.
|
|
|
|
|
* gas/config/tc-rx.c (rx_cons_fix_new): Similarly.
|
|
|
|
|
* gas/config/tc-rx.h (rx_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
|
|
|
|
|
* gas/config/tc-sh.c (sh_cons_fix_new): Similarly.
|
|
|
|
|
* gas/config/tc-sh.h (sh_cons_fix_new, TC_CONS_FIX_NEW): Similarly.
|
|
|
|
|
* gas/config/tc-tic54x.c (tic54x_cons_fix_new): Similarly.
|
|
|
|
|
* gas/config/tc-tic54x.h (tic54x_cons_fix_new, TC_CONS_FIX_NEW):
|
|
|
|
|
Similarly.
|
|
|
|
|
* gas/config/tc-tic6x.c (tic6x_cons_fix_new): Similarly.
|
|
|
|
|
* gas/config/tc-tic6x.h (tic6x_cons_fix_new, TC_CONS_FIX_NEW):
|
|
|
|
|
Similarly.
|
|
|
|
|
* gas/config/tc-arc.c (arc_parse_cons_expression): Return reloc.
|
|
|
|
|
* gas/config/tc-arc.h (arc_parse_cons_expression): Update proto.
|
|
|
|
|
* gas/config/tc-avr.c (exp_mod_data): Make global.
|
|
|
|
|
(pexp_mod_data): Delete.
|
|
|
|
|
(avr_parse_cons_expression): Return exp_mod_data pointer.
|
|
|
|
|
(avr_cons_fix_new): Add exp_mod_data_t pointer param.
|
|
|
|
|
(exp_mod_data_t): Move typedef..
|
|
|
|
|
* gas/config/tc-avr.h: ..to here.
|
|
|
|
|
(exp_mod_data): Declare.
|
|
|
|
|
(TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
|
|
|
|
|
(avr_parse_cons_expression, avr_cons_fix_new): Update prototype.
|
|
|
|
|
(TC_CONS_FIX_NEW): Update.
|
|
|
|
|
* gas/config/tc-hppa.c (hppa_field_selector): Delete static var.
|
|
|
|
|
(cons_fix_new_hppa): Add hppa_field_selector param.
|
|
|
|
|
(fix_new_hppa): Adjust.
|
|
|
|
|
(parse_cons_expression_hppa): Return field selector.
|
|
|
|
|
* gas/config/tc-hppa.h (parse_cons_expression_hppa): Update proto.
|
|
|
|
|
(cons_fix_new_hppa): Likewise.
|
|
|
|
|
(TC_PARSE_CONS_RETURN_TYPE, TC_PARSE_CONS_RETURN_NONE): Define.
|
|
|
|
|
* gas/config/tc-i386.c (got_reloc): Delete static var.
|
|
|
|
|
(x86_cons_fix_new): Add reloc param.
|
|
|
|
|
(x86_cons): Return got reloc.
|
|
|
|
|
* gas/config/tc-i386.h (x86_cons, x86_cons_fix_new): Update proto.
|
|
|
|
|
(TC_CONS_FIX_NEW): Add RELOC param.
|
|
|
|
|
* gas/config/tc-ia64.c (ia64_cons_fix_new): Add reloc param. Adjust
|
|
|
|
|
calls.
|
|
|
|
|
* gas/config/tc-ia64.h (ia64_cons_fix_new): Update prototype.
|
|
|
|
|
(TC_CONS_FIX_NEW): Add reloc param.
|
|
|
|
|
* gas/config/tc-microblaze.c (parse_cons_expression_microblaze):
|
|
|
|
|
Return reloc.
|
|
|
|
|
(cons_fix_new_microblaze): Add reloc param.
|
|
|
|
|
* gas/config/tc-microblaze.h: Formatting.
|
|
|
|
|
(parse_cons_expression_microblaze): Update proto.
|
|
|
|
|
(cons_fix_new_microblaze): Likewise.
|
|
|
|
|
* gas/config/tc-nios2.c (nios2_tls_ldo_reloc): Delete static var.
|
|
|
|
|
(nios2_cons): Return ldo reloc.
|
|
|
|
|
(nios2_cons_fix_new): Delete.
|
|
|
|
|
* gas/config/tc-nios2.h (nios2_cons): Update prototype.
|
|
|
|
|
(nios2_cons_fix_new, TC_CONS_FIX_NEW): Delete.
|
|
|
|
|
* gas/config/tc-ppc.c (md_pseudo_table): Remove quad, long, word,
|
|
|
|
|
short. Make llong use cons.
|
|
|
|
|
(ppc_elf_suffix): Return BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
|
|
|
|
|
(ppc_elf_cons): Delete.
|
|
|
|
|
(ppc_elf_parse_cons): New function.
|
|
|
|
|
(ppc_elf_validate_fix): Don't check for BFD_RELOC_UNUSED.
|
|
|
|
|
(md_assemble): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
|
|
|
|
|
* gas/config/tc-ppc.h (TC_PARSE_CONS_EXPRESSION): Define
|
|
|
|
|
(ppc_elf_parse_cons): Declare.
|
|
|
|
|
* gas/config/tc-sparc.c (sparc_cons_special_reloc): Delete static var.
|
|
|
|
|
(sparc_cons): Return reloc specifier.
|
|
|
|
|
(cons_fix_new_sparc): Add reloc specifier param.
|
|
|
|
|
(sparc_cfi_emit_pcrel_expr): Use emit_expr_with_reloc.
|
|
|
|
|
* gas/config/tc-sparc.h (TC_PARSE_CONS_RETURN_TYPE): Define.
|
|
|
|
|
(TC_PARSE_CONS_RETURN_NONE): Define.
|
|
|
|
|
(sparc_cons, cons_fix_new_sparc): Update prototype.
|
|
|
|
|
* gas/config/tc-v850.c (hold_cons_reloc): Delete static var.
|
|
|
|
|
(v850_reloc_prefix): Use BFD_RELOC_NONE rather than BFD_RELOC_UNUSED.
|
|
|
|
|
(md_assemble): Likewise.
|
|
|
|
|
(parse_cons_expression_v850): Return reloc.
|
|
|
|
|
(cons_fix_new_v850): Add reloc parameter.
|
|
|
|
|
* gas/config/tc-v850.h (parse_cons_expression_v850): Update proto.
|
|
|
|
|
(cons_fix_new_v850): Likewise.
|
|
|
|
|
* gas/config/tc-vax.c (vax_cons_special_reloc): Delete static var.
|
|
|
|
|
(vax_cons): Return reloc.
|
|
|
|
|
(vax_cons_fix_new): Add reloc parameter.
|
|
|
|
|
* gas/config/tc-vax.h (vax_cons, vax_cons_fix_new): Update proto.
|
|
|
|
|
* gas/config/tc-xstormy16.c (xstormy16_cons_fix_new): Add reloc param.
|
|
|
|
|
* gas/config/tc-xstormy16.h (xstormy16_cons_fix_new): Update proto.
|
|
|
|
|
* gas/dwarf2dbg.c (TC_PARSE_CONS_RETURN_NONE): Provide default.
|
|
|
|
|
(emit_fixed_inc_line_addr): Adjust exmit_expr_fix calls.
|
|
|
|
|
* gas/read.c (TC_PARSE_CONS_EXPRESSION): Return value.
|
|
|
|
|
(do_parse_cons_expression): Adjust.
|
|
|
|
|
(cons_worker): Pass return value from TC_PARSE_CONS_EXPRESSION
|
|
|
|
|
to emit_expr_with_reloc.
|
|
|
|
|
(emit_expr_with_reloc): New function handling reloc, mostly
|
|
|
|
|
extracted from..
|
|
|
|
|
(emit_expr): ..here.
|
|
|
|
|
(emit_expr_fix): Add reloc param. Adjust TC_CONS_FIX_NEW invocation.
|
|
|
|
|
Handle reloc.
|
|
|
|
|
(parse_mri_cons): Convert to ISO.
|
|
|
|
|
* gas/read.h (TC_PARSE_CONS_RETURN_TYPE): Define.
|
|
|
|
|
(TC_PARSE_CONS_RETURN_NONE): Define.
|
|
|
|
|
(emit_expr_with_reloc): Declare.
|
|
|
|
|
(emit_expr_fix): Update prototype.
|
|
|
|
|
* gas/write.c (write_object_file): Update TC_CONS_FIX_NEW invocation.
|
|
|
|
|
|
2014-04-03 12:40:04 +00:00
|
|
|
|
2014-04-03 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (cpu_arch): Add .se1.
|
|
|
|
|
* doc/c-i386.texi: Document .se1/se1.
|
|
|
|
|
|
2014-04-02 20:50:29 +00:00
|
|
|
|
2014-04-02 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-rl78.c (md_apply_fix): Add overflow warnings for
|
|
|
|
|
pc-relative branches.
|
|
|
|
|
|
2014-04-02 15:29:35 +00:00
|
|
|
|
2014-04-02 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gas/16765
|
|
|
|
|
* config/tc-arm.c (create_unwind_entry): Report an error if an
|
|
|
|
|
attempt to recreate an unwind directive is encountered.
|
|
|
|
|
|
2014-03-27 09:41:06 +00:00
|
|
|
|
2014-03-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-score.c (s3_parse_pce_inst): Add "%s" parameter to
|
|
|
|
|
sprintf in order to avoid a compile time warning.
|
|
|
|
|
|
2014-03-26 16:34:04 +00:00
|
|
|
|
2014-03-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-rl78.c (rl78_op): Issue an error message if a 16-bit
|
|
|
|
|
relocation is used on an 8-bit operand or vice versa.
|
|
|
|
|
(tc_gen_reloc): Use the RL78_16U relocation for RL78_CODE.
|
|
|
|
|
(md_apply_fix): Add support for RL78_HI8, RL78_HI16 and RL78_LO16.
|
|
|
|
|
|
2014-03-25 16:50:10 +00:00
|
|
|
|
2014-03-25 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/obj-coff-seh.c (obj_coff_seh_code): New function -
|
|
|
|
|
switches the current segment back to the code segment recorded
|
|
|
|
|
when seh_proc was last invoked.
|
|
|
|
|
* config/obj-coff-seh.h (SEH_CMDS): Add seh_code.
|
|
|
|
|
|
2014-03-25 01:31:09 +00:00
|
|
|
|
2014-03-25 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_is_toc_sym): Revert 2014-03-05.
|
|
|
|
|
(md_assemble): Likewise. Warn.
|
|
|
|
|
|
2014-03-21 11:53:42 +00:00
|
|
|
|
2014-03-21 David Weatherford <weath@cadence.com>
|
|
|
|
|
Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (xtensa_check_frag_count)
|
|
|
|
|
xtensa_create_trampoline_frag,
|
|
|
|
|
xtensa_maybe_create_trampoline_frag, init_trampoline_frag,
|
|
|
|
|
find_trampoline_seg, search_trampolines, get_best_trampoline,
|
|
|
|
|
check_and_update_trampolines, add_jump_to_trampoline,
|
|
|
|
|
dump_trampolines): New functions.
|
|
|
|
|
(md_parse_option): Add cases for --[no-]trampolines options.
|
|
|
|
|
(md_assemble, finish_vinsn, xtensa_end): Add call to
|
|
|
|
|
xtensa_check_frag_count.
|
|
|
|
|
(xg_assemble_vliw_tokens): Add call to
|
|
|
|
|
xtensa_maybe_create_trampoline_frag.
|
|
|
|
|
(xtensa_relax_frag): Relax fragments with RELAX_TRAMPOLINE state.
|
|
|
|
|
(relax_frag_immed): Relax jump instructions that cannot reach its
|
|
|
|
|
target.
|
|
|
|
|
* config/tc-xtensa.h (xtensa_relax_statesE::RELAX_TRAMPOLINE): New
|
|
|
|
|
relax state.
|
|
|
|
|
* doc/as.texinfo: Document --[no-]trampolines command-line options.
|
|
|
|
|
* doc/c-xtensa.texi: Document trampolines relaxation and command
|
|
|
|
|
line options.
|
|
|
|
|
* frags.c (get_frag_count, clear_frag_count): New function.
|
|
|
|
|
(frag_alloc): Increment totalfrags counter.
|
|
|
|
|
* frags.h (get_frag_count, clear_frag_count): New function.
|
|
|
|
|
|
2014-03-20 21:50:49 +00:00
|
|
|
|
2014-03-20 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/rl78-defs.h (RL78_RELAX_NONE, RL78_RELAX_BRANCH): Add.
|
|
|
|
|
* config/rl78-parse.y (BC, BNC, BZ, BNZ, BH, BHZ, bt_bf): Call
|
|
|
|
|
rl78_relax().
|
|
|
|
|
* config/tc-rl78.h (md_relax_frag): Define.
|
|
|
|
|
(rl78_relax_frag): Declare.
|
|
|
|
|
* config/tc-rl78.c (rl78_relax): Add.
|
|
|
|
|
(md_assemble): Set up the variable frags also when relaxing.
|
|
|
|
|
(op_type_T): New.
|
|
|
|
|
(rl78_opcode_type): New.
|
|
|
|
|
(rl78_frag_fix_value): New.
|
|
|
|
|
(md_estimate_size_before_relax): New-ish.
|
|
|
|
|
(rl78_relax_frag): New.
|
|
|
|
|
(md_convert_frag): New-ish.
|
|
|
|
|
|
gas/
* config/tc-mips.h (DIFF_EXPR_OK, CFI_DIFF_EXPR_OK): Define.
* config/tc-mips.c (md_pcrel_from): Remove error message.
(md_apply_fix): Convert PC-relative BFD_RELOC_32s to
BFD_RELOC_32_PCREL. Report a specific error message for unhandled
PC-relative expressions. Handle BFD_RELOC_8.
gas/testsuite/
* gas/all/gas.exp: Remove XFAIL of forward.d for MIPS.
* gas/mips/pcrel-1.s, gas/mips/pcrel-1.d, gas/mips/pcrel-2.s,
gas/mips/pcrel-2.d, gas/mips/pcrel-3.s, gas/mips/pcrel-3.l,
gas/mips/pcrel-4.s, gas/mips/pcrel-4-32.d, gas/mips/pcrel-4-n32.d,
gas/mips/pcrel-4-64.d: New tests.
* gas/mips/mips.exp: Run them.
* gas/mips/lui-2.l: Tweak error message for line 7.
ld/testsuite/
* ld-elf/merge.d: Remove MIPS XFAIL.
2014-03-20 21:18:43 +00:00
|
|
|
|
2014-03-20 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.h (DIFF_EXPR_OK, CFI_DIFF_EXPR_OK): Define.
|
|
|
|
|
* config/tc-mips.c (md_pcrel_from): Remove error message.
|
|
|
|
|
(md_apply_fix): Convert PC-relative BFD_RELOC_32s to
|
|
|
|
|
BFD_RELOC_32_PCREL. Report a specific error message for unhandled
|
|
|
|
|
PC-relative expressions. Handle BFD_RELOC_8.
|
|
|
|
|
|
2014-03-19 16:43:41 +00:00
|
|
|
|
2014-03-19 Jose E. Marchesi <jose.marchesi@oracle.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-sparc.c (hpriv_reg_table): Added entries for
|
|
|
|
|
%hstick_offset and %hstick_enable.
|
|
|
|
|
* doc/c-sparc.texi (Sparc-Regs): Document the %hstick_offset and
|
|
|
|
|
%hstick_enable hyperprivileged registers.
|
|
|
|
|
|
2014-03-19 14:43:00 +00:00
|
|
|
|
2014-03-19 Daniel Gutson <daniel.gutson@tallertechnologies.com>
|
2014-03-19 14:31:25 +00:00
|
|
|
|
Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (codecomposer_syntax): New flag that states whether the
|
|
|
|
|
CCS syntax compatibility mode is on or off.
|
|
|
|
|
(asmfunc_states): New enum to represent the asmfunc directive state.
|
|
|
|
|
(asmfunc_state): New variable holding the asmfunc directive state.
|
|
|
|
|
(comment_chars): Rename to arm_comment_chars.
|
|
|
|
|
(line_separator_chars): Rename to arm_line_separator_chars.
|
|
|
|
|
(s_ccs_ref): New function that handles the .ref directive.
|
|
|
|
|
(asmfunc_debug): New function.
|
|
|
|
|
(s_ccs_asmfunc): New function that handles the .asmfunc directive.
|
|
|
|
|
(s_ccs_endasmfunc): New function that handles the .endasmfunc directive.
|
|
|
|
|
(s_ccs_def): New function that handles the .def directive.
|
|
|
|
|
(tc_start_label_without_colon): New function.
|
|
|
|
|
(md_pseudo_table): Added new CCS directives.
|
|
|
|
|
(arm_ccs_mode): New function that handles the -mccs command line option.
|
|
|
|
|
(arm_long_opts): Added new -mccs command line option.
|
|
|
|
|
* config/tc-arm.h (LABELS_WITHOUT_COLONS): New macro.
|
|
|
|
|
(TC_START_LABEL_WITHOUT_COLON): New macro.
|
|
|
|
|
(tc_start_label_without_colon): Added extern function declaration.
|
|
|
|
|
(tc_comment_chars): Define.
|
|
|
|
|
(tc_line_separator_chars): Define.
|
|
|
|
|
* app.c (do_scrub_begin): Use tc_line_separator_chars, if defined.
|
|
|
|
|
* read.c (read_begin): Likewise.
|
|
|
|
|
* doc/as.texinfo: Add documentation for the -mccs command line
|
|
|
|
|
option.
|
|
|
|
|
* doc/c-arm.texi: Likewise.
|
|
|
|
|
* doc/internals.texi: Document tc_line_separator_chars.
|
|
|
|
|
* NEWS: Mention the new feature.
|
|
|
|
|
|
2014-03-18 17:41:43 +00:00
|
|
|
|
2014-03-18 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-aarch64.c (aarch64_opts): Add new option
|
|
|
|
|
"mno-verbose-error".
|
|
|
|
|
(verbose_error_p): Initialize to 1.
|
|
|
|
|
* doc/c-aarch64.texi (AArch64 Options): Document -mverbose-error
|
|
|
|
|
and -mno-verbose-error.
|
|
|
|
|
|
2014-03-17 16:30:30 +00:00
|
|
|
|
2014-03-17 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gas/16694
|
|
|
|
|
* config/tc-arm.c (tc_arm_regname_to_dw2regnum): Parse VFP
|
|
|
|
|
registers as well.
|
|
|
|
|
|
2014-03-13 17:10:04 +00:00
|
|
|
|
2014-03-13 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
Jiong Wang <Jiong.Wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* doc/c-aarch64.texi: Clean up some formatting issues.
|
|
|
|
|
(AArch64 Options): Document -mcpu and -march.
|
|
|
|
|
(AArch64 Extensions): New node.
|
|
|
|
|
|
2013-12-02 13:30:32 +00:00
|
|
|
|
2014-03-13 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (use_big_obj): Declare.
|
|
|
|
|
(OPTION_MBIG_OBJ): Define.
|
|
|
|
|
(md_longopts): Add -mbig-obj option.
|
|
|
|
|
(md_parse_option): Handle it.
|
|
|
|
|
(md_show_usage): Display help for this option.
|
|
|
|
|
(i386_target_format): Use bigobj for x86-64 if -mbig-obj.
|
|
|
|
|
* doc/c-i386.texi: Document the option.
|
|
|
|
|
|
2014-03-12 15:44:09 +00:00
|
|
|
|
2014-03-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gas/16688
|
|
|
|
|
* config/tc-aarch64.c (literal_expression): New structure.
|
|
|
|
|
(literal_pool): Replace exp array with literal_expression array.
|
|
|
|
|
(add_to_lit_pool): When adding a bignum cache the big value.
|
|
|
|
|
(s_ltorg): When emitting a bignum initialise the global bignum
|
|
|
|
|
array from the cached value.
|
|
|
|
|
|
2014-03-12 04:32:00 +00:00
|
|
|
|
2014-03-12 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
|
* gas/tc-avr.c: Add new devices
avr25: ata5272, attiny828
avr35: ata5505, attiny1634
avr4: atmega8a, ata6285, ata6286, atmega48pa
avr5: at90pwm161, ata5790, ata5795, atmega164pa, atmega165pa,
atmega168pa, atmega32a, atmega64rfr2, atmega644rfr2, atmega64a,
atmega16hva2
avr51: atmega128a, atmega1284
avrxmega2: atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4,
atxmega32e5, atxmega16e5, atxmega8e5
avrxmega4: atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3,
atxmega64c3, atxmega64d4
avrxmega6: atxmega128a3u, atxmega128b3, atxmega128c3,
atxmega128d4, atxmega192a3u, atxmega192c3, atxmega256a3u,
atxmega256c3, atxmega384c3, atxmega384d3
avrxmega7: atxmega128a4u
* doc/c-avr.texi: Ditto.
2014-03-06 14:59:05 +00:00
|
|
|
|
2014-03-06 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
|
|
|
|
|
Vishnu KS <Vishnu.k_s@atmel.com>
|
|
|
|
|
Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
|
|
|
|
Soundararajan <Soundararajan.dhakshinamoorthy@atmel.com>
|
|
|
|
|
|
|
|
|
|
* gas/tc-avr.c: Add new devices
|
|
|
|
|
avr25: ata5272, attiny828
|
|
|
|
|
avr35: ata5505, attiny1634
|
|
|
|
|
avr4: atmega8a, ata6285, ata6286, atmega48pa
|
|
|
|
|
avr5: at90pwm161, ata5790, ata5795, atmega164pa, atmega165pa,
|
|
|
|
|
atmega168pa, atmega32a, atmega64rfr2, atmega644rfr2, atmega64a,
|
|
|
|
|
atmega16hva2
|
|
|
|
|
avr51: atmega128a, atmega1284
|
|
|
|
|
avrxmega2: atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4,
|
|
|
|
|
atxmega32e5, atxmega16e5, atxmega8e5
|
|
|
|
|
avrxmega4: atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3,
|
|
|
|
|
atxmega64c3, atxmega64d4
|
|
|
|
|
avrxmega6: atxmega128a3u, atxmega128b3, atxmega128c3,
|
|
|
|
|
atxmega128d4, atxmega192a3u, atxmega192c3, atxmega256a3u,
|
|
|
|
|
atxmega256c3, atxmega384c3, atxmega384d3
|
|
|
|
|
avrxmega7: atxmega128a4u
|
|
|
|
|
* doc/c-avr.texi: Ditto.
|
|
|
|
|
|
2014-03-05 11:46:15 +00:00
|
|
|
|
2014-03-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2014-03-05 09:27:39 +00:00
|
|
|
|
2014-03-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_elf_suffix): Support @localentry.
|
|
|
|
|
(md_apply_fix): Support R_PPC64_ADDR64_LOCAL.
|
|
|
|
|
|
2014-03-05 09:01:45 +00:00
|
|
|
|
2014-03-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (md_assemble): Move code adjusting reloc types
|
|
|
|
|
later. Merge absolute and relative branch reloc selection.
|
|
|
|
|
Generate 16-bit relocs for most 16-bit insn fields given a
|
|
|
|
|
non-constant expression.
|
|
|
|
|
|
2014-03-05 08:57:57 +00:00
|
|
|
|
2014-03-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_is_toc_sym): Remove OBJ_ELF support.
|
|
|
|
|
(md_assemble): Don't call ppc_is_toc_sym for ELF.
|
|
|
|
|
|
2014-03-04 21:30:39 +00:00
|
|
|
|
2014-03-04 Heiher <r@hev.cc>
|
2014-03-04 21:18:02 +00:00
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (mips_cpu_info_table): Use ISA_MIPS64R2 for
|
|
|
|
|
Loongson-3A.
|
|
|
|
|
|
2014-03-03 17:27:55 +00:00
|
|
|
|
2014-03-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/msp430/msp430.c: Replace known mcu array with known
|
|
|
|
|
msp430 ISA mcu name array.
|
|
|
|
|
Accept any name for -mmcu option.
|
|
|
|
|
Add -mz option to warn about missing NOP following an interrupt
|
|
|
|
|
status change.
|
|
|
|
|
(check_for_nop): New.
|
|
|
|
|
(msp430_operands): Emit a warning, if requested, when an interrupt
|
|
|
|
|
changing instruction is not followed by a NOP.
|
|
|
|
|
* doc/c-msp430.c: Document -mz option.
|
|
|
|
|
|
2014-03-01 11:25:26 +00:00
|
|
|
|
2014-03-03 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/bfin-lex-wrapper.c: Correct copyright date.
|
2014-03-03 03:11:34 +00:00
|
|
|
|
* config/obj-fdpicelf.c: Likewise.
|
|
|
|
|
* config/obj-fdpicelf.h: Likewise.
|
2014-03-01 11:25:26 +00:00
|
|
|
|
* config/tc-frv.c: Correct copyright punctuation.
|
|
|
|
|
* config/tc-ip2k.c: Likewise.
|
|
|
|
|
* config/tc-iq2000.c: Likewise.
|
|
|
|
|
* config/tc-mep.c: Likewise.
|
|
|
|
|
* config/tc-tic4x.c: Likewise.
|
|
|
|
|
* config/tc-tic4x.h: Likewise.
|
|
|
|
|
|
2014-03-01 09:12:49 +00:00
|
|
|
|
2014-03-01 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-avr.c: Remove atxmega16x1.
|
|
|
|
|
|
2014-02-28 04:39:32 +00:00
|
|
|
|
2014-02-28 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* dwarf2dbg.c (out_debug_line): Correct .debug_line header_length
|
|
|
|
|
field for 64-bit dwarf.
|
|
|
|
|
|
2014-02-20 14:57:31 +00:00
|
|
|
|
2014-02-21 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (cpu_arch): Add .prefetchwt1.
|
|
|
|
|
* doc/c-i386.texi: Document .prefetchwt1/prefetchwt1.
|
|
|
|
|
|
Add clflushopt, xsaves, xsavec, xrstors
gas/
2014-02-12 Ilya Tocar <ilya.tocar@intel.com>
* config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
* doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
clflushopt/.clfushopt.
gas/testsuite/
2014-02-12 Ilya Tocar <ilya.tocar@intel.com>
* gas/i386/clflushopt-intel.d: New.
* gas/i386/clflushopt.d: Ditto.
* gas/i386/clflushopt.s: Ditto.
* gas/i386/i386.exp: Run new tests.
* gas/i386/x86-64-clflushopt-intel.d: New.
* gas/i386/x86-64-clflushopt.d: Ditto.
* gas/i386/x86-64-clflushopt.s: Ditto.
* gas/i386/x86-64-xsavec-intel.d: Ditto.
* gas/i386/x86-64-xsavec.d: Ditto.
* gas/i386/x86-64-xsavec.s: Ditto.
* gas/i386/x86-64-xsaves-intel.d: Ditto.
* gas/i386/x86-64-xsaves.d: Ditto.
* gas/i386/x86-64-xsaves.s: Ditto.
* gas/i386/xsavec-intel.d: Ditto.
* gas/i386/xsavec.d: Ditto.
* gas/i386/xsavec.s: Ditto.
* gas/i386/xsaves-intel.d: Ditto.
* gas/i386/xsaves.d: Ditto.
* gas/i386/xsaves.s: Ditto.
opcodes/
2014-02-12 Ilya Tocar <ilya.tocar@intel.com>
* i386-dis.c (MOD enum): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4,
MOD_0FC7_REG_5.
(PREFIX enum): Add PREFIX_0FAE_REG_7.
(reg_table): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4 MOD_0FC7_REG_5.
(prefix_table): Add clflusopt.
(mod_table): Add xrstors, xsavec, xsaves.
* i386-gen.c (cpu_flag_init): Add CPU_CLFLUSHOPT_FLAGS,
CPU_XSAVES_FLAGS, CPU_XSAVEC_FLAGS.
(cpu_flags): Add CpuClflushOpt, CpuXSAVES, CpuXSAVEC.
* i386-init.h: Regenerate.
* i386-opc.tbl: Add clflushopt, xrstors, xrstors64, xsaves,
xsaves64, xsavec, xsavec64.
* i386-tbl.h: Regenerate.
2013-11-25 12:35:42 +00:00
|
|
|
|
2014-02-12 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
|
|
|
|
|
* doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
|
|
|
|
|
clflushopt/.clfushopt.
|
|
|
|
|
|
2014-02-09 23:29:35 +00:00
|
|
|
|
2014-02-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* po/POTFILES.in: Regenerate.
|
|
|
|
|
* po/gas.pot: Regenerate.
|
|
|
|
|
|
2014-02-03 16:42:42 +00:00
|
|
|
|
2014-02-03 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-nios2.c (md_apply_fix): Test for new relocs.
|
|
|
|
|
(nios2_special_reloc): Add %call_lo, %call_hiadj, %got_lo,
|
|
|
|
|
%got_hiadj relocation operators. Sort table and add comment
|
|
|
|
|
to explain ordering.
|
|
|
|
|
(nios2_fix_adjustable): Test for new relocs.
|
|
|
|
|
* doc/c-nios2.texi (Nios II Relocations): Document new relocation
|
|
|
|
|
operators.
|
|
|
|
|
|
Nios II CALL26 linker relaxation
2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
bfd/
* bfd-in2.h: Update from reloc.c.
* elf32-nios2.c: Include elf32-nios2.h.
(elf_nios2_howto_table_rel): Add entry for R_NIOS2_CALL26_NOAT.
(nios2_reloc_map): Likewise.
(enum elf32_nios2_stub_type): Declare.
(struct elf32_nios2_stub_hash_entry): Declare.
(nios2_stub_hash_entry, nios2_stub_hash_lookup): New macros.
(struct elf32_nios2_link_hash_entry): Add hsh_cache field.
(struct elf32_nios2_link_hash_table): Add new fields bstab,
stub_bfd, add_stub_section, layout_sections_again, stub_group,
bfd_count, top_index, input_list, all_local_syms.
(nios2_call26_stub_entry): New.
(nios2_elf32_install_imm16): Move up in file.
(nios2_elf32_install_data): Move up in file.
(hiadj): Move up in file.
(stub_hash_newfunc): New.
(link_hash_newfunc): Initialize hsh_cache field.
(STUB_SUFFIX): New.
(nios2_stub_name): New.
(nios2_get_stub_entry): New.
(nios2_add_stub): New.
(nios2_elf32_setup_section_lists): New.
(nios2_elf32_next_input_section): New.
(CALL26_SEGMENT): New.
(MAX_STUB_SECTION_SIZE): New.
(group_sections): New.
(nios2_type_of_stub): New.
(nios2_build_one_stub): New.
(nios2_size_one_stub): New.
(get_local_syms): New.
(nios2_elf32_size_stubs): New.
(nios2_elf32_build_stubs): New.
(nios2_elf32_do_call26_relocate): Correct CALL26 overflow test.
(nios2_elf32_relocate_section): Handle R_NIOS2_CALL26_NOAT. Add
trampolines for R_NIOS2_CALL26 stubs.
(nios2_elf32_check_relocs): Handle R_NIOS2_CALL26_NOAT.
(nios2_elf32_gc_sweep_hook): Likewise.
(nios2_elf32_link_hash_table_create): Initialize the stub hash table.
(nios2_elf32_link_hash_table_free): New.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elf32-nios2.h: New file.
* libbfd.h: Update from reloc.c.
* reloc.c (BFD_RELOC_NIOS2_CALL26_NOAT): New.
gas/
* config/tc-nios2.c (md_apply_fix): Handle BFD_RELOC_NIOS2_CALL26_NOAT.
(nios2_assemble_args_m): Likewise.
(md_assemble): Likewise.
gas/testsuite/
* gas/nios2/call26_noat.d: New.
* gas/nios2/call26_noat.s: New.
* gas/nios2/call_noat.d: New.
* gas/nios2/call_noat.s: New.
include/elf/
* nios2.h (elf_nios2_reloc_type): Add R_NIOS2_CALL26_NOAT.
ld/
* Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
* Makefile.in: Regenerated.
* emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
* emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
* emultempl/nios2elf.em: New file.
* gen-doc.texi (NIOSII): Set.
* ld.texinfo (NIOSII): Set.
ld/testsuite/
* ld-nios2/relax_call26.s: New.
* ld-nios2/relax_call26_boundary.ld: New.
* ld-nios2/relax_call26_boundary.s: New.
* ld-nios2/relax_call26_boundary_c8.d: New.
* ld-nios2/relax_call26_boundary_cc.d: New.
* ld-nios2/relax_call26_boundary_d0.d: New.
* ld-nios2/relax_call26_boundary_d4.d: New.
* ld-nios2/relax_call26_boundary_d8.d: New.
* ld-nios2/relax_call26_boundary_dc.d: New.
* ld-nios2/relax_call26_boundary_f0.d: New.
* ld-nios2/relax_call26_boundary_f4.d: New.
* ld-nios2/relax_call26_boundary_f8.d: New.
* ld-nios2/relax_call26_boundary_fc.d: New.
* ld-nios2/relax_call26_cache.d: New.
* ld-nios2/relax_call26_cache.ld: New.
* ld-nios2/relax_call26_cache.s: New.
* ld-nios2/relax_call26_multi.d: New.
* ld-nios2/relax_call26_multi.ld: New.
* ld-nios2/relax_call26_norelax.d: New.
* ld-nios2/relax_call26_shared.d: New.
* ld-nios2/relax_call26_shared.ld: New.
2014-01-31 01:47:07 +00:00
|
|
|
|
2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-nios2.c (md_apply_fix): Handle BFD_RELOC_NIOS2_CALL26_NOAT.
|
|
|
|
|
(nios2_assemble_args_m): Likewise.
|
|
|
|
|
(md_assemble): Likewise.
|
|
|
|
|
|
2014-01-24 19:43:58 +00:00
|
|
|
|
2014-01-24 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-msp430.c (msp430_section): Always flag data sections,
|
|
|
|
|
regardless of -md.
|
|
|
|
|
(msp430_frob_section): New. Make sure all sections are noticed if
|
|
|
|
|
they have content.
|
|
|
|
|
(msp430_lcomm): New. Flag bss if .lcomm is seen.
|
|
|
|
|
(msp430_comm): New. Likewise.
|
|
|
|
|
(md_pseudo_table): Add them.
|
|
|
|
|
* config/tc-msp430.h (msp430_frob_section): Declare.
|
|
|
|
|
(tc_frob_section): Define.
|
|
|
|
|
|
2014-01-23 17:08:24 +00:00
|
|
|
|
2014-01-23 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-msp430.c (show_mcu_list): Delete.
|
|
|
|
|
(md_parse_option): Accept any MCU name. Accept several more
|
|
|
|
|
variants for the -mcpu option.
|
|
|
|
|
(md_show_usage): Do not call show_mcu_list.
|
|
|
|
|
|
2014-01-22 21:41:13 +00:00
|
|
|
|
2014-01-22 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-msp430.c (msp430_refsym): New: ".refsym <symbol>"
|
|
|
|
|
* doc/c-msp430.texi (MSP430 Directives): Document it.
|
|
|
|
|
|
2014-01-22 19:39:02 +00:00
|
|
|
|
2014-01-22 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2
|
|
|
|
|
gather assert.
|
|
|
|
|
|
2014-01-22 17:57:31 +00:00
|
|
|
|
2014-01-22 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gas/16489
|
|
|
|
|
* config/tc-i386.c (check_VecOperands): Add check for invalid
|
|
|
|
|
register set in AVX512 gathers.
|
|
|
|
|
|
2014-01-22 05:06:27 +00:00
|
|
|
|
2014-01-22 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-tic4x.c (md_shortopts): s/CONST/const/.
|
|
|
|
|
|
2014-01-21 20:12:19 +00:00
|
|
|
|
2014-01-21 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-rl78.c (require_end_of_expr): New.
|
|
|
|
|
(md_operand): Call it.
|
|
|
|
|
(rl78_cons_fix_new): Mark LO16, HI16, ahd HI8 internal relocations
|
|
|
|
|
as not overflowing.
|
|
|
|
|
|
2014-01-16 10:08:45 +00:00
|
|
|
|
2014-01-17 Will Newton <will.newton@linaro.org>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_vfp_nsyn_cvt_fpv8): Set OP to 1
|
|
|
|
|
for the s32.f64 flavours of VCVT.
|
|
|
|
|
|
2014-01-14 12:39:45 +00:00
|
|
|
|
2014-01-14 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gas/16434
|
|
|
|
|
* config/tc-z80.c (wrong_match): Provide format string to
|
|
|
|
|
as_warn.
|
|
|
|
|
(parse_exp_not_indexed): Delete unused variable dummy.
|
|
|
|
|
(emit_byte): Delete unused variable fixp.
|
|
|
|
|
|
2014-01-08 16:22:35 +00:00
|
|
|
|
2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (regbnd): Removed.
|
|
|
|
|
(vec_disp8): Likewise.
|
|
|
|
|
|
2014-01-08 13:48:12 +00:00
|
|
|
|
2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* as.c (parse_args): Update copyright year to 2014.
|
|
|
|
|
|
2014-01-05 04:47:10 +00:00
|
|
|
|
2014-01-07 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-tic30.c (debug): Avoid old VA_* compatibility
|
|
|
|
|
wrappers.
|
|
|
|
|
|
2014-01-06 02:49:29 +00:00
|
|
|
|
2014-01-07 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-microblaze.h (parse_cons_expression_microblaze): Don't
|
|
|
|
|
use PARAMS.
|
|
|
|
|
|
2013-12-23 17:11:10 +00:00
|
|
|
|
2014-01-07 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-xc16x.h: Don't use ANSI_PROTOTYPES.
|
|
|
|
|
|
2013-12-04 18:29:25 +00:00
|
|
|
|
2013-01-07 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-aarch64.c (aarch64_cpus): Add entry for "xgene-1"
|
|
|
|
|
|
2014-01-08 13:32:12 +00:00
|
|
|
|
For older changes see ChangeLog-2013
|
2002-01-07 12:12:47 +00:00
|
|
|
|
|
2014-01-08 13:32:12 +00:00
|
|
|
|
Copyright (C) 2014 Free Software Foundation, Inc.
|
2012-12-10 12:48:03 +00:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|
|
|
|
|
|
2002-01-07 12:12:47 +00:00
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|