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