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