Bump version to 2.26.51
[external/binutils.git] / gas / ChangeLog
1 2015-11-13  Tristan Gingold  <gingold@adacore.com>
2
3         * configure: Regenerate.
4
5 2015-11-13  Tristan Gingold  <gingold@adacore.com>
6
7         * NEWS: Add marker for 2.26.
8
9 2015-11-12  James Greenhalgh  <james.greenhalgh@arm.com>
10
11         * config/tc-aarch64.c (aarch64_cpus): Add cortex-a35.
12         * doc/c-aarch64.texi (-mcpu=): Likewise.
13
14 2015-11-12  James Greenhalgh  <james.greenhalgh@arm.com>
15
16         * config/tc-arm.c (arm_cpus): Likewise.
17         * doc/c-arm.texi (-mcpu=): Likewise.
18
19 2015-11-12  Matthew Wahab  <matthew.wahab@arm.com>
20
21         PR gas/19217
22         * config/tc-arm.c (move_or_literal_pool): Remove redundant feature
23         check.  Fix some code formatting.  Drop use of MOVT.  Add some
24         comments.
25
26 2015-11-11  Alan Modra  <amodra@gmail.com>
27             Peter Bergner <bergner@vnet.ibm.com>
28
29         * doc/as.texinfo (Target PowerPC): Document -mpower9 and -mpwr9.
30         * doc/c-ppc.texi (PowerPC-Opts):  Likewise.
31         * config/tc-ppc.c (md_show_usage): Likewise.
32         (md_assemble): Handle BFD_RELOC_PPC_REL16DX_HA.
33         (md_apply_fix): Likewise.
34         (ppc_handle_align): Handle power9's group ending nop.
35
36 2015-11-09  Jim Wilson  <jim.wilson@linaro.org>
37
38         * config/tc-aarch64.c (aarch64_cpus): Add qdf24xx.
39         * config/tc-arm.c (arm_cpus): Likewise.
40         * doc/c-arm.texi, doc/c-aarch64.texi: Likewise.
41
42 2015-11-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
43
44         * read.c (parse_bitfield_cons): Fix left shift of negative value.
45         * config/tc-xstormy16.c (md_section_align): Likewise.
46         * config/tc-xgate.c (md_section_align): Likewise.
47         * config/tc-visium.c (md_section_align): Likewise.
48         * config/tc-v850.c (md_section_align): Likewise.
49         * config/tc-tic6x.c (md_section_align): Likewise.
50         * config/tc-sh.c (SH64PCREL32_M, SH64PCREL48_M, SH64PCREL32_M)
51         (MOVI_32_M, MOVI_48_M, MOVI_32_M, md_section_align): Likewise.
52         * config/tc-sh64.c (shmedia_md_estimate_size_before_relax): Likewise.
53         * config/tc-score.c (s3_section_align): Likewise.
54         * config/tc-score7.c (s7_section_align): Likewise.
55         * config/tc-s390.c (md_section_align): Likewise.
56         * config/tc-rx.c (md_section_align): Likewise.
57         * config/tc-rl78.c (md_section_align): Likewise.
58         * config/tc-ppc.c (md_section_align): Likewise.
59         * config/tc-or1k.c (md_section_align): Likewise.
60         * config/tc-nds32.c (md_section_align): Likewise.
61         * config/tc-mt.c (md_section_align): Likewise.
62         * config/tc-msp430.c (md_section_align): Likewise.
63         * config/tc-mn10300.c (md_section_align): Likewise.
64         * config/tc-mn10200.c (md_section_align): Likewise.
65         * config/tc-mips.c (md_section_align): Likewise.
66         * config/tc-microblaze.c (parse_imm): Likewise.
67         * config/tc-mep.c (md_section_align): Likewise.
68         * config/tc-m68k.c (md_section_align): Likewise.
69         * config/tc-m68hc11.c (md_section_align): Likewise.
70         * config/tc-m32r.c (md_section_align): Likewise.
71         * config/tc-m32c.c (md_section_align): Likewise.
72         * config/tc-lm32.c (md_section_align): Likewise.
73         * config/tc-iq2000.c (md_section_align): Likewise.
74         * config/tc-ip2k.c (md_section_align): Likewise.
75         * config/tc-ia64.c (dot_save, dot_vframe): Likewise.
76         * config/tc-i960.c (md_number_to_field, md_section_align): Likewise.
77         * config/tc-i386.c (md_section_align): Likewise.
78         * config/tc-i370.c (md_section_align): Likewise.
79         * config/tc-frv.c (md_section_align): Likewise.
80         * config/tc-fr30.c (md_section_align): Likewise.
81         * config/tc-epiphany.c (md_section_align): Likewise.
82         * config/tc-d30v.c (md_section_align): Likewise.
83         * config/tc-d10v.c (md_section_align): Likewise.
84         * config/tc-cr16.c (l_cons): Likewise.
85         * config/tc-bfin.c (md_section_align): Likewise.
86         * config/tc-arm.c (md_section_align): Likewise.
87         * config/tc-arc.c (md_section_align): Likewise.
88         * config/bfin-parse.y (expr_1): Likewise.
89
90 2015-11-02  Nick Clifton  <nickc@redhat.com>
91
92         * config/rx-parse.y: Allow zero value for 5-bit displacements.
93
94 2015-11-02  Nick Clifton  <nickc@redhat.com>
95
96         * config/tc-rx.c (parse_rx_section): Align parameter provides a
97         multiple of n argument, not a power of n argument.
98
99 2015-10-29  Nick Clifton  <nickc@redhat.com>
100
101         * config/tc-aarch64.c (elf64_aarch64_target_format): Select the
102         cloudabi format if the TARGET_OS is cloudabi.
103
104 2015-10-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
105
106         * config/tc-arm.c (insns): Guard cps by arm_ext_v6_notm instead of
107         arm_ext_v6_dsp.
108
109 2015-10-28  Claudiu Zissulescu  <claziss@synopsys.com>
110
111         * config/tc-arc.c (tokenize_arguments): Avoid creating unused
112         symbols when parsing relocation types.
113         (md_apply_fix): Handle TLS relocations. Fix BFD_RELOC_ARC_32_PCREL
114         relocation.
115         (arc_check_reloc): Emit BFD_RELOC_ARC_32_PCREL relocation.
116
117 2015-10-27  Jim Wilson  <jim.wilson@linaro.org>
118
119         * config/tc-arm.c (selected_cpu_name): Increase length of array to
120         accomodate "Samsung Exynos M1".
121         (arm_parse_cpu): Add assertion and length check to prevent
122         overfilling selected_cpu_name.
123
124 2015-10-22  Nick Clifton  <nickc@redhat.com>
125
126         * config/tc-msp430.c (PUSH_1X_WORKAROUND): Delete.
127         (OPTION_SILICON_ERRATA): Define.
128         (OPTION_SILICON_WARN): Define.
129         (md_parse_opton): Handle silicon errata options.
130         (md_longopts): Add silicon errata options.
131         (ms_show_usage): Report silicon errata options.
132         (msp430_srcoperand): Handle silicon errata.
133         (msp430_operands): Likewise. Improve nop insertion.
134         (msp430_fix_adjustable): Update warning generation.
135         * doc/c-msp430.texi: Document silicon errata options.
136
137 2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
138
139         * configure.ac: Properly check
140         --enable-compressed-debug-sections={yes,all}.
141         * configure: Regenerated.
142
143 2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
144
145         PR gas/19109
146         * configure.ac: Handle --enable-compressed-debug-sections=*,gas,*.
147         * configure: Regenerated.
148
149 2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
150
151         * config/tc-i386.c (tc_i386_fix_adjustable): Handle
152         BFD_RELOC_X86_64_GOTPCRELX and BFD_RELOC_X86_64_REX_GOTPCRELX.
153         (tc_gen_reloc): Likewise.
154         (i386_validate_fix): Generate BFD_RELOC_X86_64_GOTPCRELX or
155         BFD_RELOC_X86_64_REX_GOTPCRELX if fx_tcbit2 is set.
156         * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Also return
157         true for BFD_RELOC_X86_64_GOTPCRELX and
158         BFD_RELOC_X86_64_REX_GOTPCRELX.
159
160 2015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
161
162         * config/tc-i386.c (tc_i386_fix_adjustable): Handle
163         BFD_RELOC_386_GOT32X.
164         (tc_gen_reloc): Likewise.
165         (match_template): Force 0x8b encoding for "mov foo@GOT, %eax".
166         (output_disp): Check for "call/jmp *mem", "mov mem, %reg",
167         "test %reg, mem" and "binop mem, %reg" where binop is one of
168         adc, add, and, cmp, or, sbb, sub, xor instructions.  Set
169         fx_tcbit if the REX prefix is generated.  Set fx_tcbit2 if
170         BFD_RELOC_386_GOT32X should be generated.
171         (i386_validate_fix): Generate BFD_RELOC_386_GOT32X if fx_tcbit2
172         is set.
173
174 2015-10-21  Nick Clifton  <nickc@redhat.com>
175
176         PR gas/19109
177         * configure.ac: Restore --enable-compressed-debug-sections, with
178         options of all, none or gas.
179         Do not enable compressed debug sections by default for x86 Linux
180         targets.
181         * configure: Regenerate.
182
183 2015-10-20  H.J. Lu  <hongjiu.lu@intel.com>
184
185         PR gas/19109
186         * NEWS: Update --enable-compressed-debug-sections=.
187         * configure.ac: Remove --enable-compressed-debug-sections.
188         (DEFAULT_FLAG_COMPRESS_DEBUG): Check
189         --enable-compressed-debug-sections={all,gas} instead of
190         --enable-compressed-debug-sections.  For x86 Linux targets,
191         default to compressing debug sections.
192         * configure: Regenerated.
193
194 2015-10-19  Nick Clifton  <nickc@redhat.com>
195
196         PR gas/19109
197         * configure.ac: Add option --enable-compressed-debug-sections.
198         This sets the default behaviour for compressing debug sections.
199         * as.c (flag_compress_debug): Define and initialise to
200         COMPRESS_DEBUG_GABI_ZLIB if DEFAULT_COMPRESS_DEBUG is set.
201         (show_usage): Indicate whether --no-compress-debug-sections
202         or --compress-debug-sections is the default.
203         * config/tc-i386.c (flag_compress_debug): Delete definition.
204         * doc/as.texinfo (--nocompress-debug-sectionas): Update
205         description.
206         * NEWS: Announce the new feature.
207         * config.in: Regenerate.
208         * configure: Regenerate.
209
210 2015-10-12  Nick Clifton  <nickc@redhat.com>
211
212         * config/tc-msp430.c (msp430_mcu_names): Rename to
213         msp430_mcu_data.  Add fields for the ISA and hardware multiply
214         support.  Update with information from the latest devices.csv
215         file.
216         (md_parse_option): Make use of the new array.
217
218 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
219
220         * config/tc-avr.c (avr_output_property_record): Fix overwrite bug
221         for align and fill records.
222         (avr_handle_align): Record fill information for align frags.
223         (create_record_for_frag): Add next frag assertion, use correct
224         address for align records.
225
226 2015-10-10  Alan Modra  <amodra@gmail.com>
227
228         PR gas/19113
229         * read.c (next_char_of_string): Mask char after escape.  Use
230         CHAR_MASK rather than 0xff.
231
232 2015-10-07  Yao Qi  <yao.qi@linaro.org>
233
234         * config/tc-aarch64.c (md_begin): Access field 'name' rather
235         than 'template'.
236
237 2015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
238
239         * config/tc-arc.c: Revamped file for ARC support.
240         * config/tc-arc.h: Likewise.
241         * doc/as.texinfo: Add new ARC options.
242         * doc/c-arc.texi: Likewise.
243
244 2015-10-02  Renlin Li <renlin.li@arm.com>
245
246         * config/tc-aarch64.c (s_tlsdescadd): New.
247         (s_tlsdescldr): New.
248         (md_pseudo_table): Handle tlsdescadd and tlsdescldr pseudo ops.
249         (reloc_table): Add entries for BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC and
250         BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC.
251         (process_movw_reloc_info): Support AARCH64_TLSDESC_OFF_G1 and
252         AARCH64_TLSDESC_OFF_G0_NC.
253         (md_apply_fix): Likewise.
254         (aarch64_force_relocation): Likewise.
255
256 2015-10-02  Renlin Li <renlin.li@arm.com>
257
258         * config/tc-aarch64.c (reloc_table): Add two entries for
259         gottprel_g0_nc and gottprel_g1.
260         (process_movw_reloc_info): Add support.
261         (md_apply_fix): Likewise.
262         (aarch64_force_relocation): Likewise.
263
264 2015-10-02  Renlin Li <renlin.li@arm.com>
265
266         * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g0_nc.
267         (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
268         (md_apply_fix): Likewise.
269         (aarch64_force_relocation): Likewise.
270
271 2015-10-02  Renlin Li <renlin.li@arm.com>
272
273         * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g1.
274         (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
275         (md_apply_fix): Likewise.
276         (aarch64_force_relocation): Likewise.
277
278 2015-10-02  Renlin Li <renlin.li@arm.com>
279
280         * config/tc-aarch64.c (reloc_table): New relocation modifier
281         gotoff_g0_nc.
282         (process_movw_reloc_info): Support gotoff_g0_nc.
283         (md_apply_fix): Likewise.
284
285 2015-10-02  Renlin Li  <renlin.li@arm.com>
286
287         * config/tc-aarch64.c (reloc_table): New relocation modifier
288         gotoff_g1.
289         (process_movw_reloc_info): Support newly added modifier.
290         (md_apply_fix): Likewise.
291
292 2015-09-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
293
294         * doc/c-s390.texi: Add documentation.
295         Add missing code markup.
296         * config/tc-s390.c (current_flags): New static variable.
297         (s390_parse_cpu): Parse cpu flags a la "+nohtm" etc.
298         (s390_setup_opcodes): Use cpu flags to determine the set of opcodes.
299         Fix indentation.
300         (md_parse_option): Call s390_parse_cpu with the new signature.
301         (s390_machine): Likewise.
302         Keep track of current_flags.
303         Simplify code a bit.
304         undefine MAX_HISTORY at end of function.
305         (s390_machinemode): undefine MAX_HISTORY at end of function.
306         Update an error message.
307
308 2015-08-11  Peter Zotov  <whitequark@whitequark.org>
309
310         PR ld/18759
311         * config/tc-or1k.c (tc_gen_reloc): Correct computation of PC
312         relative relocs.
313         * config/tc-or1k.h (GAS_CGEN_PRCEL_R_TYPE): Delete.
314
315 2015-09-25  Ryo ONODERA  <ryo_on@yk.rim.or.jp>
316
317         PR 18994
318         * configure.ac (nds32): Don't use bash == in tests.
319         * configure: Regenerate.
320
321 2015-09-23  Nick Clifton  <nickc@redhat.com>
322
323         * config/tc-ppc.c (insn_validate): Cast PPC_OPSHIFT_INV to an int.
324
325 2015-09-22  Nick Clifton  <nickc@redhat.com>
326
327         * config/tc-rx.c (nop_7): Recode using MAX.
328
329 2015-09-05  Chen Gang  <gang.chen.5i5j@gmail.com>
330
331         * config/tc-avr.c (md_section_align): Append UL for -1 to avoid
332         the latest gcc's warning.
333
334 2015-08-27  Alan Modra  <amodra@gmail.com>
335
336         PR gas/18581
337         * config/tc-aarch64.h (TC_START_LABEL): Redefine.
338         * config/tc-arm.c (tc_start_label_without_colon): Delete params.
339         Use input_line_pointer directly.
340         * config/tc-arm.h (TC_START_LABEL): Redefine.
341         (TC_START_LABEL_WITHOUT_COLON): Redefine.
342         (tc_start_label_without_colon): Update prototype.
343         * config/tc-bfin.c (bfin_start_label): Delete ptr param.  Check
344         for NUL instead.
345         * config/tc-bfin.h (bfin_start_label): Update prototype.
346         (TC_START_LABEL): Redefine.
347         * config/tc-d30v.h (TC_START_LABEL): Redefine.
348         * config/tc-fr30.c (restore_colon): Rewrite.
349         (fr30_is_colon_insn): Add nul_char param.  Return int.  Bump
350         i_l_p over quote.  Update restore_colon calls.
351         * config/tc-fr30.h (TC_START_LABEL): Redefine.
352         (fr30_is_colon_insn): Update prototype.
353         * config/tc-m32c.c (restore_colon, m32c_is_colon_insn): As above.
354         * config/tc-m32c.h (TC_START_LABEL): Redefine.
355         (m32c_is_colon_insn): Update prototype.
356         * config/tc-m32r.h (TC_START_LABEL): Redefine.
357         * config/tc-mep.h (TC_START_LABEL): Redefine.
358         * config/tc-nds32.h (TC_START_LABEL): Redefine.
359         * config/tc-tic54x.c (tic54x_start_label): Replace params with
360         nul_char and next_char.  Step over trailing quote.
361         * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Redefine.
362         (tic54x_start_label): Update prototype.
363         * read.c (TC_START_LABEL): Redefine.  Update invocation.
364         (TC_START_LABEL_WITHOUT_COLON): Update invocation.
365         * config/tc-nios2.c (s_nios2_set): Save initial input_line_pointer
366         and restore if calling s_set.  Don't restore delim again.
367
368 2015-08-26  Alan Modra  <amodra@gmail.com>
369
370         PR gas/18581
371         * config/tc-mn10200.c (md_assemble <mdr>): Move restore_line_pointer
372         call to where input line used to be restored.
373         * config/tc-mn10300.c (md_assemble <usp>): Remove redundant input
374         line restore.
375         * config/tc-tilepro.c (parse_reg_expression): Add regname var.
376
377 2015-08-26  Nick Clifton  <nickc@redhat.com>
378
379         PR gas/18842
380         * configure.ac (AS_CHECK_DECLS): Add asprintf.
381         * configure: Regenerate.
382         * config.in: Regenerate.
383
384 2015-08-25  Jose E. Marchesi  <jose.marchesi@oracle.com>
385
386         * config/tc-sparc.c (priv_reg_table): New privileged register
387         %pmcdper.
388
389 2015-08-21  Nick Clifton  <nickc@redhat.com>
390
391         PR gas/18581
392         * expr.c (get_symbol_end): Rename to get_symbol_name.  Add a
393         return parameter pointing to the start of the symbol.  Allow
394         symbol names enclosed in double quotes.
395         (restore_line_pointer): New function.  Replace the NUL character
396         inserted into the input stream with the given character.  If the
397         character was a double quote, advance the input pointer.
398         * expr.h (get_symbol_end): Delete.
399         (get_symbol_name): Add prototype.
400         (restore_line_pointer): Prototype.
401         * read.h (SKIP_WHITESPACE_AFTER_NAME): New macro.
402         * doc/as.texinfo (Symbol Intro): Document that symbol names can
403         now be enclosed in double quotes.
404         * cond.c (s_ifdef): Replace get_symbol_end with get_symbol_name.
405         Use restore_line_pointer to replace the NUL in the input stream.
406         Use SKIP_WHITESPACE_AFTER_NAME to skip past the end of a symbol.
407         Check for the use of double quoted symbol names.
408         * expr.c: Likewise.
409         * config/obj-aout.c: Likewise.
410         * config/obj-coff-seh.c: Likewise.
411         * config/obj-coff.c: Likewise.
412         * config/obj-elf.c: Likewise.
413         * config/obj-evax.c: Likewise.
414         * config/obj-macho.c: Likewise.
415         * config/obj-som.c: Likewise.
416         * config/tc-alpha.c: Likewise.
417         * config/tc-arc.c: Likewise.
418         * config/tc-arm.c: Likewise.
419         * config/tc-dlx.c: Likewise.
420         * config/tc-h8300.c: Likewise.
421         * config/tc-hppa.c: Likewise.
422         * config/tc-i370.c: Likewise.
423         * config/tc-i386-intel.c: Likewise.
424         * config/tc-i386.c: Likewise.
425         * config/tc-i960.c: Likewise.
426         * config/tc-ia64.c: Likewise.
427         * config/tc-iq2000.c: Likewise.
428         * config/tc-m32r.c: Likewise.
429         * config/tc-m68hc11.c: Likewise.
430         * config/tc-m68k.c: Likewise.
431         * config/tc-microblaze.c: Likewise.
432         * config/tc-mips.c: Likewise.
433         * config/tc-mmix.c: Likewise.
434         * config/tc-mn10200.c: Likewise.
435         * config/tc-mn10300.c: Likewise.
436         * config/tc-nios2.c: Likewise.
437         * config/tc-ppc.c: Likewise.
438         * config/tc-s390.c: Likewise.
439         * config/tc-score.c: Likewise.
440         * config/tc-score7.c: Likewise.
441         * config/tc-sparc.c: Likewise.
442         * config/tc-tic4x.c: Likewise.
443         * config/tc-tic54x.c: Likewise.
444         * config/tc-tic6x.c: Likewise.
445         * config/tc-tilegx.c: Likewise.
446         * config/tc-tilepro.c: Likewise.
447         * config/tc-v850.c: Likewise.
448         * config/tc-xtensa.c: Likewise.
449         * config/tc-z80.c: Likewise.
450         * dw2gencfi.c: Likewise.
451         * dwarf2dbgc.: Likewise.
452         * ecoff.c: Likewise.
453         * read.c: Likewise.
454         * stabs.c: Likewise.
455
456 2015-08-19  Jiong Wang  <jiong.wang@arm.com>
457
458         * config/tc-aarch64.c (reloc_table): New relocation types support for
459         dtprel_lo12.
460         (ldst_lo12_determine_real_reloc_type): Support
461         BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
462         BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
463         BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
464         BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
465         BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
466         BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
467         BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
468         BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
469         (parse_operands): Likewise.
470         (md_apply_fix): Likewise.
471         (aarch64_force_relocation): Likewise.
472         (process_movw_reloc_info): Likewise.
473
474 2015-08-19  Jiong Wang  <jiong.wang@arm.com>
475
476         * config/tc-aarch64.c (reloc_table): New relocation modifiers,
477         "dtprel_hi12", "dtprel_g0", "dtprel_g0_nc", "dtprel_g1",
478         "dtprel_g1_nc", "dtprel_g2".
479         (md_apply_fix): Support new relocation types.
480         (aarch64_force_relocation): Likewise.
481         (process_movw_reloc_info): Likewise.
482
483 2015-08-19  Jiong Wang  <jiong.wang@arm.com>
484
485         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
486         (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
487         (aarch64_force_relocation): Likewise.
488
489 2015-08-17  Alan Modra  <amodra@gmail.com>
490
491         * gas/config/tc-arm.c (s_align): Delete.
492         (md_pseudo_table): Use s_align_ptwo for "align".
493         * gas/config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define.
494         * read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT.
495
496 2015-08-13  Alan Modra  <amodra@gmail.com>
497
498         * expr.c (operand): Rewrite handling of operands starting with "0f".
499         If atof_generic only parses "-" or "+", treat as expression.
500
501 2015-08-13  Alan Modra  <amodra@gmail.com>
502             DJ Delorie  <dj@redhat.com>
503
504         * expr.c (integer_constant): Return O_absent expression if eol.
505         (operand): For targets with both LOCAL_LABELS_FB and
506         NUMBERS_WITH_SUFFIX set, treat "0b" not followed by binary
507         digits as a local label reference.  Correct handling of 0b prefix.
508         If a suffix is not allowed, error on 0B.
509
510 2015-08-13  Alan Modra  <amodra@gmail.com>
511
512         * doc/as.texinfo (Local Labels): Allowed range of N in local
513         labels is non-negative integers, not positive integers.
514
515 2015-08-12  David Weatherford  <weath@cadence.com>
516
517         * config/tc-xtensa.c (struct litpool_frag, struct litpool_seg):
518         New structures.
519         (xtensa_maybe_create_literal_pool_frag): New function.
520         (litpool_seg_list, auto_litpools, auto_litpool_limit)
521         (litpool_buf, litpool_slotbuf): New static variables.
522         (option_auto_litpools, option_no_auto_litpools)
523         (option_auto_litpool_limit): New enum identifiers.
524         (md_longopts): Add entries for auto-litpools, no-auto-litpools
525         and auto-litpool-limit.
526         (md_parse_option): Handle option_auto_litpools,
527         option_no_auto_litpools and option_auto_litpool_limit.
528         (md_show_usage): Add help for --[no-]auto-litpools and
529         --auto-litpool-limit.
530         (xtensa_mark_literal_pool_location): Record a place for literal
531         pool with a call to xtensa_maybe_create_literal_pool_frag.
532         (get_literal_pool_location): Find highest priority literal pool
533         or convert candidate to literal pool when auto-litpools are used.
534         (xg_assemble_vliw_tokens): Create literal pool after jump
535         instruction.
536         (xtensa_check_frag_count): Create candidate literal pool every
537         auto_litpool_limit frags.
538         (xtensa_relax_frag): Add jump around literals to non-empty
539         literal pool.
540         (xtensa_move_literals): Estimate literal pool addresses and move
541         unreachable literals closer to their users, converting candidate
542         to literal pool if needed.
543         (xtensa_switch_to_non_abs_literal_fragment): Only emit error
544         about missing .literal_position in case auto-litpools are not
545         used.
546         * config/tc-xtensa.h (xtensa_relax_statesE): New relaxation
547         state: RELAX_LITERAL_POOL_CANDIDATE_BEGIN.
548         * doc/as.texinfo (Xtensa options):  Document --auto-litpools and
549         --no-auto-litpools options.
550         * doc/c-xtensa.texi (Xtensa options): Likewise.
551
552 2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
553
554         * config/tc-mips.c (move_register): Change to use 'or' only.
555         (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
556         use or for move.
557
558 2015-08-11  Jiong Wang  <jiong.wang@arm.com>
559
560         * config/tc-aarch64.c (reloc_table): New relocation modifiers
561         "dtprel_lo12".
562         (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
563         (aarch64_force_relocation): Likewise.
564
565 2015-08-11  Jiong Wang  <jiong.wang@arm.com>
566
567         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
568         (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
569         (aarch64_force_relocation): Likewise.
570
571 2015-08-11  Jiong Wang  <jiong.wang@arm.com>
572
573         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
574         (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
575         (aarch64_force_relocation): Likewise.
576
577 2015-08-11  Nick Clifton  <nickc@redhat.com>
578
579         PR gas/18765
580         * config/tc-arm.c (move_or_literal_pool): Use U suffix to remove
581         compile time warnings about constant expressions being shifted
582         into bit 31.
583         (do_iwmmxt_wldstd): Likewise.
584         (do_iwmmxt_wrwrwr_or_imm5): Likewise.
585         (md_assemble): Likewise.
586
587         PR gas/18574
588         * config/tc-msp430.c (msp430_operands): Rewrite if statements to
589         remove redundant checks.
590         (md_apply_fix): Likewise.
591
592         PR gas/18677
593         * config/tc-mmix.c (md_assemble): Fix typo checking operands with
594         a numeric constant value.
595
596         PR gas/18678
597         * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
598
599         PR gas/18679
600         * config/xtensa-relax.c (same_operand_name): Fix typo.
601
602 2015-08-08  Hans-Peter Nilsson  <hp@axis.com>
603
604         * tc-arm.c (double_to_single, is_double_a_single): Append ULL to
605         0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts.
606
607 2015-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
608
609         * doc/c-aarch64.texi (.xword): Document directive.
610
611 2015-08-03  Nick Clifton  <nickc@redhat.com>
612
613         * doc/as.texinfo (Overview): Add --hash-size to the synopsis and
614         fix typo in its entry: @kindex -> @item.
615
616 2015-07-28  Robert Suchanek  <robert.suchanek@imgtec.com>
617
618         * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
619         * doc/c-mips.texi: Document m5100 and m5101 for -march=.
620
621 2015-07-28  Robert Suchanek  <robert.suchanek@imgtec.com>
622
623         * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
624         * doc/c-mips.text: Document -march=interaptiv.
625
626 2015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
627
628         * configure: Regenerated.
629
630 2015-07-24  Nick Clifton  <nickc@redhat.com>
631
632         * config/tc-rl78.c (rl78_abs_sym): New local variable.
633         (md_begin): Initialise the new symbol.
634         (OPIMM): Define the value to be relative to the new symbol and not
635         the absolute section symbol.
636
637 2015-07-22  Alan Modra  <amodra@gmail.com>
638
639         PR gas/18687
640         * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
641         loop.  Don't drop lines at end of file lacking a newline, add a
642         newline instead.  Ensure partial_size is zero whenever
643         partial_where is NULL.  Adjust buffer size for extra char.
644         (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
645
646 2015-07-20  Matthew Wahab  <matthew.wahab@arm.com>
647
648         * NEWS: Mention corrected spelling of armv6kz.
649         * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
650         ARM_ARCH_V6KZ.
651         (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
652         * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
653
654 2015-07-16  Jiong Wang  <jiong.wang@arm.com>
655
656         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
657         (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
658         (aarch64_force_relocation): Ditto.
659
660 2015-07-16  Matthew Wahab  <matthew.wahab@arm.com>
661
662         * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
663         * doc/c-arm.texi (-mfpu=): Likewise.  Correct the entry for
664         neon-fp-armv8.1.
665
666 2015-07-16  James Greenhalgh  <james.greenhalgh@arm.com>
667
668         * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
669         not support ARM mode" error messages.
670
671 2015-07-15  H.J. Lu  <hongjiu.lu@intel.com>
672
673         * config/tc-i386.c (flag_compress_debug): Replace
674         COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
675
676 2015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
677
678         * as.c (parse_args): Make --compress-debug-sections and
679         --compress-debug-sections=zlib the same as
680         --compress-debug-sections=zlib-gabi.
681         * doc/as.texinfo: Change --compress-debug-sections and
682         --compress-debug-sections=zlib to zlib-gabi.
683
684 2015-07-09  Catherine Moore  <clm@codesourcery.com>
685
686         * config/tc-mips.c (check_fpabi):  Handle
687         VAL_GNU_MIPS_ABI_FP_NAN2008.
688
689 2015-07-08  Ciro Santilli  <ciro.santilli@gmail.com>
690
691         * doc/as.texinfo: Clarify case requirements for pseudo ops.
692
693 2015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
694
695         * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
696         32 bit PC relative and update offset if the fixup is pc-relative.
697         * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
698         relocs.
699
700 2015-07-03  Alan Modra  <amodra@gmail.com>
701
702         * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
703         * doc/c-ppc.texi (PowerPC-Opts): Likewise.
704
705 2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
706             Cesar Philippidis  <cesar@codesourcery.com>
707
708         * config/tc-nios2.c (nios2_min_align): New.
709         (nop): Replace with....
710         (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
711         (nios2_align): Handle alignment on 2-byte boundaries when CDX
712         instructions may be present.
713         (s_nios2_align): Adjust reference to nop.
714         (CDXBRANCH, IS_CDXBRANCH): New.
715         (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
716         (nios2_relax_subtype_size): Handle 2-byte CDX branches.
717         (nios2_relax_frag): Likewise.
718         (md_convert_frag): Handle R2 encodings.
719         (nios2_check_overflow): Check that low-order bits are zero
720         before applying rightshift from howto.
721         (nios2_check_overflow): Correct negative overflow calculation.
722         (nios2_diagnose_overflow): Handle signed_immed12_overflow.  Issue
723         generic overflow messages for miscellaneous instruction formats.
724         (md_apply_fix): Recognize new R2 relocations.  For pc_relative
725         relocations, store fixup in *valP.
726         (nios2_reglist_mask, nios2_reglist_dir): New.
727         (nios2_parse_reglist): New.
728         (nios2_parse_base_register): New.
729         (nios2_assemble_expression): Handle constant expressions designated
730         by BFD_RELOC_NONE.
731         (nios2_assemble_reg3): New.
732         (nios2_assemble_arg_c): Handle R2 instruction formats.
733         (nios2_assemble_arg_d): Likewise.
734         (nios2_assemble_arg_s): Likewise.
735         (nios2_assemble_arg_t): Likewise.
736         (nios2_assemble_arg_D): New.
737         (nios2_assemble_arg_S): New.
738         (nios2_assemble_arg_T): New.
739         (nios2_assemble_arg_i): Handle R2 instruction formats.
740         (nios2_assemble_arg_I): New.
741         (nios2_assemble_arg_u): Handle R2 instruction formats.
742         (nios2_assemble_arg_U): New.
743         (nios2_assemble_arg_V): New.
744         (nios2_assemble_arg_W): New.
745         (nios2_assemble_arg_X): New.
746         (nios2_assemble_arg_Y): New.
747         (nios2_assemble_arg_o): Handle R2 instruction formats.
748         (nios2_assemble_arg_O): New.
749         (nios2_assemble_arg_P): New.
750         (nios2_assemble_arg_j): Handle R2 instruction formats.
751         (nios2_assemble_arg_k): New.
752         (nios2_assemble_arg_l): Handle R2 instruction formats.
753         (nios2_assemble_arg_m): Likewise.
754         (nios2_assemble_arg_M): New.
755         (nios2_assemble_arg_N): New.
756         (nios2_assemble_arg_e): New.
757         (nios2_assemble_arg_f): New.
758         (nios2_assemble_arg_g): New.
759         (nios2_assemble_arg_h): New.
760         (nios2_assemble_arg_R): New.
761         (nios2_assemble_arg_B): New.
762         (nios2_assemble_args): Handle new argument letters.
763         (nios2_consume_arg): Likewise.
764         (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
765         in error message.
766         (nios2_ps_insn_info_structs): Add nop.n.
767         (output_ubranch): Handle CDX branches.
768         (output_cbranch): Likewise.
769         (output_call): Handle R2 encodings.
770         (output_movia): Likewise.
771         (md_begin): Initialize nios2_min_align.
772         (md_assemble): Align to nios2_min_align.  Adjust nios2_min_align
773         if a 16-bit instruction is seen.
774         (nios2_cons_align): Use appropriate nop pattern.
775
776 2015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
777             Cesar Philippidis  <cesar@codesourcery.com>
778
779         * config/tc-nios2.c: Adjust includes.
780         (OPTION_MARCH): Define.
781         (md_longopts): Add -march option.
782         (nios2_architecture): New.
783         (nios2_use_arch): New.
784         (md_parse_option): Handle OPTION_MARCH.
785         (md_show_usage): Document -march.
786         (md_begin): Set arch in BFD.
787         (nios2_elf_final_processing): New.
788         * config/tc-nios2.h (elf_tc_final_processing): Define.
789         (nios2_elf_final_processing): New.
790         * doc/c-nios2.texi (-march): Add documentation.
791
792 2015-06-30  Amit Pawar  <Amit.Pawar@amd.com>
793
794         * config/tc-i386.c (cpu_arch): Add .mwaitx.
795         (process_immext): Check operands for monitorx/mwaitx instructions.
796         * doc/c-i386.texi: Document mwaitx.
797
798 2015-06-28  H.J. Lu  <hongjiu.lu@intel.com>
799
800         * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
801         COMPRESS_DEBUG_GNU_ZLIB.
802         * config/tc-i386.c (flag_compress_debug): Likewise.
803
804 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
805
806         * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
807
808 2015-06-19  Peter Bergner  <bergner@vnet.ibm.com>
809
810         * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
811         Allow for optional operands without insert functions.
812
813 2015-06-18  Nick Clifton  <nickc@redhat.com>
814
815         PR gas/18541
816         * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
817         mode against a nearby symbol.
818
819 2015-06-18  Nick Clifton  <nickc@redhat.com>
820
821         PR gas/18481
822         * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
823         in the same case as BFD_RELOC_ARM_TLS_IS32.
824
825 2015-06-17  Nick Clifton  <nickc@redhat.com>
826
827         * config/tc-arm.c (is_double_a_single): Make conditional upon the
828         availablity of a 64-bit type.  Use this type for the argument and
829         mantissa.
830         (double_to_single): Likewise.
831         * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
832         the constant value, if available.  Generate a 64-bit value from a
833         bignum if supported.  Only perform the second optimization for
834         PR 18500 if the 64-bit type is available.
835
836 2015-06-17  Alessandro Marzocchi  <alessandro.marzocchi@gmail.com>
837
838         PR gas/18500
839         * config/tc-arm.c (is_double_a_single): New function.
840         (double_to_single): New function.
841         (move_or_literal_pool): Add support for converting VLDR to VMOV.
842
843         PR gas/18499
844         * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
845         to MOV.w or MVN.w for Thumb2.
846
847 2015-06-17  Nicolas Pitre <nico@linaro.org>
848
849         * as.c (show_usage): Document --sectname-subst.
850         (parse_args): Add --sectname-subst.
851         * as.h (flag_sectname_subst): New.
852         * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
853         * doc/as.texinfo: Document it.
854
855 2015-06-15  Renlin Li  <renlin.li@arm.com>
856
857         * config/tc-aarch64.c (reloc_table): New relocation modifier.
858         (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
859         (aarch64_force_relocation): Ditto
860
861 2015-06-13  Mark Wielaard  <mjw@redhat.com>
862
863         * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
864         out_debug_aranges depends on it.
865         (out_debug_aranges): Track size of header to properly pad header
866         for address alignment.
867
868 2015-06-11  John David Anglin  <danglin@gcc.gnu.org>
869
870         PR gas/18427
871         * gas/config/tc-hppa.c (last_label_symbol): Declare.
872         (pa_get_label): Return last label in current space/segment or NULL.
873         (pa_define_label): Record last label and add to root.
874         (pa_undefine_label): Remove last label from root.
875
876 2015-06-08  Nick Clifton  <nickc@redhat.com>
877
878         * config/tc-rx.c (rx_op): Correct handling of integer bignums.
879
880 2015-06-04  Matthew Wahab  <matthew.wahab@arm.com>
881
882         * NEWS: Mention ARMv8.1 support in the Aarch64 port.
883         * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
884         * doc/c-aarch64.texi (-march): Add "armv8.1-a".
885
886 2015-06-04  Renlin Li  <renlin.li@arm.com>
887
888         * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
889         when available.
890
891 2015-06-04  Nick Clifton  <nickc@redhat.com>
892
893         * config/tc-h8300.c (md_section_align): Fix compile time warning
894         about left shifting a negative value.
895
896 2015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
897
898         * config/tc-arm.c (arm_archs): Add "armv8.1-a".
899         * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
900         * NEWS: Mention ARMv8.1 support.
901
902 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
903
904         * config/tc-arm.c (arm_ext_pan): New.
905         (do_setpan): New, encode an ARM SETPAN instruction.
906         (do_t_setpan): New, encode a Thumb SETPAN instruction.
907         (insns): Add "setpan".
908         (arm_extensions): Add "pan".
909         * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
910         extensions.
911
912 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
913
914         * config/tc-aarch64.c (aarch64_features): Add "rdma".
915         * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
916
917 2015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
918
919         * config/tc-aarch64.c (aarch64_features): Add "lor".
920         * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
921         architecture extensions.
922
923 2015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
924
925         * config/tc-aarch64.c (parse_sys_reg): New parameter.  Check target
926         support.  Fix whitespace.
927         (parse_operands): Update for parse_sys_reg changes.
928         (aarch64_features): Add "pan".
929         * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
930
931 2015-06-01  Jiong Wang  <jiong.wang@arm.com>
932
933         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
934         (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
935         (aarch64_force_relocation): Ditto.
936
937 2015-06-01  Jiong Wang  <jiong.wang@arm.com>
938
939         * config/tc-aarch64.c (reloc_table): New relocation modifiers.
940         (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
941         (aarch64_force_relocation): Ditto.
942
943 2015-05-28  Catherine Moore  <clm@codesourcery.com>
944             Bernd Schmidt <bernds@codesourcery.com>
945             Paul Brook <paul@codesourcery.com>
946
947         gas/
948         * config/tc-alpha.c (all_cfi_sections): Declare.
949         (s_alpha_ent): Initialize all_cfi_sections.
950         (alpha_elf_md_end): Invoke cfi_set_sections.
951         * config/tc-mips.c (md_apply_fix):  Handle BFD_RELOC_NONE.
952         (s_ehword): Use BFD_RELOC_32_PCREL.
953         (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
954         (mips_cfi_reloc_for_encoding): New function.
955         * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
956         (DWARF2_FDE_RELOC_ENCODING): Define.
957         (tc_cfi_reloc_for_encoding): Define.
958         (mips_cfi_reloc_for_encoding): Define.
959         (tc_compact_eh_opcode_stop): Define.
960         (tc_compact_eh_opcode_pad): Define.
961         * doc/as.texinfo: Document Compact EH extensions.
962         * doc/internals.texi: Likewise.
963         * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
964         (tc_cfi_reloc_for_encoding): Provide default.
965         (compact_eh): Declare.
966         (emit_expr_encoded): New function.
967         (get_debugseg_name): Add Compact EH support.
968         (alloc_debugseg_item): Likewise.
969         (cfi_set_sections): New function.
970         (dot_cfi_fde_data): New function.
971         (dot_cfi_personality_id): New function.
972         (dot_cfi_inline_lsda): New function.
973         (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
974         and cfi_inline_lsda.
975         (dot_cfi_personality): Add Compact EH support.
976         (dot_cfi_lsda): Likewise.
977         (dot_cfi_sections): Likewise.
978         (dot_cfi_startproc): Likewise.
979         (get_cfi_seg): Likewise.
980         (output_compact_unwind_data): New function.
981         (output_cfi_insn): Add Compact EH support.
982         (output_cie): Likewise.
983         (output_fde): Likewise.
984         (cfi_finish): Likewise.
985         (cfi_emit_eh_header): New function.
986         (output_eh_header): New function.
987         * dw2gencfi.h (cfi_set_sections): Declare.
988         (SUPPORT_COMPACT_EH): Define.
989         (MULTIPLE_FRAME_SECTIONS): Define.
990         New enumeration to describe the Compact EH header format.
991         (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
992         eh_data, eh_loc and sections.
993         (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
994         CFI_EMIT_eh_frame_compact): Define.
995
996 2015-05-26  Max Filippov  <jcmvbkbc@gmail.com>
997
998         * config/tc-xtensa.c (xtensa_move_literals): Check that
999         search_frag is non-NULL. Report error if literal frag is not
1000         found.
1001
1002 2015-05-22  Nick Clifton  <nickc@redhat.com>
1003
1004         PR gas/18446
1005         * read.c (output_big_sleb128): Use U suffix to prevent compile
1006         time warning.
1007
1008 2015-05-19  Jiong Wang  <jiong.wang@arm.com>
1009
1010         * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
1011         labels alphabetically.
1012         (md_apply_fix): Ditto.
1013         (aarch64_force_relocation): Ditto.
1014
1015 2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1016
1017         PR binutis/18386
1018         * config/tc-i386.c (OPTION_MAMD64): New.
1019         (OPTION_MINTEL64): Likewise.
1020         (md_longopts): Add -mamd64 and -mintel64.
1021         (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
1022         (md_show_usage): Add -mamd64 and -mintel64.
1023         * doc/c-i386.texi: Document -mamd64 and -mintel64.
1024
1025 2015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1026
1027         * config/tc-i386.c (shared): New.
1028         (OPTION_MSHARED): Likewise.
1029         (elf_symbol_resolved_in_segment_p): Add relocation argument.
1030         Check PLT relocations and shared.
1031         (md_estimate_size_before_relax): Pass fragP->fr_var to
1032         elf_symbol_resolved_in_segment_p.
1033         (md_longopts): Add -mshared.
1034         (md_show_usage): Likewise.
1035         (md_parse_option): Handle OPTION_MSHARED.
1036         * doc/c-i386.texi: Document -mshared.
1037
1038 2015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1039
1040         * write.c (compress_debug): Don't write the zlib header, which
1041         is handled by bfd_update_compression_header.
1042
1043 2015-05-13  Max Filippov  <jcmvbkbc@gmail.com>
1044
1045         * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
1046         closer than J_RANGE / 2 to jump frag.
1047
1048 2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1049
1050         * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
1051         * config/tc-i386.c (i386_mach): Support iamcu.
1052         (i386_target_format): Likewise.
1053
1054 2015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1055
1056         * config/tc-i386.c (cpu_arch): Add iamcu.
1057         (i386_align_code): Handle PROCESSOR_IAMCU.
1058         (i386_arch): Likewise.
1059         (i386_mach): Likewise.
1060         (i386_target_format): Likewise.
1061         (valid_iamcu_cpu_flags): New function.
1062         (check_cpu_arch_compatible): Only allow Intel MCU instructions
1063         when targeting Intel MCU.
1064         (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
1065         are valid for Intel MCU.
1066         (md_parse_option): Likewise.
1067         * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
1068         (processor_type): Add PROCESSOR_IAMCU.
1069         * doc/c-i386.texi: Document iamcu.
1070
1071 2015-05-08  Nick Clifton  <nickc@redhat.com>
1072
1073         PR gas/18347
1074         * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
1075         * config/tc-arm.c (arm_tc_equal_in_insn): New function.  Move
1076         the symbol name checking code to here from...
1077         (md_undefined_symbo): ... here.
1078
1079 2015-05-07  H.J. Lu  <hongjiu.lu@intel.com>
1080
1081         * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
1082         (md_estimate_size_before_relax): Use it.
1083
1084 2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
1085
1086         * config/tc-sparc.c: Typo in comment fixed.
1087
1088 2015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
1089
1090         * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
1091         condition codes
1092         * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
1093
1094 2015-05-06  Nick Clifton  <nickc@redhat.com>
1095
1096         * doc/as.texinfo (Dollar Local Labels): Note that these are only
1097         supported on some targets.
1098
1099 2015-05-06  Renlin Li  <renlin.li@arm.com>
1100
1101         * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
1102
1103 2015-05-05  Renlin Li  <renlin.li@arm.com>
1104
1105         * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
1106         symbols.
1107
1108 2015-05-05  Nick Clifton  <nickc@redhat.com>
1109
1110         * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
1111         (msp430_make_init_symbols): New function.
1112         (msp430_section): Call it.
1113         (msp430_frob_section): Likewise.
1114
1115 2015-05-02  Max Filippov  <jcmvbkbc@gmail.com>
1116
1117         * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
1118         (struct cached_fixup, struct fixup_cache): New structures.
1119         (fixup_order, xtensa_make_cached_fixup),
1120         (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
1121         (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
1122         (xtensa_add_cached_fixup): New functions.
1123         (xtensa_relax_frag): Cache fixups pointing at potentially
1124         oversized jumps at the beginning of every relaxation pass. Only
1125         check subset of this cache in the reach of single jump from the
1126         trampoline frag currently being relaxed.
1127
1128 2015-05-01  Nick Clifton  <nickc@redhat.com>
1129
1130         * config/rl78-parse.y (MULU): Remove ISA_G14.
1131         (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
1132
1133 2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
1134
1135         * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
1136         * config/tc-i386.h (md_end): Likewise.
1137         (i386_elf_emit_arch_note): Likewise.
1138
1139 2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
1140
1141         * configure.tgt: Support i386-*-elf*.
1142
1143 2015-04-30  DJ Delorie  <dj@redhat.com>
1144
1145         * config/rl78-defs.h (rl78_isa_g10): New.
1146         (rl78_isa_g13): New.
1147         (rl78_isa_g14): New.
1148         * config/rl78-parse.y (ISA_G10): New.
1149         (ISA_G13): New.
1150         (ISA_G14): New.
1151         (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
1152         * config/tc-rl78.c (rl78_isa_g10): New.
1153         (rl78_isa_g13): New.
1154         (rl78_isa_g14): New.
1155
1156 2015-04-30  H.J. Lu  <hongjiu.lu@intel.com>
1157
1158         * config/tc-i386.c (i386_target_format): Use "else if" on
1159         cpu_arch_isa.
1160
1161 2015-04-30  Nick Clifton  <nickc@redhat.com>
1162
1163         PR gas/18347
1164         * config/tc-arm.c (md_undefined_symbol): Issue a warning message
1165         (if enabled) when the user creates a symbol with the same name as
1166         an ARM instruction.
1167         (flag_warn_syms): New static variable.
1168         (arm_opts): Add mwarn-syms and mno-warn-syms.
1169         * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
1170         options.
1171
1172         PR gas/18353
1173         * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
1174
1175 2015-04-29  Nick Clifton  <nickc@redhat.com>
1176
1177         PR 18256
1178         * config/tc-arm.c (encode_arm_cp_address): Issue an error message
1179         if the operand is neither a register nor a vector.
1180
1181 2015-04-29  Nick Clifton  <nickc@redhat.com>
1182
1183         * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
1184         times if the expression is not constant and the target uses linker
1185         relaxation.
1186
1187 2015-04-28  Renlin Li  <renlin.li@arm.com>
1188
1189         * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
1190
1191 2015-04-28  Nick Clifton  <nickc@redhat.com>
1192
1193         PR 18313
1194         * cond.c (s_if): Stop compile time warning about stopc being used
1195         before it is set.
1196         (s_ifc): Likewise.
1197
1198 2015-04-27  Renlin Li  <renlin.li@arm.com>
1199
1200         * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
1201         section.
1202         (md_assemble): Likewise, move the align code outside the loop.
1203
1204 2015-04-24  Jim Wilson  <jim.wilson@linaro.org>
1205
1206         * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
1207         for thunderx.
1208
1209 2015-04-24  Richard Earnshaw  <rearnsha@arm.com>
1210
1211         * config/tc-arm.h (arm_min): New function.
1212         (SUB_SEGMENT_ALIGN): Define.
1213
1214 2015-04-23  Matthew Fortune  <matthew.fortune@imgtec.com>
1215
1216         * config/tc-mips.c (macro): State the recommended way of creating
1217         32-bit or 64-bit addresses.
1218
1219 2015-04-23  Jan Beulich  <jbeulich@suse.com>
1220
1221         * config/tc-i386.c (match_mem_size): Also allow no size
1222         specification when broadcasting.
1223
1224 2015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1225
1226         * doc/as.texinfo (Bundle directives): Shorten menu entry and
1227         use @subsection.
1228         (CFI directives): Use @subsection.
1229         (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
1230         * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
1231
1232 2015-04-17  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1233
1234         * config/tc-avr.c (create_record_for_frag): Rename link to
1235         prop_rec_link.
1236
1237 2015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
1238
1239         * NEWS: Mention
1240         --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
1241
1242 2015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
1243
1244         * as.h (compressed_debug_section_type): Removed.
1245
1246 2015-04-14  Nick Clifton  <nickc@redhat.com>
1247
1248         * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
1249         (TC_FORCE_RELOCATION_SUB_SAME): Define.
1250         (DWARF2_USE_FIXED_ADVANCE_PC): Define.
1251
1252 2015-04-10  Nick Clifton  <nickc@redhat.com>
1253
1254         PR binutils/18198
1255         * doc/c-arm.texi (ARM Options): Add a note about the interaction of
1256         the -EB option with the linker's --be8 option.
1257
1258 2015-04-09  Hans-Peter Nilsson  <hp@axis.com>
1259
1260         * doc/c-rx.texi: Fix markup typos in last change.
1261
1262 2015-04-09  Nick Clifton  <nickc@redhat.com>
1263
1264         * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
1265         (md_longopts): Add -mno-allow-string-insns.
1266         (md_parse_option): Handle -mno-allow-string-insns.
1267         (md_show_usage): Mention -mno-allow-string-insns.
1268         (rx_note_string_insn_use): New function.  Produces an error
1269         message if a string insn is used when it is not allowed.
1270         * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
1271         (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
1272         * config/rx-defs.h (rx_note_string_insn_use): Prototype.
1273         * doc/c-rx.texi: Document -mno-allow-string-insns.
1274
1275 2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
1276
1277         * as.c (show_usage): Update --compress-debug-sections.
1278         (std_longopts): Use optional_argument on compress-debug-sections.
1279         (parse_args): Handle
1280         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1281         * as.h (compressed_debug_section_type): New.
1282         (flag_compress_debug): Change type to compressed_debug_section_type.
1283         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1284         * write.c (compress_debug): Set BFD_COMPRESS_GABI for
1285         --compress-debug-sections=zlib-gabi.  Call
1286         bfd_get_compression_header_size to get compression header size.
1287         Don't rename section name for --compress-debug-sections=zlib-gabi.
1288         * config/tc-i386.c (compressed_debug_section_type): Set to
1289         COMPRESS_DEBUG_ZLIB.
1290         * doc/as.texinfo: Document
1291         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1292
1293 2015-04-07  Renlin Li  <renlin.li@arm.com>
1294
1295         * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
1296         (s_aarch64_inst): Likewise.
1297         (md_assemble): Likewise.
1298
1299 2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1300
1301         * write.c (compress_debug): Use bfd_putb64 to write uncompressed
1302         section size.
1303
1304 2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1305
1306         * write.c (compress_debug): Don't write the zlib header if
1307         compressed section size is the same as before compression.
1308
1309 2015-04-02  Nick Clifton  <nickc@redhat.com>
1310
1311         PR gas/18189
1312         * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
1313         min and max parameters.  Sign extend values before testing.
1314
1315 2015-04-02  Renlin Li  <renlin.li@arm.com>
1316
1317         * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
1318         (mapping_state_2): Don't emit MAP_DATA here.
1319         (s_aarch64_inst): Align frag during state transition.
1320         (md_assemble): Likewise.
1321
1322 2015-04-02  Ed Maste  <emaste@freebsd.org>
1323
1324         * config/tc-aarch64.c (set_error_kind): Delete.
1325         (set_error_message): Delete.
1326
1327 2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
1328
1329         * configure: Regenerated.
1330
1331 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
1332
1333         * config/tc-aarch64.c: Add support for Samsung Exynos M1.
1334         * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
1335
1336 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
1337
1338         * config/tc-arm.c: Add support for Samsung Exynos M1.
1339         * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
1340
1341 2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
1342
1343         * configure: Regenerated.
1344
1345 2015-03-31  Ed Schouten  <ed@nuxi.nl>
1346
1347         * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
1348
1349 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1350
1351         * configure.ac: Revert the AM_ZLIB change.
1352         * Makefile.in: Regenerated.
1353         * aclocal.m4: Likewise.
1354         * configure: Likewise.
1355
1356 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1357
1358         * Makefile.am (ZLIBINC): New.
1359         (AM_CFLAGS): Add $(ZLIBINC).
1360         * as.c: (show_usage): Don't check HAVE_ZLIB_H.
1361         (parse_args): Likewise.
1362         * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
1363         (compress_init): Don't check HAVE_ZLIB_H.
1364         (compress_data): Likewise.
1365         (compress_finish): Likewise.
1366         * configure.ac (AM_ZLIB): Removed.
1367         (zlibinc): New.  AC_SUBST.
1368         Add --with-system-zlib.
1369         * Makefile.in: Regenerated.
1370         * config.in: Likewise.
1371         * configure: Likewise.
1372         * doc/Makefile.in: Likewise.
1373
1374 2015-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1375
1376         * config/tc-i386.c (cpu_flags_set): Removed.
1377
1378 2015-03-25  Renlin Li  <renlin.li@arm.com>
1379
1380         * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
1381         code.
1382         (mapping_state_2): Emit first MAP_DATA symbol here.
1383
1384 2015-03-24  H.J. Lu  <hongjiu.lu@intel.com>
1385
1386         PR gas/18087
1387         * write.c (compress_debug): Don't write the zlib header if
1388         compression didn't make the section smaller.
1389
1390 2015-03-24  Terry Guo  <terry.guo@arm.com>
1391
1392         * config/tc-arm.c (no_cpu_selected): Use new macro to compare
1393         features.
1394         (parse_psr): Likewise.
1395         (do_t_mrs): Likewise.
1396         (do_t_msr): Likewise.
1397         (static const arm_feature_set arm_ext_*): Defined with new macros.
1398         (static const arm_feature_set arm_cext_*): Likewise.
1399         (static const arm_feature_set fpu_fpa_ext_*): Likewise.
1400         (static const arm_feature_set fpu_vfp_ext_*): Likewise.
1401         (deprecated_coproc_regs): Likewise.
1402         (UL_BARRIER): Likewise.
1403         (barrier_opt_names): Likewise.
1404         (arm_cpus): Likewise.
1405         (arm_extensions): Likewise.
1406
1407 2015-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1408
1409         * config/tc-i386.c (i386_align_code): Limit multi-byte nop
1410         instructions to 10 bytes.
1411
1412 2015-03-19  Nick Clifton  <nickc@redhat.com>
1413
1414         * config/tc-rl78.c (enum options): Add G13 and G14.
1415         (md_longopts): Add -mg13 and -mg14.
1416         (md_parse_option): Handle -mg13 and -mg14.
1417         (md_show_usage): List -mg13 and -mg14.
1418         * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
1419
1420 2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
1421             Nick Clifton  <nickc@redhat.com>
1422
1423         PR binutils/18087
1424         * doc/as.texinfo: Note that when gas compresses debug sections the
1425         compression is only performed if it makes the section smaller.
1426         * write.c (compress_debug): Do not compress a debug section if
1427         doing so would make it larger.
1428
1429 2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
1430
1431         * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
1432         (i386_align_code): Add PROCESSOR_ZNVER cases.
1433         * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
1434         * doc/c-i386.texi: Add znver1 and clzero.
1435
1436 2015-03-16  Nick Clifton  <nickc@redhat.com>
1437
1438         * dwarf2dbg.c (out_header): Remove spurious #if 1.
1439
1440 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
1441
1442         * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
1443         number 31.
1444
1445 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
1446
1447         * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
1448
1449 2015-03-12  Andrew Bennett  <andrew.bennett@imgtec.com>
1450
1451         * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
1452         * doc/c-mips.texi: Document i6400 -march option.
1453
1454 2015-03-12  Nick Clifton  <nickc@redhat.com>
1455
1456         PR gas/17444
1457         * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
1458         to arm_apply_sym_value.  Update prototype.
1459         * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
1460         Do not apply the value if the symbol is in a different segment to
1461         the current segment.
1462
1463 2015-03-11  Alan Modra  <amodra@gmail.com>
1464
1465         * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
1466         (md_apply_fix): Report an error on data-only fixups used with insns.
1467
1468 2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
1469
1470         * config/tc-s390.c (md_gather_operands): Check for valid
1471         length field operands.
1472
1473 2015-03-10  Michael Perkins  <perkinsmg75@yahoo.co.uk>
1474
1475         * config/tc-arm.c (parse_operands): Fix bug setting writeback
1476         values for '^' on OP_REGLSTs.
1477         (do_push_pop): Add new writeback constraint.
1478
1479 2015-03-10  Renlin Li  <renlin.li@arm.com>
1480
1481         * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
1482         (mapping_state_2): Emit first MAP_DATA symbol here.
1483
1484 2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
1485
1486         * config/tc-aarch64.c (mapping_state): Set minimum alignment for
1487         code sections.
1488
1489 2015-03-10  Nick Clifton  <nickc@redhat.com>
1490
1491         PR gas/17852
1492         * config/tc-arm.c (md_begin): Ensure that selected_cpu is
1493         initialised when CPU_DEFAULT is defined.
1494
1495 2015-03-05  Nick Clifton  <nickc@redhat.com>
1496
1497         * config/tc-v850.c (md_parse_option): Fix code to set or clear
1498         EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
1499         -m8byte-align and -m4byte-align command line options.
1500
1501 2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
1502
1503         PR gas/17843
1504         * config/tc-aarch64.c (process_movw_reloc_info): Allow
1505         R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
1506         for MOVK.
1507
1508 2015-02-28  Alan Modra  <amodra@gmail.com>
1509
1510         * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
1511         end to their alignment.
1512
1513 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1514
1515         * config/tc-aarch64.c (reloc_table_entry): Generate
1516         BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
1517         (md_apply_fix, aarch64_force_relocation): Handle
1518         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1519
1520 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1521
1522         * config/tc-aarch64.c (reloc_table_entry): Generate
1523         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1524         (md_apply_fix, aarch64_force_relocation): Handle
1525         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1526
1527 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1528
1529         * config/tc-aarch64.c (reloc_table_entry): Generate
1530         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1531         (md_apply_fix, aarch64_force_relocation): Handle
1532         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1533
1534 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1535
1536         * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
1537         (reloc_table): Likewise.
1538         (parse_address_main): Use ld_literal_type.
1539
1540 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1541
1542         * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
1543         (reloc_table): Likewise.
1544         (parse_address_main): Use adr_type.
1545
1546 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1547
1548         * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
1549
1550 2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
1551
1552         * config/tc-avr.c: Add elf32-avr.h include.
1553         (struct avr_property_record_link): New structure.
1554         (avr_output_property_section_header): New function.
1555         (avr_record_size): New function.
1556         (avr_output_property_record): New function.
1557         (avr_create_property_section): New function.
1558         (avr_handle_align): New function.
1559         (exclude_section_from_property_tables): New function.
1560         (create_record_for_frag): New function.
1561         (append_records_for_section): New function.
1562         (avr_create_and_fill_property_section): New function.
1563         (avr_post_relax_hook): New function.
1564         * config/tc-avr.h (md_post_relax_hook): Define.
1565         (avr_post_relax_hook): Declare.
1566         (HANDLE_ALIGN): Define.
1567         (avr_handle_align): Declare.
1568         (strut avr_frag_data): New structure.
1569         (TC_FRAG_TYPE): Define.
1570
1571 2015-02-25  Matthew Wahab  <matthew.wahab@arm.com>
1572
1573         * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
1574         cortex-a72.
1575
1576 2015-02-24  Nick Clifton  <nickc@redhat.com>
1577
1578         * config/tc-v850.c (soft_float): New variable.
1579         (v850_data_8): New variable.
1580         (md_show_usage): Add -msoft-float/-mhard-float.
1581         (md_parse_option): Likewise.
1582         (md_begin): Set the default value of soft_float.
1583         (v850_md_end): New function.  Creates a note section.
1584         * config/tc-v850.h (md_end): Define.
1585         * doc/c-v850.texi: Document -msoft-float/-mhard-float.
1586
1587 2015-02-23  Yoshinori Sato  <ysato@users.sourceforge.jp>
1588
1589         * config/tc-h8300.c (line_separater_chars): Add a version for
1590         h8300-linux that includes a separator.
1591         (default_mach): New variable.
1592         (md_main): Use it.
1593         (md_longopts): Add '--march' option.
1594         (md_parse_option): Parse the new option.
1595         * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
1596         * configure.tgt: Add h8300-*-linux
1597         * doc/c-h8300.texi: Document --march.
1598
1599 2015-02-23  Nick Clifton  <nickc@redhat.com>
1600
1601         PR 17940
1602         * dwarf2dbg.c (out_header): When generating dwarf sections use
1603         real symbols not temps for the start and end symbols.
1604         * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
1605         adjustments to relocations in debug sections.
1606         (TC_LINKRELAX_FIXUP): Likewise.
1607
1608 2015-02-19  Alan Modra  <amodra@gmail.com>
1609
1610         * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
1611         * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
1612
1613 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
1614
1615         * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1616
1617 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
1618
1619         * config/tc-arm.c: Add support for Cortex-A72.
1620
1621 2015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1622
1623         * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
1624         of as_warn for deprecation messages.
1625         (encode_arm_addr_mode_2): Likewise.
1626         (check_obsolete): Likewise.
1627         (do_rd_rm_rn): Likewise.
1628         (do_co_reg): Likewise.
1629         (do_setend): Likewise.
1630         (do_t_mov_cmp): Likewise.
1631         (do_neon_ldr_str): Likewise.
1632         (opcode_lookup): Likewise.
1633         (if_fsm_post_encode): Likewise.
1634         (md_assemble): Likewise.
1635
1636 2015-02-06  Jan Beulich  <jbeulich@suse.com>
1637
1638         * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
1639         (cfi_change_reg_numbers): Also do nothing for CFI_label.
1640         (cfi_pseudo_table): Also handle .cfi_label when not supporting
1641         CFI directives.
1642
1643 2015-02-05  Alan Modra  <amodra@gmail.com>
1644
1645         * config/tc-msp430.c (md_assemble): Correct size passed to
1646         extract_cmd.  Remove index check.
1647
1648 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
1649
1650         * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
1651         * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
1652
1653 2015-02-04  Nick Clifton  <nickc@redhat.com>
1654
1655         * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1656         these instructions.
1657
1658 2015-02-03  Renlin Li  <renlin.li@arm.com>
1659
1660         * doc/c-aarch64.texi (.arch): Document the directive.
1661         (.arch_extension): Likewise.
1662
1663 2015-02-03  Nick Clifton  <nickc@redhat.com>
1664
1665         * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1666
1667 2015-01-28  James Bowman  <james.bowman@ftdichip.com>
1668
1669         * Makefile.am: Add FT32 files.
1670         * config/tc-ft32.c: New file.
1671         * config/tc-ft32.h: New file.
1672         * configure.tgt: Add FT32 support.
1673         * Makefile.in: Regenerate.
1674         * po/POTFILES.in: Regenerate.
1675
1676 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
1677
1678         * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1679         of instruction la to a symbol.
1680
1681 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
1682
1683         * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1684         section name.
1685
1686 2015-01-19  Alan Modra  <amodra@gmail.com>
1687
1688         * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1689         * write.c (get_frag_for_reloc): Allow match just past end of frag.
1690
1691 2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
1692
1693         * config/tc-s390.c (struct pd_reg): Remove.
1694         (pre_defined_registers): Remove.
1695         (REG_NAME_CNT): Remove.
1696         (reg_name_search): Calculate the register number instead of doing
1697         a lookup.
1698         (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1699         reg_name_search signature.
1700         (s390_parse_cpu): Support the new arch string z13.
1701         (s390_insert_operand): Support for vector registers with the extra
1702         field for the fifth bit of each vector register operand.
1703         (md_gather_operand): Adjust to the new handling of optional
1704         parameters.
1705
1706         * doc/as.texinfo: Document the z13 cpu string.
1707
1708 2015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
1709
1710         * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1711         #0, restoring previous behaviour.
1712
1713 2015-01-12  Jan Beulich  <jbeulich@suse.com>
1714
1715         * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1716         (cfi_pseudo_table): Add "cfi_label".
1717         (output_cfi_insn): Handle CFI_label.
1718         (select_cie_for_fde): Als terminate CIE when encountering
1719         CFI_label.
1720         * dw2gencfi.h (cfi_add_label): Declare.
1721         (struct cfi_insn_data): New member "sym_name".
1722         (CFI_label): New.
1723         * read.c (read_symbol_name): Drop "static".
1724         * read.h (read_symbol_name): Declare.
1725
1726 2015-01-12  Jan Beulich  <jbeulich@suse.com>
1727
1728         * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1729         (do_neon_qshl_imm): Likewise.
1730
1731 2015-01-12  Alan Modra  <amodra@gmail.com>
1732
1733         * read.c (s_altmacro, s_reloc): Make definition static.
1734
1735 2015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
1736
1737         * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1738         diff fixups.
1739
1740 2015-01-09  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
1741
1742         * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1743         X-Gene 2.
1744         * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1745
1746 2015-01-07  Jan Beulich <jbeulich@suse.com>
1747
1748         * config/tc-arm.c (struct arm_option_extension_value_table):
1749         Split field "value" into fields "merge_value" and "clear_value".
1750         (arm_extensions): Adjust initializer accordingly.
1751
1752 2015-01-01  Alan Modra  <amodra@gmail.com>
1753
1754         * as.c (parse_args): Just print current year.
1755
1756 2015-01-01  Alan Modra  <amodra@gmail.com>
1757
1758         Update year range in copyright notice of all files.
1759
1760 For older changes see ChangeLog-2014
1761 \f
1762 Copyright (C) 2015 Free Software Foundation, Inc.
1763
1764 Copying and distribution of this file, with or without modification,
1765 are permitted in any medium without royalty provided the copyright
1766 notice and this notice are preserved.
1767
1768 Local Variables:
1769 mode: change-log
1770 left-margin: 8
1771 fill-column: 74
1772 version-control: never
1773 End: