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