Fix RX GAS handling of integer bignums.
[external/binutils.git] / gas / ChangeLog
1 2015-06-08  Nick Clifton  <nickc@redhat.com>
2
3         * config/tc-rx.c (rx_op): Correct handling of integer bignums.
4
5 2015-06-04  Matthew Wahab  <matthew.wahab@arm.com>
6
7         * NEWS: Mention ARMv8.1 support in the Aarch64 port.
8         * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
9         * doc/c-aarch64.texi (-march): Add "armv8.1-a".
10
11 2015-06-04  Renlin Li  <renlin.li@arm.com>
12
13         * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
14         when available.
15
16 2015-06-04  Nick Clifton  <nickc@redhat.com>
17
18         * config/tc-h8300.c (md_section_align): Fix compile time warning
19         about left shifting a negative value.
20
21 2015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
22
23         * config/tc-arm.c (arm_archs): Add "armv8.1-a".
24         * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
25         * NEWS: Mention ARMv8.1 support.
26
27 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
28
29         * config/tc-arm.c (arm_ext_pan): New.
30         (do_setpan): New, encode an ARM SETPAN instruction.
31         (do_t_setpan): New, encode a Thumb SETPAN instruction.
32         (insns): Add "setpan".
33         (arm_extensions): Add "pan".
34         * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
35         extensions.
36
37 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
38
39         * config/tc-aarch64.c (aarch64_features): Add "rdma".
40         * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
41
42 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
43
44         * config/tc-aarch64.c (aarch64_features): Add "lor".
45         * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
46         architecture extensions.
47
48 2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
49
50         * config/tc-aarch64.c (parse_sys_reg): New parameter.  Check target
51         support.  Fix whitespace.
52         (parse_operands): Update for parse_sys_reg changes.
53         (aarch64_features): Add "pan".
54         * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
55
56 2015-06-01  Jiong Wang  <jiong.wang@arm.com>
57
58         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
59         (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
60         (aarch64_force_relocation): Ditto.
61
62 2015-06-01  Jiong Wang  <jiong.wang@arm.com>
63
64         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
65         (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
66         (aarch64_force_relocation): Ditto.
67
68 2015-05-28  Catherine Moore  <clm@codesourcery.com>
69             Bernd Schmidt <bernds@codesourcery.com>
70             Paul Brook <paul@codesourcery.com>
71
72         gas/
73         * config/tc-alpha.c (all_cfi_sections): Declare.
74         (s_alpha_ent): Initialize all_cfi_sections.
75         (alpha_elf_md_end): Invoke cfi_set_sections.
76         * config/tc-mips.c (md_apply_fix):  Handle BFD_RELOC_NONE.
77         (s_ehword): Use BFD_RELOC_32_PCREL.
78         (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
79         (mips_cfi_reloc_for_encoding): New function.
80         * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
81         (DWARF2_FDE_RELOC_ENCODING): Define.
82         (tc_cfi_reloc_for_encoding): Define.
83         (mips_cfi_reloc_for_encoding): Define.
84         (tc_compact_eh_opcode_stop): Define.
85         (tc_compact_eh_opcode_pad): Define.
86         * doc/as.texinfo: Document Compact EH extensions.
87         * doc/internals.texi: Likewise.
88         * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
89         (tc_cfi_reloc_for_encoding): Provide default.
90         (compact_eh): Declare.
91         (emit_expr_encoded): New function.
92         (get_debugseg_name): Add Compact EH support.
93         (alloc_debugseg_item): Likewise.
94         (cfi_set_sections): New function.
95         (dot_cfi_fde_data): New function.
96         (dot_cfi_personality_id): New function.
97         (dot_cfi_inline_lsda): New function.
98         (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
99         and cfi_inline_lsda.
100         (dot_cfi_personality): Add Compact EH support.
101         (dot_cfi_lsda): Likewise.
102         (dot_cfi_sections): Likewise.
103         (dot_cfi_startproc): Likewise.
104         (get_cfi_seg): Likewise.
105         (output_compact_unwind_data): New function.
106         (output_cfi_insn): Add Compact EH support.
107         (output_cie): Likewise.
108         (output_fde): Likewise.
109         (cfi_finish): Likewise.
110         (cfi_emit_eh_header): New function.
111         (output_eh_header): New function.
112         * dw2gencfi.h (cfi_set_sections): Declare.
113         (SUPPORT_COMPACT_EH): Define.
114         (MULTIPLE_FRAME_SECTIONS): Define.
115         New enumeration to describe the Compact EH header format.
116         (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
117         eh_data, eh_loc and sections.
118         (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
119         CFI_EMIT_eh_frame_compact): Define.
120
121 2015-05-26  Max Filippov  <jcmvbkbc@gmail.com>
122
123         * config/tc-xtensa.c (xtensa_move_literals): Check that
124         search_frag is non-NULL. Report error if literal frag is not
125         found.
126
127 2015-05-22  Nick Clifton  <nickc@redhat.com>
128
129         PR gas/18446
130         * read.c (output_big_sleb128): Use U suffix to prevent compile
131         time warning.
132
133 2015-05-19  Jiong Wang  <jiong.wang@arm.com>
134
135         * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
136         labels alphabetically.
137         (md_apply_fix): Ditto.
138         (aarch64_force_relocation): Ditto.
139
140 2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
141
142         PR binutis/18386
143         * config/tc-i386.c (OPTION_MAMD64): New.
144         (OPTION_MINTEL64): Likewise.
145         (md_longopts): Add -mamd64 and -mintel64.
146         (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
147         (md_show_usage): Add -mamd64 and -mintel64.
148         * doc/c-i386.texi: Document -mamd64 and -mintel64.
149
150 2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
151
152         * config/tc-i386.c (shared): New.
153         (OPTION_MSHARED): Likewise.
154         (elf_symbol_resolved_in_segment_p): Add relocation argument.
155         Check PLT relocations and shared.
156         (md_estimate_size_before_relax): Pass fragP->fr_var to
157         elf_symbol_resolved_in_segment_p.
158         (md_longopts): Add -mshared.
159         (md_show_usage): Likewise.
160         (md_parse_option): Handle OPTION_MSHARED.
161         * doc/c-i386.texi: Document -mshared.
162
163 2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
164
165         * write.c (compress_debug): Don't write the zlib header, which
166         is handled by bfd_update_compression_header.
167
168 2015-05-13  Max Filippov  <jcmvbkbc@gmail.com>
169
170         * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
171         closer than J_RANGE / 2 to jump frag.
172
173 2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
174
175         * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
176         * config/tc-i386.c (i386_mach): Support iamcu.
177         (i386_target_format): Likewise.
178
179 2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
180
181         * config/tc-i386.c (cpu_arch): Add iamcu.
182         (i386_align_code): Handle PROCESSOR_IAMCU.
183         (i386_arch): Likewise.
184         (i386_mach): Likewise.
185         (i386_target_format): Likewise.
186         (valid_iamcu_cpu_flags): New function.
187         (check_cpu_arch_compatible): Only allow Intel MCU instructions
188         when targeting Intel MCU.
189         (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
190         are valid for Intel MCU.
191         (md_parse_option): Likewise.
192         * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
193         (processor_type): Add PROCESSOR_IAMCU.
194         * doc/c-i386.texi: Document iamcu.
195
196 2015-05-08  Nick Clifton  <nickc@redhat.com>
197
198         PR gas/18347
199         * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
200         * config/tc-arm.c (arm_tc_equal_in_insn): New function.  Move
201         the symbol name checking code to here from...
202         (md_undefined_symbo): ... here.
203
204 2015-05-07  H.J. Lu  <hongjiu.lu@intel.com>
205
206         * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
207         (md_estimate_size_before_relax): Use it.
208
209 2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
210
211         * config/tc-sparc.c: Typo in comment fixed.
212
213 2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
214
215         * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
216         condition codes
217         * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
218
219 2015-05-06  Nick Clifton  <nickc@redhat.com>
220
221         * doc/as.texinfo (Dollar Local Labels): Note that these are only
222         supported on some targets.
223
224 2015-05-06  Renlin Li  <renlin.li@arm.com>
225
226         * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
227
228 2015-05-05  Renlin Li  <renlin.li@arm.com>
229
230         * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
231         symbols.
232
233 2015-05-05  Nick Clifton  <nickc@redhat.com>
234
235         * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
236         (msp430_make_init_symbols): New function.
237         (msp430_section): Call it.
238         (msp430_frob_section): Likewise.
239
240 2015-05-02  Max Filippov  <jcmvbkbc@gmail.com>
241
242         * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
243         (struct cached_fixup, struct fixup_cache): New structures.
244         (fixup_order, xtensa_make_cached_fixup),
245         (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
246         (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
247         (xtensa_add_cached_fixup): New functions.
248         (xtensa_relax_frag): Cache fixups pointing at potentially
249         oversized jumps at the beginning of every relaxation pass. Only
250         check subset of this cache in the reach of single jump from the
251         trampoline frag currently being relaxed.
252
253 2015-05-01  Nick Clifton  <nickc@redhat.com>
254
255         * config/rl78-parse.y (MULU): Remove ISA_G14.
256         (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
257
258 2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
259
260         * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
261         * config/tc-i386.h (md_end): Likewise.
262         (i386_elf_emit_arch_note): Likewise.
263
264 2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
265
266         * configure.tgt: Support i386-*-elf*.
267
268 2015-04-30  DJ Delorie  <dj@redhat.com>
269
270         * config/rl78-defs.h (rl78_isa_g10): New.
271         (rl78_isa_g13): New.
272         (rl78_isa_g14): New.
273         * config/rl78-parse.y (ISA_G10): New.
274         (ISA_G13): New.
275         (ISA_G14): New.
276         (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
277         * config/tc-rl78.c (rl78_isa_g10): New.
278         (rl78_isa_g13): New.
279         (rl78_isa_g14): New.
280
281 2015-04-30  H.J. Lu  <hongjiu.lu@intel.com>
282
283         * config/tc-i386.c (i386_target_format): Use "else if" on
284         cpu_arch_isa.
285
286 2015-04-30  Nick Clifton  <nickc@redhat.com>
287
288         PR gas/18347
289         * config/tc-arm.c (md_undefined_symbol): Issue a warning message
290         (if enabled) when the user creates a symbol with the same name as
291         an ARM instruction.
292         (flag_warn_syms): New static variable.
293         (arm_opts): Add mwarn-syms and mno-warn-syms.
294         * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
295         options.
296
297         PR gas/18353
298         * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
299
300 2015-04-29  Nick Clifton  <nickc@redhat.com>
301
302         PR 18256
303         * config/tc-arm.c (encode_arm_cp_address): Issue an error message
304         if the operand is neither a register nor a vector.
305
306 2015-04-29  Nick Clifton  <nickc@redhat.com>
307
308         * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
309         times if the expression is not constant and the target uses linker
310         relaxation.
311
312 2015-04-28  Renlin Li  <renlin.li@arm.com>
313
314         * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
315
316 2015-04-28  Nick Clifton  <nickc@redhat.com>
317
318         PR 18313
319         * cond.c (s_if): Stop compile time warning about stopc being used
320         before it is set.
321         (s_ifc): Likewise.
322
323 2015-04-27  Renlin Li  <renlin.li@arm.com>
324
325         * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
326         section.
327         (md_assemble): Likewise, move the align code outside the loop.
328
329 2015-04-24  Jim Wilson  <jim.wilson@linaro.org>
330
331         * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
332         for thunderx.
333
334 2015-04-24  Richard Earnshaw  <rearnsha@arm.com>
335
336         * config/tc-arm.h (arm_min): New function.
337         (SUB_SEGMENT_ALIGN): Define.
338
339 2015-04-23  Matthew Fortune  <matthew.fortune@imgtec.com>
340
341         * config/tc-mips.c (macro): State the recommended way of creating
342         32-bit or 64-bit addresses.
343
344 2015-04-23  Jan Beulich  <jbeulich@suse.com>
345
346         * config/tc-i386.c (match_mem_size): Also allow no size
347         specification when broadcasting.
348
349 2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
350
351         * doc/as.texinfo (Bundle directives): Shorten menu entry and
352         use @subsection.
353         (CFI directives): Use @subsection.
354         (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
355         * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
356
357 2015-04-17  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
358
359         * config/tc-avr.c (create_record_for_frag): Rename link to
360         prop_rec_link.
361
362 2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
363
364         * NEWS: Mention
365         --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
366
367 2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
368
369         * as.h (compressed_debug_section_type): Removed.
370
371 2015-04-14  Nick Clifton  <nickc@redhat.com>
372
373         * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
374         (TC_FORCE_RELOCATION_SUB_SAME): Define.
375         (DWARF2_USE_FIXED_ADVANCE_PC): Define.
376
377 2015-04-10  Nick Clifton  <nickc@redhat.com>
378
379         PR binutils/18198
380         * doc/c-arm.texi (ARM Options): Add a note about the interaction of
381         the -EB option with the linker's --be8 option.
382
383 2015-04-09  Hans-Peter Nilsson  <hp@axis.com>
384
385         * doc/c-rx.texi: Fix markup typos in last change.
386
387 2015-04-09  Nick Clifton  <nickc@redhat.com>
388
389         * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
390         (md_longopts): Add -mno-allow-string-insns.
391         (md_parse_option): Handle -mno-allow-string-insns.
392         (md_show_usage): Mention -mno-allow-string-insns.
393         (rx_note_string_insn_use): New function.  Produces an error
394         message if a string insn is used when it is not allowed.
395         * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
396         (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
397         * config/rx-defs.h (rx_note_string_insn_use): Prototype.
398         * doc/c-rx.texi: Document -mno-allow-string-insns.
399
400 2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
401
402         * as.c (show_usage): Update --compress-debug-sections.
403         (std_longopts): Use optional_argument on compress-debug-sections.
404         (parse_args): Handle
405         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
406         * as.h (compressed_debug_section_type): New.
407         (flag_compress_debug): Change type to compressed_debug_section_type.
408         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
409         * write.c (compress_debug): Set BFD_COMPRESS_GABI for
410         --compress-debug-sections=zlib-gabi.  Call
411         bfd_get_compression_header_size to get compression header size.
412         Don't rename section name for --compress-debug-sections=zlib-gabi.
413         * config/tc-i386.c (compressed_debug_section_type): Set to
414         COMPRESS_DEBUG_ZLIB.
415         * doc/as.texinfo: Document
416         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
417
418 2015-04-07  Renlin Li  <renlin.li@arm.com>
419
420         * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
421         (s_aarch64_inst): Likewise.
422         (md_assemble): Likewise.
423
424 2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
425
426         * write.c (compress_debug): Use bfd_putb64 to write uncompressed
427         section size.
428
429 2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
430
431         * write.c (compress_debug): Don't write the zlib header if
432         compressed section size is the same as before compression.
433
434 2015-04-02  Nick Clifton  <nickc@redhat.com>
435
436         PR gas/18189
437         * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
438         min and max parameters.  Sign extend values before testing.
439
440 2015-04-02  Renlin Li  <renlin.li@arm.com>
441
442         * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
443         (mapping_state_2): Don't emit MAP_DATA here.
444         (s_aarch64_inst): Align frag during state transition.
445         (md_assemble): Likewise.
446
447 2015-04-02  Ed Maste  <emaste@freebsd.org>
448
449         * config/tc-aarch64.c (set_error_kind): Delete.
450         (set_error_message): Delete.
451
452 2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
453
454         * configure: Regenerated.
455
456 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
457
458         * config/tc-aarch64.c: Add support for Samsung Exynos M1.
459         * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
460
461 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
462
463         * config/tc-arm.c: Add support for Samsung Exynos M1.
464         * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
465
466 2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
467
468         * configure: Regenerated.
469
470 2015-03-31  Ed Schouten  <ed@nuxi.nl>
471
472         * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
473
474 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
475
476         * configure.ac: Revert the AM_ZLIB change.
477         * Makefile.in: Regenerated.
478         * aclocal.m4: Likewise.
479         * configure: Likewise.
480
481 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
482
483         * Makefile.am (ZLIBINC): New.
484         (AM_CFLAGS): Add $(ZLIBINC).
485         * as.c: (show_usage): Don't check HAVE_ZLIB_H.
486         (parse_args): Likewise.
487         * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
488         (compress_init): Don't check HAVE_ZLIB_H.
489         (compress_data): Likewise.
490         (compress_finish): Likewise.
491         * configure.ac (AM_ZLIB): Removed.
492         (zlibinc): New.  AC_SUBST.
493         Add --with-system-zlib.
494         * Makefile.in: Regenerated.
495         * config.in: Likewise.
496         * configure: Likewise.
497         * doc/Makefile.in: Likewise.
498
499 2015-03-27  H.J. Lu  <hongjiu.lu@intel.com>
500
501         * config/tc-i386.c (cpu_flags_set): Removed.
502
503 2015-03-25  Renlin Li  <renlin.li@arm.com>
504
505         * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
506         code.
507         (mapping_state_2): Emit first MAP_DATA symbol here.
508
509 2015-03-24  H.J. Lu  <hongjiu.lu@intel.com>
510
511         PR gas/18087
512         * write.c (compress_debug): Don't write the zlib header if
513         compression didn't make the section smaller.
514
515 2015-03-24  Terry Guo  <terry.guo@arm.com>
516
517         * config/tc-arm.c (no_cpu_selected): Use new macro to compare
518         features.
519         (parse_psr): Likewise.
520         (do_t_mrs): Likewise.
521         (do_t_msr): Likewise.
522         (static const arm_feature_set arm_ext_*): Defined with new macros.
523         (static const arm_feature_set arm_cext_*): Likewise.
524         (static const arm_feature_set fpu_fpa_ext_*): Likewise.
525         (static const arm_feature_set fpu_vfp_ext_*): Likewise.
526         (deprecated_coproc_regs): Likewise.
527         (UL_BARRIER): Likewise.
528         (barrier_opt_names): Likewise.
529         (arm_cpus): Likewise.
530         (arm_extensions): Likewise.
531
532 2015-03-20  H.J. Lu  <hongjiu.lu@intel.com>
533
534         * config/tc-i386.c (i386_align_code): Limit multi-byte nop
535         instructions to 10 bytes.
536
537 2015-03-19  Nick Clifton  <nickc@redhat.com>
538
539         * config/tc-rl78.c (enum options): Add G13 and G14.
540         (md_longopts): Add -mg13 and -mg14.
541         (md_parse_option): Handle -mg13 and -mg14.
542         (md_show_usage): List -mg13 and -mg14.
543         * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
544
545 2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
546             Nick Clifton  <nickc@redhat.com>
547
548         PR binutils/18087
549         * doc/as.texinfo: Note that when gas compresses debug sections the
550         compression is only performed if it makes the section smaller.
551         * write.c (compress_debug): Do not compress a debug section if
552         doing so would make it larger.
553
554 2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
555
556         * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
557         (i386_align_code): Add PROCESSOR_ZNVER cases.
558         * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
559         * doc/c-i386.texi: Add znver1 and clzero.
560
561 2015-03-16  Nick Clifton  <nickc@redhat.com>
562
563         * dwarf2dbg.c (out_header): Remove spurious #if 1.
564
565 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
566
567         * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
568         number 31.
569
570 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
571
572         * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
573
574 2015-03-12  Andrew Bennett  <andrew.bennett@imgtec.com>
575
576         * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
577         * doc/c-mips.texi: Document i6400 -march option.
578
579 2015-03-12  Nick Clifton  <nickc@redhat.com>
580
581         PR gas/17444
582         * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
583         to arm_apply_sym_value.  Update prototype.
584         * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
585         Do not apply the value if the symbol is in a different segment to
586         the current segment.
587
588 2015-03-11  Alan Modra  <amodra@gmail.com>
589
590         * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
591         (md_apply_fix): Report an error on data-only fixups used with insns.
592
593 2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
594
595         * config/tc-s390.c (md_gather_operands): Check for valid
596         length field operands.
597
598 2015-03-10  Michael Perkins  <perkinsmg75@yahoo.co.uk>
599
600         * config/tc-arm.c (parse_operands): Fix bug setting writeback
601         values for '^' on OP_REGLSTs.
602         (do_push_pop): Add new writeback constraint.
603
604 2015-03-10  Renlin Li  <renlin.li@arm.com>
605
606         * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
607         (mapping_state_2): Emit first MAP_DATA symbol here.
608
609 2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
610
611         * config/tc-aarch64.c (mapping_state): Set minimum alignment for
612         code sections.
613
614 2015-03-10  Nick Clifton  <nickc@redhat.com>
615
616         PR gas/17852
617         * config/tc-arm.c (md_begin): Ensure that selected_cpu is
618         initialised when CPU_DEFAULT is defined.
619
620 2015-03-05  Nick Clifton  <nickc@redhat.com>
621
622         * config/tc-v850.c (md_parse_option): Fix code to set or clear
623         EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
624         -m8byte-align and -m4byte-align command line options.
625
626 2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
627
628         PR gas/17843
629         * config/tc-aarch64.c (process_movw_reloc_info): Allow
630         R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
631         for MOVK.
632
633 2015-02-28  Alan Modra  <amodra@gmail.com>
634
635         * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
636         end to their alignment.
637
638 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
639
640         * config/tc-aarch64.c (reloc_table_entry): Generate
641         BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
642         (md_apply_fix, aarch64_force_relocation): Handle
643         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
644
645 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
646
647         * config/tc-aarch64.c (reloc_table_entry): Generate
648         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
649         (md_apply_fix, aarch64_force_relocation): Handle
650         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
651
652 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
653
654         * config/tc-aarch64.c (reloc_table_entry): Generate
655         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
656         (md_apply_fix, aarch64_force_relocation): Handle
657         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
658
659 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
660
661         * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
662         (reloc_table): Likewise.
663         (parse_address_main): Use ld_literal_type.
664
665 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
666
667         * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
668         (reloc_table): Likewise.
669         (parse_address_main): Use adr_type.
670
671 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
672
673         * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
674
675 2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
676
677         * config/tc-avr.c: Add elf32-avr.h include.
678         (struct avr_property_record_link): New structure.
679         (avr_output_property_section_header): New function.
680         (avr_record_size): New function.
681         (avr_output_property_record): New function.
682         (avr_create_property_section): New function.
683         (avr_handle_align): New function.
684         (exclude_section_from_property_tables): New function.
685         (create_record_for_frag): New function.
686         (append_records_for_section): New function.
687         (avr_create_and_fill_property_section): New function.
688         (avr_post_relax_hook): New function.
689         * config/tc-avr.h (md_post_relax_hook): Define.
690         (avr_post_relax_hook): Declare.
691         (HANDLE_ALIGN): Define.
692         (avr_handle_align): Declare.
693         (strut avr_frag_data): New structure.
694         (TC_FRAG_TYPE): Define.
695
696 2015-02-25  Matthew Wahab  <matthew.wahab@arm.com>
697
698         * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
699         cortex-a72.
700
701 2015-02-24  Nick Clifton  <nickc@redhat.com>
702
703         * config/tc-v850.c (soft_float): New variable.
704         (v850_data_8): New variable.
705         (md_show_usage): Add -msoft-float/-mhard-float.
706         (md_parse_option): Likewise.
707         (md_begin): Set the default value of soft_float.
708         (v850_md_end): New function.  Creates a note section.
709         * config/tc-v850.h (md_end): Define.
710         * doc/c-v850.texi: Document -msoft-float/-mhard-float.
711
712 2015-02-23  Yoshinori Sato  <ysato@users.sourceforge.jp>
713
714         * config/tc-h8300.c (line_separater_chars): Add a version for
715         h8300-linux that includes a separator.
716         (default_mach): New variable.
717         (md_main): Use it.
718         (md_longopts): Add '--march' option.
719         (md_parse_option): Parse the new option.
720         * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
721         * configure.tgt: Add h8300-*-linux
722         * doc/c-h8300.texi: Document --march.
723
724 2015-02-23  Nick Clifton  <nickc@redhat.com>
725
726         PR 17940
727         * dwarf2dbg.c (out_header): When generating dwarf sections use
728         real symbols not temps for the start and end symbols.
729         * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
730         adjustments to relocations in debug sections.
731         (TC_LINKRELAX_FIXUP): Likewise.
732
733 2015-02-19  Alan Modra  <amodra@gmail.com>
734
735         * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
736         * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
737
738 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
739
740         * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
741
742 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
743
744         * config/tc-arm.c: Add support for Cortex-A72.
745
746 2015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
747
748         * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
749         of as_warn for deprecation messages.
750         (encode_arm_addr_mode_2): Likewise.
751         (check_obsolete): Likewise.
752         (do_rd_rm_rn): Likewise.
753         (do_co_reg): Likewise.
754         (do_setend): Likewise.
755         (do_t_mov_cmp): Likewise.
756         (do_neon_ldr_str): Likewise.
757         (opcode_lookup): Likewise.
758         (if_fsm_post_encode): Likewise.
759         (md_assemble): Likewise.
760
761 2015-02-06  Jan Beulich  <jbeulich@suse.com>
762
763         * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
764         (cfi_change_reg_numbers): Also do nothing for CFI_label.
765         (cfi_pseudo_table): Also handle .cfi_label when not supporting
766         CFI directives.
767
768 2015-02-05  Alan Modra  <amodra@gmail.com>
769
770         * config/tc-msp430.c (md_assemble): Correct size passed to
771         extract_cmd.  Remove index check.
772
773 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
774
775         * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
776         * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
777
778 2015-02-04  Nick Clifton  <nickc@redhat.com>
779
780         * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
781         these instructions.
782
783 2015-02-03  Renlin Li  <renlin.li@arm.com>
784
785         * doc/c-aarch64.texi (.arch): Document the directive.
786         (.arch_extension): Likewise.
787
788 2015-02-03  Nick Clifton  <nickc@redhat.com>
789
790         * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
791
792 2015-01-28  James Bowman  <james.bowman@ftdichip.com>
793
794         * Makefile.am: Add FT32 files.
795         * config/tc-ft32.c: New file.
796         * config/tc-ft32.h: New file.
797         * configure.tgt: Add FT32 support.
798         * Makefile.in: Regenerate.
799         * po/POTFILES.in: Regenerate.
800
801 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
802
803         * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
804         of instruction la to a symbol.
805
806 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
807
808         * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
809         section name.
810
811 2015-01-19  Alan Modra  <amodra@gmail.com>
812
813         * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
814         * write.c (get_frag_for_reloc): Allow match just past end of frag.
815
816 2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
817
818         * config/tc-s390.c (struct pd_reg): Remove.
819         (pre_defined_registers): Remove.
820         (REG_NAME_CNT): Remove.
821         (reg_name_search): Calculate the register number instead of doing
822         a lookup.
823         (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
824         reg_name_search signature.
825         (s390_parse_cpu): Support the new arch string z13.
826         (s390_insert_operand): Support for vector registers with the extra
827         field for the fifth bit of each vector register operand.
828         (md_gather_operand): Adjust to the new handling of optional
829         parameters.
830
831         * doc/as.texinfo: Document the z13 cpu string.
832
833 2015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
834
835         * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
836         #0, restoring previous behaviour.
837
838 2015-01-12  Jan Beulich  <jbeulich@suse.com>
839
840         * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
841         (cfi_pseudo_table): Add "cfi_label".
842         (output_cfi_insn): Handle CFI_label.
843         (select_cie_for_fde): Als terminate CIE when encountering
844         CFI_label.
845         * dw2gencfi.h (cfi_add_label): Declare.
846         (struct cfi_insn_data): New member "sym_name".
847         (CFI_label): New.
848         * read.c (read_symbol_name): Drop "static".
849         * read.h (read_symbol_name): Declare.
850
851 2015-01-12  Jan Beulich  <jbeulich@suse.com>
852
853         * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
854         (do_neon_qshl_imm): Likewise.
855
856 2015-01-12  Alan Modra  <amodra@gmail.com>
857
858         * read.c (s_altmacro, s_reloc): Make definition static.
859
860 2015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
861
862         * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
863         diff fixups.
864
865 2015-01-09  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
866
867         * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
868         X-Gene 2.
869         * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
870
871 2015-01-07  Jan Beulich <jbeulich@suse.com>
872
873         * config/tc-arm.c (struct arm_option_extension_value_table):
874         Split field "value" into fields "merge_value" and "clear_value".
875         (arm_extensions): Adjust initializer accordingly.
876
877 2015-01-01  Alan Modra  <amodra@gmail.com>
878
879         * as.c (parse_args): Just print current year.
880
881 2015-01-01  Alan Modra  <amodra@gmail.com>
882
883         Update year range in copyright notice of all files.
884
885 For older changes see ChangeLog-2014
886 \f
887 Copyright (C) 2015 Free Software Foundation, Inc.
888
889 Copying and distribution of this file, with or without modification,
890 are permitted in any medium without royalty provided the copyright
891 notice and this notice are preserved.
892
893 Local Variables:
894 mode: change-log
895 left-margin: 8
896 fill-column: 74
897 version-control: never
898 End: