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