[ARC] Local symbols relocation cleanup
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
3
4 * config/tc-arc.c (arc_extra_reloc): Change size to 0.
5 (tc_arc_fix_adjustable): Changed default return value to 1.
6 * testsuite/gas/arc/j.d: Updated expected symbol
7 * testsuite/gas/arc/jl.d: Likewise
8 * testsuite/gas/arc/relax-avoid1.d: Likewise
9 * testsuite/gas/arc/st.d: Likewise
10
11 2016-02-29 Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com>
12
13 * config/tc-arc.c: Enable code density instructions for ARC EM.
14
15 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
16
17 PR ld/19645
18 * NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
19 for ELF assemblers.
20 * as.c (flag_use_elf_stt_common): New.
21 (show_usage): Add --elf-stt-common=.
22 (option_values): Add OPTION_ELF_STT_COMMON.
23 (std_longopts): Add --elf-stt-common=.
24 (parse_args): Handle --elf-stt-common=.
25 * as.h (flag_use_elf_stt_common): New.
26 * config.in: Regenerated.
27 * configure: Likewise.
28 * configure.ac: Add --enable-elf-stt-common and define
29 DEFAULT_GENERATE_ELF_STT_COMMON.
30 * gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
31 and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
32 * doc/as.texinfo: Document --elf-stt-common=.
33 * testsuite/gas/elf/common3.s: New file.
34 * testsuite/gas/elf/common3a.d: Likewise.
35 * testsuite/gas/elf/common3b.d: Likewise.
36 * testsuite/gas/elf/common4.s: Likewise.
37 * testsuite/gas/elf/common4a.d: Likewise.
38 * testsuite/gas/elf/common4b.d: Likewise.
39 * testsuite/gas/i386/dw2-compress-3b.d: Likewise.
40 * testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
41 * testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
42 and common4b.
43 * testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
44 * testsuite/gas/i386/dw2-compress-3a.d: This. Pass
45 --elf-stt-common=no to as.
46 * testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
47 * testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
48 --elf-stt-common=no to as.
49 * testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
50 dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
51 of dw2-compress-3 and dw2-compressed-3.
52
53 2016-02-25 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
54
55 * as.c (select_emulation_mode): Add const qualifiers.
56 * as.h: Likewise.
57 * config/bfin-defs.h: Likewise.
58 * config/bfin-parse.y: Likewise.
59 * config/rx-parse.y: Likewise.
60 * config/tc-aarch64.c (struct aarch64_option_table): Likewise.
61 (struct aarch64_cpu_option_table): Likewise.
62 (struct aarch64_arch_option_table): Likewise.
63 (struct aarch64_option_cpu_value_table): Likewise.
64 (struct aarch64_long_option_table): Likewise.
65 (struct aarch64_option_abi_value_table): Likewise.
66 * config/tc-arm.c (struct reloc_entry): Likewise.
67 (tc_gen_reloc): Likewise.
68 (struct arm_option_table): Likewise.
69 (struct arm_legacy_option_table): Likewise.
70 (struct arm_cpu_option_table): Likewise.
71 (struct arm_arch_option_table): Likewise.
72 (struct arm_option_extension_value_table): Likewise.
73 (struct arm_option_fpu_value_table): Likewise.
74 (struct arm_option_value_table): Likewise.
75 (struct arm_long_option_table): Likewise.
76 * config/tc-avr.c (struct avr_opcodes_s): Likewise.
77 (struct mcu_type_s): Likewise.
78 (struct exp_mod_s): Likewise.
79 (avr_operand): Likewise.
80 (avr_operands): Likewise.
81 * config/tc-d10v.c (md_begin): Likewise.
82 * config/tc-dlx.c: Likewise.
83 * config/tc-fr30.c (fr30_is_colon_insn): Likewise.
84 * config/tc-ft32.c (parse_condition): Likewise.
85 * config/tc-h8300.c (do_a_fix_imm): Likewise.
86 * config/tc-hppa.c (pa_ip): Likewise.
87 (hppa_regname_to_dw2regnum): Likewise.
88 * config/tc-i370.c (i370_elf_suffix): Likewise.
89 * config/tc-i960.c (struct tabentry): Likewise.
90 * config/tc-m32r.c: Likewise.
91 * config/tc-m68k.c: Likewise.
92 * config/tc-m68k.h: Likewise.
93 * config/tc-mcore.c (parse_psrmod): Likewise.
94 * config/tc-metag.c (struct metag_core_option): Likewise.
95 (struct metag_long_option): Likewise.
96 * config/tc-microblaze.c: Likewise.
97 * config/tc-mips.c (macro): Likewise.
98 * config/tc-mn10200.c: Likewise.
99 * config/tc-mn10300.c: Likewise.
100 * config/tc-msp430.c (struct rcodes_s): Likewise.
101 (struct hcodes_s): Likewise.
102 (md_parse_option): Likewise.
103 * config/tc-ns32k.c (struct ns32k_option): Likewise.
104 (optlist): Likewise.
105 * config/tc-ppc.c (ppc_elf_suffix): Likewise.
106 (tc_ppc_regname_to_dw2regnum): Likewise.
107 * config/tc-ppc.h: Likewise.
108 * config/tc-rl78.c: Likewise.
109 * config/tc-rx.c (struct cpu_type): Likewise.
110 * config/tc-sh.c (sh_regname_to_dw2regnum): Likewise.
111 * config/tc-sparc.c (struct priv_reg_entry): Likewise.
112 (sparc_ip): Likewise.
113 * config/tc-spu.c (insn_fmt_string): Likewise.
114 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
115 * config/tc-v850.c: Likewise.
116 * config/tc-visium.c (struct visium_arch_option_table): Likewise.
117 (struct visium_long_option_table): Likewise.
118 * config/tc-xgate.c: Likewise.
119 * config/tc-z8k.c: Likewise.
120 * read.c (add_include_dir): Likewise.
121 * read.h: Likewise.
122
123 2016-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
124
125 * testsuite/gas/all/gas.exp: Change target pattern to cover
126 arceb-*.
127 * testsuite/gas/all/redef3.d: Likewise.
128 * testsuite/gas/elf/elf.exp: Likewise.
129
130 2016-02-24 Renlin Li <renlin.li@arm.com>
131
132 * config/tc-arm.c (BAD_FP16): New error message macro.
133 (do_scalar_fp16_v82_encode): Change the coproc field to 9 for armv8.2
134 fp16 scalar instructions.
135 (neon_check_type): Allow different size from key.
136 (do_vfp_nsyn_add_sub): Add support SE_H shape support.
137 (try_vfp_nsyn): Likewise.
138 (do_vfp_nsyn_mla_mls): Likewise.
139 (do_vfp_nsyn_fma_fms): Likewise.
140 (do_vfp_nsyn_ldm_stm): Likewise
141 (do_vfp_nsyn_sqrt): Likewise
142 (do_vfp_nsyn_div): Likewise
143 (do_vfp_nsyn_nmul): Likewise.
144 (do_vfp_nsyn_cmp): Likewise.
145 (do_neon_shll): Likewise.
146 (do_vfp_nsyn_cvt_fpv8): Likewise.
147 (do_neon_cvttb_2): Likewise.
148 (do_neon_mov): Likewise.
149 (do_neon_rshift_round_imm): Likewise.
150 (do_neon_ldr_str): Likewise.
151 (do_vfp_nsyn_fpv8): Likewise.
152 (do_vmaxnm): Likewise.
153 (do_vrint_1): Likewise.
154 (insns): New entry for vins, vmovx.
155 (md_apply_fix): Left shift 1 bit for fp16 vldr/vstr.
156 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb.d: New.
157 * testsuite/gas/arm/armv8-2-fp16-scalar.d: New.
158 * testsuite/gas/arm/armv8-2-fp16-scalar.s: New.
159 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.s: New
160 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.d: New
161 * testsuite/gas/arm/armv8-2-fp16-scalar-bad.l: New
162
163 2016-02-24 Renlin Li <renlin.li@arm.com>
164
165 * config/tc-arm.c (NEON_ENC_TAB): Add fp16 instruction shape.
166 (neon_shape_class): New SC_HALF.
167 (neon_shape_el): New SE_H.
168 (neon_shape_el_size): New size for SE_H.
169 (N_F_ALL): New macro to aggregate N_F16, N_F32, N_64.
170 (neon_select_shape): Add SE_H support code.
171 (el_type_of_type_chk): Use N_F_ALL.
172 (do_vfp_nsyn_cvt): Add SE_H shape support.
173 (do_neon_cvtz): Likewise.
174 (do_neon_cvt_1): Likewise.
175 (do_neon_cvttb_1): Likewise.
176
177 2016-02-24 Renlin Li <renlin.li@arm.com>
178
179 * testsuite/gas/arm/copro.d: Adjust output.
180 * testsuite/gas/arm/copro.s: Adjust co-processor num.
181
182 2016-02-24 Renlin Li <renlin.li@arm.com>
183
184 * testsuite/gas/arm/mask_1.d: New.
185 * testsuite/gas/arm/mask_1.s: New.
186
187 2016-02-24 Renlin Li <renlin.li@arm.com>
188
189 * testsuite/gas/arm/copro.s: Use coprocessor other than 10, 11.
190 * testsuite/gas/arm/copro.d: Update.
191
192 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
193
194 * config/tc-arm.c (arm_cpus): Add entry for cortex-a32.
195 * doc/c-arm.texi (ARM Options): Document cortex-a32.
196
197 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
198
199 * doc/c-arm.texi (ARM Options): Document cortex-a17.
200
201 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
202
203 * testsuite/gas/elf/elf.exp: Skip tests for common directive on
204 hpux.
205
206 2016-02-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
207
208 * output-file.c (output_file_create): Make file name argument const.
209 (output_file_close): Likewise.
210 * output-file.h (output_file_create): Adjust.
211 (output_file_close): Likewise.
212 * depend.c (quote_string_for_make): Make src argument const char *.
213 (register_dependency): Likewise.
214 (wrap_output): Likewise.
215 * as.h (register_dependency): Adjust.
216 * config/tc-xtensa.c (finish_vinsn): Remove unnecessary calls to
217 as_where ();
218 * symbols.c (S_SET_EXTERNAL): Likewise.
219 * input-scrub.c (as_where): Return the file name.
220 * as.h (as_where): Adjust prototype.
221 * app.c (do_scrub_chars): Adjust.
222 * cond.c (s_elseif): Likewise.
223 (s_else): Likewise.
224 (initialize_cframe): Likewise.
225 * config/obj-coff.c (obj_coff_init_stab_section): Likewise.
226 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
227 * config/obj-som.c (obj_som_init_stab_section): Likewise.
228 * config/tc-aarch64.c (output_info): Likewise.
229 * config/tc-ia64.c (md_assemble): Likewise.
230 (dot_alias): Likewise.
231 * config/tc-m68k.c (m68k_frob_label): Likewise.
232 * config/tc-mmix.c (s_bspec): Likewise.
233 (mmix_handle_mmixal): Likewise.
234 * config/tc-rx.c (rx_include): Likewise.
235 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
236 (tic54x_adjust_symtab): Likewise.
237 * config/tc-xtensa.c (directive_push): Likewise.
238 (xtensa_sanity_check): Likewise.
239 (xtensa_relax_frag): Likewise.
240 (md_convert_frag): Likewise.
241 (tinsn_to_slotbuf): Likewise.
242 * dwarf2dbg.c (dwarf2_where): Likewise.
243 * ecoff.c (add_file): Likewise.
244 (ecoff_generate_asm_lineno): Likewise.
245 * expr.c (make_expr_symbol): Likewise.
246 * frags.c (frag_new): Likewise.
247 (frag_var_init): Likewise.
248 * listing.c (listing_newline): Likewise.
249 * messages.c (identify): Likewise.
250 (as_show_where): Likewise.
251 (as_warn_internal): Likewise.
252 (as_bad_internal): Likewise.
253 * read.c (s_irp): Likewise.
254 (s_macro): Likewise.
255 (s_reloc): Likewise.
256 * stabs.c (stabs_generate_asm_file): Likewise.
257 (stabs_generate_asm_lineno): Likewise.
258 (stabs_generate_asm_func): Likewise.
259 * write.c (fix_new_internal): Likewise.
260 * as.h (PRINTF_WHERE_LIKE): Make file name argument const.
261 (as_warn_value_out_of_range): Adjust prototype.
262 (as_bad_value_out_of_range): Adjust prototype.
263 * messages.c (identify): Make file name argument const char *.
264 (as_warn_internal): Likewise.
265 (as_warn_where): Likewise.
266 (as_bad_internal): Likewise.
267 (as_bad_where): Likewise.
268 (as_internal_value_out_of_range): Likewise.
269 (as_warn_value_out_of_range): Likewise.
270 (as_bad_value_out_of_range): Likewise.
271 * as.h (found_comment_file): Change type to const char *.
272 * cond.c (file_line::file): Likewise.
273 * config/obj-coff.c (obj_coff_init_stab_section): Make variable const.
274 * config/obj-elf.c (obj_elf_init_stab_section): Likewise.
275 * config/obj-som.c (obj_som_init_stab_section): Likewise.
276 * config/tc-aarch64.c (output_info): Likewise.
277 * config/tc-alpha.c (insert_operand): Likewise.
278 * config/tc-arc.c (insert_operand): Likewise.
279 * config/tc-d30v.c (check_size): Likewise.
280 * config/tc-ia64.c (struct alias): Likewise.
281 * config/tc-m68k.c (struct label_line): Likewise.
282 * config/tc-mcore.c (md_apply_fix): Likewise.
283 * config/tc-microblaze.c (md_estimate_size_before_relax): Likewise.
284 * config/tc-mips.c (mips16_immed): Likewise.
285 * config/tc-mmix.c (mmix_handle_mmixal): Likewise.
286 * config/tc-ppc.c (ppc_insert_operand): Likewise.
287 * config/tc-rx.c (rx_include): Likewise.
288 * config/tc-s390.c (s390_insert_operand): Likewise.
289 * config/tc-tic54x.c (tic54x_set_default_include): Likewise.
290 (tic54x_adjust_symtab): Likewise.
291 * config/tc-tilegx.c (insert_operand): Likewise.
292 (apply_special_operator): Likewise.
293 * config/tc-tilepro.c (insert_operand): Likewise.
294 * config/tc-xtensa.c (directive_push): Likewise.
295 * ecoff.c (add_file): Likewise.
296 (ecoff_generate_asm_lineno): Likewise.
297 * listing.c (listing_newline): Likewise.
298 * read.c (s_irp): Likewise.
299 * write.c (install_reloc): Likewise.
300 * write.h (struct fix): Likewise.
301 * input-file.c (file_name): Change type to const char *.
302 (saved_file::file_name): Likewise.
303 (input_file_open): Change type of argument to const char *.
304 * input-file.h (input_file_open): Adjust.
305 * input-scrub.c (logical_input_file): change type to const char *.
306 (physical_input_file): Likewise.
307 (struct input_save): Adjust.
308 (input_scrub_push): Adjust.
309 (input_scrub_begin): Adjust.
310 (as_where): Adjust.
311 * input-scrub.c (input_scrub_new_file): Make file name argument const.
312 (input_scrub_include_file): Likewise.
313 (new_logical_line_flags): Likewise.
314 (new_logical_line): Likewise.
315 * as.h: Adjust.
316 * frags.h (struct frag): Change type of fr_file to const char *.
317 * expr.c (expr_symbol_where): Change type of file argument to
318 const char **.
319 * expr.h (expr_symbol_where): Likewise.
320 * config/tc-i370.c (md_apply_fix): adjust.
321 * config/tc-mmix.c (mmix_md_end): Likewise.
322 * config/tc-ppc.c (md_apply_fix): Likewise.
323 * config/tc-s390.c (md_apply_fix): Likewise.
324 * symbols.c (report_op_error): Likewise.
325 (resolve_symbol_value): Likewise.
326 * config/tc-ia64.c (slot::src_file): Change type to const char *.
327 (rsrc::file): Likewise.
328 * config/tc-xtensa.c (xtensa_sanity_check): Change type of variable to
329 const char *.
330 (xtensa_relax_frag): Likewise.
331 (md_convert_frag): Likewise.
332 (tinsn_to_slotbuf): Likewise.
333 * expr.c (expr_symbol_line): Likewise.
334 * macro.c (define_macro): Likewise.
335 * macro.h (macro_struct): Likewise.
336 * messages.c (as_show_where): Likewise.
337 * read.c (s_macro): Likewise.
338 * stabs.c (stabs_generate_asm_file): Likewise.
339 (generate_asm_file): Likewise.
340 (stabs_generate_asm_lineno): Likewise.
341 * write.h (struct reloc_list): Likewise.
342 * input-scrub.c (as_where): Change return type to const char *.
343 * as.h (as_wheree): Adjust.
344
345 2016-02-21 H.J. Lu <hongjiu.lu@intel.com>
346
347 * write.c (compress_debug): Move BFD compression bits setting
348 to ...
349 (write_object_file): Here.
350
351 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
352
353 * config/tc-i386.c (register_number): Check RegVRex.
354 * testsuite/gas/i386/x86-64-avx512f.s: Add a test for vgatherqpd
355 with %zmm19 and %zmm3.
356 * testsuite/gas/i386/x86-64-avx512f-intel.d: Updated.
357 * testsuite/gas/i386/x86-64-avx512f.d: Likewise.
358
359 2016-02-19 Matthew Wahab <matthew.wahab@arm.com>
360 Jiong Wang <jiong.wang@arm.com>
361
362 * config/tc-arm.c (arm_ext_fp16): New.
363 (arm_extensions): New entry for "fp16".
364
365 2016-02-19 Nick Clifton <nickc@redhat.com>
366
367 PR 19630
368 * read.c (read_a_source_file): Check for assemble_one returning
369 with input_line_pointer set to NULL.
370
371 2016-02-19 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
372
373 * listing.c (rebuffer_line): Change return type to void.
374
375 * symbols.c (decode_local_label_name): Make type a const char *.
376 * listing.c (print_source): Make type of p const char *.
377 (print_line): Make type of string const char *.
378 (buffer_line): Return const char *.
379 (title): Make type const char *.
380 (subtitle): Likewise.
381 (listing_listing): Make type of p const char *.
382 * messages.c (as_internal_value_out_of_range): Make type of prefix
383 const char *.
384 * stabs.c (s_stab_generic): make type of stab_secname, stabstr_secname
385 and string const char *.
386 * read.c (_bfd_rel): Make type of name const char *.
387 * app.c (out_string): Change type to const char *.
388 (struct app_save::out_string): Likewise.
389
390 2016-02-18 Dan Gisselquist <dgisselq@verizon.net>
391 Nick Clifton <nickc@redhat.com>
392
393 * read.c (finish_bundle): Avoid recording a negative alignment.
394 (do_align): Use unsigned values for n, len and max. Only create
395 a frag if the alignment requirement is greater than the minimum
396 byte alignment. Avoid recording a negative alignment.
397 (s_align): Use unsigned values where appropriate.
398 (bss_alloc): Use an unsigned value for the alignment.
399 (sizeof_sleb128): Add a comment noting that we encode one octet
400 per byte, regardless of the value of OCTETS_PER_BYTE_POWER.
401 (emit_leb129_expr): Abort if the emitted encoding was longer than
402 expected.
403 * read.h (output_leb128): Update prototype.
404 (sizeof_leb128): Update prototype.
405 (bss_alloc): Update prototype.
406 * write.c (record_alignment): Use an unsigned value for the
407 alignment. Do not record alignments less than the minimum
408 alignment for a byte.
409 * write.h (record_alignment): Update prototype.
410
411 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
412
413 * config/tc-xtensa.c (xtensa_move_literals): Fix check for
414 .init.literal/.fini.literal section name.
415 * testsuite/gas/xtensa/all.exp: Add init-fini-literals to the
416 list of xtensa tests.
417 * testsuite/gas/xtensa/init-fini-literals.d: New file:
418 init-fini-literals test result patterns.
419 * testsuite/gas/xtensa/init-fini-literals.s: New file:
420 init-fini-literals test.
421
422 2016-02-17 Nick Clifton <nickc@redhat.com>
423
424 * config/tc-msp430.c (msp430_mcu_data): Sync with data from TI's
425 devices.csv file as of March 2016.
426
427 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
428
429 * config/tc-arc.c (tc_arc_frame_initial_instructions): New
430 function.
431 (tc_arc_regname_to_dw2regnum): Likewise.
432 * config/tc-arc.h (TARGET_USE_CFIPOP): Define
433 (tc_cfi_frame_initial_instructions): Likewise.
434 (tc_regname_to_dw2regnum): Likewise.
435
436 2016-02-16 Trevor Saunders <tbsaunde@tbsaunde.org>
437
438 * doc/internals.texi (S_IS_EXTERN): Remove.
439
440 2016-02-16 Nick Clifton <nickc@redhat.com>
441
442 * doc/as.texinfo (Section): Fix up texinfo snafus in previous
443 update.
444
445 2016-02-16 Renlin Li <renlin.li@arm.com>
446
447 PR gas/19620
448 * config/tc-aarch64.c (parse_half): Remove restrictions on symbol name.
449 * testsuite/gas/aarch64/movw_label.d: New.
450 * testsuite/gas/aarch64/movw_label.s: New.
451
452 2016-02-15 Vinay Kumar G. <Vinay.G@kpit.com>
453
454 PR gas/19556
455 * config/rx-parse.y (MOV): Opcode generation for index
456 register addressing mode.
457 * testsuite/gas/rx/rx.exp: Updated for new testcase.
458 * testsuite/gas/rx/pr19665.s: New file.
459 * testsuite/gas/rx/pr19665.s: New file.
460 * testsuite/gas/rx/mov.d: Update expected output.
461
462 2016-02-15 Nick Clifton <nickc@redhat.com>
463
464 * doc/as.texinfo (.section): Document that numeric values can now
465 be used for the flags and type fields of the ELF target's .section
466 directive. Add notes about the restrictions on setting flags and
467 types.
468 * config/obj-elf.c (obj_elf_change_section): Allow known sections
469 to be given processor specific section types. Allow processor and
470 application specific flags of a section to be set after
471 definition.
472 (obj_elf_parse_section_letters): Handle parsing numeric values.
473 (obj_elf_section_type): Handle parsing numeric values.
474 (obj_elf_section): Allow numeric type values.
475 * config/obj-elf.h (obj_elf_change_section): Update prototype.
476 * testsuite/gas/elf/section10.d: New test.
477 * testsuite/gas/elf/section10.s: Source file for new test.
478 * testsuite/gas/elf/elf.exp: Run the new test.
479 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
480 the description of the flags produced by readelf.
481 * testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
482 * NEWS: Mention the new feature.
483
484 2016-02-11 Nick Clifton <nickc@redhat.com>
485
486 PR gas/19614
487 * dw2gencfi.c (cfi_sections_set): Delay setting this variable
488 until it is actually used.
489 (cfi_set_sections): Set cfi_sections_set to true.
490 (dot_cfi_startproc): Likewise.
491 (dot_cfi_endproc): Likewise.
492 (dot_cfi_fde_data): Likewise.
493 (cfi_finish): Likewise.
494 (dot_cfi_sections): Do not set cfi_sections_set.
495 * doc/as.texinfo (.cfi_sections): Note that targets can provide
496 their own cfi section name. Also note that the directive can be
497 reissued provided that CFI generation has not started.
498 * testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
499 .cfi_endproc directives so that the redefinition of .cfi_sections
500 will trigger the generation of the error message.
501 * testsuite/gas/mips/compact-eh-err2.l: Update expected line
502 number of error message.
503
504 2016-02-10 Claudiu Zissulescu <claziss@synopsys.com>
505 Janek van Oirschot <jvanoirs@synopsys.com>
506
507 * config/tc-arc.h (TC_FRAG_TYPE, TC_PCREL_ADJUST, MAX_INSN_ARGS)
508 (MAX_INSN_FLGS, MAX_FLAG_NAME_LENGHT, TC_GENERIC_RELAX_TABLE):
509 Define.
510 (arc_flags, arc_relax_type): New structure.
511 * config/tc-arc.c (FRAG_MAX_GROWTH, RELAX_TABLE_ENTRY)
512 (RELAX_TABLE_ENTRY_MAX): New define.
513 (relaxation_state, md_relax_table, arc_relaxable_insns)
514 (arc_num_relaxable_ins): New variable.
515 (rlx_operand_type, arc_rlx_types): New enums.
516 (arc_relaxable_ins): New structure.
517 (OPTION_RELAX): New option.
518 (arc_insn): New relax member.
519 (arc_flags): Remove.
520 (relax_insn_p): New function.
521 (apply_fixups): Likewise.
522 (relaxable_operand): Likewise.
523 (may_relax_expr): Likewise.
524 (relaxable_flag): Likewise.
525 (arc_pcrel_adjust): Likewise.
526 (md_estimate_size_before_relax): Implement.
527 (md_convert_frag): Likewise.
528 (md_parse_option): Handle new mrelax option.
529 (md_show_usage): Likewise.
530 (assemble_insn): Set relax member.
531 (emit_insn0): New function.
532 (emit_insn1): Likewise.
533 (emit_insn): Handle relaxation case.
534 * NEWS: Mention the new relaxation option.
535 * doc/c-arc.texi (ARC Options): Document new mrelax option.
536 * doc/as.texinfo (Target ARC Options): Likewise.
537 * testsuite/gas/arc/relax-avoid1.d: New file.
538 * testsuite/gas/arc/relax-avoid1.s: Likewise.
539 * testsuite/gas/arc/relax-avoid2.d: Likewise.
540 * testsuite/gas/arc/relax-avoid2.s: Likewise.
541 * testsuite/gas/arc/relax-avoid3.d: Likewise.
542 * testsuite/gas/arc/relax-avoid3.s: Likewise.
543 * testsuite/gas/arc/relax-b.d: Likewise.
544 * testsuite/gas/arc/relax-b.s: Likewise.
545
546 2016-02-08 Nick Clifton <nickc@redhat.com>
547
548 * config/tc-ia64.c (dot_prologue): Fix formatting.
549
550 2016-02-04 Nick Clifton <nickc@redhat.com>
551
552 * config/obj-elf.c (obj_elf_change_section): Remove support for
553 ARM NOREAD sections.
554 * config/tc-arm.c (arm_elf_section_letter): Delete.
555 * config/tc-arm.h (md_elf_section_letter): Delete.
556 * doc/c-arm.texi (ARM Section Attribute): Delete section.
557 * testsuite/gas/arm/section-execute-only.d: Delete.
558 * testsuite/gas/arm/section-execute-only.s: Delete.
559
560 2016-02-04 Nick Clifton <nickc@redhat.com>
561
562 PR target/19561
563 * config/tc-msp430.c (msp430_operands): Remove case 7. Use case 2
564 to handle encoding of RRUX instruction.
565 * testsuite/gas/msp430/msp430x.s: Add more tests of the extended
566 shift instructions.
567 * testsuite/gas/msp430/msp430x.d: Update expected disassembly.
568
569 2016-02-03 Max Filippov <jcmvbkbc@gmail.com>
570
571 * config/tc-xtensa.c (md_apply_fix): Mark BFD_RELOC_XTENSA_DIFF*
572 substitutions for BFD_RELOC_* as unsigned.
573 * testsuite/gas/xtensa/all.exp: Add loc to list of xtensa tests.
574 * testsuite/gas/xtensa/loc.d: New file: loc test result patterns.
575 * testsuite/gas/xtensa/loc.s: New file: loc test.
576
577 2016-02-03 Kevin Buettner <kevinb@redhat.com>
578
579 * config/tc-msp430.h (DWARF2_ADDR_SIZE): Set to 4.
580
581 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
582
583 PR gas/19520
584 * NEWS: Mention new command line option -mrelax-relocations and
585 new configure option --enable-x86-relax-relocations for x86
586 target.
587 * config.in: Regenerated.
588 * configure.ac: Add --enable-x86-relax-relocations.
589 (ac_default_x86_relax_relocations): New. Default to 1 except
590 for x86 Solaris targets older than Solaris 12.
591 (DEFAULT_GENERATE_X86_RELAX_RELOCATIONS): Define.
592 * configure: Likewise.
593 * config/tc-i386.c (generate_relax_relocations): New.
594 (OPTION_MRELAX_RELOCATIONS): Likewise.
595 (output_disp): Don't generate relax relocations if
596 generate_relax_relocations is 0.
597 (md_longopts): Add -mrelax-relocations.
598 (md_show_usage): Likewise.
599 (md_parse_option): Handle OPTION_MRELAX_RELOCATIONS.
600 * doc/c-i386.texi: Document -mrelax-relocations=.
601 * testsuite/gas/i386/got-no-relax.d: New file.
602 * testsuite/gas/i386/x86-64-gotpcrel-no-relax.d: Likewise.
603 * testsuite/gas/i386/got.d: Pass -mrelax-relocations=yes to as.
604 * testsuite/gas/i386/localpic.d: Likewise.
605 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
606 * testsuite/gas/i386/reloc32.d: Likewise.
607 * testsuite/gas/i386/x86-64-gotpcrel.d: Likewise.
608 * testsuite/gas/i386/x86-64-localpic.d: Likewise.
609 * testsuite/gas/i386/ilp32/x86-64-gotpcrel.d: Likewise.
610 * testsuite/gas/i386/ilp32/x86-64-localpic.d: Likewise.
611 * testsuite/gas/i386/i386.exp: Run got-no-relax and
612 x86-64-gotpcrel-no-relax.
613
614 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
615
616 * NEWS: Mention new command line option -mfence-as-lock-add=yes
617 for x86 target.
618
619 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
620
621 * NEWS: Remove duplicated marker for 2.26.
622
623 2016-02-02 Renlin Li <renlin.li@arm.com>
624
625 * testsuite/gas/arm/thumb2_it_search.d: Skip non-elf targets.
626
627 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
628
629 * testsuite/gas/ip2k/allinsn.d: New file.
630 * testsuite/gas/ip2k/allinsn.s: New file.
631 * testsuite/gas/ip2k/ip2k-allinsn.exp: New file.
632
633 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
634
635 * testsuite/gas/epiphany/addr-syntax.d: Add explicit 0 offset to
636 some load instructions.
637 * testsuite/gas/epiphany/allinsn.d: Likewise.
638 * testsuite/gas/epiphany/regression.d: Likewise.
639
640 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
641
642 * testsuite/gas/epiphany/addr-syntax.d: Remove unneeded '.l'
643 suffixes from instruction mnemonics in expected output.
644 * testsuite/gas/epiphany/allinsn.d: Likewise.
645 * testsuite/gas/epiphany/regression.d: Likewise.
646 * testsuite/gas/epiphany/sample.d: Likewise.
647
648 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
649
650 * testsuite/gas/epiphany/addr-syntax.d: Update expected register
651 names.
652 * testsuite/gas/epiphany/allinsn.d: Likewise.
653 * testsuite/gas/epiphany/sample.d: Likewise.
654
655 2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
656
657 * testsuite/gas/epiphany/sample.d: Update expected output.
658
659 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
660
661 * config/tc-arc.c (md_apply_fix): Allow addendum.
662 (arc_reloc_op): Allow complex expressions for tpoff.
663 (md_apply_fix): Handle resolved TLS local symbol.
664
665 * testsuite/gas/arc/tls-relocs1.d: New file.
666 * testsuite/gas/arc/tls-relocs1.s: Likewise.
667
668 2016-02-01 Loria <Loria@phantasia.org>
669
670 PR target/19311
671 * config/tc-arm.c (encode_arm_immediate): Recode to improve
672 efficiency and avoid an LLVM loop optimization bug.
673
674 2016-02-01 Nick Clifton <nickc@redhat.com>
675
676 * config/tc-microblaze.c (parse_imm): Fix compile time warning
677 message extending a negative 32-bit value into a larger signed
678 value on a 32-bit host.
679
680 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
681
682 PR gas/19532
683 * configure.ac (compressed_debug_sections): Replace == with =.
684 * configure: Regenerated.
685
686 2016-01-29 Andrew Senkevich <andrew.senkevich@intel.com>
687 H.J. Lu <hongjiu.lu@intel.com>
688
689 * config/tc-i386.c (avoid_fence): New.
690 (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
691 is true.
692 (OPTION_FENCE_AS_LOCK_ADD): New.
693 (md_longopts): Add -mfence-as-lock-add.
694 (md_parse_option): Handle -mfence-as-lock-add.
695 (md_show_usage): Add -mfence-as-lock-add=[no|yes].
696 * doc/c-i386.texi (-mfence-as-lock-add): Document.
697 * testsuite/gas/i386/i386.exp: Run new tests.
698 * testsuite/gas/i386/fence-as-lock-add.s: New.
699 * testsuite/gas/i386/fence-as-lock-add-yes.d: Likewise.
700 * testsuite/gas/i386/fence-as-lock-add-no.d: Likewise.
701 * testsuite/gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
702 * testsuite/gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
703
704 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
705
706 * configure.ac (compressed_debug_sections): Remove trailing `]'.
707 * configure: Regenerated.
708
709 2016-01-25 H.J. Lu <hongjiu.lu@intel.com>
710
711 * config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
712 (OPTION_MOMIT_LOCK_PREFIX): This.
713 (md_longopts): Updated.
714 (md_parse_option): Likewise.
715
716 2016-01-25 Catherine Moore <clm@codesourcery.com>
717
718 * config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
719 if abicalls are in effect.
720 * testsuite/gas/mips/sdata-gp.s: New test.
721 * testsuite/gas/mips/sdata-gp.d: New expected output
722 * testsuite/gas/mips/mips.exp: Run new test.
723
724 2016-01-25 Renlin Li <renlin.li@arm.com>
725
726 * testsuite/gas/arm/thumb2_it_search.d: New.
727 * testsuite/gas/arm/thumb2_it_search.s: New.
728
729 2016-01-21 Nick Clifton <nickc@redhat.com>
730
731 PR gas/19454
732 * testsuite/gas/arm/mapshort-elf.d: Fix expected output to cope
733 with arm-netbsdelf target.
734 * testsuite/gas/arm/blx-bl-convert.d: Skip for netbsdelf.
735
736 2016-01-20 Nick Clifton <nickc@redhat.com>
737
738 PR 19456
739 * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
740 * testsuite/gas/arm/blx-bl-convert.d
741 * testsuite/gas/arm/plt-1.d: Likewise.
742 * testsuite/gas/arm/reloc-bad.d: Likewise.
743 * testsuite/gas/arm/thumb-w-good.d: Likewise.
744 * testsuite/gas/arm/thumb2_pool.d: Likewise.
745 * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
746 * testsuite/gas/arm/tls_vxworks.d: Update expected output.
747
748 PR 19499
749 * doc/as.texinfo (Errors): Correct documentation describing the
750 interaction of .file and .line with warning and error messages.
751
752 PR 19458
753 * testsuite/gas/arm/armv8_2-a.d: Skip for COFF based targets.
754 * testsuite/gas/arm/archv8m-main.d: Likewise.
755 * testsuite/gas/arm/archv8m-base.d: Likewise.
756
757 2016-01-20 Matthew Wahab <matthew.wahab@arm.com>
758
759 * testsuite/gas/aarch64/armv8_2-a-illegal.d: New.
760 * testsuite/gas/aarch64/armv8_2-a-illegal.l: New.
761 * testsuite/gas/aarch64/armv8_2-a-illegal.s: New.
762
763 2016-01-20 Mickael Guene <mickael.guene@st.com>
764 Terry Guo <terry.guo@arm.com>
765
766 * config/obj-elf.c (obj_elf_change_section) : Allow arm section with
767 SHF_ARM_NOREAD section flag.
768 * config/tc-arm.h (md_elf_section_letter) : Implement this hook to
769 handle letter 'y'.
770 (arm_elf_section_letter) : Declare it.
771 * config/tc-arm.c (arm_elf_section_letter): Handle letter 'y' to set
772 SHF_ARM_NOREAD section flag.
773 * doc/c-arm.texi (ARM section attribute): Document the 'y' attribute.
774
775 * testsuite/gas/arm/section-execute-only.s: New test case.
776 * testsuite/gas/arm/section-execute-only.d: Expected output.
777
778 2016-01-18 Maciej W. Rozycki <macro@imgtec.com>
779
780 * config/tc-mips.c (micromips_insn_length): Remove the mention
781 of 48-bit microMIPS instructions.
782
783 2016-01-18 Alan Modra <amodra@gmail.com>
784
785 * configure: Regenerate.
786
787 2016-01-17 Alan Modra <amodra@gmail.com>
788
789 * configure: Regenerate.
790
791 2016-01-17 Alan Modra <amodra@gmail.com>
792
793 * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test.
794
795 2016-01-14 Nick Clifton <nickc@redhat.com>
796
797 * testsuite/gas/rl78/sp-relative-movw.s: New test.
798 * testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
799 * testsuite/gas/rl78/rl78.exp: Run the new test.
800
801 2016-01-14 Matthew Wahab <matthew.wahab@arm.com>
802
803 * testsuite/gas/aarch64/illegal-sysreg-2.l: New.
804 * testsuite/gas/aarch64/illegal-sysreg-2.d: New.
805
806 2016-01-13 Maciej W. Rozycki <macro@imgtec.com>
807
808 * config/tc-nios2.c (output_movia): Preset `code' to 0.
809
810 2016-01-13 Yoshinori Sato <ysato@users.sourceforge.jp>
811
812 * config/tc-h8300.c (get_operand): Remove spurious condition in
813 test for closing parenthesis.
814
815 2016-01-12 Matthew Wahab <matthew.wahab@arm.com>
816
817 * config/tc-arm.c (arm_ext_v8_2): New.
818 (insns): Add "esb".
819 * testsuite/gas/arm/armv8_2-a.d: New.
820 * testsuite/gas/arm/armv8_2-a.s: New.
821
822 2016-01-12 Alan Modra <amodra@gmail.com>
823
824 * testsuite/gas/ppc/vsx3.d: Accept nop padding.
825
826 2016-01-11 Peter Bergner <bergner@vnet.ibm.com>
827
828 * testsuite/gas/ppc/power9.d <xscmpnedp, xvcmpnedp, xvcmpnedp.,
829 xvcmpnesp, xvcmpnesp.>: Delete tests.
830 * testsuite/gas/ppc/power9.s: Likewise.
831 * testsuite/gas/ppc/vsx3.d: Likewise.
832 * testsuite/gas/ppc/vsx3.s: Likewise.
833
834 2016-01-08 Andreas Schwab <schwab@linux-m68k.org>
835
836 PR gas/13050
837 * testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
838 * testsuite/gas/m68k/p13050-1.s: New file.
839 * testsuite/gas/m68k/p13050-2.d: New file.
840 * testsuite/gas/m68k/p13050-2.s: New file.
841
842 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
843
844 * testsuite/gas/arc/adc.d: Add 'R_' prefix to relocation names.
845 * testsuite/gas/arc/add.d: Likewise.
846 * testsuite/gas/arc/and.d: Likewise.
847 * testsuite/gas/arc/asl.d: Likewise.
848 * testsuite/gas/arc/asr.d: Likewise.
849 * testsuite/gas/arc/bic.d: Likewise.
850 * testsuite/gas/arc/extb.d: Likewise.
851 * testsuite/gas/arc/extw.d: Likewise.
852 * testsuite/gas/arc/j.d: Likewise.
853 * testsuite/gas/arc/jl.d: Likewise.
854 * testsuite/gas/arc/ld2.d: Likewise.
855 * testsuite/gas/arc/lsr.d: Likewise.
856 * testsuite/gas/arc/mov.d: Likewise.
857 * testsuite/gas/arc/or.d: Likewise.
858 * testsuite/gas/arc/pcl-relocs.d: Likewise.
859 * testsuite/gas/arc/pcrel-relocs.d: Likewise.
860 * testsuite/gas/arc/pic-relocs.d: Likewise.
861 * testsuite/gas/arc/plt-relocs.d: Likewise.
862 * testsuite/gas/arc/rlc.d: Likewise.
863 * testsuite/gas/arc/ror.d: Likewise.
864 * testsuite/gas/arc/rrc.d: Likewise.
865 * testsuite/gas/arc/sbc.d: Likewise.
866 * testsuite/gas/arc/sda-relocs.d: Likewise.
867 * testsuite/gas/arc/sda-relocs2.d: Likewise.
868 * testsuite/gas/arc/sexb.d: Likewise.
869 * testsuite/gas/arc/sexw.d: Likewise.
870 * testsuite/gas/arc/st.d: Likewise.
871 * testsuite/gas/arc/sub.d: Likewise.
872 * testsuite/gas/arc/tls-relocs.d: Likewise.
873 * testsuite/gas/arc/xor.d: Likewise.
874
875 2016-01-01 Alan Modra <amodra@gmail.com>
876
877 Update year range in copyright notice of all files.
878
879 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
880 \f
881 Copyright (C) 2016 Free Software Foundation, Inc.
882
883 Copying and distribution of this file, with or without modification,
884 are permitted in any medium without royalty provided the copyright
885 notice and this notice are preserved.
886
887 Local Variables:
888 mode: change-log
889 left-margin: 8
890 fill-column: 74
891 version-control: never
892 End:
This page took 0.056463 seconds and 5 git commands to generate.