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