Fix PR gas/19217
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2015-11-11 Matthew Wahab <matthew.wahab@arm.com>
2
3 PR gas/19217
4 * config/tc-arm.c (move_or_literal_pool): Remove redundant feature
5 check. Fix some code formatting. Drop use of MOVT. Add some
6 comments.
7
8 2015-11-11 Alan Modra <amodra@gmail.com>
9 Peter Bergner <bergner@vnet.ibm.com>
10
11 * doc/as.texinfo (Target PowerPC): Document -mpower9 and -mpwr9.
12 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
13 * config/tc-ppc.c (md_show_usage): Likewise.
14 (md_assemble): Handle BFD_RELOC_PPC_REL16DX_HA.
15 (md_apply_fix): Likewise.
16 (ppc_handle_align): Handle power9's group ending nop.
17
18 2015-11-09 Jim Wilson <jim.wilson@linaro.org>
19
20 * config/tc-aarch64.c (aarch64_cpus): Add qdf24xx.
21 * config/tc-arm.c (arm_cpus): Likewise.
22 * doc/c-arm.texi, doc/c-aarch64.texi: Likewise.
23
24 2015-11-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
25
26 * read.c (parse_bitfield_cons): Fix left shift of negative value.
27 * config/tc-xstormy16.c (md_section_align): Likewise.
28 * config/tc-xgate.c (md_section_align): Likewise.
29 * config/tc-visium.c (md_section_align): Likewise.
30 * config/tc-v850.c (md_section_align): Likewise.
31 * config/tc-tic6x.c (md_section_align): Likewise.
32 * config/tc-sh.c (SH64PCREL32_M, SH64PCREL48_M, SH64PCREL32_M)
33 (MOVI_32_M, MOVI_48_M, MOVI_32_M, md_section_align): Likewise.
34 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax): Likewise.
35 * config/tc-score.c (s3_section_align): Likewise.
36 * config/tc-score7.c (s7_section_align): Likewise.
37 * config/tc-s390.c (md_section_align): Likewise.
38 * config/tc-rx.c (md_section_align): Likewise.
39 * config/tc-rl78.c (md_section_align): Likewise.
40 * config/tc-ppc.c (md_section_align): Likewise.
41 * config/tc-or1k.c (md_section_align): Likewise.
42 * config/tc-nds32.c (md_section_align): Likewise.
43 * config/tc-mt.c (md_section_align): Likewise.
44 * config/tc-msp430.c (md_section_align): Likewise.
45 * config/tc-mn10300.c (md_section_align): Likewise.
46 * config/tc-mn10200.c (md_section_align): Likewise.
47 * config/tc-mips.c (md_section_align): Likewise.
48 * config/tc-microblaze.c (parse_imm): Likewise.
49 * config/tc-mep.c (md_section_align): Likewise.
50 * config/tc-m68k.c (md_section_align): Likewise.
51 * config/tc-m68hc11.c (md_section_align): Likewise.
52 * config/tc-m32r.c (md_section_align): Likewise.
53 * config/tc-m32c.c (md_section_align): Likewise.
54 * config/tc-lm32.c (md_section_align): Likewise.
55 * config/tc-iq2000.c (md_section_align): Likewise.
56 * config/tc-ip2k.c (md_section_align): Likewise.
57 * config/tc-ia64.c (dot_save, dot_vframe): Likewise.
58 * config/tc-i960.c (md_number_to_field, md_section_align): Likewise.
59 * config/tc-i386.c (md_section_align): Likewise.
60 * config/tc-i370.c (md_section_align): Likewise.
61 * config/tc-frv.c (md_section_align): Likewise.
62 * config/tc-fr30.c (md_section_align): Likewise.
63 * config/tc-epiphany.c (md_section_align): Likewise.
64 * config/tc-d30v.c (md_section_align): Likewise.
65 * config/tc-d10v.c (md_section_align): Likewise.
66 * config/tc-cr16.c (l_cons): Likewise.
67 * config/tc-bfin.c (md_section_align): Likewise.
68 * config/tc-arm.c (md_section_align): Likewise.
69 * config/tc-arc.c (md_section_align): Likewise.
70 * config/bfin-parse.y (expr_1): Likewise.
71
72 2015-11-02 Nick Clifton <nickc@redhat.com>
73
74 * config/rx-parse.y: Allow zero value for 5-bit displacements.
75
76 2015-11-02 Nick Clifton <nickc@redhat.com>
77
78 * config/tc-rx.c (parse_rx_section): Align parameter provides a
79 multiple of n argument, not a power of n argument.
80
81 2015-10-29 Nick Clifton <nickc@redhat.com>
82
83 * config/tc-aarch64.c (elf64_aarch64_target_format): Select the
84 cloudabi format if the TARGET_OS is cloudabi.
85
86 2015-10-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
87
88 * config/tc-arm.c (insns): Guard cps by arm_ext_v6_notm instead of
89 arm_ext_v6_dsp.
90
91 2015-10-28 Claudiu Zissulescu <claziss@synopsys.com>
92
93 * config/tc-arc.c (tokenize_arguments): Avoid creating unused
94 symbols when parsing relocation types.
95 (md_apply_fix): Handle TLS relocations. Fix BFD_RELOC_ARC_32_PCREL
96 relocation.
97 (arc_check_reloc): Emit BFD_RELOC_ARC_32_PCREL relocation.
98
99 2015-10-27 Jim Wilson <jim.wilson@linaro.org>
100
101 * config/tc-arm.c (selected_cpu_name): Increase length of array to
102 accomodate "Samsung Exynos M1".
103 (arm_parse_cpu): Add assertion and length check to prevent
104 overfilling selected_cpu_name.
105
106 2015-10-22 Nick Clifton <nickc@redhat.com>
107
108 * config/tc-msp430.c (PUSH_1X_WORKAROUND): Delete.
109 (OPTION_SILICON_ERRATA): Define.
110 (OPTION_SILICON_WARN): Define.
111 (md_parse_opton): Handle silicon errata options.
112 (md_longopts): Add silicon errata options.
113 (ms_show_usage): Report silicon errata options.
114 (msp430_srcoperand): Handle silicon errata.
115 (msp430_operands): Likewise. Improve nop insertion.
116 (msp430_fix_adjustable): Update warning generation.
117 * doc/c-msp430.texi: Document silicon errata options.
118
119 2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
120
121 * configure.ac: Properly check
122 --enable-compressed-debug-sections={yes,all}.
123 * configure: Regenerated.
124
125 2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
126
127 PR gas/19109
128 * configure.ac: Handle --enable-compressed-debug-sections=*,gas,*.
129 * configure: Regenerated.
130
131 2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
132
133 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
134 BFD_RELOC_X86_64_GOTPCRELX and BFD_RELOC_X86_64_REX_GOTPCRELX.
135 (tc_gen_reloc): Likewise.
136 (i386_validate_fix): Generate BFD_RELOC_X86_64_GOTPCRELX or
137 BFD_RELOC_X86_64_REX_GOTPCRELX if fx_tcbit2 is set.
138 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Also return
139 true for BFD_RELOC_X86_64_GOTPCRELX and
140 BFD_RELOC_X86_64_REX_GOTPCRELX.
141
142 2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
143
144 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
145 BFD_RELOC_386_GOT32X.
146 (tc_gen_reloc): Likewise.
147 (match_template): Force 0x8b encoding for "mov foo@GOT, %eax".
148 (output_disp): Check for "call/jmp *mem", "mov mem, %reg",
149 "test %reg, mem" and "binop mem, %reg" where binop is one of
150 adc, add, and, cmp, or, sbb, sub, xor instructions. Set
151 fx_tcbit if the REX prefix is generated. Set fx_tcbit2 if
152 BFD_RELOC_386_GOT32X should be generated.
153 (i386_validate_fix): Generate BFD_RELOC_386_GOT32X if fx_tcbit2
154 is set.
155
156 2015-10-21 Nick Clifton <nickc@redhat.com>
157
158 PR gas/19109
159 * configure.ac: Restore --enable-compressed-debug-sections, with
160 options of all, none or gas.
161 Do not enable compressed debug sections by default for x86 Linux
162 targets.
163 * configure: Regenerate.
164
165 2015-10-20 H.J. Lu <hongjiu.lu@intel.com>
166
167 PR gas/19109
168 * NEWS: Update --enable-compressed-debug-sections=.
169 * configure.ac: Remove --enable-compressed-debug-sections.
170 (DEFAULT_FLAG_COMPRESS_DEBUG): Check
171 --enable-compressed-debug-sections={all,gas} instead of
172 --enable-compressed-debug-sections. For x86 Linux targets,
173 default to compressing debug sections.
174 * configure: Regenerated.
175
176 2015-10-19 Nick Clifton <nickc@redhat.com>
177
178 PR gas/19109
179 * configure.ac: Add option --enable-compressed-debug-sections.
180 This sets the default behaviour for compressing debug sections.
181 * as.c (flag_compress_debug): Define and initialise to
182 COMPRESS_DEBUG_GABI_ZLIB if DEFAULT_COMPRESS_DEBUG is set.
183 (show_usage): Indicate whether --no-compress-debug-sections
184 or --compress-debug-sections is the default.
185 * config/tc-i386.c (flag_compress_debug): Delete definition.
186 * doc/as.texinfo (--nocompress-debug-sectionas): Update
187 description.
188 * NEWS: Announce the new feature.
189 * config.in: Regenerate.
190 * configure: Regenerate.
191
192 2015-10-12 Nick Clifton <nickc@redhat.com>
193
194 * config/tc-msp430.c (msp430_mcu_names): Rename to
195 msp430_mcu_data. Add fields for the ISA and hardware multiply
196 support. Update with information from the latest devices.csv
197 file.
198 (md_parse_option): Make use of the new array.
199
200 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
201
202 * config/tc-avr.c (avr_output_property_record): Fix overwrite bug
203 for align and fill records.
204 (avr_handle_align): Record fill information for align frags.
205 (create_record_for_frag): Add next frag assertion, use correct
206 address for align records.
207
208 2015-10-10 Alan Modra <amodra@gmail.com>
209
210 PR gas/19113
211 * read.c (next_char_of_string): Mask char after escape. Use
212 CHAR_MASK rather than 0xff.
213
214 2015-10-07 Yao Qi <yao.qi@linaro.org>
215
216 * config/tc-aarch64.c (md_begin): Access field 'name' rather
217 than 'template'.
218
219 2015-10-07 Claudiu Zissulescu <claziss@synopsys.com>
220
221 * config/tc-arc.c: Revamped file for ARC support.
222 * config/tc-arc.h: Likewise.
223 * doc/as.texinfo: Add new ARC options.
224 * doc/c-arc.texi: Likewise.
225
226 2015-10-02 Renlin Li <renlin.li@arm.com>
227
228 * config/tc-aarch64.c (s_tlsdescadd): New.
229 (s_tlsdescldr): New.
230 (md_pseudo_table): Handle tlsdescadd and tlsdescldr pseudo ops.
231 (reloc_table): Add entries for BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC and
232 BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC.
233 (process_movw_reloc_info): Support AARCH64_TLSDESC_OFF_G1 and
234 AARCH64_TLSDESC_OFF_G0_NC.
235 (md_apply_fix): Likewise.
236 (aarch64_force_relocation): Likewise.
237
238 2015-10-02 Renlin Li <renlin.li@arm.com>
239
240 * config/tc-aarch64.c (reloc_table): Add two entries for
241 gottprel_g0_nc and gottprel_g1.
242 (process_movw_reloc_info): Add support.
243 (md_apply_fix): Likewise.
244 (aarch64_force_relocation): Likewise.
245
246 2015-10-02 Renlin Li <renlin.li@arm.com>
247
248 * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g0_nc.
249 (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
250 (md_apply_fix): Likewise.
251 (aarch64_force_relocation): Likewise.
252
253 2015-10-02 Renlin Li <renlin.li@arm.com>
254
255 * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g1.
256 (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
257 (md_apply_fix): Likewise.
258 (aarch64_force_relocation): Likewise.
259
260 2015-10-02 Renlin Li <renlin.li@arm.com>
261
262 * config/tc-aarch64.c (reloc_table): New relocation modifier
263 gotoff_g0_nc.
264 (process_movw_reloc_info): Support gotoff_g0_nc.
265 (md_apply_fix): Likewise.
266
267 2015-10-02 Renlin Li <renlin.li@arm.com>
268
269 * config/tc-aarch64.c (reloc_table): New relocation modifier
270 gotoff_g1.
271 (process_movw_reloc_info): Support newly added modifier.
272 (md_apply_fix): Likewise.
273
274 2015-09-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
275
276 * doc/c-s390.texi: Add documentation.
277 Add missing code markup.
278 * config/tc-s390.c (current_flags): New static variable.
279 (s390_parse_cpu): Parse cpu flags a la "+nohtm" etc.
280 (s390_setup_opcodes): Use cpu flags to determine the set of opcodes.
281 Fix indentation.
282 (md_parse_option): Call s390_parse_cpu with the new signature.
283 (s390_machine): Likewise.
284 Keep track of current_flags.
285 Simplify code a bit.
286 undefine MAX_HISTORY at end of function.
287 (s390_machinemode): undefine MAX_HISTORY at end of function.
288 Update an error message.
289
290 2015-08-11 Peter Zotov <whitequark@whitequark.org>
291
292 PR ld/18759
293 * config/tc-or1k.c (tc_gen_reloc): Correct computation of PC
294 relative relocs.
295 * config/tc-or1k.h (GAS_CGEN_PRCEL_R_TYPE): Delete.
296
297 2015-09-25 Ryo ONODERA <ryo_on@yk.rim.or.jp>
298
299 PR 18994
300 * configure.ac (nds32): Don't use bash == in tests.
301 * configure: Regenerate.
302
303 2015-09-23 Nick Clifton <nickc@redhat.com>
304
305 * config/tc-ppc.c (insn_validate): Cast PPC_OPSHIFT_INV to an int.
306
307 2015-09-22 Nick Clifton <nickc@redhat.com>
308
309 * config/tc-rx.c (nop_7): Recode using MAX.
310
311 2015-09-05 Chen Gang <gang.chen.5i5j@gmail.com>
312
313 * config/tc-avr.c (md_section_align): Append UL for -1 to avoid
314 the latest gcc's warning.
315
316 2015-08-27 Alan Modra <amodra@gmail.com>
317
318 PR gas/18581
319 * config/tc-aarch64.h (TC_START_LABEL): Redefine.
320 * config/tc-arm.c (tc_start_label_without_colon): Delete params.
321 Use input_line_pointer directly.
322 * config/tc-arm.h (TC_START_LABEL): Redefine.
323 (TC_START_LABEL_WITHOUT_COLON): Redefine.
324 (tc_start_label_without_colon): Update prototype.
325 * config/tc-bfin.c (bfin_start_label): Delete ptr param. Check
326 for NUL instead.
327 * config/tc-bfin.h (bfin_start_label): Update prototype.
328 (TC_START_LABEL): Redefine.
329 * config/tc-d30v.h (TC_START_LABEL): Redefine.
330 * config/tc-fr30.c (restore_colon): Rewrite.
331 (fr30_is_colon_insn): Add nul_char param. Return int. Bump
332 i_l_p over quote. Update restore_colon calls.
333 * config/tc-fr30.h (TC_START_LABEL): Redefine.
334 (fr30_is_colon_insn): Update prototype.
335 * config/tc-m32c.c (restore_colon, m32c_is_colon_insn): As above.
336 * config/tc-m32c.h (TC_START_LABEL): Redefine.
337 (m32c_is_colon_insn): Update prototype.
338 * config/tc-m32r.h (TC_START_LABEL): Redefine.
339 * config/tc-mep.h (TC_START_LABEL): Redefine.
340 * config/tc-nds32.h (TC_START_LABEL): Redefine.
341 * config/tc-tic54x.c (tic54x_start_label): Replace params with
342 nul_char and next_char. Step over trailing quote.
343 * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Redefine.
344 (tic54x_start_label): Update prototype.
345 * read.c (TC_START_LABEL): Redefine. Update invocation.
346 (TC_START_LABEL_WITHOUT_COLON): Update invocation.
347 * config/tc-nios2.c (s_nios2_set): Save initial input_line_pointer
348 and restore if calling s_set. Don't restore delim again.
349
350 2015-08-26 Alan Modra <amodra@gmail.com>
351
352 PR gas/18581
353 * config/tc-mn10200.c (md_assemble <mdr>): Move restore_line_pointer
354 call to where input line used to be restored.
355 * config/tc-mn10300.c (md_assemble <usp>): Remove redundant input
356 line restore.
357 * config/tc-tilepro.c (parse_reg_expression): Add regname var.
358
359 2015-08-26 Nick Clifton <nickc@redhat.com>
360
361 PR gas/18842
362 * configure.ac (AS_CHECK_DECLS): Add asprintf.
363 * configure: Regenerate.
364 * config.in: Regenerate.
365
366 2015-08-25 Jose E. Marchesi <jose.marchesi@oracle.com>
367
368 * config/tc-sparc.c (priv_reg_table): New privileged register
369 %pmcdper.
370
371 2015-08-21 Nick Clifton <nickc@redhat.com>
372
373 PR gas/18581
374 * expr.c (get_symbol_end): Rename to get_symbol_name. Add a
375 return parameter pointing to the start of the symbol. Allow
376 symbol names enclosed in double quotes.
377 (restore_line_pointer): New function. Replace the NUL character
378 inserted into the input stream with the given character. If the
379 character was a double quote, advance the input pointer.
380 * expr.h (get_symbol_end): Delete.
381 (get_symbol_name): Add prototype.
382 (restore_line_pointer): Prototype.
383 * read.h (SKIP_WHITESPACE_AFTER_NAME): New macro.
384 * doc/as.texinfo (Symbol Intro): Document that symbol names can
385 now be enclosed in double quotes.
386 * cond.c (s_ifdef): Replace get_symbol_end with get_symbol_name.
387 Use restore_line_pointer to replace the NUL in the input stream.
388 Use SKIP_WHITESPACE_AFTER_NAME to skip past the end of a symbol.
389 Check for the use of double quoted symbol names.
390 * expr.c: Likewise.
391 * config/obj-aout.c: Likewise.
392 * config/obj-coff-seh.c: Likewise.
393 * config/obj-coff.c: Likewise.
394 * config/obj-elf.c: Likewise.
395 * config/obj-evax.c: Likewise.
396 * config/obj-macho.c: Likewise.
397 * config/obj-som.c: Likewise.
398 * config/tc-alpha.c: Likewise.
399 * config/tc-arc.c: Likewise.
400 * config/tc-arm.c: Likewise.
401 * config/tc-dlx.c: Likewise.
402 * config/tc-h8300.c: Likewise.
403 * config/tc-hppa.c: Likewise.
404 * config/tc-i370.c: Likewise.
405 * config/tc-i386-intel.c: Likewise.
406 * config/tc-i386.c: Likewise.
407 * config/tc-i960.c: Likewise.
408 * config/tc-ia64.c: Likewise.
409 * config/tc-iq2000.c: Likewise.
410 * config/tc-m32r.c: Likewise.
411 * config/tc-m68hc11.c: Likewise.
412 * config/tc-m68k.c: Likewise.
413 * config/tc-microblaze.c: Likewise.
414 * config/tc-mips.c: Likewise.
415 * config/tc-mmix.c: Likewise.
416 * config/tc-mn10200.c: Likewise.
417 * config/tc-mn10300.c: Likewise.
418 * config/tc-nios2.c: Likewise.
419 * config/tc-ppc.c: Likewise.
420 * config/tc-s390.c: Likewise.
421 * config/tc-score.c: Likewise.
422 * config/tc-score7.c: Likewise.
423 * config/tc-sparc.c: Likewise.
424 * config/tc-tic4x.c: Likewise.
425 * config/tc-tic54x.c: Likewise.
426 * config/tc-tic6x.c: Likewise.
427 * config/tc-tilegx.c: Likewise.
428 * config/tc-tilepro.c: Likewise.
429 * config/tc-v850.c: Likewise.
430 * config/tc-xtensa.c: Likewise.
431 * config/tc-z80.c: Likewise.
432 * dw2gencfi.c: Likewise.
433 * dwarf2dbgc.: Likewise.
434 * ecoff.c: Likewise.
435 * read.c: Likewise.
436 * stabs.c: Likewise.
437
438 2015-08-19 Jiong Wang <jiong.wang@arm.com>
439
440 * config/tc-aarch64.c (reloc_table): New relocation types support for
441 dtprel_lo12.
442 (ldst_lo12_determine_real_reloc_type): Support
443 BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
444 BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
445 BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
446 BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
447 BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
448 BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
449 BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
450 BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
451 (parse_operands): Likewise.
452 (md_apply_fix): Likewise.
453 (aarch64_force_relocation): Likewise.
454 (process_movw_reloc_info): Likewise.
455
456 2015-08-19 Jiong Wang <jiong.wang@arm.com>
457
458 * config/tc-aarch64.c (reloc_table): New relocation modifiers,
459 "dtprel_hi12", "dtprel_g0", "dtprel_g0_nc", "dtprel_g1",
460 "dtprel_g1_nc", "dtprel_g2".
461 (md_apply_fix): Support new relocation types.
462 (aarch64_force_relocation): Likewise.
463 (process_movw_reloc_info): Likewise.
464
465 2015-08-19 Jiong Wang <jiong.wang@arm.com>
466
467 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
468 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
469 (aarch64_force_relocation): Likewise.
470
471 2015-08-17 Alan Modra <amodra@gmail.com>
472
473 * gas/config/tc-arm.c (s_align): Delete.
474 (md_pseudo_table): Use s_align_ptwo for "align".
475 * gas/config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define.
476 * read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT.
477
478 2015-08-13 Alan Modra <amodra@gmail.com>
479
480 * expr.c (operand): Rewrite handling of operands starting with "0f".
481 If atof_generic only parses "-" or "+", treat as expression.
482
483 2015-08-13 Alan Modra <amodra@gmail.com>
484 DJ Delorie <dj@redhat.com>
485
486 * expr.c (integer_constant): Return O_absent expression if eol.
487 (operand): For targets with both LOCAL_LABELS_FB and
488 NUMBERS_WITH_SUFFIX set, treat "0b" not followed by binary
489 digits as a local label reference. Correct handling of 0b prefix.
490 If a suffix is not allowed, error on 0B.
491
492 2015-08-13 Alan Modra <amodra@gmail.com>
493
494 * doc/as.texinfo (Local Labels): Allowed range of N in local
495 labels is non-negative integers, not positive integers.
496
497 2015-08-12 David Weatherford <weath@cadence.com>
498
499 * config/tc-xtensa.c (struct litpool_frag, struct litpool_seg):
500 New structures.
501 (xtensa_maybe_create_literal_pool_frag): New function.
502 (litpool_seg_list, auto_litpools, auto_litpool_limit)
503 (litpool_buf, litpool_slotbuf): New static variables.
504 (option_auto_litpools, option_no_auto_litpools)
505 (option_auto_litpool_limit): New enum identifiers.
506 (md_longopts): Add entries for auto-litpools, no-auto-litpools
507 and auto-litpool-limit.
508 (md_parse_option): Handle option_auto_litpools,
509 option_no_auto_litpools and option_auto_litpool_limit.
510 (md_show_usage): Add help for --[no-]auto-litpools and
511 --auto-litpool-limit.
512 (xtensa_mark_literal_pool_location): Record a place for literal
513 pool with a call to xtensa_maybe_create_literal_pool_frag.
514 (get_literal_pool_location): Find highest priority literal pool
515 or convert candidate to literal pool when auto-litpools are used.
516 (xg_assemble_vliw_tokens): Create literal pool after jump
517 instruction.
518 (xtensa_check_frag_count): Create candidate literal pool every
519 auto_litpool_limit frags.
520 (xtensa_relax_frag): Add jump around literals to non-empty
521 literal pool.
522 (xtensa_move_literals): Estimate literal pool addresses and move
523 unreachable literals closer to their users, converting candidate
524 to literal pool if needed.
525 (xtensa_switch_to_non_abs_literal_fragment): Only emit error
526 about missing .literal_position in case auto-litpools are not
527 used.
528 * config/tc-xtensa.h (xtensa_relax_statesE): New relaxation
529 state: RELAX_LITERAL_POOL_CANDIDATE_BEGIN.
530 * doc/as.texinfo (Xtensa options): Document --auto-litpools and
531 --no-auto-litpools options.
532 * doc/c-xtensa.texi (Xtensa options): Likewise.
533
534 2015-08-12 Simon Dardis <simon.dardis@imgtec.com>
535
536 * config/tc-mips.c (move_register): Change to use 'or' only.
537 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
538 use or for move.
539
540 2015-08-11 Jiong Wang <jiong.wang@arm.com>
541
542 * config/tc-aarch64.c (reloc_table): New relocation modifiers
543 "dtprel_lo12".
544 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
545 (aarch64_force_relocation): Likewise.
546
547 2015-08-11 Jiong Wang <jiong.wang@arm.com>
548
549 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
550 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
551 (aarch64_force_relocation): Likewise.
552
553 2015-08-11 Jiong Wang <jiong.wang@arm.com>
554
555 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
556 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
557 (aarch64_force_relocation): Likewise.
558
559 2015-08-11 Nick Clifton <nickc@redhat.com>
560
561 PR gas/18765
562 * config/tc-arm.c (move_or_literal_pool): Use U suffix to remove
563 compile time warnings about constant expressions being shifted
564 into bit 31.
565 (do_iwmmxt_wldstd): Likewise.
566 (do_iwmmxt_wrwrwr_or_imm5): Likewise.
567 (md_assemble): Likewise.
568
569 PR gas/18574
570 * config/tc-msp430.c (msp430_operands): Rewrite if statements to
571 remove redundant checks.
572 (md_apply_fix): Likewise.
573
574 PR gas/18677
575 * config/tc-mmix.c (md_assemble): Fix typo checking operands with
576 a numeric constant value.
577
578 PR gas/18678
579 * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
580
581 PR gas/18679
582 * config/xtensa-relax.c (same_operand_name): Fix typo.
583
584 2015-08-08 Hans-Peter Nilsson <hp@axis.com>
585
586 * tc-arm.c (double_to_single, is_double_a_single): Append ULL to
587 0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts.
588
589 2015-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
590
591 * doc/c-aarch64.texi (.xword): Document directive.
592
593 2015-08-03 Nick Clifton <nickc@redhat.com>
594
595 * doc/as.texinfo (Overview): Add --hash-size to the synopsis and
596 fix typo in its entry: @kindex -> @item.
597
598 2015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
599
600 * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
601 * doc/c-mips.texi: Document m5100 and m5101 for -march=.
602
603 2015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
604
605 * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
606 * doc/c-mips.text: Document -march=interaptiv.
607
608 2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
609
610 * configure: Regenerated.
611
612 2015-07-24 Nick Clifton <nickc@redhat.com>
613
614 * config/tc-rl78.c (rl78_abs_sym): New local variable.
615 (md_begin): Initialise the new symbol.
616 (OPIMM): Define the value to be relative to the new symbol and not
617 the absolute section symbol.
618
619 2015-07-22 Alan Modra <amodra@gmail.com>
620
621 PR gas/18687
622 * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
623 loop. Don't drop lines at end of file lacking a newline, add a
624 newline instead. Ensure partial_size is zero whenever
625 partial_where is NULL. Adjust buffer size for extra char.
626 (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
627
628 2015-07-20 Matthew Wahab <matthew.wahab@arm.com>
629
630 * NEWS: Mention corrected spelling of armv6kz.
631 * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
632 ARM_ARCH_V6KZ.
633 (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
634 * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
635
636 2015-07-16 Jiong Wang <jiong.wang@arm.com>
637
638 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
639 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
640 (aarch64_force_relocation): Ditto.
641
642 2015-07-16 Matthew Wahab <matthew.wahab@arm.com>
643
644 * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
645 * doc/c-arm.texi (-mfpu=): Likewise. Correct the entry for
646 neon-fp-armv8.1.
647
648 2015-07-16 James Greenhalgh <james.greenhalgh@arm.com>
649
650 * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
651 not support ARM mode" error messages.
652
653 2015-07-15 H.J. Lu <hongjiu.lu@intel.com>
654
655 * config/tc-i386.c (flag_compress_debug): Replace
656 COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
657
658 2015-07-14 H.J. Lu <hongjiu.lu@intel.com>
659
660 * as.c (parse_args): Make --compress-debug-sections and
661 --compress-debug-sections=zlib the same as
662 --compress-debug-sections=zlib-gabi.
663 * doc/as.texinfo: Change --compress-debug-sections and
664 --compress-debug-sections=zlib to zlib-gabi.
665
666 2015-07-09 Catherine Moore <clm@codesourcery.com>
667
668 * config/tc-mips.c (check_fpabi): Handle
669 VAL_GNU_MIPS_ABI_FP_NAN2008.
670
671 2015-07-08 Ciro Santilli <ciro.santilli@gmail.com>
672
673 * doc/as.texinfo: Clarify case requirements for pseudo ops.
674
675 2015-07-08 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
676
677 * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
678 32 bit PC relative and update offset if the fixup is pc-relative.
679 * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
680 relocs.
681
682 2015-07-03 Alan Modra <amodra@gmail.com>
683
684 * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
685 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
686
687 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
688 Cesar Philippidis <cesar@codesourcery.com>
689
690 * config/tc-nios2.c (nios2_min_align): New.
691 (nop): Replace with....
692 (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
693 (nios2_align): Handle alignment on 2-byte boundaries when CDX
694 instructions may be present.
695 (s_nios2_align): Adjust reference to nop.
696 (CDXBRANCH, IS_CDXBRANCH): New.
697 (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
698 (nios2_relax_subtype_size): Handle 2-byte CDX branches.
699 (nios2_relax_frag): Likewise.
700 (md_convert_frag): Handle R2 encodings.
701 (nios2_check_overflow): Check that low-order bits are zero
702 before applying rightshift from howto.
703 (nios2_check_overflow): Correct negative overflow calculation.
704 (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue
705 generic overflow messages for miscellaneous instruction formats.
706 (md_apply_fix): Recognize new R2 relocations. For pc_relative
707 relocations, store fixup in *valP.
708 (nios2_reglist_mask, nios2_reglist_dir): New.
709 (nios2_parse_reglist): New.
710 (nios2_parse_base_register): New.
711 (nios2_assemble_expression): Handle constant expressions designated
712 by BFD_RELOC_NONE.
713 (nios2_assemble_reg3): New.
714 (nios2_assemble_arg_c): Handle R2 instruction formats.
715 (nios2_assemble_arg_d): Likewise.
716 (nios2_assemble_arg_s): Likewise.
717 (nios2_assemble_arg_t): Likewise.
718 (nios2_assemble_arg_D): New.
719 (nios2_assemble_arg_S): New.
720 (nios2_assemble_arg_T): New.
721 (nios2_assemble_arg_i): Handle R2 instruction formats.
722 (nios2_assemble_arg_I): New.
723 (nios2_assemble_arg_u): Handle R2 instruction formats.
724 (nios2_assemble_arg_U): New.
725 (nios2_assemble_arg_V): New.
726 (nios2_assemble_arg_W): New.
727 (nios2_assemble_arg_X): New.
728 (nios2_assemble_arg_Y): New.
729 (nios2_assemble_arg_o): Handle R2 instruction formats.
730 (nios2_assemble_arg_O): New.
731 (nios2_assemble_arg_P): New.
732 (nios2_assemble_arg_j): Handle R2 instruction formats.
733 (nios2_assemble_arg_k): New.
734 (nios2_assemble_arg_l): Handle R2 instruction formats.
735 (nios2_assemble_arg_m): Likewise.
736 (nios2_assemble_arg_M): New.
737 (nios2_assemble_arg_N): New.
738 (nios2_assemble_arg_e): New.
739 (nios2_assemble_arg_f): New.
740 (nios2_assemble_arg_g): New.
741 (nios2_assemble_arg_h): New.
742 (nios2_assemble_arg_R): New.
743 (nios2_assemble_arg_B): New.
744 (nios2_assemble_args): Handle new argument letters.
745 (nios2_consume_arg): Likewise.
746 (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
747 in error message.
748 (nios2_ps_insn_info_structs): Add nop.n.
749 (output_ubranch): Handle CDX branches.
750 (output_cbranch): Likewise.
751 (output_call): Handle R2 encodings.
752 (output_movia): Likewise.
753 (md_begin): Initialize nios2_min_align.
754 (md_assemble): Align to nios2_min_align. Adjust nios2_min_align
755 if a 16-bit instruction is seen.
756 (nios2_cons_align): Use appropriate nop pattern.
757
758 2015-07-01 Sandra Loosemore <sandra@codesourcery.com>
759 Cesar Philippidis <cesar@codesourcery.com>
760
761 * config/tc-nios2.c: Adjust includes.
762 (OPTION_MARCH): Define.
763 (md_longopts): Add -march option.
764 (nios2_architecture): New.
765 (nios2_use_arch): New.
766 (md_parse_option): Handle OPTION_MARCH.
767 (md_show_usage): Document -march.
768 (md_begin): Set arch in BFD.
769 (nios2_elf_final_processing): New.
770 * config/tc-nios2.h (elf_tc_final_processing): Define.
771 (nios2_elf_final_processing): New.
772 * doc/c-nios2.texi (-march): Add documentation.
773
774 2015-06-30 Amit Pawar <Amit.Pawar@amd.com>
775
776 * config/tc-i386.c (cpu_arch): Add .mwaitx.
777 (process_immext): Check operands for monitorx/mwaitx instructions.
778 * doc/c-i386.texi: Document mwaitx.
779
780 2015-06-28 H.J. Lu <hongjiu.lu@intel.com>
781
782 * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
783 COMPRESS_DEBUG_GNU_ZLIB.
784 * config/tc-i386.c (flag_compress_debug): Likewise.
785
786 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
787
788 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
789
790 2015-06-19 Peter Bergner <bergner@vnet.ibm.com>
791
792 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
793 Allow for optional operands without insert functions.
794
795 2015-06-18 Nick Clifton <nickc@redhat.com>
796
797 PR gas/18541
798 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
799 mode against a nearby symbol.
800
801 2015-06-18 Nick Clifton <nickc@redhat.com>
802
803 PR gas/18481
804 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
805 in the same case as BFD_RELOC_ARM_TLS_IS32.
806
807 2015-06-17 Nick Clifton <nickc@redhat.com>
808
809 * config/tc-arm.c (is_double_a_single): Make conditional upon the
810 availablity of a 64-bit type. Use this type for the argument and
811 mantissa.
812 (double_to_single): Likewise.
813 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
814 the constant value, if available. Generate a 64-bit value from a
815 bignum if supported. Only perform the second optimization for
816 PR 18500 if the 64-bit type is available.
817
818 2015-06-17 Alessandro Marzocchi <alessandro.marzocchi@gmail.com>
819
820 PR gas/18500
821 * config/tc-arm.c (is_double_a_single): New function.
822 (double_to_single): New function.
823 (move_or_literal_pool): Add support for converting VLDR to VMOV.
824
825 PR gas/18499
826 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
827 to MOV.w or MVN.w for Thumb2.
828
829 2015-06-17 Nicolas Pitre <nico@linaro.org>
830
831 * as.c (show_usage): Document --sectname-subst.
832 (parse_args): Add --sectname-subst.
833 * as.h (flag_sectname_subst): New.
834 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
835 * doc/as.texinfo: Document it.
836
837 2015-06-15 Renlin Li <renlin.li@arm.com>
838
839 * config/tc-aarch64.c (reloc_table): New relocation modifier.
840 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
841 (aarch64_force_relocation): Ditto
842
843 2015-06-13 Mark Wielaard <mjw@redhat.com>
844
845 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
846 out_debug_aranges depends on it.
847 (out_debug_aranges): Track size of header to properly pad header
848 for address alignment.
849
850 2015-06-11 John David Anglin <danglin@gcc.gnu.org>
851
852 PR gas/18427
853 * gas/config/tc-hppa.c (last_label_symbol): Declare.
854 (pa_get_label): Return last label in current space/segment or NULL.
855 (pa_define_label): Record last label and add to root.
856 (pa_undefine_label): Remove last label from root.
857
858 2015-06-08 Nick Clifton <nickc@redhat.com>
859
860 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
861
862 2015-06-04 Matthew Wahab <matthew.wahab@arm.com>
863
864 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
865 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
866 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
867
868 2015-06-04 Renlin Li <renlin.li@arm.com>
869
870 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
871 when available.
872
873 2015-06-04 Nick Clifton <nickc@redhat.com>
874
875 * config/tc-h8300.c (md_section_align): Fix compile time warning
876 about left shifting a negative value.
877
878 2015-06-03 Matthew Wahab <matthew.wahab@arm.com>
879
880 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
881 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
882 * NEWS: Mention ARMv8.1 support.
883
884 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
885
886 * config/tc-arm.c (arm_ext_pan): New.
887 (do_setpan): New, encode an ARM SETPAN instruction.
888 (do_t_setpan): New, encode a Thumb SETPAN instruction.
889 (insns): Add "setpan".
890 (arm_extensions): Add "pan".
891 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
892 extensions.
893
894 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
895
896 * config/tc-aarch64.c (aarch64_features): Add "rdma".
897 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
898
899 2015-06-02 Matthew Wahab <matthew.wahab@arm.com>
900
901 * config/tc-aarch64.c (aarch64_features): Add "lor".
902 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
903 architecture extensions.
904
905 2015-06-01 Matthew Wahab <matthew.wahab@arm.com>
906
907 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
908 support. Fix whitespace.
909 (parse_operands): Update for parse_sys_reg changes.
910 (aarch64_features): Add "pan".
911 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
912
913 2015-06-01 Jiong Wang <jiong.wang@arm.com>
914
915 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
916 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
917 (aarch64_force_relocation): Ditto.
918
919 2015-06-01 Jiong Wang <jiong.wang@arm.com>
920
921 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
922 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
923 (aarch64_force_relocation): Ditto.
924
925 2015-05-28 Catherine Moore <clm@codesourcery.com>
926 Bernd Schmidt <bernds@codesourcery.com>
927 Paul Brook <paul@codesourcery.com>
928
929 gas/
930 * config/tc-alpha.c (all_cfi_sections): Declare.
931 (s_alpha_ent): Initialize all_cfi_sections.
932 (alpha_elf_md_end): Invoke cfi_set_sections.
933 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
934 (s_ehword): Use BFD_RELOC_32_PCREL.
935 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
936 (mips_cfi_reloc_for_encoding): New function.
937 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
938 (DWARF2_FDE_RELOC_ENCODING): Define.
939 (tc_cfi_reloc_for_encoding): Define.
940 (mips_cfi_reloc_for_encoding): Define.
941 (tc_compact_eh_opcode_stop): Define.
942 (tc_compact_eh_opcode_pad): Define.
943 * doc/as.texinfo: Document Compact EH extensions.
944 * doc/internals.texi: Likewise.
945 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
946 (tc_cfi_reloc_for_encoding): Provide default.
947 (compact_eh): Declare.
948 (emit_expr_encoded): New function.
949 (get_debugseg_name): Add Compact EH support.
950 (alloc_debugseg_item): Likewise.
951 (cfi_set_sections): New function.
952 (dot_cfi_fde_data): New function.
953 (dot_cfi_personality_id): New function.
954 (dot_cfi_inline_lsda): New function.
955 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
956 and cfi_inline_lsda.
957 (dot_cfi_personality): Add Compact EH support.
958 (dot_cfi_lsda): Likewise.
959 (dot_cfi_sections): Likewise.
960 (dot_cfi_startproc): Likewise.
961 (get_cfi_seg): Likewise.
962 (output_compact_unwind_data): New function.
963 (output_cfi_insn): Add Compact EH support.
964 (output_cie): Likewise.
965 (output_fde): Likewise.
966 (cfi_finish): Likewise.
967 (cfi_emit_eh_header): New function.
968 (output_eh_header): New function.
969 * dw2gencfi.h (cfi_set_sections): Declare.
970 (SUPPORT_COMPACT_EH): Define.
971 (MULTIPLE_FRAME_SECTIONS): Define.
972 New enumeration to describe the Compact EH header format.
973 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
974 eh_data, eh_loc and sections.
975 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
976 CFI_EMIT_eh_frame_compact): Define.
977
978 2015-05-26 Max Filippov <jcmvbkbc@gmail.com>
979
980 * config/tc-xtensa.c (xtensa_move_literals): Check that
981 search_frag is non-NULL. Report error if literal frag is not
982 found.
983
984 2015-05-22 Nick Clifton <nickc@redhat.com>
985
986 PR gas/18446
987 * read.c (output_big_sleb128): Use U suffix to prevent compile
988 time warning.
989
990 2015-05-19 Jiong Wang <jiong.wang@arm.com>
991
992 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
993 labels alphabetically.
994 (md_apply_fix): Ditto.
995 (aarch64_force_relocation): Ditto.
996
997 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
998
999 PR binutis/18386
1000 * config/tc-i386.c (OPTION_MAMD64): New.
1001 (OPTION_MINTEL64): Likewise.
1002 (md_longopts): Add -mamd64 and -mintel64.
1003 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
1004 (md_show_usage): Add -mamd64 and -mintel64.
1005 * doc/c-i386.texi: Document -mamd64 and -mintel64.
1006
1007 2015-05-15 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 * config/tc-i386.c (shared): New.
1010 (OPTION_MSHARED): Likewise.
1011 (elf_symbol_resolved_in_segment_p): Add relocation argument.
1012 Check PLT relocations and shared.
1013 (md_estimate_size_before_relax): Pass fragP->fr_var to
1014 elf_symbol_resolved_in_segment_p.
1015 (md_longopts): Add -mshared.
1016 (md_show_usage): Likewise.
1017 (md_parse_option): Handle OPTION_MSHARED.
1018 * doc/c-i386.texi: Document -mshared.
1019
1020 2015-05-14 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 * write.c (compress_debug): Don't write the zlib header, which
1023 is handled by bfd_update_compression_header.
1024
1025 2015-05-13 Max Filippov <jcmvbkbc@gmail.com>
1026
1027 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
1028 closer than J_RANGE / 2 to jump frag.
1029
1030 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
1031
1032 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
1033 * config/tc-i386.c (i386_mach): Support iamcu.
1034 (i386_target_format): Likewise.
1035
1036 2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
1037
1038 * config/tc-i386.c (cpu_arch): Add iamcu.
1039 (i386_align_code): Handle PROCESSOR_IAMCU.
1040 (i386_arch): Likewise.
1041 (i386_mach): Likewise.
1042 (i386_target_format): Likewise.
1043 (valid_iamcu_cpu_flags): New function.
1044 (check_cpu_arch_compatible): Only allow Intel MCU instructions
1045 when targeting Intel MCU.
1046 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
1047 are valid for Intel MCU.
1048 (md_parse_option): Likewise.
1049 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
1050 (processor_type): Add PROCESSOR_IAMCU.
1051 * doc/c-i386.texi: Document iamcu.
1052
1053 2015-05-08 Nick Clifton <nickc@redhat.com>
1054
1055 PR gas/18347
1056 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
1057 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
1058 the symbol name checking code to here from...
1059 (md_undefined_symbo): ... here.
1060
1061 2015-05-07 H.J. Lu <hongjiu.lu@intel.com>
1062
1063 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
1064 (md_estimate_size_before_relax): Use it.
1065
1066 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
1067
1068 * config/tc-sparc.c: Typo in comment fixed.
1069
1070 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
1071
1072 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
1073 condition codes
1074 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
1075
1076 2015-05-06 Nick Clifton <nickc@redhat.com>
1077
1078 * doc/as.texinfo (Dollar Local Labels): Note that these are only
1079 supported on some targets.
1080
1081 2015-05-06 Renlin Li <renlin.li@arm.com>
1082
1083 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
1084
1085 2015-05-05 Renlin Li <renlin.li@arm.com>
1086
1087 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
1088 symbols.
1089
1090 2015-05-05 Nick Clifton <nickc@redhat.com>
1091
1092 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
1093 (msp430_make_init_symbols): New function.
1094 (msp430_section): Call it.
1095 (msp430_frob_section): Likewise.
1096
1097 2015-05-02 Max Filippov <jcmvbkbc@gmail.com>
1098
1099 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
1100 (struct cached_fixup, struct fixup_cache): New structures.
1101 (fixup_order, xtensa_make_cached_fixup),
1102 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
1103 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
1104 (xtensa_add_cached_fixup): New functions.
1105 (xtensa_relax_frag): Cache fixups pointing at potentially
1106 oversized jumps at the beginning of every relaxation pass. Only
1107 check subset of this cache in the reach of single jump from the
1108 trampoline frag currently being relaxed.
1109
1110 2015-05-01 Nick Clifton <nickc@redhat.com>
1111
1112 * config/rl78-parse.y (MULU): Remove ISA_G14.
1113 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
1114
1115 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
1116
1117 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
1118 * config/tc-i386.h (md_end): Likewise.
1119 (i386_elf_emit_arch_note): Likewise.
1120
1121 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
1122
1123 * configure.tgt: Support i386-*-elf*.
1124
1125 2015-04-30 DJ Delorie <dj@redhat.com>
1126
1127 * config/rl78-defs.h (rl78_isa_g10): New.
1128 (rl78_isa_g13): New.
1129 (rl78_isa_g14): New.
1130 * config/rl78-parse.y (ISA_G10): New.
1131 (ISA_G13): New.
1132 (ISA_G14): New.
1133 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
1134 * config/tc-rl78.c (rl78_isa_g10): New.
1135 (rl78_isa_g13): New.
1136 (rl78_isa_g14): New.
1137
1138 2015-04-30 H.J. Lu <hongjiu.lu@intel.com>
1139
1140 * config/tc-i386.c (i386_target_format): Use "else if" on
1141 cpu_arch_isa.
1142
1143 2015-04-30 Nick Clifton <nickc@redhat.com>
1144
1145 PR gas/18347
1146 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
1147 (if enabled) when the user creates a symbol with the same name as
1148 an ARM instruction.
1149 (flag_warn_syms): New static variable.
1150 (arm_opts): Add mwarn-syms and mno-warn-syms.
1151 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
1152 options.
1153
1154 PR gas/18353
1155 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
1156
1157 2015-04-29 Nick Clifton <nickc@redhat.com>
1158
1159 PR 18256
1160 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
1161 if the operand is neither a register nor a vector.
1162
1163 2015-04-29 Nick Clifton <nickc@redhat.com>
1164
1165 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
1166 times if the expression is not constant and the target uses linker
1167 relaxation.
1168
1169 2015-04-28 Renlin Li <renlin.li@arm.com>
1170
1171 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
1172
1173 2015-04-28 Nick Clifton <nickc@redhat.com>
1174
1175 PR 18313
1176 * cond.c (s_if): Stop compile time warning about stopc being used
1177 before it is set.
1178 (s_ifc): Likewise.
1179
1180 2015-04-27 Renlin Li <renlin.li@arm.com>
1181
1182 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
1183 section.
1184 (md_assemble): Likewise, move the align code outside the loop.
1185
1186 2015-04-24 Jim Wilson <jim.wilson@linaro.org>
1187
1188 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
1189 for thunderx.
1190
1191 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
1192
1193 * config/tc-arm.h (arm_min): New function.
1194 (SUB_SEGMENT_ALIGN): Define.
1195
1196 2015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
1197
1198 * config/tc-mips.c (macro): State the recommended way of creating
1199 32-bit or 64-bit addresses.
1200
1201 2015-04-23 Jan Beulich <jbeulich@suse.com>
1202
1203 * config/tc-i386.c (match_mem_size): Also allow no size
1204 specification when broadcasting.
1205
1206 2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
1207
1208 * doc/as.texinfo (Bundle directives): Shorten menu entry and
1209 use @subsection.
1210 (CFI directives): Use @subsection.
1211 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
1212 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
1213
1214 2015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1215
1216 * config/tc-avr.c (create_record_for_frag): Rename link to
1217 prop_rec_link.
1218
1219 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
1220
1221 * NEWS: Mention
1222 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
1223
1224 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
1225
1226 * as.h (compressed_debug_section_type): Removed.
1227
1228 2015-04-14 Nick Clifton <nickc@redhat.com>
1229
1230 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
1231 (TC_FORCE_RELOCATION_SUB_SAME): Define.
1232 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
1233
1234 2015-04-10 Nick Clifton <nickc@redhat.com>
1235
1236 PR binutils/18198
1237 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
1238 the -EB option with the linker's --be8 option.
1239
1240 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
1241
1242 * doc/c-rx.texi: Fix markup typos in last change.
1243
1244 2015-04-09 Nick Clifton <nickc@redhat.com>
1245
1246 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
1247 (md_longopts): Add -mno-allow-string-insns.
1248 (md_parse_option): Handle -mno-allow-string-insns.
1249 (md_show_usage): Mention -mno-allow-string-insns.
1250 (rx_note_string_insn_use): New function. Produces an error
1251 message if a string insn is used when it is not allowed.
1252 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
1253 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
1254 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
1255 * doc/c-rx.texi: Document -mno-allow-string-insns.
1256
1257 2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
1258
1259 * as.c (show_usage): Update --compress-debug-sections.
1260 (std_longopts): Use optional_argument on compress-debug-sections.
1261 (parse_args): Handle
1262 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1263 * as.h (compressed_debug_section_type): New.
1264 (flag_compress_debug): Change type to compressed_debug_section_type.
1265 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1266 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
1267 --compress-debug-sections=zlib-gabi. Call
1268 bfd_get_compression_header_size to get compression header size.
1269 Don't rename section name for --compress-debug-sections=zlib-gabi.
1270 * config/tc-i386.c (compressed_debug_section_type): Set to
1271 COMPRESS_DEBUG_ZLIB.
1272 * doc/as.texinfo: Document
1273 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1274
1275 2015-04-07 Renlin Li <renlin.li@arm.com>
1276
1277 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
1278 (s_aarch64_inst): Likewise.
1279 (md_assemble): Likewise.
1280
1281 2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
1282
1283 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
1284 section size.
1285
1286 2015-04-05 H.J. Lu <hongjiu.lu@intel.com>
1287
1288 * write.c (compress_debug): Don't write the zlib header if
1289 compressed section size is the same as before compression.
1290
1291 2015-04-02 Nick Clifton <nickc@redhat.com>
1292
1293 PR gas/18189
1294 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
1295 min and max parameters. Sign extend values before testing.
1296
1297 2015-04-02 Renlin Li <renlin.li@arm.com>
1298
1299 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
1300 (mapping_state_2): Don't emit MAP_DATA here.
1301 (s_aarch64_inst): Align frag during state transition.
1302 (md_assemble): Likewise.
1303
1304 2015-04-02 Ed Maste <emaste@freebsd.org>
1305
1306 * config/tc-aarch64.c (set_error_kind): Delete.
1307 (set_error_message): Delete.
1308
1309 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
1310
1311 * configure: Regenerated.
1312
1313 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
1314
1315 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
1316 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
1317
1318 2015-04-01 Evandro Menezes <e.menezes@samsung.com>
1319
1320 * config/tc-arm.c: Add support for Samsung Exynos M1.
1321 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
1322
1323 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
1324
1325 * configure: Regenerated.
1326
1327 2015-03-31 Ed Schouten <ed@nuxi.nl>
1328
1329 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
1330
1331 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1332
1333 * configure.ac: Revert the AM_ZLIB change.
1334 * Makefile.in: Regenerated.
1335 * aclocal.m4: Likewise.
1336 * configure: Likewise.
1337
1338 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1339
1340 * Makefile.am (ZLIBINC): New.
1341 (AM_CFLAGS): Add $(ZLIBINC).
1342 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
1343 (parse_args): Likewise.
1344 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
1345 (compress_init): Don't check HAVE_ZLIB_H.
1346 (compress_data): Likewise.
1347 (compress_finish): Likewise.
1348 * configure.ac (AM_ZLIB): Removed.
1349 (zlibinc): New. AC_SUBST.
1350 Add --with-system-zlib.
1351 * Makefile.in: Regenerated.
1352 * config.in: Likewise.
1353 * configure: Likewise.
1354 * doc/Makefile.in: Likewise.
1355
1356 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
1357
1358 * config/tc-i386.c (cpu_flags_set): Removed.
1359
1360 2015-03-25 Renlin Li <renlin.li@arm.com>
1361
1362 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
1363 code.
1364 (mapping_state_2): Emit first MAP_DATA symbol here.
1365
1366 2015-03-24 H.J. Lu <hongjiu.lu@intel.com>
1367
1368 PR gas/18087
1369 * write.c (compress_debug): Don't write the zlib header if
1370 compression didn't make the section smaller.
1371
1372 2015-03-24 Terry Guo <terry.guo@arm.com>
1373
1374 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
1375 features.
1376 (parse_psr): Likewise.
1377 (do_t_mrs): Likewise.
1378 (do_t_msr): Likewise.
1379 (static const arm_feature_set arm_ext_*): Defined with new macros.
1380 (static const arm_feature_set arm_cext_*): Likewise.
1381 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
1382 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
1383 (deprecated_coproc_regs): Likewise.
1384 (UL_BARRIER): Likewise.
1385 (barrier_opt_names): Likewise.
1386 (arm_cpus): Likewise.
1387 (arm_extensions): Likewise.
1388
1389 2015-03-20 H.J. Lu <hongjiu.lu@intel.com>
1390
1391 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
1392 instructions to 10 bytes.
1393
1394 2015-03-19 Nick Clifton <nickc@redhat.com>
1395
1396 * config/tc-rl78.c (enum options): Add G13 and G14.
1397 (md_longopts): Add -mg13 and -mg14.
1398 (md_parse_option): Handle -mg13 and -mg14.
1399 (md_show_usage): List -mg13 and -mg14.
1400 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
1401
1402 2015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
1403 Nick Clifton <nickc@redhat.com>
1404
1405 PR binutils/18087
1406 * doc/as.texinfo: Note that when gas compresses debug sections the
1407 compression is only performed if it makes the section smaller.
1408 * write.c (compress_debug): Do not compress a debug section if
1409 doing so would make it larger.
1410
1411 2015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
1412
1413 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
1414 (i386_align_code): Add PROCESSOR_ZNVER cases.
1415 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
1416 * doc/c-i386.texi: Add znver1 and clzero.
1417
1418 2015-03-16 Nick Clifton <nickc@redhat.com>
1419
1420 * dwarf2dbg.c (out_header): Remove spurious #if 1.
1421
1422 2015-03-13 Jiong Wang <jiong.wang@arm.com>
1423
1424 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
1425 number 31.
1426
1427 2015-03-13 Jiong Wang <jiong.wang@arm.com>
1428
1429 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
1430
1431 2015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
1432
1433 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
1434 * doc/c-mips.texi: Document i6400 -march option.
1435
1436 2015-03-12 Nick Clifton <nickc@redhat.com>
1437
1438 PR gas/17444
1439 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
1440 to arm_apply_sym_value. Update prototype.
1441 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
1442 Do not apply the value if the symbol is in a different segment to
1443 the current segment.
1444
1445 2015-03-11 Alan Modra <amodra@gmail.com>
1446
1447 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
1448 (md_apply_fix): Report an error on data-only fixups used with insns.
1449
1450 2015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1451
1452 * config/tc-s390.c (md_gather_operands): Check for valid
1453 length field operands.
1454
1455 2015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
1456
1457 * config/tc-arm.c (parse_operands): Fix bug setting writeback
1458 values for '^' on OP_REGLSTs.
1459 (do_push_pop): Add new writeback constraint.
1460
1461 2015-03-10 Renlin Li <renlin.li@arm.com>
1462
1463 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
1464 (mapping_state_2): Emit first MAP_DATA symbol here.
1465
1466 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
1467
1468 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
1469 code sections.
1470
1471 2015-03-10 Nick Clifton <nickc@redhat.com>
1472
1473 PR gas/17852
1474 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
1475 initialised when CPU_DEFAULT is defined.
1476
1477 2015-03-05 Nick Clifton <nickc@redhat.com>
1478
1479 * config/tc-v850.c (md_parse_option): Fix code to set or clear
1480 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
1481 -m8byte-align and -m4byte-align command line options.
1482
1483 2015-03-04 Richard Sandiford <richard.sandiford@arm.com>
1484
1485 PR gas/17843
1486 * config/tc-aarch64.c (process_movw_reloc_info): Allow
1487 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
1488 for MOVK.
1489
1490 2015-02-28 Alan Modra <amodra@gmail.com>
1491
1492 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
1493 end to their alignment.
1494
1495 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1496
1497 * config/tc-aarch64.c (reloc_table_entry): Generate
1498 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
1499 (md_apply_fix, aarch64_force_relocation): Handle
1500 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1501
1502 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1503
1504 * config/tc-aarch64.c (reloc_table_entry): Generate
1505 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1506 (md_apply_fix, aarch64_force_relocation): Handle
1507 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1508
1509 2015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1510
1511 * config/tc-aarch64.c (reloc_table_entry): Generate
1512 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1513 (md_apply_fix, aarch64_force_relocation): Handle
1514 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1515
1516 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1517
1518 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
1519 (reloc_table): Likewise.
1520 (parse_address_main): Use ld_literal_type.
1521
1522 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1523
1524 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
1525 (reloc_table): Likewise.
1526 (parse_address_main): Use adr_type.
1527
1528 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1529
1530 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
1531
1532 2015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1533
1534 * config/tc-avr.c: Add elf32-avr.h include.
1535 (struct avr_property_record_link): New structure.
1536 (avr_output_property_section_header): New function.
1537 (avr_record_size): New function.
1538 (avr_output_property_record): New function.
1539 (avr_create_property_section): New function.
1540 (avr_handle_align): New function.
1541 (exclude_section_from_property_tables): New function.
1542 (create_record_for_frag): New function.
1543 (append_records_for_section): New function.
1544 (avr_create_and_fill_property_section): New function.
1545 (avr_post_relax_hook): New function.
1546 * config/tc-avr.h (md_post_relax_hook): Define.
1547 (avr_post_relax_hook): Declare.
1548 (HANDLE_ALIGN): Define.
1549 (avr_handle_align): Declare.
1550 (strut avr_frag_data): New structure.
1551 (TC_FRAG_TYPE): Define.
1552
1553 2015-02-25 Matthew Wahab <matthew.wahab@arm.com>
1554
1555 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
1556 cortex-a72.
1557
1558 2015-02-24 Nick Clifton <nickc@redhat.com>
1559
1560 * config/tc-v850.c (soft_float): New variable.
1561 (v850_data_8): New variable.
1562 (md_show_usage): Add -msoft-float/-mhard-float.
1563 (md_parse_option): Likewise.
1564 (md_begin): Set the default value of soft_float.
1565 (v850_md_end): New function. Creates a note section.
1566 * config/tc-v850.h (md_end): Define.
1567 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
1568
1569 2015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
1570
1571 * config/tc-h8300.c (line_separater_chars): Add a version for
1572 h8300-linux that includes a separator.
1573 (default_mach): New variable.
1574 (md_main): Use it.
1575 (md_longopts): Add '--march' option.
1576 (md_parse_option): Parse the new option.
1577 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
1578 * configure.tgt: Add h8300-*-linux
1579 * doc/c-h8300.texi: Document --march.
1580
1581 2015-02-23 Nick Clifton <nickc@redhat.com>
1582
1583 PR 17940
1584 * dwarf2dbg.c (out_header): When generating dwarf sections use
1585 real symbols not temps for the start and end symbols.
1586 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
1587 adjustments to relocations in debug sections.
1588 (TC_LINKRELAX_FIXUP): Likewise.
1589
1590 2015-02-19 Alan Modra <amodra@gmail.com>
1591
1592 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
1593 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
1594
1595 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1596
1597 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1598
1599 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1600
1601 * config/tc-arm.c: Add support for Cortex-A72.
1602
1603 2015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1604
1605 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
1606 of as_warn for deprecation messages.
1607 (encode_arm_addr_mode_2): Likewise.
1608 (check_obsolete): Likewise.
1609 (do_rd_rm_rn): Likewise.
1610 (do_co_reg): Likewise.
1611 (do_setend): Likewise.
1612 (do_t_mov_cmp): Likewise.
1613 (do_neon_ldr_str): Likewise.
1614 (opcode_lookup): Likewise.
1615 (if_fsm_post_encode): Likewise.
1616 (md_assemble): Likewise.
1617
1618 2015-02-06 Jan Beulich <jbeulich@suse.com>
1619
1620 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
1621 (cfi_change_reg_numbers): Also do nothing for CFI_label.
1622 (cfi_pseudo_table): Also handle .cfi_label when not supporting
1623 CFI directives.
1624
1625 2015-02-05 Alan Modra <amodra@gmail.com>
1626
1627 * config/tc-msp430.c (md_assemble): Correct size passed to
1628 extract_cmd. Remove index check.
1629
1630 2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
1631
1632 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
1633 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
1634
1635 2015-02-04 Nick Clifton <nickc@redhat.com>
1636
1637 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1638 these instructions.
1639
1640 2015-02-03 Renlin Li <renlin.li@arm.com>
1641
1642 * doc/c-aarch64.texi (.arch): Document the directive.
1643 (.arch_extension): Likewise.
1644
1645 2015-02-03 Nick Clifton <nickc@redhat.com>
1646
1647 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1648
1649 2015-01-28 James Bowman <james.bowman@ftdichip.com>
1650
1651 * Makefile.am: Add FT32 files.
1652 * config/tc-ft32.c: New file.
1653 * config/tc-ft32.h: New file.
1654 * configure.tgt: Add FT32 support.
1655 * Makefile.in: Regenerate.
1656 * po/POTFILES.in: Regenerate.
1657
1658 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1659
1660 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1661 of instruction la to a symbol.
1662
1663 2015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1664
1665 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1666 section name.
1667
1668 2015-01-19 Alan Modra <amodra@gmail.com>
1669
1670 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1671 * write.c (get_frag_for_reloc): Allow match just past end of frag.
1672
1673 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1674
1675 * config/tc-s390.c (struct pd_reg): Remove.
1676 (pre_defined_registers): Remove.
1677 (REG_NAME_CNT): Remove.
1678 (reg_name_search): Calculate the register number instead of doing
1679 a lookup.
1680 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1681 reg_name_search signature.
1682 (s390_parse_cpu): Support the new arch string z13.
1683 (s390_insert_operand): Support for vector registers with the extra
1684 field for the fifth bit of each vector register operand.
1685 (md_gather_operand): Adjust to the new handling of optional
1686 parameters.
1687
1688 * doc/as.texinfo: Document the z13 cpu string.
1689
1690 2015-01-13 Matthew Wahab <matthew.wahab@arm.com>
1691
1692 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1693 #0, restoring previous behaviour.
1694
1695 2015-01-12 Jan Beulich <jbeulich@suse.com>
1696
1697 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1698 (cfi_pseudo_table): Add "cfi_label".
1699 (output_cfi_insn): Handle CFI_label.
1700 (select_cie_for_fde): Als terminate CIE when encountering
1701 CFI_label.
1702 * dw2gencfi.h (cfi_add_label): Declare.
1703 (struct cfi_insn_data): New member "sym_name".
1704 (CFI_label): New.
1705 * read.c (read_symbol_name): Drop "static".
1706 * read.h (read_symbol_name): Declare.
1707
1708 2015-01-12 Jan Beulich <jbeulich@suse.com>
1709
1710 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1711 (do_neon_qshl_imm): Likewise.
1712
1713 2015-01-12 Alan Modra <amodra@gmail.com>
1714
1715 * read.c (s_altmacro, s_reloc): Make definition static.
1716
1717 2015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
1718
1719 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1720 diff fixups.
1721
1722 2015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1723
1724 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1725 X-Gene 2.
1726 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1727
1728 2015-01-07 Jan Beulich <jbeulich@suse.com>
1729
1730 * config/tc-arm.c (struct arm_option_extension_value_table):
1731 Split field "value" into fields "merge_value" and "clear_value".
1732 (arm_extensions): Adjust initializer accordingly.
1733
1734 2015-01-01 Alan Modra <amodra@gmail.com>
1735
1736 * as.c (parse_args): Just print current year.
1737
1738 2015-01-01 Alan Modra <amodra@gmail.com>
1739
1740 Update year range in copyright notice of all files.
1741
1742 For older changes see ChangeLog-2014
1743 \f
1744 Copyright (C) 2015 Free Software Foundation, Inc.
1745
1746 Copying and distribution of this file, with or without modification,
1747 are permitted in any medium without royalty provided the copyright
1748 notice and this notice are preserved.
1749
1750 Local Variables:
1751 mode: change-log
1752 left-margin: 8
1753 fill-column: 74
1754 version-control: never
1755 End:
This page took 0.075392 seconds and 5 git commands to generate.