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