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