doc/c-rx.texi: Fix markup typos in last change.
[external/binutils.git] / gas / ChangeLog
1 2015-04-09  Hans-Peter Nilsson  <hp@axis.com>
2
3         * doc/c-rx.texi: Fix markup typos in last change.
4
5 2015-04-09  Nick Clifton  <nickc@redhat.com>
6
7         * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
8         (md_longopts): Add -mno-allow-string-insns.
9         (md_parse_option): Handle -mno-allow-string-insns.
10         (md_show_usage): Mention -mno-allow-string-insns.
11         (rx_note_string_insn_use): New function.  Produces an error
12         message if a string insn is used when it is not allowed.
13         * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
14         (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
15         * config/rx-defs.h (rx_note_string_insn_use): Prototype.
16         * doc/c-rx.texi: Document -mno-allow-string-insns.
17
18 2015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
19
20         * as.c (show_usage): Update --compress-debug-sections.
21         (std_longopts): Use optional_argument on compress-debug-sections.
22         (parse_args): Handle
23         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
24         * as.h (compressed_debug_section_type): New.
25         (flag_compress_debug): Change type to compressed_debug_section_type.
26         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
27         * write.c (compress_debug): Set BFD_COMPRESS_GABI for
28         --compress-debug-sections=zlib-gabi.  Call
29         bfd_get_compression_header_size to get compression header size.
30         Don't rename section name for --compress-debug-sections=zlib-gabi.
31         * config/tc-i386.c (compressed_debug_section_type): Set to
32         COMPRESS_DEBUG_ZLIB.
33         * doc/as.texinfo: Document
34         --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
35
36 2015-04-07  Renlin Li  <renlin.li@arm.com>
37
38         * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
39         (s_aarch64_inst): Likewise.
40         (md_assemble): Likewise.
41
42 2015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43
44         * write.c (compress_debug): Use bfd_putb64 to write uncompressed
45         section size.
46
47 2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
48
49         * write.c (compress_debug): Don't write the zlib header if
50         compressed section size is the same as before compression.
51
52 2015-04-02  Nick Clifton  <nickc@redhat.com>
53
54         PR gas/18189
55         * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
56         min and max parameters.  Sign extend values before testing.
57
58 2015-04-02  Renlin Li  <renlin.li@arm.com>
59
60         * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
61         (mapping_state_2): Don't emit MAP_DATA here.
62         (s_aarch64_inst): Align frag during state transition.
63         (md_assemble): Likewise.
64
65 2015-04-02  Ed Maste  <emaste@freebsd.org>
66
67         * config/tc-aarch64.c (set_error_kind): Delete.
68         (set_error_message): Delete.
69
70 2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
71
72         * configure: Regenerated.
73
74 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
75
76         * config/tc-aarch64.c: Add support for Samsung Exynos M1.
77         * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
78
79 2015-04-01  Evandro Menezes  <e.menezes@samsung.com>
80
81         * config/tc-arm.c: Add support for Samsung Exynos M1.
82         * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
83
84 2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
85
86         * configure: Regenerated.
87
88 2015-03-31  Ed Schouten  <ed@nuxi.nl>
89
90         * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
91
92 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
93
94         * configure.ac: Revert the AM_ZLIB change.
95         * Makefile.in: Regenerated.
96         * aclocal.m4: Likewise.
97         * configure: Likewise.
98
99 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
100
101         * Makefile.am (ZLIBINC): New.
102         (AM_CFLAGS): Add $(ZLIBINC).
103         * as.c: (show_usage): Don't check HAVE_ZLIB_H.
104         (parse_args): Likewise.
105         * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
106         (compress_init): Don't check HAVE_ZLIB_H.
107         (compress_data): Likewise.
108         (compress_finish): Likewise.
109         * configure.ac (AM_ZLIB): Removed.
110         (zlibinc): New.  AC_SUBST.
111         Add --with-system-zlib.
112         * Makefile.in: Regenerated.
113         * config.in: Likewise.
114         * configure: Likewise.
115         * doc/Makefile.in: Likewise.
116
117 2015-03-27  H.J. Lu  <hongjiu.lu@intel.com>
118
119         * config/tc-i386.c (cpu_flags_set): Removed.
120
121 2015-03-25  Renlin Li  <renlin.li@arm.com>
122
123         * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
124         code.
125         (mapping_state_2): Emit first MAP_DATA symbol here.
126
127 2015-03-24  H.J. Lu  <hongjiu.lu@intel.com>
128
129         PR gas/18087
130         * write.c (compress_debug): Don't write the zlib header if
131         compression didn't make the section smaller.
132
133 2015-03-24  Terry Guo  <terry.guo@arm.com>
134
135         * config/tc-arm.c (no_cpu_selected): Use new macro to compare
136         features.
137         (parse_psr): Likewise.
138         (do_t_mrs): Likewise.
139         (do_t_msr): Likewise.
140         (static const arm_feature_set arm_ext_*): Defined with new macros.
141         (static const arm_feature_set arm_cext_*): Likewise.
142         (static const arm_feature_set fpu_fpa_ext_*): Likewise.
143         (static const arm_feature_set fpu_vfp_ext_*): Likewise.
144         (deprecated_coproc_regs): Likewise.
145         (UL_BARRIER): Likewise.
146         (barrier_opt_names): Likewise.
147         (arm_cpus): Likewise.
148         (arm_extensions): Likewise.
149
150 2015-03-20  H.J. Lu  <hongjiu.lu@intel.com>
151
152         * config/tc-i386.c (i386_align_code): Limit multi-byte nop
153         instructions to 10 bytes.
154
155 2015-03-19  Nick Clifton  <nickc@redhat.com>
156
157         * config/tc-rl78.c (enum options): Add G13 and G14.
158         (md_longopts): Add -mg13 and -mg14.
159         (md_parse_option): Handle -mg13 and -mg14.
160         (md_show_usage): List -mg13 and -mg14.
161         * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
162
163 2015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
164             Nick Clifton  <nickc@redhat.com>
165
166         PR binutils/18087
167         * doc/as.texinfo: Note that when gas compresses debug sections the
168         compression is only performed if it makes the section smaller.
169         * write.c (compress_debug): Do not compress a debug section if
170         doing so would make it larger.
171
172 2015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
173
174         * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
175         (i386_align_code): Add PROCESSOR_ZNVER cases.
176         * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
177         * doc/c-i386.texi: Add znver1 and clzero.
178
179 2015-03-16  Nick Clifton  <nickc@redhat.com>
180
181         * dwarf2dbg.c (out_header): Remove spurious #if 1.
182
183 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
184
185         * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
186         number 31.
187
188 2015-03-13  Jiong Wang  <jiong.wang@arm.com>
189
190         * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
191
192 2015-03-12  Andrew Bennett  <andrew.bennett@imgtec.com>
193
194         * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
195         * doc/c-mips.texi: Document i6400 -march option.
196
197 2015-03-12  Nick Clifton  <nickc@redhat.com>
198
199         PR gas/17444
200         * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
201         to arm_apply_sym_value.  Update prototype.
202         * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
203         Do not apply the value if the symbol is in a different segment to
204         the current segment.
205
206 2015-03-11  Alan Modra  <amodra@gmail.com>
207
208         * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
209         (md_apply_fix): Report an error on data-only fixups used with insns.
210
211 2015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
212
213         * config/tc-s390.c (md_gather_operands): Check for valid
214         length field operands.
215
216 2015-03-10  Michael Perkins  <perkinsmg75@yahoo.co.uk>
217
218         * config/tc-arm.c (parse_operands): Fix bug setting writeback
219         values for '^' on OP_REGLSTs.
220         (do_push_pop): Add new writeback constraint.
221
222 2015-03-10  Renlin Li  <renlin.li@arm.com>
223
224         * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
225         (mapping_state_2): Emit first MAP_DATA symbol here.
226
227 2015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
228
229         * config/tc-aarch64.c (mapping_state): Set minimum alignment for
230         code sections.
231
232 2015-03-10  Nick Clifton  <nickc@redhat.com>
233
234         PR gas/17852
235         * config/tc-arm.c (md_begin): Ensure that selected_cpu is
236         initialised when CPU_DEFAULT is defined.
237
238 2015-03-05  Nick Clifton  <nickc@redhat.com>
239
240         * config/tc-v850.c (md_parse_option): Fix code to set or clear
241         EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
242         -m8byte-align and -m4byte-align command line options.
243
244 2015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
245
246         PR gas/17843
247         * config/tc-aarch64.c (process_movw_reloc_info): Allow
248         R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
249         for MOVK.
250
251 2015-02-28  Alan Modra  <amodra@gmail.com>
252
253         * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
254         end to their alignment.
255
256 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
257
258         * config/tc-aarch64.c (reloc_table_entry): Generate
259         BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
260         (md_apply_fix, aarch64_force_relocation): Handle
261         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
262
263 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
264
265         * config/tc-aarch64.c (reloc_table_entry): Generate
266         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
267         (md_apply_fix, aarch64_force_relocation): Handle
268         BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
269
270 2015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
271
272         * config/tc-aarch64.c (reloc_table_entry): Generate
273         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
274         (md_apply_fix, aarch64_force_relocation): Handle
275         BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
276
277 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
278
279         * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
280         (reloc_table): Likewise.
281         (parse_address_main): Use ld_literal_type.
282
283 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
284
285         * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
286         (reloc_table): Likewise.
287         (parse_address_main): Use adr_type.
288
289 2015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
290
291         * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
292
293 2015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
294
295         * config/tc-avr.c: Add elf32-avr.h include.
296         (struct avr_property_record_link): New structure.
297         (avr_output_property_section_header): New function.
298         (avr_record_size): New function.
299         (avr_output_property_record): New function.
300         (avr_create_property_section): New function.
301         (avr_handle_align): New function.
302         (exclude_section_from_property_tables): New function.
303         (create_record_for_frag): New function.
304         (append_records_for_section): New function.
305         (avr_create_and_fill_property_section): New function.
306         (avr_post_relax_hook): New function.
307         * config/tc-avr.h (md_post_relax_hook): Define.
308         (avr_post_relax_hook): Declare.
309         (HANDLE_ALIGN): Define.
310         (avr_handle_align): Declare.
311         (strut avr_frag_data): New structure.
312         (TC_FRAG_TYPE): Define.
313
314 2015-02-25  Matthew Wahab  <matthew.wahab@arm.com>
315
316         * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
317         cortex-a72.
318
319 2015-02-24  Nick Clifton  <nickc@redhat.com>
320
321         * config/tc-v850.c (soft_float): New variable.
322         (v850_data_8): New variable.
323         (md_show_usage): Add -msoft-float/-mhard-float.
324         (md_parse_option): Likewise.
325         (md_begin): Set the default value of soft_float.
326         (v850_md_end): New function.  Creates a note section.
327         * config/tc-v850.h (md_end): Define.
328         * doc/c-v850.texi: Document -msoft-float/-mhard-float.
329
330 2015-02-23  Yoshinori Sato  <ysato@users.sourceforge.jp>
331
332         * config/tc-h8300.c (line_separater_chars): Add a version for
333         h8300-linux that includes a separator.
334         (default_mach): New variable.
335         (md_main): Use it.
336         (md_longopts): Add '--march' option.
337         (md_parse_option): Parse the new option.
338         * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
339         * configure.tgt: Add h8300-*-linux
340         * doc/c-h8300.texi: Document --march.
341
342 2015-02-23  Nick Clifton  <nickc@redhat.com>
343
344         PR 17940
345         * dwarf2dbg.c (out_header): When generating dwarf sections use
346         real symbols not temps for the start and end symbols.
347         * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
348         adjustments to relocations in debug sections.
349         (TC_LINKRELAX_FIXUP): Likewise.
350
351 2015-02-19  Alan Modra  <amodra@gmail.com>
352
353         * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
354         * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
355
356 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
357
358         * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
359
360 2015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
361
362         * config/tc-arm.c: Add support for Cortex-A72.
363
364 2015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
365
366         * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
367         of as_warn for deprecation messages.
368         (encode_arm_addr_mode_2): Likewise.
369         (check_obsolete): Likewise.
370         (do_rd_rm_rn): Likewise.
371         (do_co_reg): Likewise.
372         (do_setend): Likewise.
373         (do_t_mov_cmp): Likewise.
374         (do_neon_ldr_str): Likewise.
375         (opcode_lookup): Likewise.
376         (if_fsm_post_encode): Likewise.
377         (md_assemble): Likewise.
378
379 2015-02-06  Jan Beulich  <jbeulich@suse.com>
380
381         * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
382         (cfi_change_reg_numbers): Also do nothing for CFI_label.
383         (cfi_pseudo_table): Also handle .cfi_label when not supporting
384         CFI directives.
385
386 2015-02-05  Alan Modra  <amodra@gmail.com>
387
388         * config/tc-msp430.c (md_assemble): Correct size passed to
389         extract_cmd.  Remove index check.
390
391 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
392
393         * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
394         * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
395
396 2015-02-04  Nick Clifton  <nickc@redhat.com>
397
398         * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
399         these instructions.
400
401 2015-02-03  Renlin Li  <renlin.li@arm.com>
402
403         * doc/c-aarch64.texi (.arch): Document the directive.
404         (.arch_extension): Likewise.
405
406 2015-02-03  Nick Clifton  <nickc@redhat.com>
407
408         * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
409
410 2015-01-28  James Bowman  <james.bowman@ftdichip.com>
411
412         * Makefile.am: Add FT32 files.
413         * config/tc-ft32.c: New file.
414         * config/tc-ft32.h: New file.
415         * configure.tgt: Add FT32 support.
416         * Makefile.in: Regenerate.
417         * po/POTFILES.in: Regenerate.
418
419 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
420
421         * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
422         of instruction la to a symbol.
423
424 2015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
425
426         * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
427         section name.
428
429 2015-01-19  Alan Modra  <amodra@gmail.com>
430
431         * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
432         * write.c (get_frag_for_reloc): Allow match just past end of frag.
433
434 2015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
435
436         * config/tc-s390.c (struct pd_reg): Remove.
437         (pre_defined_registers): Remove.
438         (REG_NAME_CNT): Remove.
439         (reg_name_search): Calculate the register number instead of doing
440         a lookup.
441         (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
442         reg_name_search signature.
443         (s390_parse_cpu): Support the new arch string z13.
444         (s390_insert_operand): Support for vector registers with the extra
445         field for the fifth bit of each vector register operand.
446         (md_gather_operand): Adjust to the new handling of optional
447         parameters.
448
449         * doc/as.texinfo: Document the z13 cpu string.
450
451 2015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
452
453         * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
454         #0, restoring previous behaviour.
455
456 2015-01-12  Jan Beulich  <jbeulich@suse.com>
457
458         * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
459         (cfi_pseudo_table): Add "cfi_label".
460         (output_cfi_insn): Handle CFI_label.
461         (select_cie_for_fde): Als terminate CIE when encountering
462         CFI_label.
463         * dw2gencfi.h (cfi_add_label): Declare.
464         (struct cfi_insn_data): New member "sym_name".
465         (CFI_label): New.
466         * read.c (read_symbol_name): Drop "static".
467         * read.h (read_symbol_name): Declare.
468
469 2015-01-12  Jan Beulich  <jbeulich@suse.com>
470
471         * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
472         (do_neon_qshl_imm): Likewise.
473
474 2015-01-12  Alan Modra  <amodra@gmail.com>
475
476         * read.c (s_altmacro, s_reloc): Make definition static.
477
478 2015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
479
480         * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
481         diff fixups.
482
483 2015-01-09  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
484
485         * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
486         X-Gene 2.
487         * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
488
489 2015-01-07  Jan Beulich <jbeulich@suse.com>
490
491         * config/tc-arm.c (struct arm_option_extension_value_table):
492         Split field "value" into fields "merge_value" and "clear_value".
493         (arm_extensions): Adjust initializer accordingly.
494
495 2015-01-01  Alan Modra  <amodra@gmail.com>
496
497         * as.c (parse_args): Just print current year.
498
499 2015-01-01  Alan Modra  <amodra@gmail.com>
500
501         Update year range in copyright notice of all files.
502
503 For older changes see ChangeLog-2014
504 \f
505 Copyright (C) 2015 Free Software Foundation, Inc.
506
507 Copying and distribution of this file, with or without modification,
508 are permitted in any medium without royalty provided the copyright
509 notice and this notice are preserved.
510
511 Local Variables:
512 mode: change-log
513 left-margin: 8
514 fill-column: 74
515 version-control: never
516 End: