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