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