[ARC] Local symbols relocation cleanup
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 7236c3ee82f169a2ec7d80986731ee2d5ca39f74..4a075bb448d38beb22a0e2f2f36399d6d6263ef1 100644 (file)
@@ -1,3 +1,392 @@
+2016-02-29  Cupertino Miranda  <cmiranda@synopsys.com>
+           Claudiu Zissulescu  <Claudiu.Zissulescu@synopsys.com>
+
+        * config/tc-arc.c (arc_extra_reloc): Change size to 0.
+        (tc_arc_fix_adjustable): Changed default return value to 1.
+        * testsuite/gas/arc/j.d: Updated expected symbol
+        * testsuite/gas/arc/jl.d: Likewise
+        * testsuite/gas/arc/relax-avoid1.d: Likewise
+        * testsuite/gas/arc/st.d: Likewise
+
+2016-02-29  Claudiu Zissulescu  <Claudiu.Zissulescu@synopsys.com>
+
+       * config/tc-arc.c: Enable code density instructions for ARC EM.
+
+2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/19645
+       * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
+       for ELF assemblers.
+       * as.c (flag_use_elf_stt_common): New.
+       (show_usage): Add --elf-stt-common=.
+       (option_values): Add OPTION_ELF_STT_COMMON.
+       (std_longopts): Add --elf-stt-common=.
+       (parse_args): Handle --elf-stt-common=.
+       * as.h (flag_use_elf_stt_common): New.
+       * config.in: Regenerated.
+       * configure: Likewise.
+       * configure.ac: Add --enable-elf-stt-common and define
+       DEFAULT_GENERATE_ELF_STT_COMMON.
+       * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
+       and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
+       * doc/as.texinfo: Document --elf-stt-common=.
+       * testsuite/gas/elf/common3.s: New file.
+       * testsuite/gas/elf/common3a.d: Likewise.
+       * testsuite/gas/elf/common3b.d: Likewise.
+       * testsuite/gas/elf/common4.s: Likewise.
+       * testsuite/gas/elf/common4a.d: Likewise.
+       * testsuite/gas/elf/common4b.d: Likewise.
+       * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
+       * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
+       * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
+       and common4b.
+       * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
+       * testsuite/gas/i386/dw2-compress-3a.d: This.  Pass
+       --elf-stt-common=no to as.
+       * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
+       * testsuite/gas/i386/dw2-compressed-3a.d: This.  Pass
+       --elf-stt-common=no to as.
+       * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
+       dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
+       of dw2-compress-3 and dw2-compressed-3.
+
+2016-02-25  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * as.c (select_emulation_mode): Add const qualifiers.
+       * as.h: Likewise.
+       * config/bfin-defs.h: Likewise.
+       * config/bfin-parse.y: Likewise.
+       * config/rx-parse.y: Likewise.
+       * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
+       (struct aarch64_cpu_option_table): Likewise.
+       (struct aarch64_arch_option_table): Likewise.
+       (struct aarch64_option_cpu_value_table): Likewise.
+       (struct aarch64_long_option_table): Likewise.
+       (struct aarch64_option_abi_value_table): Likewise.
+       * config/tc-arm.c (struct reloc_entry): Likewise.
+       (tc_gen_reloc): Likewise.
+       (struct arm_option_table): Likewise.
+       (struct arm_legacy_option_table): Likewise.
+       (struct arm_cpu_option_table): Likewise.
+       (struct arm_arch_option_table): Likewise.
+       (struct arm_option_extension_value_table): Likewise.
+       (struct arm_option_fpu_value_table): Likewise.
+       (struct arm_option_value_table): Likewise.
+       (struct arm_long_option_table): Likewise.
+       * config/tc-avr.c (struct avr_opcodes_s): Likewise.
+       (struct mcu_type_s): Likewise.
+       (struct exp_mod_s): Likewise.
+       (avr_operand): Likewise.
+       (avr_operands): Likewise.
+       * config/tc-d10v.c (md_begin): Likewise.
+       * config/tc-dlx.c: Likewise.
+       * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
+       * config/tc-ft32.c (parse_condition): Likewise.
+       * config/tc-h8300.c (do_a_fix_imm): Likewise.
+       * config/tc-hppa.c (pa_ip): Likewise.
+       (hppa_regname_to_dw2regnum): Likewise.
+       * config/tc-i370.c (i370_elf_suffix): Likewise.
+       * config/tc-i960.c (struct tabentry): Likewise.
+       * config/tc-m32r.c: Likewise.
+       * config/tc-m68k.c: Likewise.
+       * config/tc-m68k.h: Likewise.
+       * config/tc-mcore.c (parse_psrmod): Likewise.
+       * config/tc-metag.c (struct metag_core_option): Likewise.
+       (struct metag_long_option): Likewise.
+       * config/tc-microblaze.c: Likewise.
+       * config/tc-mips.c (macro): Likewise.
+       * config/tc-mn10200.c: Likewise.
+       * config/tc-mn10300.c: Likewise.
+       * config/tc-msp430.c (struct rcodes_s): Likewise.
+       (struct hcodes_s): Likewise.
+       (md_parse_option): Likewise.
+       * config/tc-ns32k.c (struct ns32k_option): Likewise.
+       (optlist): Likewise.
+       * config/tc-ppc.c (ppc_elf_suffix): Likewise.
+       (tc_ppc_regname_to_dw2regnum): Likewise.
+       * config/tc-ppc.h: Likewise.
+       * config/tc-rl78.c: Likewise.
+       * config/tc-rx.c (struct cpu_type): Likewise.
+       * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
+       * config/tc-sparc.c (struct priv_reg_entry): Likewise.
+       (sparc_ip): Likewise.
+       * config/tc-spu.c (insn_fmt_string): Likewise.
+       * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
+       * config/tc-v850.c: Likewise.
+       * config/tc-visium.c (struct visium_arch_option_table): Likewise.
+       (struct visium_long_option_table): Likewise.
+       * config/tc-xgate.c: Likewise.
+       * config/tc-z8k.c: Likewise.
+       * read.c (add_include_dir): Likewise.
+       * read.h: Likewise.
+
+2016-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testsuite/gas/all/gas.exp: Change target pattern to cover
+       arceb-*.
+       * testsuite/gas/all/redef3.d: Likewise.
+       * testsuite/gas/elf/elf.exp: Likewise.
+
+2016-02-24  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-arm.c (BAD_FP16): New error message macro.
+       (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
+       fp16 scalar instructions.
+       (neon_check_type): Allow different size from key.
+       (do_vfp_nsyn_add_sub): Add support SE_H shape support.
+       (try_vfp_nsyn): Likewise.
+       (do_vfp_nsyn_mla_mls): Likewise.
+       (do_vfp_nsyn_fma_fms): Likewise.
+       (do_vfp_nsyn_ldm_stm): Likewise
+       (do_vfp_nsyn_sqrt): Likewise
+       (do_vfp_nsyn_div): Likewise
+       (do_vfp_nsyn_nmul): Likewise.
+       (do_vfp_nsyn_cmp): Likewise.
+       (do_neon_shll): Likewise.
+       (do_vfp_nsyn_cvt_fpv8): Likewise.
+       (do_neon_cvttb_2): Likewise.
+       (do_neon_mov): Likewise.
+       (do_neon_rshift_round_imm): Likewise.
+       (do_neon_ldr_str): Likewise.
+       (do_vfp_nsyn_fpv8): Likewise.
+       (do_vmaxnm): Likewise.
+       (do_vrint_1): Likewise.
+       (insns): New entry for vins, vmovx.
+       (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
+       * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
+       * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
+       * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
+       * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
+       * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
+       * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
+
+2016-02-24  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
+       (neon_shape_class): New SC_HALF.
+       (neon_shape_el): New SE_H.
+       (neon_shape_el_size): New size for SE_H.
+       (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
+       (neon_select_shape): Add SE_H support code.
+       (el_type_of_type_chk): Use N_F_ALL.
+       (do_vfp_nsyn_cvt): Add SE_H shape support.
+       (do_neon_cvtz): Likewise.
+       (do_neon_cvt_1): Likewise.
+       (do_neon_cvttb_1): Likewise.
+
+2016-02-24  Renlin Li  <renlin.li@arm.com>
+
+       * testsuite/gas/arm/copro.d: Adjust output.
+       * testsuite/gas/arm/copro.s: Adjust co-processor num.
+
+2016-02-24  Renlin Li  <renlin.li@arm.com>
+
+       * testsuite/gas/arm/mask_1.d: New.
+       * testsuite/gas/arm/mask_1.s: New.
+
+2016-02-24  Renlin Li  <renlin.li@arm.com>
+
+       * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
+       * testsuite/gas/arm/copro.d: Update.
+
+2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
+       * doc/c-arm.texi (ARM Options): Document cortex-a32.
+
+2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+    * doc/c-arm.texi (ARM Options): Document cortex-a17.
+
+2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/elf/elf.exp: Skip tests for common directive on
+       hpux.
+
+2016-02-22  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * output-file.c (output_file_create): Make file name argument const.
+       (output_file_close): Likewise.
+       * output-file.h (output_file_create): Adjust.
+       (output_file_close): Likewise.
+       * depend.c (quote_string_for_make): Make src argument const char *.
+       (register_dependency): Likewise.
+       (wrap_output): Likewise.
+       * as.h (register_dependency): Adjust.
+       * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
+       as_where ();
+       * symbols.c (S_SET_EXTERNAL): Likewise.
+       * input-scrub.c (as_where): Return the file name.
+       * as.h (as_where): Adjust prototype.
+       * app.c (do_scrub_chars): Adjust.
+       * cond.c (s_elseif): Likewise.
+       (s_else): Likewise.
+       (initialize_cframe): Likewise.
+       * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
+       * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
+       * config/obj-som.c (obj_som_init_stab_section): Likewise.
+       * config/tc-aarch64.c (output_info): Likewise.
+       * config/tc-ia64.c (md_assemble): Likewise.
+       (dot_alias): Likewise.
+       * config/tc-m68k.c (m68k_frob_label): Likewise.
+       * config/tc-mmix.c (s_bspec): Likewise.
+       (mmix_handle_mmixal): Likewise.
+       * config/tc-rx.c (rx_include): Likewise.
+       * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
+       (tic54x_adjust_symtab): Likewise.
+       * config/tc-xtensa.c (directive_push): Likewise.
+       (xtensa_sanity_check): Likewise.
+       (xtensa_relax_frag): Likewise.
+       (md_convert_frag): Likewise.
+       (tinsn_to_slotbuf): Likewise.
+       * dwarf2dbg.c (dwarf2_where): Likewise.
+       * ecoff.c (add_file): Likewise.
+       (ecoff_generate_asm_lineno): Likewise.
+       * expr.c (make_expr_symbol): Likewise.
+       * frags.c (frag_new): Likewise.
+       (frag_var_init): Likewise.
+       * listing.c (listing_newline): Likewise.
+       * messages.c (identify): Likewise.
+       (as_show_where): Likewise.
+       (as_warn_internal): Likewise.
+       (as_bad_internal): Likewise.
+       * read.c (s_irp): Likewise.
+       (s_macro): Likewise.
+       (s_reloc): Likewise.
+       * stabs.c (stabs_generate_asm_file): Likewise.
+       (stabs_generate_asm_lineno): Likewise.
+       (stabs_generate_asm_func): Likewise.
+       * write.c (fix_new_internal): Likewise.
+       * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
+       (as_warn_value_out_of_range): Adjust prototype.
+       (as_bad_value_out_of_range): Adjust prototype.
+       * messages.c (identify): Make file name argument const char *.
+       (as_warn_internal): Likewise.
+       (as_warn_where): Likewise.
+       (as_bad_internal): Likewise.
+       (as_bad_where): Likewise.
+       (as_internal_value_out_of_range): Likewise.
+       (as_warn_value_out_of_range): Likewise.
+       (as_bad_value_out_of_range): Likewise.
+       * as.h (found_comment_file): Change type to const char *.
+       * cond.c (file_line::file): Likewise.
+       * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
+       * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
+       * config/obj-som.c (obj_som_init_stab_section): Likewise.
+       * config/tc-aarch64.c (output_info): Likewise.
+       * config/tc-alpha.c (insert_operand): Likewise.
+       * config/tc-arc.c (insert_operand): Likewise.
+       * config/tc-d30v.c (check_size): Likewise.
+       * config/tc-ia64.c (struct alias): Likewise.
+       * config/tc-m68k.c (struct label_line): Likewise.
+       * config/tc-mcore.c (md_apply_fix): Likewise.
+       * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
+       * config/tc-mips.c (mips16_immed): Likewise.
+       * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
+       * config/tc-ppc.c (ppc_insert_operand): Likewise.
+       * config/tc-rx.c (rx_include): Likewise.
+       * config/tc-s390.c (s390_insert_operand): Likewise.
+       * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
+       (tic54x_adjust_symtab): Likewise.
+       * config/tc-tilegx.c (insert_operand): Likewise.
+       (apply_special_operator): Likewise.
+       * config/tc-tilepro.c (insert_operand): Likewise.
+       * config/tc-xtensa.c (directive_push): Likewise.
+       * ecoff.c (add_file): Likewise.
+       (ecoff_generate_asm_lineno): Likewise.
+       * listing.c (listing_newline): Likewise.
+       * read.c (s_irp): Likewise.
+       * write.c (install_reloc): Likewise.
+       * write.h (struct fix): Likewise.
+       * input-file.c (file_name): Change type to const char *.
+       (saved_file::file_name): Likewise.
+       (input_file_open): Change type of argument to const char *.
+       * input-file.h (input_file_open): Adjust.
+       * input-scrub.c (logical_input_file): change type to const char *.
+       (physical_input_file): Likewise.
+               (struct input_save): Adjust.
+       (input_scrub_push): Adjust.
+       (input_scrub_begin): Adjust.
+       (as_where): Adjust.
+       * input-scrub.c (input_scrub_new_file): Make file name argument const.
+       (input_scrub_include_file): Likewise.
+       (new_logical_line_flags): Likewise.
+       (new_logical_line): Likewise.
+       * as.h: Adjust.
+       * frags.h (struct frag): Change type of fr_file to const char *.
+       * expr.c (expr_symbol_where): Change type of file argument to
+       const char **.
+       * expr.h (expr_symbol_where): Likewise.
+       * config/tc-i370.c (md_apply_fix): adjust.
+       * config/tc-mmix.c (mmix_md_end): Likewise.
+       * config/tc-ppc.c (md_apply_fix): Likewise.
+       * config/tc-s390.c (md_apply_fix): Likewise.
+       * symbols.c (report_op_error): Likewise.
+       (resolve_symbol_value): Likewise.
+       * config/tc-ia64.c (slot::src_file): Change type to const char *.
+       (rsrc::file): Likewise.
+       * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
+       const char *.
+       (xtensa_relax_frag): Likewise.
+       (md_convert_frag): Likewise.
+       (tinsn_to_slotbuf): Likewise.
+       * expr.c (expr_symbol_line): Likewise.
+       * macro.c (define_macro): Likewise.
+       * macro.h (macro_struct): Likewise.
+       * messages.c (as_show_where): Likewise.
+       * read.c (s_macro): Likewise.
+       * stabs.c (stabs_generate_asm_file): Likewise.
+       (generate_asm_file): Likewise.
+       (stabs_generate_asm_lineno): Likewise.
+       * write.h (struct reloc_list): Likewise.
+       * input-scrub.c (as_where): Change return type to const char *.
+       * as.h (as_wheree): Adjust.
+
+2016-02-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * write.c (compress_debug): Move BFD compression bits setting
+       to ...
+       (write_object_file): Here.
+
+2016-02-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (register_number): Check RegVRex.
+       * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
+       with %zmm19 and %zmm3.
+       * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
+       * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
+
+2016-02-19  Matthew Wahab  <matthew.wahab@arm.com>
+           Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-arm.c (arm_ext_fp16): New.
+       (arm_extensions): New entry for "fp16".
+
+2016-02-19  Nick Clifton  <nickc@redhat.com>
+
+       PR 19630
+       * read.c (read_a_source_file): Check for assemble_one returning
+       with input_line_pointer set to NULL.
+
+2016-02-19  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * listing.c (rebuffer_line): Change return type to void.
+
+       * symbols.c (decode_local_label_name): Make type a const char *.
+       * listing.c (print_source): Make type of p const char *.
+       (print_line): Make type of string const char *.
+       (buffer_line): Return const char *.
+       (title): Make type const char *.
+       (subtitle): Likewise.
+       (listing_listing): Make type of p const char *.
+       * messages.c (as_internal_value_out_of_range): Make type of prefix
+       const char *.
+       * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
+       and string const char *.
+       * read.c (_bfd_rel): Make type of name const char *.
+       * app.c (out_string): Change type to const char *.
+               (struct app_save::out_string): Likewise.
+
 2016-02-18  Dan Gisselquist  <dgisselq@verizon.net>
            Nick Clifton  <nickc@redhat.com>
 
This page took 0.027146 seconds and 4 git commands to generate.