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