[GAS][AARCH64]Add BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC Support.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
ca632371
RL
12015-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
654248e7
RL
82015-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
7ecc513a
DV
152015-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
8a9e7a91
PZ
312015-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
6cd8405e
RO
382015-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
b6518b38
NC
442015-09-23 Nick Clifton <nickc@redhat.com>
45
46 * config/tc-ppc.c (insn_validate): Cast PPC_OPSHIFT_INV to an int.
47
e3ec6cc6
NC
482015-09-22 Nick Clifton <nickc@redhat.com>
49
50 * config/tc-rx.c (nop_7): Recode using MAX.
51
dce55a03
CG
522015-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
2e57ce7b
AM
572015-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
2d011dc1
AM
912015-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
2a7f4fa9
NC
1002015-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
38074311
JM
1072015-08-25 Jose E. Marchesi <jose.marchesi@oracle.com>
108
109 * config/tc-sparc.c (priv_reg_table): New privileged register
110 %pmcdper.
111
d02603dc
NC
1122015-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
4c562523
JW
1792015-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
49df5539
JW
1972015-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
13289c10
JW
2062015-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
db2ed2e0
AM
2122015-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
19c2883a
AM
2192015-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
c14c7a8a
AM
2242015-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
9791c250
AM
2332015-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
b46824bd
MF
2382015-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
40fc1451
SD
2752015-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
70151fb5
JW
2812015-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
a12fad50
JW
2882015-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
1107e076
JW
2942015-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
2b29bb41
NC
3002015-08-11 Nick Clifton <nickc@redhat.com>
301
eff0bc54
NC
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
e66c3c25
NC
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
d29b2a1e
NC
315 PR gas/18677
316 * config/tc-mmix.c (md_assemble): Fix typo checking operands with
317 a numeric constant value.
318
88fd0449
NC
319 PR gas/18678
320 * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
321
2b29bb41
NC
322 PR gas/18679
323 * config/xtensa-relax.c (same_operand_name): Fix typo.
324
8fe3f3d6
HPN
3252015-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
edc66de9
TP
3302015-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
331
332 * doc/c-aarch64.texi (.xword): Document directive.
333
d60646b9
NC
3342015-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
c6e5c03a
RS
3392015-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
77403ce9
RS
3442015-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
37a42ee9
L
3492015-07-27 H.J. Lu <hongjiu.lu@intel.com>
350
351 * configure: Regenerated.
352
aff1a65e
NC
3532015-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
511b1657
AM
3602015-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
f33026a9
MW
3692015-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
6c37fedc
JW
3772015-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
081e4c7d
MW
3832015-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
84b52b66
JG
3892015-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
189ebcf9
L
3942015-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
19a7fe52
L
3992015-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
3350cc01
CM
4072015-07-09 Catherine Moore <clm@codesourcery.com>
408
72f4393d
L
409 * config/tc-mips.c (check_fpabi): Handle
410 VAL_GNU_MIPS_ABI_FP_NAN2008.
3350cc01 411
7e302352
RS
4122015-07-08 Ciro Santilli <ciro.santilli@gmail.com>
413
414 * doc/as.texinfo: Clarify case requirements for pseudo ops.
415
328e7bfd
DC
4162015-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
ef5a96d5
AM
4232015-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
c8c8175b
SL
4282015-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
965b1d80
SL
4992015-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
9916071f
AP
5152015-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
ee0c0c50
L
5212015-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
68c3545d
L
5272015-06-24 H.J. Lu <hongjiu.lu@intel.com>
528
529 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
530
11a0cf2e
PB
5312015-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
c12d2c9d
NC
5362015-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
75c11999
NC
5422015-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
5fc177c8
NC
5482015-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
ba592044
AM
5592015-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.
12569877
AM
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.
ba592044 569
451133ce
NP
5702015-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
87f5fbcc
RL
5782015-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
d025d5e5
MW
5842015-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
18c208b2
JDA
5912015-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
f0e8c65e
NC
5992015-06-08 Nick Clifton <nickc@redhat.com>
600
601 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
602
88f0ea34
MW
6032015-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
b968d18a
JW
6092015-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
239c0f4c
NC
6142015-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
a5932920
MW
6192015-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
ddfded2f
MW
6252015-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
9e1f0fa7
MW
6352015-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
290806fd
MW
6402015-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
72ca8fad
MW
6462015-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
3d715ce4
JW
6542015-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
a921b5bd
JW
6602015-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
2f0c68f2 6662015-05-28 Catherine Moore <clm@codesourcery.com>
72f4393d
L
667 Bernd Schmidt <bernds@codesourcery.com>
668 Paul Brook <paul@codesourcery.com>
2f0c68f2
CM
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
4de0562a
MF
7192015-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
29798047
NC
7252015-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
f09c556a
JW
7312015-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
5db04b09
L
7382015-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
8dcea932
L
7482015-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
dab394de
L
7612015-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
dc58915f
MF
7662015-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
5197d474
L
7712015-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
81486035
L
7772015-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
ae8714c2
NC
7942015-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
b084df0b
L
8022015-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
0d495746
JM
8072015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
808
809 * config/tc-sparc.c: Typo in comment fixed.
810
f9911beb
JM
8112015-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
ed1fcdd1
NC
8172015-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
448eb63d
RL
8222015-05-06 Renlin Li <renlin.li@arm.com>
823
824 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
825
c7ad08e6
RL
8262015-05-05 Renlin Li <renlin.li@arm.com>
827
828 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
829 symbols.
830
837a17b3
NC
8312015-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
b76f99d7
MF
8382015-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
d62de9aa
DD
8512015-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
00923338
L
8562015-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
b633b725
L
8622015-05-01 H.J. Lu <hongjiu.lu@intel.com>
863
864 * configure.tgt: Support i386-*-elf*.
865
0952813b
DD
8662015-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
b49f93f6
L
8792015-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
7ce98c16
NC
8842015-04-30 Nick Clifton <nickc@redhat.com>
885
8b2d793c
NC
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
7ce98c16
NC
895 PR gas/18353
896 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
897
99b2a2dd
NC
8982015-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
5d239759
NC
9042015-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
f9c1b181
RL
9102015-04-28 Renlin Li <renlin.li@arm.com>
911
912 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
913
da7119c9
NC
9142015-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
eb9d6cc9
RL
9212015-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
faade851
JW
9272015-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
9322015-04-24 Richard Earnshaw <rearnsha@arm.com>
7a5c933c
RE
933
934 * config/tc-arm.h (arm_min): New function.
935 (SUB_SEGMENT_ALIGN): Define.
936
ece794d9
MF
9372015-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
af508cb9
JB
9422015-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
d3b47e2b
L
9472015-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
ef7a9369
SKS
9552015-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
ea556d25
L
9602015-04-15 H.J. Lu <hongjiu.lu@intel.com>
961
962 * NEWS: Mention
963 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
964
0ce398f1
L
9652015-04-14 H.J. Lu <hongjiu.lu@intel.com>
966
967 * as.h (compressed_debug_section_type): Removed.
968
6ff71e76
NC
9692015-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
080bb7bb
NC
9752015-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
4b5708f5
HPN
9812015-04-09 Hans-Peter Nilsson <hp@axis.com>
982
983 * doc/c-rx.texi: Fix markup typos in last change.
984
3525236c
NC
9852015-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
151411f8
L
9982015-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
a97902de
RL
10162015-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
4aa90cc0
L
10222015-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
317974f6
L
10272015-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
03e08038
NC
10322015-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
f66adc4e 1036 min and max parameters. Sign extend values before testing.
03e08038 1037
c1baaddf
RL
10382015-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
726e626a
EM
10452015-04-02 Ed Maste <emaste@freebsd.org>
1046
1047 * config/tc-aarch64.c (set_error_kind): Delete.
1048 (set_error_message): Delete.
1049
39f3de7c
L
10502015-04-02 H.J. Lu <hongjiu.lu@intel.com>
1051
1052 * configure: Regenerated.
1053
2412d878
EM
10542015-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
246496bb
EM
10592015-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
afa59b79
L
10642015-04-01 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 * configure: Regenerated.
1067
6036f486
ES
10682015-03-31 Ed Schouten <ed@nuxi.nl>
1069
1070 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
1071
543b7933
L
10722015-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
0138187e
L
10792015-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
e04de5e3
L
10972015-03-27 H.J. Lu <hongjiu.lu@intel.com>
1098
1099 * config/tc-i386.c (cpu_flags_set): Removed.
1100
bb383c6c
RL
11012015-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
b422eb49
L
11072015-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
823d2571
TG
11132015-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
80b8656c
L
11302015-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
1740ba0c
NC
11352015-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
273a4985
JT
11432015-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
029f3522
GG
11522015-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
b57dc16f
NC
11592015-03-16 Nick Clifton <nickc@redhat.com>
1160
1161 * dwarf2dbg.c (out_header): Remove spurious #if 1.
1162
4bf8c6e8
JW
11632015-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
bc9706f8
JW
11682015-03-13 Jiong Wang <jiong.wang@arm.com>
1169
1170 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
1171
7ef0d297
AB
11722015-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
93ef582d
NC
11772015-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
f728387b
AM
11862015-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
c6837265
AK
11912015-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
5e0d7f77
MP
11962015-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
4e9aaefb
SA
12022015-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
a578ef7e
JW
12072015-03-10 Matthew Wahab <matthew.wahab@arm.com>
1208
1209 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
1210 code sections.
1211
73f43896
NC
12122015-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
a26de52c
NC
12182015-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
e09ab7ac
RS
12242015-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
9028d943
AM
12312015-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
389b8029
MS
12362015-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
3c12b054
MS
12432015-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
043bf05a
MS
12502015-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
74ad790c
MS
12572015-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
6f4a313b
MS
12632015-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
1db365dc
MS
12692015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1270
1271 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
1272
fdd410ac
AB
12732015-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
4469186b
KT
12942015-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
685080f2
NC
12992015-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
5518c738
YS
13102015-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
0f8f0c57
NC
13222015-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
5c9352f3
AM
13312015-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
aa31c464
JW
13362015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1337
1338 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1339
b19f47ad
JW
13402015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1341
1342 * config/tc-arm.c: Add support for Cortex-A72.
1343
5c3696f8
KT
13442015-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
73e76108
JB
13592015-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
64a81db0
AM
13662015-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
2abdd192
JW
13712015-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
3101e637
NC
13762015-02-04 Nick Clifton <nickc@redhat.com>
1377
1378 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1379 these instructions.
1380
8e02d7f5
JW
13812015-02-03 Renlin Li <renlin.li@arm.com>
1382
1383 * doc/c-aarch64.texi (.arch): Document the directive.
1384 (.arch_extension): Likewise.
1385
6d012254
NC
13862015-02-03 Nick Clifton <nickc@redhat.com>
1387
1388 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1389
3f8107ab
AM
13902015-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
20d79870
KLC
13992015-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
3bd3aeb4
KLC
14042015-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
740bdc67
AM
14092015-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
1e2e8c52
AK
14142015-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
0900a05b
JW
14312015-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
69602580
JB
14362015-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
cb3b1e65
JB
14492015-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
b38ead21
AM
14542015-01-12 Alan Modra <amodra@gmail.com>
1455
1456 * read.c (s_altmacro, s_reloc): Make definition static.
1457
491793b5
AB
14582015-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
ea0d6bb9
PT
14632015-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
5a70a223
JB
14692015-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
efd321f9
AM
14752015-01-01 Alan Modra <amodra@gmail.com>
1476
1477 * as.c (parse_args): Just print current year.
1478
b90efa5b 14792015-01-01 Alan Modra <amodra@gmail.com>
bffb6004 1480
b90efa5b 1481 Update year range in copyright notice of all files.
bffb6004 1482
b90efa5b 1483For older changes see ChangeLog-2014
08d56133 1484\f
b90efa5b 1485Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
1486
1487Copying and distribution of this file, with or without modification,
1488are permitted in any medium without royalty provided the copyright
1489notice and this notice are preserved.
1490
08d56133
NC
1491Local Variables:
1492mode: change-log
1493left-margin: 8
1494fill-column: 74
1495version-control: never
1496End:
This page took 0.757667 seconds and 4 git commands to generate.