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