gas 0f handling
[external/binutils.git] / gas / ChangeLog
1 2015-08-13  Alan Modra  <amodra@gmail.com>
2
3         * expr.c (operand): Rewrite handling of operands starting with "0f".
4         If atof_generic only parses "-" or "+", treat as expression.
5
6 2015-08-13  Alan Modra  <amodra@gmail.com>
7             DJ Delorie  <dj@redhat.com>
8
9         * expr.c (integer_constant): Return O_absent expression if eol.
10         (operand): For targets with both LOCAL_LABELS_FB and
11         NUMBERS_WITH_SUFFIX set, treat "0b" not followed by binary
12         digits as a local label reference.  Correct handling of 0b prefix.
13         If a suffix is not allowed, error on 0B.
14
15 2015-08-13  Alan Modra  <amodra@gmail.com>
16
17         * doc/as.texinfo (Local Labels): Allowed range of N in local
18         labels is non-negative integers, not positive integers.
19
20 2015-08-12  David Weatherford  <weath@cadence.com>
21
22         * config/tc-xtensa.c (struct litpool_frag, struct litpool_seg):
23         New structures.
24         (xtensa_maybe_create_literal_pool_frag): New function.
25         (litpool_seg_list, auto_litpools, auto_litpool_limit)
26         (litpool_buf, litpool_slotbuf): New static variables.
27         (option_auto_litpools, option_no_auto_litpools)
28         (option_auto_litpool_limit): New enum identifiers.
29         (md_longopts): Add entries for auto-litpools, no-auto-litpools
30         and auto-litpool-limit.
31         (md_parse_option): Handle option_auto_litpools,
32         option_no_auto_litpools and option_auto_litpool_limit.
33         (md_show_usage): Add help for --[no-]auto-litpools and
34         --auto-litpool-limit.
35         (xtensa_mark_literal_pool_location): Record a place for literal
36         pool with a call to xtensa_maybe_create_literal_pool_frag.
37         (get_literal_pool_location): Find highest priority literal pool
38         or convert candidate to literal pool when auto-litpools are used.
39         (xg_assemble_vliw_tokens): Create literal pool after jump
40         instruction.
41         (xtensa_check_frag_count): Create candidate literal pool every
42         auto_litpool_limit frags.
43         (xtensa_relax_frag): Add jump around literals to non-empty
44         literal pool.
45         (xtensa_move_literals): Estimate literal pool addresses and move
46         unreachable literals closer to their users, converting candidate
47         to literal pool if needed.
48         (xtensa_switch_to_non_abs_literal_fragment): Only emit error
49         about missing .literal_position in case auto-litpools are not
50         used.
51         * config/tc-xtensa.h (xtensa_relax_statesE): New relaxation
52         state: RELAX_LITERAL_POOL_CANDIDATE_BEGIN.
53         * doc/as.texinfo (Xtensa options):  Document --auto-litpools and
54         --no-auto-litpools options.
55         * doc/c-xtensa.texi (Xtensa options): Likewise.
56
57 2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
58
59         * config/tc-mips.c (move_register): Change to use 'or' only.
60         (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
61         use or for move.
62
63 2015-08-11  Jiong Wang  <jiong.wang@arm.com>
64
65         * config/tc-aarch64.c (reloc_table): New relocation modifiers
66         "dtprel_lo12".
67         (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
68         (aarch64_force_relocation): Likewise.
69
70 2015-08-11  Jiong Wang  <jiong.wang@arm.com>
71
72         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
73         (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
74         (aarch64_force_relocation): Likewise.
75
76 2015-08-11  Jiong Wang  <jiong.wang@arm.com>
77
78         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
79         (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
80         (aarch64_force_relocation): Likewise.
81
82 2015-08-11  Nick Clifton  <nickc@redhat.com>
83
84         PR gas/18765
85         * config/tc-arm.c (move_or_literal_pool): Use U suffix to remove
86         compile time warnings about constant expressions being shifted
87         into bit 31.
88         (do_iwmmxt_wldstd): Likewise.
89         (do_iwmmxt_wrwrwr_or_imm5): Likewise.
90         (md_assemble): Likewise.
91
92         PR gas/18574
93         * config/tc-msp430.c (msp430_operands): Rewrite if statements to
94         remove redundant checks.
95         (md_apply_fix): Likewise.
96
97         PR gas/18677
98         * config/tc-mmix.c (md_assemble): Fix typo checking operands with
99         a numeric constant value.
100
101         PR gas/18678
102         * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
103
104         PR gas/18679
105         * config/xtensa-relax.c (same_operand_name): Fix typo.
106
107 2015-08-08  Hans-Peter Nilsson  <hp@axis.com>
108
109         * tc-arm.c (double_to_single, is_double_a_single): Append ULL to
110         0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts.
111
112 2015-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
113
114         * doc/c-aarch64.texi (.xword): Document directive.
115
116 2015-08-03  Nick Clifton  <nickc@redhat.com>
117
118         * doc/as.texinfo (Overview): Add --hash-size to the synopsis and
119         fix typo in its entry: @kindex -> @item.
120
121 2015-07-28  Robert Suchanek  <robert.suchanek@imgtec.com>
122
123         * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
124         * doc/c-mips.texi: Document m5100 and m5101 for -march=.
125
126 2015-07-28  Robert Suchanek  <robert.suchanek@imgtec.com>
127
128         * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
129         * doc/c-mips.text: Document -march=interaptiv.
130
131 2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
132
133         * configure: Regenerated.
134
135 2015-07-24  Nick Clifton  <nickc@redhat.com>
136
137         * config/tc-rl78.c (rl78_abs_sym): New local variable.
138         (md_begin): Initialise the new symbol.
139         (OPIMM): Define the value to be relative to the new symbol and not
140         the absolute section symbol.
141
142 2015-07-22  Alan Modra  <amodra@gmail.com>
143
144         PR gas/18687
145         * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
146         loop.  Don't drop lines at end of file lacking a newline, add a
147         newline instead.  Ensure partial_size is zero whenever
148         partial_where is NULL.  Adjust buffer size for extra char.
149         (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
150
151 2015-07-20  Matthew Wahab  <matthew.wahab@arm.com>
152
153         * NEWS: Mention corrected spelling of armv6kz.
154         * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
155         ARM_ARCH_V6KZ.
156         (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
157         * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
158
159 2015-07-16  Jiong Wang  <jiong.wang@arm.com>
160
161         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
162         (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
163         (aarch64_force_relocation): Ditto.
164
165 2015-07-16  Matthew Wahab  <matthew.wahab@arm.com>
166
167         * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
168         * doc/c-arm.texi (-mfpu=): Likewise.  Correct the entry for
169         neon-fp-armv8.1.
170
171 2015-07-16  James Greenhalgh  <james.greenhalgh@arm.com>
172
173         * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
174         not support ARM mode" error messages.
175
176 2015-07-15  H.J. Lu  <hongjiu.lu@intel.com>
177
178         * config/tc-i386.c (flag_compress_debug): Replace
179         COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
180
181 2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
182
183         * as.c (parse_args): Make --compress-debug-sections and
184         --compress-debug-sections=zlib the same as
185         --compress-debug-sections=zlib-gabi.
186         * doc/as.texinfo: Change --compress-debug-sections and
187         --compress-debug-sections=zlib to zlib-gabi.
188
189 2015-07-09  Catherine Moore  <clm@codesourcery.com>
190
191         * config/tc-mips.c (check_fpabi):  Handle
192         VAL_GNU_MIPS_ABI_FP_NAN2008.
193
194 2015-07-08  Ciro Santilli  <ciro.santilli@gmail.com>
195
196         * doc/as.texinfo: Clarify case requirements for pseudo ops.
197
198 2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
199
200         * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
201         32 bit PC relative and update offset if the fixup is pc-relative.
202         * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
203         relocs.
204
205 2015-07-03  Alan Modra  <amodra@gmail.com>
206
207         * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
208         * doc/c-ppc.texi (PowerPC-Opts): Likewise.
209
210 2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
211             Cesar Philippidis  <cesar@codesourcery.com>
212
213         * config/tc-nios2.c (nios2_min_align): New.
214         (nop): Replace with....
215         (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
216         (nios2_align): Handle alignment on 2-byte boundaries when CDX
217         instructions may be present.
218         (s_nios2_align): Adjust reference to nop.
219         (CDXBRANCH, IS_CDXBRANCH): New.
220         (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
221         (nios2_relax_subtype_size): Handle 2-byte CDX branches.
222         (nios2_relax_frag): Likewise.
223         (md_convert_frag): Handle R2 encodings.
224         (nios2_check_overflow): Check that low-order bits are zero
225         before applying rightshift from howto.
226         (nios2_check_overflow): Correct negative overflow calculation.
227         (nios2_diagnose_overflow): Handle signed_immed12_overflow.  Issue
228         generic overflow messages for miscellaneous instruction formats.
229         (md_apply_fix): Recognize new R2 relocations.  For pc_relative
230         relocations, store fixup in *valP.
231         (nios2_reglist_mask, nios2_reglist_dir): New.
232         (nios2_parse_reglist): New.
233         (nios2_parse_base_register): New.
234         (nios2_assemble_expression): Handle constant expressions designated
235         by BFD_RELOC_NONE.
236         (nios2_assemble_reg3): New.
237         (nios2_assemble_arg_c): Handle R2 instruction formats.
238         (nios2_assemble_arg_d): Likewise.
239         (nios2_assemble_arg_s): Likewise.
240         (nios2_assemble_arg_t): Likewise.
241         (nios2_assemble_arg_D): New.
242         (nios2_assemble_arg_S): New.
243         (nios2_assemble_arg_T): New.
244         (nios2_assemble_arg_i): Handle R2 instruction formats.
245         (nios2_assemble_arg_I): New.
246         (nios2_assemble_arg_u): Handle R2 instruction formats.
247         (nios2_assemble_arg_U): New.
248         (nios2_assemble_arg_V): New.
249         (nios2_assemble_arg_W): New.
250         (nios2_assemble_arg_X): New.
251         (nios2_assemble_arg_Y): New.
252         (nios2_assemble_arg_o): Handle R2 instruction formats.
253         (nios2_assemble_arg_O): New.
254         (nios2_assemble_arg_P): New.
255         (nios2_assemble_arg_j): Handle R2 instruction formats.
256         (nios2_assemble_arg_k): New.
257         (nios2_assemble_arg_l): Handle R2 instruction formats.
258         (nios2_assemble_arg_m): Likewise.
259         (nios2_assemble_arg_M): New.
260         (nios2_assemble_arg_N): New.
261         (nios2_assemble_arg_e): New.
262         (nios2_assemble_arg_f): New.
263         (nios2_assemble_arg_g): New.
264         (nios2_assemble_arg_h): New.
265         (nios2_assemble_arg_R): New.
266         (nios2_assemble_arg_B): New.
267         (nios2_assemble_args): Handle new argument letters.
268         (nios2_consume_arg): Likewise.
269         (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
270         in error message.
271         (nios2_ps_insn_info_structs): Add nop.n.
272         (output_ubranch): Handle CDX branches.
273         (output_cbranch): Likewise.
274         (output_call): Handle R2 encodings.
275         (output_movia): Likewise.
276         (md_begin): Initialize nios2_min_align.
277         (md_assemble): Align to nios2_min_align.  Adjust nios2_min_align
278         if a 16-bit instruction is seen.
279         (nios2_cons_align): Use appropriate nop pattern.
280
281 2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
282             Cesar Philippidis  <cesar@codesourcery.com>
283
284         * config/tc-nios2.c: Adjust includes.
285         (OPTION_MARCH): Define.
286         (md_longopts): Add -march option.
287         (nios2_architecture): New.
288         (nios2_use_arch): New.
289         (md_parse_option): Handle OPTION_MARCH.
290         (md_show_usage): Document -march.
291         (md_begin): Set arch in BFD.
292         (nios2_elf_final_processing): New.
293         * config/tc-nios2.h (elf_tc_final_processing): Define.
294         (nios2_elf_final_processing): New.
295         * doc/c-nios2.texi (-march): Add documentation.
296
297 2015-06-30  Amit Pawar  <Amit.Pawar@amd.com>
298
299         * config/tc-i386.c (cpu_arch): Add .mwaitx.
300         (process_immext): Check operands for monitorx/mwaitx instructions.
301         * doc/c-i386.texi: Document mwaitx.
302
303 2015-06-28  H.J. Lu  <hongjiu.lu@intel.com>
304
305         * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
306         COMPRESS_DEBUG_GNU_ZLIB.
307         * config/tc-i386.c (flag_compress_debug): Likewise.
308
309 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
310
311         * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
312
313 2015-06-19  Peter Bergner  <bergner@vnet.ibm.com>
314
315         * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
316         Allow for optional operands without insert functions.
317
318 2015-06-18  Nick Clifton  <nickc@redhat.com>
319
320         PR gas/18541
321         * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
322         mode against a nearby symbol.
323
324 2015-06-18  Nick Clifton  <nickc@redhat.com>
325
326         PR gas/18481
327         * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
328         in the same case as BFD_RELOC_ARM_TLS_IS32.
329
330 2015-06-17  Nick Clifton  <nickc@redhat.com>
331
332         * config/tc-arm.c (is_double_a_single): Make conditional upon the
333         availablity of a 64-bit type.  Use this type for the argument and
334         mantissa.
335         (double_to_single): Likewise.
336         * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
337         the constant value, if available.  Generate a 64-bit value from a
338         bignum if supported.  Only perform the second optimization for
339         PR 18500 if the 64-bit type is available.
340
341 2015-06-17  Alessandro Marzocchi  <alessandro.marzocchi@gmail.com>
342
343         PR gas/18500
344         * config/tc-arm.c (is_double_a_single): New function.
345         (double_to_single): New function.
346         (move_or_literal_pool): Add support for converting VLDR to VMOV.
347
348         PR gas/18499
349         * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
350         to MOV.w or MVN.w for Thumb2.
351
352 2015-06-17  Nicolas Pitre <nico@linaro.org>
353
354         * as.c (show_usage): Document --sectname-subst.
355         (parse_args): Add --sectname-subst.
356         * as.h (flag_sectname_subst): New.
357         * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
358         * doc/as.texinfo: Document it.
359
360 2015-06-15  Renlin Li  <renlin.li@arm.com>
361
362         * config/tc-aarch64.c (reloc_table): New relocation modifier.
363         (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
364         (aarch64_force_relocation): Ditto
365
366 2015-06-13  Mark Wielaard  <mjw@redhat.com>
367
368         * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
369         out_debug_aranges depends on it.
370         (out_debug_aranges): Track size of header to properly pad header
371         for address alignment.
372
373 2015-06-11  John David Anglin  <danglin@gcc.gnu.org>
374
375         PR gas/18427
376         * gas/config/tc-hppa.c (last_label_symbol): Declare.
377         (pa_get_label): Return last label in current space/segment or NULL.
378         (pa_define_label): Record last label and add to root.
379         (pa_undefine_label): Remove last label from root.
380
381 2015-06-08  Nick Clifton  <nickc@redhat.com>
382
383         * config/tc-rx.c (rx_op): Correct handling of integer bignums.
384
385 2015-06-04  Matthew Wahab  <matthew.wahab@arm.com>
386
387         * NEWS: Mention ARMv8.1 support in the Aarch64 port.
388         * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
389         * doc/c-aarch64.texi (-march): Add "armv8.1-a".
390
391 2015-06-04  Renlin Li  <renlin.li@arm.com>
392
393         * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
394         when available.
395
396 2015-06-04  Nick Clifton  <nickc@redhat.com>
397
398         * config/tc-h8300.c (md_section_align): Fix compile time warning
399         about left shifting a negative value.
400
401 2015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
402
403         * config/tc-arm.c (arm_archs): Add "armv8.1-a".
404         * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
405         * NEWS: Mention ARMv8.1 support.
406
407 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
408
409         * config/tc-arm.c (arm_ext_pan): New.
410         (do_setpan): New, encode an ARM SETPAN instruction.
411         (do_t_setpan): New, encode a Thumb SETPAN instruction.
412         (insns): Add "setpan".
413         (arm_extensions): Add "pan".
414         * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
415         extensions.
416
417 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
418
419         * config/tc-aarch64.c (aarch64_features): Add "rdma".
420         * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
421
422 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
423
424         * config/tc-aarch64.c (aarch64_features): Add "lor".
425         * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
426         architecture extensions.
427
428 2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
429
430         * config/tc-aarch64.c (parse_sys_reg): New parameter.  Check target
431         support.  Fix whitespace.
432         (parse_operands): Update for parse_sys_reg changes.
433         (aarch64_features): Add "pan".
434         * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
435
436 2015-06-01  Jiong Wang  <jiong.wang@arm.com>
437
438         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
439         (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
440         (aarch64_force_relocation): Ditto.
441
442 2015-06-01  Jiong Wang  <jiong.wang@arm.com>
443
444         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
445         (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
446         (aarch64_force_relocation): Ditto.
447
448 2015-05-28  Catherine Moore  <clm@codesourcery.com>
449             Bernd Schmidt <bernds@codesourcery.com>
450             Paul Brook <paul@codesourcery.com>
451
452         gas/
453         * config/tc-alpha.c (all_cfi_sections): Declare.
454         (s_alpha_ent): Initialize all_cfi_sections.
455         (alpha_elf_md_end): Invoke cfi_set_sections.
456         * config/tc-mips.c (md_apply_fix):  Handle BFD_RELOC_NONE.
457         (s_ehword): Use BFD_RELOC_32_PCREL.
458         (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
459         (mips_cfi_reloc_for_encoding): New function.
460         * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
461         (DWARF2_FDE_RELOC_ENCODING): Define.
462         (tc_cfi_reloc_for_encoding): Define.
463         (mips_cfi_reloc_for_encoding): Define.
464         (tc_compact_eh_opcode_stop): Define.
465         (tc_compact_eh_opcode_pad): Define.
466         * doc/as.texinfo: Document Compact EH extensions.
467         * doc/internals.texi: Likewise.
468         * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
469         (tc_cfi_reloc_for_encoding): Provide default.
470         (compact_eh): Declare.
471         (emit_expr_encoded): New function.
472         (get_debugseg_name): Add Compact EH support.
473         (alloc_debugseg_item): Likewise.
474         (cfi_set_sections): New function.
475         (dot_cfi_fde_data): New function.
476         (dot_cfi_personality_id): New function.
477         (dot_cfi_inline_lsda): New function.
478         (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
479         and cfi_inline_lsda.
480         (dot_cfi_personality): Add Compact EH support.
481         (dot_cfi_lsda): Likewise.
482         (dot_cfi_sections): Likewise.
483         (dot_cfi_startproc): Likewise.
484         (get_cfi_seg): Likewise.
485         (output_compact_unwind_data): New function.
486         (output_cfi_insn): Add Compact EH support.
487         (output_cie): Likewise.
488         (output_fde): Likewise.
489         (cfi_finish): Likewise.
490         (cfi_emit_eh_header): New function.
491         (output_eh_header): New function.
492         * dw2gencfi.h (cfi_set_sections): Declare.
493         (SUPPORT_COMPACT_EH): Define.
494         (MULTIPLE_FRAME_SECTIONS): Define.
495         New enumeration to describe the Compact EH header format.
496         (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
497         eh_data, eh_loc and sections.
498         (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
499         CFI_EMIT_eh_frame_compact): Define.
500
501 2015-05-26  Max Filippov  <jcmvbkbc@gmail.com>
502
503         * config/tc-xtensa.c (xtensa_move_literals): Check that
504         search_frag is non-NULL. Report error if literal frag is not
505         found.
506
507 2015-05-22  Nick Clifton  <nickc@redhat.com>
508
509         PR gas/18446
510         * read.c (output_big_sleb128): Use U suffix to prevent compile
511         time warning.
512
513 2015-05-19  Jiong Wang  <jiong.wang@arm.com>
514
515         * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
516         labels alphabetically.
517         (md_apply_fix): Ditto.
518         (aarch64_force_relocation): Ditto.
519
520 2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
521
522         PR binutis/18386
523         * config/tc-i386.c (OPTION_MAMD64): New.
524         (OPTION_MINTEL64): Likewise.
525         (md_longopts): Add -mamd64 and -mintel64.
526         (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
527         (md_show_usage): Add -mamd64 and -mintel64.
528         * doc/c-i386.texi: Document -mamd64 and -mintel64.
529
530 2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
531
532         * config/tc-i386.c (shared): New.
533         (OPTION_MSHARED): Likewise.
534         (elf_symbol_resolved_in_segment_p): Add relocation argument.
535         Check PLT relocations and shared.
536         (md_estimate_size_before_relax): Pass fragP->fr_var to
537         elf_symbol_resolved_in_segment_p.
538         (md_longopts): Add -mshared.
539         (md_show_usage): Likewise.
540         (md_parse_option): Handle OPTION_MSHARED.
541         * doc/c-i386.texi: Document -mshared.
542
543 2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
544
545         * write.c (compress_debug): Don't write the zlib header, which
546         is handled by bfd_update_compression_header.
547
548 2015-05-13  Max Filippov  <jcmvbkbc@gmail.com>
549
550         * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
551         closer than J_RANGE / 2 to jump frag.
552
553 2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
554
555         * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
556         * config/tc-i386.c (i386_mach): Support iamcu.
557         (i386_target_format): Likewise.
558
559 2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
560
561         * config/tc-i386.c (cpu_arch): Add iamcu.
562         (i386_align_code): Handle PROCESSOR_IAMCU.
563         (i386_arch): Likewise.
564         (i386_mach): Likewise.
565         (i386_target_format): Likewise.
566         (valid_iamcu_cpu_flags): New function.
567         (check_cpu_arch_compatible): Only allow Intel MCU instructions
568         when targeting Intel MCU.
569         (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
570         are valid for Intel MCU.
571         (md_parse_option): Likewise.
572         * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
573         (processor_type): Add PROCESSOR_IAMCU.
574         * doc/c-i386.texi: Document iamcu.
575
576 2015-05-08  Nick Clifton  <nickc@redhat.com>
577
578         PR gas/18347
579         * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
580         * config/tc-arm.c (arm_tc_equal_in_insn): New function.  Move
581         the symbol name checking code to here from...
582         (md_undefined_symbo): ... here.
583
584 2015-05-07  H.J. Lu  <hongjiu.lu@intel.com>
585
586         * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
587         (md_estimate_size_before_relax): Use it.
588
589 2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
590
591         * config/tc-sparc.c: Typo in comment fixed.
592
593 2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
594
595         * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
596         condition codes
597         * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
598
599 2015-05-06  Nick Clifton  <nickc@redhat.com>
600
601         * doc/as.texinfo (Dollar Local Labels): Note that these are only
602         supported on some targets.
603
604 2015-05-06  Renlin Li  <renlin.li@arm.com>
605
606         * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
607
608 2015-05-05  Renlin Li  <renlin.li@arm.com>
609
610         * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
611         symbols.
612
613 2015-05-05  Nick Clifton  <nickc@redhat.com>
614
615         * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
616         (msp430_make_init_symbols): New function.
617         (msp430_section): Call it.
618         (msp430_frob_section): Likewise.
619
620 2015-05-02  Max Filippov  <jcmvbkbc@gmail.com>
621
622         * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
623         (struct cached_fixup, struct fixup_cache): New structures.
624         (fixup_order, xtensa_make_cached_fixup),
625         (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
626         (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
627         (xtensa_add_cached_fixup): New functions.
628         (xtensa_relax_frag): Cache fixups pointing at potentially
629         oversized jumps at the beginning of every relaxation pass. Only
630         check subset of this cache in the reach of single jump from the
631         trampoline frag currently being relaxed.
632
633 2015-05-01  Nick Clifton  <nickc@redhat.com>
634
635         * config/rl78-parse.y (MULU): Remove ISA_G14.
636         (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
637
638 2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
639
640         * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
641         * config/tc-i386.h (md_end): Likewise.
642         (i386_elf_emit_arch_note): Likewise.
643
644 2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
645
646         * configure.tgt: Support i386-*-elf*.
647
648 2015-04-30  DJ Delorie  <dj@redhat.com>
649
650         * config/rl78-defs.h (rl78_isa_g10): New.
651         (rl78_isa_g13): New.
652         (rl78_isa_g14): New.
653         * config/rl78-parse.y (ISA_G10): New.
654         (ISA_G13): New.
655         (ISA_G14): New.
656         (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
657         * config/tc-rl78.c (rl78_isa_g10): New.
658         (rl78_isa_g13): New.
659         (rl78_isa_g14): New.
660
661 2015-04-30  H.J. Lu  <hongjiu.lu@intel.com>
662
663         * config/tc-i386.c (i386_target_format): Use "else if" on
664         cpu_arch_isa.
665
666 2015-04-30  Nick Clifton  <nickc@redhat.com>
667
668         PR gas/18347
669         * config/tc-arm.c (md_undefined_symbol): Issue a warning message
670         (if enabled) when the user creates a symbol with the same name as
671         an ARM instruction.
672         (flag_warn_syms): New static variable.
673         (arm_opts): Add mwarn-syms and mno-warn-syms.
674         * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
675         options.
676
677         PR gas/18353
678         * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
679
680 2015-04-29  Nick Clifton  <nickc@redhat.com>
681
682         PR 18256
683         * config/tc-arm.c (encode_arm_cp_address): Issue an error message
684         if the operand is neither a register nor a vector.
685
686 2015-04-29  Nick Clifton  <nickc@redhat.com>
687
688         * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
689         times if the expression is not constant and the target uses linker
690         relaxation.
691
692 2015-04-28  Renlin Li  <renlin.li@arm.com>
693
694         * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
695
696 2015-04-28  Nick Clifton  <nickc@redhat.com>
697
698         PR 18313
699         * cond.c (s_if): Stop compile time warning about stopc being used
700         before it is set.
701         (s_ifc): Likewise.
702
703 2015-04-27  Renlin Li  <renlin.li@arm.com>
704
705         * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
706         section.
707         (md_assemble): Likewise, move the align code outside the loop.
708
709 2015-04-24  Jim Wilson  <jim.wilson@linaro.org>
710
711         * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
712         for thunderx.
713
714 2015-04-24  Richard Earnshaw  <rearnsha@arm.com>
715
716         * config/tc-arm.h (arm_min): New function.
717         (SUB_SEGMENT_ALIGN): Define.
718
719 2015-04-23  Matthew Fortune  <matthew.fortune@imgtec.com>
720
721         * config/tc-mips.c (macro): State the recommended way of creating
722         32-bit or 64-bit addresses.
723
724 2015-04-23  Jan Beulich  <jbeulich@suse.com>
725
726         * config/tc-i386.c (match_mem_size): Also allow no size
727         specification when broadcasting.
728
729 2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
730
731         * doc/as.texinfo (Bundle directives): Shorten menu entry and
732         use @subsection.
733         (CFI directives): Use @subsection.
734         (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
735         * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
736
737 2015-04-17  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
738
739         * config/tc-avr.c (create_record_for_frag): Rename link to
740         prop_rec_link.
741
742 2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
743
744         * NEWS: Mention
745         --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
746
747 2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
748
749         * as.h (compressed_debug_section_type): Removed.
750
751 2015-04-14  Nick Clifton  <nickc@redhat.com>
752
753         * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
754         (TC_FORCE_RELOCATION_SUB_SAME): Define.
755         (DWARF2_USE_FIXED_ADVANCE_PC): Define.
756
757 2015-04-10  Nick Clifton  <nickc@redhat.com>
758
759         PR binutils/18198
760         * doc/c-arm.texi (ARM Options): Add a note about the interaction of
761         the -EB option with the linker's --be8 option.
762
763 2015-04-09  Hans-Peter Nilsson  <hp@axis.com>
764
765         * doc/c-rx.texi: Fix markup typos in last change.
766
767 2015-04-09  Nick Clifton  <nickc@redhat.com>
768
769         * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
770         (md_longopts): Add -mno-allow-string-insns.
771         (md_parse_option): Handle -mno-allow-string-insns.
772         (md_show_usage): Mention -mno-allow-string-insns.
773         (rx_note_string_insn_use): New function.  Produces an error
774         message if a string insn is used when it is not allowed.
775         * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
776         (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
777         * config/rx-defs.h (rx_note_string_insn_use): Prototype.
778         * doc/c-rx.texi: Document -mno-allow-string-insns.
779
780 2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
781
782         * as.c (show_usage): Update --compress-debug-sections.
783         (std_longopts): Use optional_argument on compress-debug-sections.
784         (parse_args): Handle
785         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
786         * as.h (compressed_debug_section_type): New.
787         (flag_compress_debug): Change type to compressed_debug_section_type.
788         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
789         * write.c (compress_debug): Set BFD_COMPRESS_GABI for
790         --compress-debug-sections=zlib-gabi.  Call
791         bfd_get_compression_header_size to get compression header size.
792         Don't rename section name for --compress-debug-sections=zlib-gabi.
793         * config/tc-i386.c (compressed_debug_section_type): Set to
794         COMPRESS_DEBUG_ZLIB.
795         * doc/as.texinfo: Document
796         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
797
798 2015-04-07  Renlin Li  <renlin.li@arm.com>
799
800         * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
801         (s_aarch64_inst): Likewise.
802         (md_assemble): Likewise.
803
804 2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
805
806         * write.c (compress_debug): Use bfd_putb64 to write uncompressed
807         section size.
808
809 2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
810
811         * write.c (compress_debug): Don't write the zlib header if
812         compressed section size is the same as before compression.
813
814 2015-04-02  Nick Clifton  <nickc@redhat.com>
815
816         PR gas/18189
817         * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
818         min and max parameters.  Sign extend values before testing.
819
820 2015-04-02  Renlin Li  <renlin.li@arm.com>
821
822         * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
823         (mapping_state_2): Don't emit MAP_DATA here.
824         (s_aarch64_inst): Align frag during state transition.
825         (md_assemble): Likewise.
826
827 2015-04-02  Ed Maste  <emaste@freebsd.org>
828
829         * config/tc-aarch64.c (set_error_kind): Delete.
830         (set_error_message): Delete.
831
832 2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
833
834         * configure: Regenerated.
835
836 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
837
838         * config/tc-aarch64.c: Add support for Samsung Exynos M1.
839         * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
840
841 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
842
843         * config/tc-arm.c: Add support for Samsung Exynos M1.
844         * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
845
846 2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
847
848         * configure: Regenerated.
849
850 2015-03-31  Ed Schouten  <ed@nuxi.nl>
851
852         * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
853
854 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
855
856         * configure.ac: Revert the AM_ZLIB change.
857         * Makefile.in: Regenerated.
858         * aclocal.m4: Likewise.
859         * configure: Likewise.
860
861 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
862
863         * Makefile.am (ZLIBINC): New.
864         (AM_CFLAGS): Add $(ZLIBINC).
865         * as.c: (show_usage): Don't check HAVE_ZLIB_H.
866         (parse_args): Likewise.
867         * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
868         (compress_init): Don't check HAVE_ZLIB_H.
869         (compress_data): Likewise.
870         (compress_finish): Likewise.
871         * configure.ac (AM_ZLIB): Removed.
872         (zlibinc): New.  AC_SUBST.
873         Add --with-system-zlib.
874         * Makefile.in: Regenerated.
875         * config.in: Likewise.
876         * configure: Likewise.
877         * doc/Makefile.in: Likewise.
878
879 2015-03-27  H.J. Lu  <hongjiu.lu@intel.com>
880
881         * config/tc-i386.c (cpu_flags_set): Removed.
882
883 2015-03-25  Renlin Li  <renlin.li@arm.com>
884
885         * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
886         code.
887         (mapping_state_2): Emit first MAP_DATA symbol here.
888
889 2015-03-24  H.J. Lu  <hongjiu.lu@intel.com>
890
891         PR gas/18087
892         * write.c (compress_debug): Don't write the zlib header if
893         compression didn't make the section smaller.
894
895 2015-03-24  Terry Guo  <terry.guo@arm.com>
896
897         * config/tc-arm.c (no_cpu_selected): Use new macro to compare
898         features.
899         (parse_psr): Likewise.
900         (do_t_mrs): Likewise.
901         (do_t_msr): Likewise.
902         (static const arm_feature_set arm_ext_*): Defined with new macros.
903         (static const arm_feature_set arm_cext_*): Likewise.
904         (static const arm_feature_set fpu_fpa_ext_*): Likewise.
905         (static const arm_feature_set fpu_vfp_ext_*): Likewise.
906         (deprecated_coproc_regs): Likewise.
907         (UL_BARRIER): Likewise.
908         (barrier_opt_names): Likewise.
909         (arm_cpus): Likewise.
910         (arm_extensions): Likewise.
911
912 2015-03-20  H.J. Lu  <hongjiu.lu@intel.com>
913
914         * config/tc-i386.c (i386_align_code): Limit multi-byte nop
915         instructions to 10 bytes.
916
917 2015-03-19  Nick Clifton  <nickc@redhat.com>
918
919         * config/tc-rl78.c (enum options): Add G13 and G14.
920         (md_longopts): Add -mg13 and -mg14.
921         (md_parse_option): Handle -mg13 and -mg14.
922         (md_show_usage): List -mg13 and -mg14.
923         * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
924
925 2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
926             Nick Clifton  <nickc@redhat.com>
927
928         PR binutils/18087
929         * doc/as.texinfo: Note that when gas compresses debug sections the
930         compression is only performed if it makes the section smaller.
931         * write.c (compress_debug): Do not compress a debug section if
932         doing so would make it larger.
933
934 2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
935
936         * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
937         (i386_align_code): Add PROCESSOR_ZNVER cases.
938         * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
939         * doc/c-i386.texi: Add znver1 and clzero.
940
941 2015-03-16  Nick Clifton  <nickc@redhat.com>
942
943         * dwarf2dbg.c (out_header): Remove spurious #if 1.
944
945 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
946
947         * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
948         number 31.
949
950 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
951
952         * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
953
954 2015-03-12  Andrew Bennett  <andrew.bennett@imgtec.com>
955
956         * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
957         * doc/c-mips.texi: Document i6400 -march option.
958
959 2015-03-12  Nick Clifton  <nickc@redhat.com>
960
961         PR gas/17444
962         * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
963         to arm_apply_sym_value.  Update prototype.
964         * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
965         Do not apply the value if the symbol is in a different segment to
966         the current segment.
967
968 2015-03-11  Alan Modra  <amodra@gmail.com>
969
970         * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
971         (md_apply_fix): Report an error on data-only fixups used with insns.
972
973 2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
974
975         * config/tc-s390.c (md_gather_operands): Check for valid
976         length field operands.
977
978 2015-03-10  Michael Perkins  <perkinsmg75@yahoo.co.uk>
979
980         * config/tc-arm.c (parse_operands): Fix bug setting writeback
981         values for '^' on OP_REGLSTs.
982         (do_push_pop): Add new writeback constraint.
983
984 2015-03-10  Renlin Li  <renlin.li@arm.com>
985
986         * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
987         (mapping_state_2): Emit first MAP_DATA symbol here.
988
989 2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
990
991         * config/tc-aarch64.c (mapping_state): Set minimum alignment for
992         code sections.
993
994 2015-03-10  Nick Clifton  <nickc@redhat.com>
995
996         PR gas/17852
997         * config/tc-arm.c (md_begin): Ensure that selected_cpu is
998         initialised when CPU_DEFAULT is defined.
999
1000 2015-03-05  Nick Clifton  <nickc@redhat.com>
1001
1002         * config/tc-v850.c (md_parse_option): Fix code to set or clear
1003         EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
1004         -m8byte-align and -m4byte-align command line options.
1005
1006 2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
1007
1008         PR gas/17843
1009         * config/tc-aarch64.c (process_movw_reloc_info): Allow
1010         R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
1011         for MOVK.
1012
1013 2015-02-28  Alan Modra  <amodra@gmail.com>
1014
1015         * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
1016         end to their alignment.
1017
1018 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1019
1020         * config/tc-aarch64.c (reloc_table_entry): Generate
1021         BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
1022         (md_apply_fix, aarch64_force_relocation): Handle
1023         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1024
1025 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1026
1027         * config/tc-aarch64.c (reloc_table_entry): Generate
1028         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1029         (md_apply_fix, aarch64_force_relocation): Handle
1030         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1031
1032 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1033
1034         * config/tc-aarch64.c (reloc_table_entry): Generate
1035         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1036         (md_apply_fix, aarch64_force_relocation): Handle
1037         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1038
1039 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1040
1041         * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
1042         (reloc_table): Likewise.
1043         (parse_address_main): Use ld_literal_type.
1044
1045 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1046
1047         * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
1048         (reloc_table): Likewise.
1049         (parse_address_main): Use adr_type.
1050
1051 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1052
1053         * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
1054
1055 2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
1056
1057         * config/tc-avr.c: Add elf32-avr.h include.
1058         (struct avr_property_record_link): New structure.
1059         (avr_output_property_section_header): New function.
1060         (avr_record_size): New function.
1061         (avr_output_property_record): New function.
1062         (avr_create_property_section): New function.
1063         (avr_handle_align): New function.
1064         (exclude_section_from_property_tables): New function.
1065         (create_record_for_frag): New function.
1066         (append_records_for_section): New function.
1067         (avr_create_and_fill_property_section): New function.
1068         (avr_post_relax_hook): New function.
1069         * config/tc-avr.h (md_post_relax_hook): Define.
1070         (avr_post_relax_hook): Declare.
1071         (HANDLE_ALIGN): Define.
1072         (avr_handle_align): Declare.
1073         (strut avr_frag_data): New structure.
1074         (TC_FRAG_TYPE): Define.
1075
1076 2015-02-25  Matthew Wahab  <matthew.wahab@arm.com>
1077
1078         * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
1079         cortex-a72.
1080
1081 2015-02-24  Nick Clifton  <nickc@redhat.com>
1082
1083         * config/tc-v850.c (soft_float): New variable.
1084         (v850_data_8): New variable.
1085         (md_show_usage): Add -msoft-float/-mhard-float.
1086         (md_parse_option): Likewise.
1087         (md_begin): Set the default value of soft_float.
1088         (v850_md_end): New function.  Creates a note section.
1089         * config/tc-v850.h (md_end): Define.
1090         * doc/c-v850.texi: Document -msoft-float/-mhard-float.
1091
1092 2015-02-23  Yoshinori Sato  <ysato@users.sourceforge.jp>
1093
1094         * config/tc-h8300.c (line_separater_chars): Add a version for
1095         h8300-linux that includes a separator.
1096         (default_mach): New variable.
1097         (md_main): Use it.
1098         (md_longopts): Add '--march' option.
1099         (md_parse_option): Parse the new option.
1100         * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
1101         * configure.tgt: Add h8300-*-linux
1102         * doc/c-h8300.texi: Document --march.
1103
1104 2015-02-23  Nick Clifton  <nickc@redhat.com>
1105
1106         PR 17940
1107         * dwarf2dbg.c (out_header): When generating dwarf sections use
1108         real symbols not temps for the start and end symbols.
1109         * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
1110         adjustments to relocations in debug sections.
1111         (TC_LINKRELAX_FIXUP): Likewise.
1112
1113 2015-02-19  Alan Modra  <amodra@gmail.com>
1114
1115         * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
1116         * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
1117
1118 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
1119
1120         * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1121
1122 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
1123
1124         * config/tc-arm.c: Add support for Cortex-A72.
1125
1126 2015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1127
1128         * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
1129         of as_warn for deprecation messages.
1130         (encode_arm_addr_mode_2): Likewise.
1131         (check_obsolete): Likewise.
1132         (do_rd_rm_rn): Likewise.
1133         (do_co_reg): Likewise.
1134         (do_setend): Likewise.
1135         (do_t_mov_cmp): Likewise.
1136         (do_neon_ldr_str): Likewise.
1137         (opcode_lookup): Likewise.
1138         (if_fsm_post_encode): Likewise.
1139         (md_assemble): Likewise.
1140
1141 2015-02-06  Jan Beulich  <jbeulich@suse.com>
1142
1143         * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
1144         (cfi_change_reg_numbers): Also do nothing for CFI_label.
1145         (cfi_pseudo_table): Also handle .cfi_label when not supporting
1146         CFI directives.
1147
1148 2015-02-05  Alan Modra  <amodra@gmail.com>
1149
1150         * config/tc-msp430.c (md_assemble): Correct size passed to
1151         extract_cmd.  Remove index check.
1152
1153 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
1154
1155         * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
1156         * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
1157
1158 2015-02-04  Nick Clifton  <nickc@redhat.com>
1159
1160         * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1161         these instructions.
1162
1163 2015-02-03  Renlin Li  <renlin.li@arm.com>
1164
1165         * doc/c-aarch64.texi (.arch): Document the directive.
1166         (.arch_extension): Likewise.
1167
1168 2015-02-03  Nick Clifton  <nickc@redhat.com>
1169
1170         * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1171
1172 2015-01-28  James Bowman  <james.bowman@ftdichip.com>
1173
1174         * Makefile.am: Add FT32 files.
1175         * config/tc-ft32.c: New file.
1176         * config/tc-ft32.h: New file.
1177         * configure.tgt: Add FT32 support.
1178         * Makefile.in: Regenerate.
1179         * po/POTFILES.in: Regenerate.
1180
1181 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
1182
1183         * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1184         of instruction la to a symbol.
1185
1186 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
1187
1188         * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1189         section name.
1190
1191 2015-01-19  Alan Modra  <amodra@gmail.com>
1192
1193         * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1194         * write.c (get_frag_for_reloc): Allow match just past end of frag.
1195
1196 2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
1197
1198         * config/tc-s390.c (struct pd_reg): Remove.
1199         (pre_defined_registers): Remove.
1200         (REG_NAME_CNT): Remove.
1201         (reg_name_search): Calculate the register number instead of doing
1202         a lookup.
1203         (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1204         reg_name_search signature.
1205         (s390_parse_cpu): Support the new arch string z13.
1206         (s390_insert_operand): Support for vector registers with the extra
1207         field for the fifth bit of each vector register operand.
1208         (md_gather_operand): Adjust to the new handling of optional
1209         parameters.
1210
1211         * doc/as.texinfo: Document the z13 cpu string.
1212
1213 2015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
1214
1215         * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1216         #0, restoring previous behaviour.
1217
1218 2015-01-12  Jan Beulich  <jbeulich@suse.com>
1219
1220         * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1221         (cfi_pseudo_table): Add "cfi_label".
1222         (output_cfi_insn): Handle CFI_label.
1223         (select_cie_for_fde): Als terminate CIE when encountering
1224         CFI_label.
1225         * dw2gencfi.h (cfi_add_label): Declare.
1226         (struct cfi_insn_data): New member "sym_name".
1227         (CFI_label): New.
1228         * read.c (read_symbol_name): Drop "static".
1229         * read.h (read_symbol_name): Declare.
1230
1231 2015-01-12  Jan Beulich  <jbeulich@suse.com>
1232
1233         * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1234         (do_neon_qshl_imm): Likewise.
1235
1236 2015-01-12  Alan Modra  <amodra@gmail.com>
1237
1238         * read.c (s_altmacro, s_reloc): Make definition static.
1239
1240 2015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
1241
1242         * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1243         diff fixups.
1244
1245 2015-01-09  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
1246
1247         * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1248         X-Gene 2.
1249         * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1250
1251 2015-01-07  Jan Beulich <jbeulich@suse.com>
1252
1253         * config/tc-arm.c (struct arm_option_extension_value_table):
1254         Split field "value" into fields "merge_value" and "clear_value".
1255         (arm_extensions): Adjust initializer accordingly.
1256
1257 2015-01-01  Alan Modra  <amodra@gmail.com>
1258
1259         * as.c (parse_args): Just print current year.
1260
1261 2015-01-01  Alan Modra  <amodra@gmail.com>
1262
1263         Update year range in copyright notice of all files.
1264
1265 For older changes see ChangeLog-2014
1266 \f
1267 Copyright (C) 2015 Free Software Foundation, Inc.
1268
1269 Copying and distribution of this file, with or without modification,
1270 are permitted in any medium without royalty provided the copyright
1271 notice and this notice are preserved.
1272
1273 Local Variables:
1274 mode: change-log
1275 left-margin: 8
1276 fill-column: 74
1277 version-control: never
1278 End: