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