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