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