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