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