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