]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
Allow symbol and label names to be enclosed in double quotes.
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
d02603dc
NC
12015-08-21 Nick Clifton <nickc@redhat.com>
2
3 PR gas/18581
4 * expr.c (get_symbol_end): Rename to get_symbol_name. Add a
5 return parameter pointing to the start of the symbol. Allow
6 symbol names enclosed in double quotes.
7 (restore_line_pointer): New function. Replace the NUL character
8 inserted into the input stream with the given character. If the
9 character was a double quote, advance the input pointer.
10 * expr.h (get_symbol_end): Delete.
11 (get_symbol_name): Add prototype.
12 (restore_line_pointer): Prototype.
13 * read.h (SKIP_WHITESPACE_AFTER_NAME): New macro.
14 * doc/as.texinfo (Symbol Intro): Document that symbol names can
15 now be enclosed in double quotes.
16 * cond.c (s_ifdef): Replace get_symbol_end with get_symbol_name.
17 Use restore_line_pointer to replace the NUL in the input stream.
18 Use SKIP_WHITESPACE_AFTER_NAME to skip past the end of a symbol.
19 Check for the use of double quoted symbol names.
20 * expr.c: Likewise.
21 * config/obj-aout.c: Likewise.
22 * config/obj-coff-seh.c: Likewise.
23 * config/obj-coff.c: Likewise.
24 * config/obj-elf.c: Likewise.
25 * config/obj-evax.c: Likewise.
26 * config/obj-macho.c: Likewise.
27 * config/obj-som.c: Likewise.
28 * config/tc-alpha.c: Likewise.
29 * config/tc-arc.c: Likewise.
30 * config/tc-arm.c: Likewise.
31 * config/tc-dlx.c: Likewise.
32 * config/tc-h8300.c: Likewise.
33 * config/tc-hppa.c: Likewise.
34 * config/tc-i370.c: Likewise.
35 * config/tc-i386-intel.c: Likewise.
36 * config/tc-i386.c: Likewise.
37 * config/tc-i960.c: Likewise.
38 * config/tc-ia64.c: Likewise.
39 * config/tc-iq2000.c: Likewise.
40 * config/tc-m32r.c: Likewise.
41 * config/tc-m68hc11.c: Likewise.
42 * config/tc-m68k.c: Likewise.
43 * config/tc-microblaze.c: Likewise.
44 * config/tc-mips.c: Likewise.
45 * config/tc-mmix.c: Likewise.
46 * config/tc-mn10200.c: Likewise.
47 * config/tc-mn10300.c: Likewise.
48 * config/tc-nios2.c: Likewise.
49 * config/tc-ppc.c: Likewise.
50 * config/tc-s390.c: Likewise.
51 * config/tc-score.c: Likewise.
52 * config/tc-score7.c: Likewise.
53 * config/tc-sparc.c: Likewise.
54 * config/tc-tic4x.c: Likewise.
55 * config/tc-tic54x.c: Likewise.
56 * config/tc-tic6x.c: Likewise.
57 * config/tc-tilegx.c: Likewise.
58 * config/tc-tilepro.c: Likewise.
59 * config/tc-v850.c: Likewise.
60 * config/tc-xtensa.c: Likewise.
61 * config/tc-z80.c: Likewise.
62 * dw2gencfi.c: Likewise.
63 * dwarf2dbgc.: Likewise.
64 * ecoff.c: Likewise.
65 * read.c: Likewise.
66 * stabs.c: Likewise.
67
4c562523
JW
682015-08-19 Jiong Wang <jiong.wang@arm.com>
69
70 * config/tc-aarch64.c (reloc_table): New relocation types support for
71 dtprel_lo12.
72 (ldst_lo12_determine_real_reloc_type): Support
73 BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
74 BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
75 BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
76 BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
77 BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
78 BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
79 BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
80 BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
81 (parse_operands): Likewise.
82 (md_apply_fix): Likewise.
83 (aarch64_force_relocation): Likewise.
84 (process_movw_reloc_info): Likewise.
85
49df5539
JW
862015-08-19 Jiong Wang <jiong.wang@arm.com>
87
88 * config/tc-aarch64.c (reloc_table): New relocation modifiers,
89 "dtprel_hi12", "dtprel_g0", "dtprel_g0_nc", "dtprel_g1",
90 "dtprel_g1_nc", "dtprel_g2".
91 (md_apply_fix): Support new relocation types.
92 (aarch64_force_relocation): Likewise.
93 (process_movw_reloc_info): Likewise.
94
13289c10
JW
952015-08-19 Jiong Wang <jiong.wang@arm.com>
96
97 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
98 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
99 (aarch64_force_relocation): Likewise.
100
db2ed2e0
AM
1012015-08-17 Alan Modra <amodra@gmail.com>
102
103 * gas/config/tc-arm.c (s_align): Delete.
104 (md_pseudo_table): Use s_align_ptwo for "align".
105 * gas/config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define.
106 * read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT.
107
19c2883a
AM
1082015-08-13 Alan Modra <amodra@gmail.com>
109
110 * expr.c (operand): Rewrite handling of operands starting with "0f".
111 If atof_generic only parses "-" or "+", treat as expression.
112
c14c7a8a
AM
1132015-08-13 Alan Modra <amodra@gmail.com>
114 DJ Delorie <dj@redhat.com>
115
116 * expr.c (integer_constant): Return O_absent expression if eol.
117 (operand): For targets with both LOCAL_LABELS_FB and
118 NUMBERS_WITH_SUFFIX set, treat "0b" not followed by binary
119 digits as a local label reference. Correct handling of 0b prefix.
120 If a suffix is not allowed, error on 0B.
121
9791c250
AM
1222015-08-13 Alan Modra <amodra@gmail.com>
123
124 * doc/as.texinfo (Local Labels): Allowed range of N in local
125 labels is non-negative integers, not positive integers.
126
b46824bd
MF
1272015-08-12 David Weatherford <weath@cadence.com>
128
129 * config/tc-xtensa.c (struct litpool_frag, struct litpool_seg):
130 New structures.
131 (xtensa_maybe_create_literal_pool_frag): New function.
132 (litpool_seg_list, auto_litpools, auto_litpool_limit)
133 (litpool_buf, litpool_slotbuf): New static variables.
134 (option_auto_litpools, option_no_auto_litpools)
135 (option_auto_litpool_limit): New enum identifiers.
136 (md_longopts): Add entries for auto-litpools, no-auto-litpools
137 and auto-litpool-limit.
138 (md_parse_option): Handle option_auto_litpools,
139 option_no_auto_litpools and option_auto_litpool_limit.
140 (md_show_usage): Add help for --[no-]auto-litpools and
141 --auto-litpool-limit.
142 (xtensa_mark_literal_pool_location): Record a place for literal
143 pool with a call to xtensa_maybe_create_literal_pool_frag.
144 (get_literal_pool_location): Find highest priority literal pool
145 or convert candidate to literal pool when auto-litpools are used.
146 (xg_assemble_vliw_tokens): Create literal pool after jump
147 instruction.
148 (xtensa_check_frag_count): Create candidate literal pool every
149 auto_litpool_limit frags.
150 (xtensa_relax_frag): Add jump around literals to non-empty
151 literal pool.
152 (xtensa_move_literals): Estimate literal pool addresses and move
153 unreachable literals closer to their users, converting candidate
154 to literal pool if needed.
155 (xtensa_switch_to_non_abs_literal_fragment): Only emit error
156 about missing .literal_position in case auto-litpools are not
157 used.
158 * config/tc-xtensa.h (xtensa_relax_statesE): New relaxation
159 state: RELAX_LITERAL_POOL_CANDIDATE_BEGIN.
160 * doc/as.texinfo (Xtensa options): Document --auto-litpools and
161 --no-auto-litpools options.
162 * doc/c-xtensa.texi (Xtensa options): Likewise.
163
40fc1451
SD
1642015-08-12 Simon Dardis <simon.dardis@imgtec.com>
165
166 * config/tc-mips.c (move_register): Change to use 'or' only.
167 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
168 use or for move.
169
70151fb5
JW
1702015-08-11 Jiong Wang <jiong.wang@arm.com>
171
172 * config/tc-aarch64.c (reloc_table): New relocation modifiers
173 "dtprel_lo12".
174 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
175 (aarch64_force_relocation): Likewise.
176
a12fad50
JW
1772015-08-11 Jiong Wang <jiong.wang@arm.com>
178
179 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
180 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
181 (aarch64_force_relocation): Likewise.
182
1107e076
JW
1832015-08-11 Jiong Wang <jiong.wang@arm.com>
184
185 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
186 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
187 (aarch64_force_relocation): Likewise.
188
2b29bb41
NC
1892015-08-11 Nick Clifton <nickc@redhat.com>
190
eff0bc54
NC
191 PR gas/18765
192 * config/tc-arm.c (move_or_literal_pool): Use U suffix to remove
193 compile time warnings about constant expressions being shifted
194 into bit 31.
195 (do_iwmmxt_wldstd): Likewise.
196 (do_iwmmxt_wrwrwr_or_imm5): Likewise.
197 (md_assemble): Likewise.
198
e66c3c25
NC
199 PR gas/18574
200 * config/tc-msp430.c (msp430_operands): Rewrite if statements to
201 remove redundant checks.
202 (md_apply_fix): Likewise.
203
d29b2a1e
NC
204 PR gas/18677
205 * config/tc-mmix.c (md_assemble): Fix typo checking operands with
206 a numeric constant value.
207
88fd0449
NC
208 PR gas/18678
209 * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
210
2b29bb41
NC
211 PR gas/18679
212 * config/xtensa-relax.c (same_operand_name): Fix typo.
213
8fe3f3d6
HPN
2142015-08-08 Hans-Peter Nilsson <hp@axis.com>
215
216 * tc-arm.c (double_to_single, is_double_a_single): Append ULL to
217 0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts.
218
edc66de9
TP
2192015-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
220
221 * doc/c-aarch64.texi (.xword): Document directive.
222
d60646b9
NC
2232015-08-03 Nick Clifton <nickc@redhat.com>
224
225 * doc/as.texinfo (Overview): Add --hash-size to the synopsis and
226 fix typo in its entry: @kindex -> @item.
227
c6e5c03a
RS
2282015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
229
230 * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
231 * doc/c-mips.texi: Document m5100 and m5101 for -march=.
232
77403ce9
RS
2332015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
234
235 * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
236 * doc/c-mips.text: Document -march=interaptiv.
237
37a42ee9
L
2382015-07-27 H.J. Lu <hongjiu.lu@intel.com>
239
240 * configure: Regenerated.
241
aff1a65e
NC
2422015-07-24 Nick Clifton <nickc@redhat.com>
243
244 * config/tc-rl78.c (rl78_abs_sym): New local variable.
245 (md_begin): Initialise the new symbol.
246 (OPIMM): Define the value to be relative to the new symbol and not
247 the absolute section symbol.
248
511b1657
AM
2492015-07-22 Alan Modra <amodra@gmail.com>
250
251 PR gas/18687
252 * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
253 loop. Don't drop lines at end of file lacking a newline, add a
254 newline instead. Ensure partial_size is zero whenever
255 partial_where is NULL. Adjust buffer size for extra char.
256 (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
257
f33026a9
MW
2582015-07-20 Matthew Wahab <matthew.wahab@arm.com>
259
260 * NEWS: Mention corrected spelling of armv6kz.
261 * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
262 ARM_ARCH_V6KZ.
263 (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
264 * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
265
6c37fedc
JW
2662015-07-16 Jiong Wang <jiong.wang@arm.com>
267
268 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
269 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
270 (aarch64_force_relocation): Ditto.
271
081e4c7d
MW
2722015-07-16 Matthew Wahab <matthew.wahab@arm.com>
273
274 * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
275 * doc/c-arm.texi (-mfpu=): Likewise. Correct the entry for
276 neon-fp-armv8.1.
277
84b52b66
JG
2782015-07-16 James Greenhalgh <james.greenhalgh@arm.com>
279
280 * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
281 not support ARM mode" error messages.
282
189ebcf9
L
2832015-07-15 H.J. Lu <hongjiu.lu@intel.com>
284
285 * config/tc-i386.c (flag_compress_debug): Replace
286 COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
287
19a7fe52
L
2882015-07-14 H.J. Lu <hongjiu.lu@intel.com>
289
290 * as.c (parse_args): Make --compress-debug-sections and
291 --compress-debug-sections=zlib the same as
292 --compress-debug-sections=zlib-gabi.
293 * doc/as.texinfo: Change --compress-debug-sections and
294 --compress-debug-sections=zlib to zlib-gabi.
295
3350cc01
CM
2962015-07-09 Catherine Moore <clm@codesourcery.com>
297
72f4393d
L
298 * config/tc-mips.c (check_fpabi): Handle
299 VAL_GNU_MIPS_ABI_FP_NAN2008.
3350cc01 300
7e302352
RS
3012015-07-08 Ciro Santilli <ciro.santilli@gmail.com>
302
303 * doc/as.texinfo: Clarify case requirements for pseudo ops.
304
328e7bfd
DC
3052015-07-08 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
306
307 * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
308 32 bit PC relative and update offset if the fixup is pc-relative.
309 * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
310 relocs.
311
ef5a96d5
AM
3122015-07-03 Alan Modra <amodra@gmail.com>
313
314 * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
315 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
316
c8c8175b
SL
3172015-07-01 Sandra Loosemore <sandra@codesourcery.com>
318 Cesar Philippidis <cesar@codesourcery.com>
319
320 * config/tc-nios2.c (nios2_min_align): New.
321 (nop): Replace with....
322 (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
323 (nios2_align): Handle alignment on 2-byte boundaries when CDX
324 instructions may be present.
325 (s_nios2_align): Adjust reference to nop.
326 (CDXBRANCH, IS_CDXBRANCH): New.
327 (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
328 (nios2_relax_subtype_size): Handle 2-byte CDX branches.
329 (nios2_relax_frag): Likewise.
330 (md_convert_frag): Handle R2 encodings.
331 (nios2_check_overflow): Check that low-order bits are zero
332 before applying rightshift from howto.
333 (nios2_check_overflow): Correct negative overflow calculation.
334 (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue
335 generic overflow messages for miscellaneous instruction formats.
336 (md_apply_fix): Recognize new R2 relocations. For pc_relative
337 relocations, store fixup in *valP.
338 (nios2_reglist_mask, nios2_reglist_dir): New.
339 (nios2_parse_reglist): New.
340 (nios2_parse_base_register): New.
341 (nios2_assemble_expression): Handle constant expressions designated
342 by BFD_RELOC_NONE.
343 (nios2_assemble_reg3): New.
344 (nios2_assemble_arg_c): Handle R2 instruction formats.
345 (nios2_assemble_arg_d): Likewise.
346 (nios2_assemble_arg_s): Likewise.
347 (nios2_assemble_arg_t): Likewise.
348 (nios2_assemble_arg_D): New.
349 (nios2_assemble_arg_S): New.
350 (nios2_assemble_arg_T): New.
351 (nios2_assemble_arg_i): Handle R2 instruction formats.
352 (nios2_assemble_arg_I): New.
353 (nios2_assemble_arg_u): Handle R2 instruction formats.
354 (nios2_assemble_arg_U): New.
355 (nios2_assemble_arg_V): New.
356 (nios2_assemble_arg_W): New.
357 (nios2_assemble_arg_X): New.
358 (nios2_assemble_arg_Y): New.
359 (nios2_assemble_arg_o): Handle R2 instruction formats.
360 (nios2_assemble_arg_O): New.
361 (nios2_assemble_arg_P): New.
362 (nios2_assemble_arg_j): Handle R2 instruction formats.
363 (nios2_assemble_arg_k): New.
364 (nios2_assemble_arg_l): Handle R2 instruction formats.
365 (nios2_assemble_arg_m): Likewise.
366 (nios2_assemble_arg_M): New.
367 (nios2_assemble_arg_N): New.
368 (nios2_assemble_arg_e): New.
369 (nios2_assemble_arg_f): New.
370 (nios2_assemble_arg_g): New.
371 (nios2_assemble_arg_h): New.
372 (nios2_assemble_arg_R): New.
373 (nios2_assemble_arg_B): New.
374 (nios2_assemble_args): Handle new argument letters.
375 (nios2_consume_arg): Likewise.
376 (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
377 in error message.
378 (nios2_ps_insn_info_structs): Add nop.n.
379 (output_ubranch): Handle CDX branches.
380 (output_cbranch): Likewise.
381 (output_call): Handle R2 encodings.
382 (output_movia): Likewise.
383 (md_begin): Initialize nios2_min_align.
384 (md_assemble): Align to nios2_min_align. Adjust nios2_min_align
385 if a 16-bit instruction is seen.
386 (nios2_cons_align): Use appropriate nop pattern.
387
965b1d80
SL
3882015-07-01 Sandra Loosemore <sandra@codesourcery.com>
389 Cesar Philippidis <cesar@codesourcery.com>
390
391 * config/tc-nios2.c: Adjust includes.
392 (OPTION_MARCH): Define.
393 (md_longopts): Add -march option.
394 (nios2_architecture): New.
395 (nios2_use_arch): New.
396 (md_parse_option): Handle OPTION_MARCH.
397 (md_show_usage): Document -march.
398 (md_begin): Set arch in BFD.
399 (nios2_elf_final_processing): New.
400 * config/tc-nios2.h (elf_tc_final_processing): Define.
401 (nios2_elf_final_processing): New.
402 * doc/c-nios2.texi (-march): Add documentation.
403
9916071f
AP
4042015-06-30 Amit Pawar <Amit.Pawar@amd.com>
405
406 * config/tc-i386.c (cpu_arch): Add .mwaitx.
407 (process_immext): Check operands for monitorx/mwaitx instructions.
408 * doc/c-i386.texi: Document mwaitx.
409
ee0c0c50
L
4102015-06-28 H.J. Lu <hongjiu.lu@intel.com>
411
412 * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
413 COMPRESS_DEBUG_GNU_ZLIB.
414 * config/tc-i386.c (flag_compress_debug): Likewise.
415
68c3545d
L
4162015-06-24 H.J. Lu <hongjiu.lu@intel.com>
417
418 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
419
11a0cf2e
PB
4202015-06-19 Peter Bergner <bergner@vnet.ibm.com>
421
422 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
423 Allow for optional operands without insert functions.
424
c12d2c9d
NC
4252015-06-18 Nick Clifton <nickc@redhat.com>
426
427 PR gas/18541
428 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
429 mode against a nearby symbol.
430
75c11999
NC
4312015-06-18 Nick Clifton <nickc@redhat.com>
432
433 PR gas/18481
434 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
435 in the same case as BFD_RELOC_ARM_TLS_IS32.
436
5fc177c8
NC
4372015-06-17 Nick Clifton <nickc@redhat.com>
438
439 * config/tc-arm.c (is_double_a_single): Make conditional upon the
440 availablity of a 64-bit type. Use this type for the argument and
441 mantissa.
442 (double_to_single): Likewise.
443 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
444 the constant value, if available. Generate a 64-bit value from a
445 bignum if supported. Only perform the second optimization for
446 PR 18500 if the 64-bit type is available.
447
ba592044
AM
4482015-06-17 Alessandro Marzocchi <alessandro.marzocchi@gmail.com>
449
450 PR gas/18500
451 * config/tc-arm.c (is_double_a_single): New function.
452 (double_to_single): New function.
12569877
AM
453 (move_or_literal_pool): Add support for converting VLDR to VMOV.
454
455 PR gas/18499
456 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
457 to MOV.w or MVN.w for Thumb2.
ba592044 458
451133ce
NP
4592015-06-17 Nicolas Pitre <nico@linaro.org>
460
461 * as.c (show_usage): Document --sectname-subst.
462 (parse_args): Add --sectname-subst.
463 * as.h (flag_sectname_subst): New.
464 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
465 * doc/as.texinfo: Document it.
466
87f5fbcc
RL
4672015-06-15 Renlin Li <renlin.li@arm.com>
468
469 * config/tc-aarch64.c (reloc_table): New relocation modifier.
470 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
471 (aarch64_force_relocation): Ditto
472
d025d5e5
MW
4732015-06-13 Mark Wielaard <mjw@redhat.com>
474
475 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
476 out_debug_aranges depends on it.
477 (out_debug_aranges): Track size of header to properly pad header
478 for address alignment.
479
18c208b2
JDA
4802015-06-11 John David Anglin <danglin@gcc.gnu.org>
481
482 PR gas/18427
483 * gas/config/tc-hppa.c (last_label_symbol): Declare.
484 (pa_get_label): Return last label in current space/segment or NULL.
485 (pa_define_label): Record last label and add to root.
486 (pa_undefine_label): Remove last label from root.
487
f0e8c65e
NC
4882015-06-08 Nick Clifton <nickc@redhat.com>
489
490 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
491
88f0ea34
MW
4922015-06-04 Matthew Wahab <matthew.wahab@arm.com>
493
494 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
495 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
496 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
497
b968d18a
JW
4982015-06-04 Renlin Li <renlin.li@arm.com>
499
500 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
501 when available.
502
239c0f4c
NC
5032015-06-04 Nick Clifton <nickc@redhat.com>
504
505 * config/tc-h8300.c (md_section_align): Fix compile time warning
506 about left shifting a negative value.
507
a5932920
MW
5082015-06-03 Matthew Wahab <matthew.wahab@arm.com>
509
510 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
511 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
512 * NEWS: Mention ARMv8.1 support.
513
ddfded2f
MW
5142015-06-02 Matthew Wahab <matthew.wahab@arm.com>
515
516 * config/tc-arm.c (arm_ext_pan): New.
517 (do_setpan): New, encode an ARM SETPAN instruction.
518 (do_t_setpan): New, encode a Thumb SETPAN instruction.
519 (insns): Add "setpan".
520 (arm_extensions): Add "pan".
521 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
522 extensions.
523
9e1f0fa7
MW
5242015-06-02 Matthew Wahab <matthew.wahab@arm.com>
525
526 * config/tc-aarch64.c (aarch64_features): Add "rdma".
527 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
528
290806fd
MW
5292015-06-02 Matthew Wahab <matthew.wahab@arm.com>
530
531 * config/tc-aarch64.c (aarch64_features): Add "lor".
532 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
533 architecture extensions.
534
72ca8fad
MW
5352015-06-01 Matthew Wahab <matthew.wahab@arm.com>
536
537 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
538 support. Fix whitespace.
539 (parse_operands): Update for parse_sys_reg changes.
540 (aarch64_features): Add "pan".
541 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
542
3d715ce4
JW
5432015-06-01 Jiong Wang <jiong.wang@arm.com>
544
545 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
546 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
547 (aarch64_force_relocation): Ditto.
548
a921b5bd
JW
5492015-06-01 Jiong Wang <jiong.wang@arm.com>
550
551 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
552 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
553 (aarch64_force_relocation): Ditto.
554
2f0c68f2 5552015-05-28 Catherine Moore <clm@codesourcery.com>
72f4393d
L
556 Bernd Schmidt <bernds@codesourcery.com>
557 Paul Brook <paul@codesourcery.com>
2f0c68f2
CM
558
559 gas/
560 * config/tc-alpha.c (all_cfi_sections): Declare.
561 (s_alpha_ent): Initialize all_cfi_sections.
562 (alpha_elf_md_end): Invoke cfi_set_sections.
563 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
564 (s_ehword): Use BFD_RELOC_32_PCREL.
565 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
566 (mips_cfi_reloc_for_encoding): New function.
567 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
568 (DWARF2_FDE_RELOC_ENCODING): Define.
569 (tc_cfi_reloc_for_encoding): Define.
570 (mips_cfi_reloc_for_encoding): Define.
571 (tc_compact_eh_opcode_stop): Define.
572 (tc_compact_eh_opcode_pad): Define.
573 * doc/as.texinfo: Document Compact EH extensions.
574 * doc/internals.texi: Likewise.
575 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
576 (tc_cfi_reloc_for_encoding): Provide default.
577 (compact_eh): Declare.
578 (emit_expr_encoded): New function.
579 (get_debugseg_name): Add Compact EH support.
580 (alloc_debugseg_item): Likewise.
581 (cfi_set_sections): New function.
582 (dot_cfi_fde_data): New function.
583 (dot_cfi_personality_id): New function.
584 (dot_cfi_inline_lsda): New function.
585 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
586 and cfi_inline_lsda.
587 (dot_cfi_personality): Add Compact EH support.
588 (dot_cfi_lsda): Likewise.
589 (dot_cfi_sections): Likewise.
590 (dot_cfi_startproc): Likewise.
591 (get_cfi_seg): Likewise.
592 (output_compact_unwind_data): New function.
593 (output_cfi_insn): Add Compact EH support.
594 (output_cie): Likewise.
595 (output_fde): Likewise.
596 (cfi_finish): Likewise.
597 (cfi_emit_eh_header): New function.
598 (output_eh_header): New function.
599 * dw2gencfi.h (cfi_set_sections): Declare.
600 (SUPPORT_COMPACT_EH): Define.
601 (MULTIPLE_FRAME_SECTIONS): Define.
602 New enumeration to describe the Compact EH header format.
603 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
604 eh_data, eh_loc and sections.
605 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
606 CFI_EMIT_eh_frame_compact): Define.
607
4de0562a
MF
6082015-05-26 Max Filippov <jcmvbkbc@gmail.com>
609
610 * config/tc-xtensa.c (xtensa_move_literals): Check that
611 search_frag is non-NULL. Report error if literal frag is not
612 found.
613
29798047
NC
6142015-05-22 Nick Clifton <nickc@redhat.com>
615
616 PR gas/18446
617 * read.c (output_big_sleb128): Use U suffix to prevent compile
618 time warning.
619
f09c556a
JW
6202015-05-19 Jiong Wang <jiong.wang@arm.com>
621
622 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
623 labels alphabetically.
624 (md_apply_fix): Ditto.
625 (aarch64_force_relocation): Ditto.
626
5db04b09
L
6272015-05-15 H.J. Lu <hongjiu.lu@intel.com>
628
629 PR binutis/18386
630 * config/tc-i386.c (OPTION_MAMD64): New.
631 (OPTION_MINTEL64): Likewise.
632 (md_longopts): Add -mamd64 and -mintel64.
633 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
634 (md_show_usage): Add -mamd64 and -mintel64.
635 * doc/c-i386.texi: Document -mamd64 and -mintel64.
636
8dcea932
L
6372015-05-15 H.J. Lu <hongjiu.lu@intel.com>
638
639 * config/tc-i386.c (shared): New.
640 (OPTION_MSHARED): Likewise.
641 (elf_symbol_resolved_in_segment_p): Add relocation argument.
642 Check PLT relocations and shared.
643 (md_estimate_size_before_relax): Pass fragP->fr_var to
644 elf_symbol_resolved_in_segment_p.
645 (md_longopts): Add -mshared.
646 (md_show_usage): Likewise.
647 (md_parse_option): Handle OPTION_MSHARED.
648 * doc/c-i386.texi: Document -mshared.
649
dab394de
L
6502015-05-14 H.J. Lu <hongjiu.lu@intel.com>
651
652 * write.c (compress_debug): Don't write the zlib header, which
653 is handled by bfd_update_compression_header.
654
dc58915f
MF
6552015-05-13 Max Filippov <jcmvbkbc@gmail.com>
656
657 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
658 closer than J_RANGE / 2 to jump frag.
659
5197d474
L
6602015-05-11 H.J. Lu <hongjiu.lu@intel.com>
661
662 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
663 * config/tc-i386.c (i386_mach): Support iamcu.
664 (i386_target_format): Likewise.
665
81486035
L
6662015-05-11 H.J. Lu <hongjiu.lu@intel.com>
667
668 * config/tc-i386.c (cpu_arch): Add iamcu.
669 (i386_align_code): Handle PROCESSOR_IAMCU.
670 (i386_arch): Likewise.
671 (i386_mach): Likewise.
672 (i386_target_format): Likewise.
673 (valid_iamcu_cpu_flags): New function.
674 (check_cpu_arch_compatible): Only allow Intel MCU instructions
675 when targeting Intel MCU.
676 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
677 are valid for Intel MCU.
678 (md_parse_option): Likewise.
679 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
680 (processor_type): Add PROCESSOR_IAMCU.
681 * doc/c-i386.texi: Document iamcu.
682
ae8714c2
NC
6832015-05-08 Nick Clifton <nickc@redhat.com>
684
685 PR gas/18347
686 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
687 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
688 the symbol name checking code to here from...
689 (md_undefined_symbo): ... here.
690
b084df0b
L
6912015-05-07 H.J. Lu <hongjiu.lu@intel.com>
692
693 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
694 (md_estimate_size_before_relax): Use it.
695
0d495746
JM
6962015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
697
698 * config/tc-sparc.c: Typo in comment fixed.
699
f9911beb
JM
7002015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
701
702 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
703 condition codes
704 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
705
ed1fcdd1
NC
7062015-05-06 Nick Clifton <nickc@redhat.com>
707
708 * doc/as.texinfo (Dollar Local Labels): Note that these are only
709 supported on some targets.
710
448eb63d
RL
7112015-05-06 Renlin Li <renlin.li@arm.com>
712
713 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
714
c7ad08e6
RL
7152015-05-05 Renlin Li <renlin.li@arm.com>
716
717 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
718 symbols.
719
837a17b3
NC
7202015-05-05 Nick Clifton <nickc@redhat.com>
721
722 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
723 (msp430_make_init_symbols): New function.
724 (msp430_section): Call it.
725 (msp430_frob_section): Likewise.
726
b76f99d7
MF
7272015-05-02 Max Filippov <jcmvbkbc@gmail.com>
728
729 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
730 (struct cached_fixup, struct fixup_cache): New structures.
731 (fixup_order, xtensa_make_cached_fixup),
732 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
733 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
734 (xtensa_add_cached_fixup): New functions.
735 (xtensa_relax_frag): Cache fixups pointing at potentially
736 oversized jumps at the beginning of every relaxation pass. Only
737 check subset of this cache in the reach of single jump from the
738 trampoline frag currently being relaxed.
739
d62de9aa
DD
7402015-05-01 Nick Clifton <nickc@redhat.com>
741
742 * config/rl78-parse.y (MULU): Remove ISA_G14.
743 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
744
00923338
L
7452015-05-01 H.J. Lu <hongjiu.lu@intel.com>
746
747 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
748 * config/tc-i386.h (md_end): Likewise.
749 (i386_elf_emit_arch_note): Likewise.
750
b633b725
L
7512015-05-01 H.J. Lu <hongjiu.lu@intel.com>
752
753 * configure.tgt: Support i386-*-elf*.
754
0952813b
DD
7552015-04-30 DJ Delorie <dj@redhat.com>
756
757 * config/rl78-defs.h (rl78_isa_g10): New.
758 (rl78_isa_g13): New.
759 (rl78_isa_g14): New.
760 * config/rl78-parse.y (ISA_G10): New.
761 (ISA_G13): New.
762 (ISA_G14): New.
763 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
764 * config/tc-rl78.c (rl78_isa_g10): New.
765 (rl78_isa_g13): New.
766 (rl78_isa_g14): New.
767
b49f93f6
L
7682015-04-30 H.J. Lu <hongjiu.lu@intel.com>
769
770 * config/tc-i386.c (i386_target_format): Use "else if" on
771 cpu_arch_isa.
772
7ce98c16
NC
7732015-04-30 Nick Clifton <nickc@redhat.com>
774
8b2d793c
NC
775 PR gas/18347
776 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
777 (if enabled) when the user creates a symbol with the same name as
778 an ARM instruction.
779 (flag_warn_syms): New static variable.
780 (arm_opts): Add mwarn-syms and mno-warn-syms.
781 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
782 options.
783
7ce98c16
NC
784 PR gas/18353
785 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
786
99b2a2dd
NC
7872015-04-29 Nick Clifton <nickc@redhat.com>
788
789 PR 18256
790 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
791 if the operand is neither a register nor a vector.
792
5d239759
NC
7932015-04-29 Nick Clifton <nickc@redhat.com>
794
795 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
796 times if the expression is not constant and the target uses linker
797 relaxation.
798
f9c1b181
RL
7992015-04-28 Renlin Li <renlin.li@arm.com>
800
801 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
802
da7119c9
NC
8032015-04-28 Nick Clifton <nickc@redhat.com>
804
805 PR 18313
806 * cond.c (s_if): Stop compile time warning about stopc being used
807 before it is set.
808 (s_ifc): Likewise.
809
eb9d6cc9
RL
8102015-04-27 Renlin Li <renlin.li@arm.com>
811
812 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
813 section.
814 (md_assemble): Likewise, move the align code outside the loop.
815
faade851
JW
8162015-04-24 Jim Wilson <jim.wilson@linaro.org>
817
818 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
819 for thunderx.
820
8212015-04-24 Richard Earnshaw <rearnsha@arm.com>
7a5c933c
RE
822
823 * config/tc-arm.h (arm_min): New function.
824 (SUB_SEGMENT_ALIGN): Define.
825
ece794d9
MF
8262015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
827
828 * config/tc-mips.c (macro): State the recommended way of creating
829 32-bit or 64-bit addresses.
830
af508cb9
JB
8312015-04-23 Jan Beulich <jbeulich@suse.com>
832
833 * config/tc-i386.c (match_mem_size): Also allow no size
834 specification when broadcasting.
835
d3b47e2b
L
8362015-04-20 H.J. Lu <hongjiu.lu@intel.com>
837
838 * doc/as.texinfo (Bundle directives): Shorten menu entry and
839 use @subsection.
840 (CFI directives): Use @subsection.
841 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
842 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
843
ef7a9369
SKS
8442015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
845
846 * config/tc-avr.c (create_record_for_frag): Rename link to
847 prop_rec_link.
848
ea556d25
L
8492015-04-15 H.J. Lu <hongjiu.lu@intel.com>
850
851 * NEWS: Mention
852 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
853
0ce398f1
L
8542015-04-14 H.J. Lu <hongjiu.lu@intel.com>
855
856 * as.h (compressed_debug_section_type): Removed.
857
6ff71e76
NC
8582015-04-14 Nick Clifton <nickc@redhat.com>
859
860 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
861 (TC_FORCE_RELOCATION_SUB_SAME): Define.
862 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
863
080bb7bb
NC
8642015-04-10 Nick Clifton <nickc@redhat.com>
865
866 PR binutils/18198
867 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
868 the -EB option with the linker's --be8 option.
869
4b5708f5
HPN
8702015-04-09 Hans-Peter Nilsson <hp@axis.com>
871
872 * doc/c-rx.texi: Fix markup typos in last change.
873
3525236c
NC
8742015-04-09 Nick Clifton <nickc@redhat.com>
875
876 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
877 (md_longopts): Add -mno-allow-string-insns.
878 (md_parse_option): Handle -mno-allow-string-insns.
879 (md_show_usage): Mention -mno-allow-string-insns.
880 (rx_note_string_insn_use): New function. Produces an error
881 message if a string insn is used when it is not allowed.
882 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
883 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
884 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
885 * doc/c-rx.texi: Document -mno-allow-string-insns.
886
151411f8
L
8872015-04-08 H.J. Lu <hongjiu.lu@intel.com>
888
889 * as.c (show_usage): Update --compress-debug-sections.
890 (std_longopts): Use optional_argument on compress-debug-sections.
891 (parse_args): Handle
892 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
893 * as.h (compressed_debug_section_type): New.
894 (flag_compress_debug): Change type to compressed_debug_section_type.
895 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
896 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
897 --compress-debug-sections=zlib-gabi. Call
898 bfd_get_compression_header_size to get compression header size.
899 Don't rename section name for --compress-debug-sections=zlib-gabi.
900 * config/tc-i386.c (compressed_debug_section_type): Set to
901 COMPRESS_DEBUG_ZLIB.
902 * doc/as.texinfo: Document
903 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
904
a97902de
RL
9052015-04-07 Renlin Li <renlin.li@arm.com>
906
907 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
908 (s_aarch64_inst): Likewise.
909 (md_assemble): Likewise.
910
4aa90cc0
L
9112015-04-06 H.J. Lu <hongjiu.lu@intel.com>
912
913 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
914 section size.
915
317974f6
L
9162015-04-05 H.J. Lu <hongjiu.lu@intel.com>
917
918 * write.c (compress_debug): Don't write the zlib header if
919 compressed section size is the same as before compression.
920
03e08038
NC
9212015-04-02 Nick Clifton <nickc@redhat.com>
922
923 PR gas/18189
924 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
f66adc4e 925 min and max parameters. Sign extend values before testing.
03e08038 926
c1baaddf
RL
9272015-04-02 Renlin Li <renlin.li@arm.com>
928
929 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
930 (mapping_state_2): Don't emit MAP_DATA here.
931 (s_aarch64_inst): Align frag during state transition.
932 (md_assemble): Likewise.
933
726e626a
EM
9342015-04-02 Ed Maste <emaste@freebsd.org>
935
936 * config/tc-aarch64.c (set_error_kind): Delete.
937 (set_error_message): Delete.
938
39f3de7c
L
9392015-04-02 H.J. Lu <hongjiu.lu@intel.com>
940
941 * configure: Regenerated.
942
2412d878
EM
9432015-04-01 Evandro Menezes <e.menezes@samsung.com>
944
945 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
946 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
947
246496bb
EM
9482015-04-01 Evandro Menezes <e.menezes@samsung.com>
949
950 * config/tc-arm.c: Add support for Samsung Exynos M1.
951 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
952
afa59b79
L
9532015-04-01 H.J. Lu <hongjiu.lu@intel.com>
954
955 * configure: Regenerated.
956
6036f486
ES
9572015-03-31 Ed Schouten <ed@nuxi.nl>
958
959 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
960
543b7933
L
9612015-03-31 H.J. Lu <hongjiu.lu@intel.com>
962
963 * configure.ac: Revert the AM_ZLIB change.
964 * Makefile.in: Regenerated.
965 * aclocal.m4: Likewise.
966 * configure: Likewise.
967
0138187e
L
9682015-03-31 H.J. Lu <hongjiu.lu@intel.com>
969
970 * Makefile.am (ZLIBINC): New.
971 (AM_CFLAGS): Add $(ZLIBINC).
972 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
973 (parse_args): Likewise.
974 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
975 (compress_init): Don't check HAVE_ZLIB_H.
976 (compress_data): Likewise.
977 (compress_finish): Likewise.
978 * configure.ac (AM_ZLIB): Removed.
979 (zlibinc): New. AC_SUBST.
980 Add --with-system-zlib.
981 * Makefile.in: Regenerated.
982 * config.in: Likewise.
983 * configure: Likewise.
984 * doc/Makefile.in: Likewise.
985
e04de5e3
L
9862015-03-27 H.J. Lu <hongjiu.lu@intel.com>
987
988 * config/tc-i386.c (cpu_flags_set): Removed.
989
bb383c6c
RL
9902015-03-25 Renlin Li <renlin.li@arm.com>
991
992 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
993 code.
994 (mapping_state_2): Emit first MAP_DATA symbol here.
995
b422eb49
L
9962015-03-24 H.J. Lu <hongjiu.lu@intel.com>
997
998 PR gas/18087
999 * write.c (compress_debug): Don't write the zlib header if
1000 compression didn't make the section smaller.
1001
823d2571
TG
10022015-03-24 Terry Guo <terry.guo@arm.com>
1003
1004 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
1005 features.
1006 (parse_psr): Likewise.
1007 (do_t_mrs): Likewise.
1008 (do_t_msr): Likewise.
1009 (static const arm_feature_set arm_ext_*): Defined with new macros.
1010 (static const arm_feature_set arm_cext_*): Likewise.
1011 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
1012 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
1013 (deprecated_coproc_regs): Likewise.
1014 (UL_BARRIER): Likewise.
1015 (barrier_opt_names): Likewise.
1016 (arm_cpus): Likewise.
1017 (arm_extensions): Likewise.
1018
80b8656c
L
10192015-03-20 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
1022 instructions to 10 bytes.
1023
1740ba0c
NC
10242015-03-19 Nick Clifton <nickc@redhat.com>
1025
1026 * config/tc-rl78.c (enum options): Add G13 and G14.
1027 (md_longopts): Add -mg13 and -mg14.
1028 (md_parse_option): Handle -mg13 and -mg14.
1029 (md_show_usage): List -mg13 and -mg14.
1030 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
1031
273a4985
JT
10322015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
1033 Nick Clifton <nickc@redhat.com>
1034
1035 PR binutils/18087
1036 * doc/as.texinfo: Note that when gas compresses debug sections the
1037 compression is only performed if it makes the section smaller.
1038 * write.c (compress_debug): Do not compress a debug section if
1039 doing so would make it larger.
1040
029f3522
GG
10412015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
1042
1043 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
1044 (i386_align_code): Add PROCESSOR_ZNVER cases.
1045 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
1046 * doc/c-i386.texi: Add znver1 and clzero.
1047
b57dc16f
NC
10482015-03-16 Nick Clifton <nickc@redhat.com>
1049
1050 * dwarf2dbg.c (out_header): Remove spurious #if 1.
1051
4bf8c6e8
JW
10522015-03-13 Jiong Wang <jiong.wang@arm.com>
1053
1054 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
1055 number 31.
1056
bc9706f8
JW
10572015-03-13 Jiong Wang <jiong.wang@arm.com>
1058
1059 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
1060
7ef0d297
AB
10612015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
1062
1063 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
1064 * doc/c-mips.texi: Document i6400 -march option.
1065
93ef582d
NC
10662015-03-12 Nick Clifton <nickc@redhat.com>
1067
1068 PR gas/17444
1069 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
1070 to arm_apply_sym_value. Update prototype.
1071 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
1072 Do not apply the value if the symbol is in a different segment to
1073 the current segment.
1074
f728387b
AM
10752015-03-11 Alan Modra <amodra@gmail.com>
1076
1077 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
1078 (md_apply_fix): Report an error on data-only fixups used with insns.
1079
c6837265
AK
10802015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1081
1082 * config/tc-s390.c (md_gather_operands): Check for valid
1083 length field operands.
1084
5e0d7f77
MP
10852015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
1086
1087 * config/tc-arm.c (parse_operands): Fix bug setting writeback
1088 values for '^' on OP_REGLSTs.
1089 (do_push_pop): Add new writeback constraint.
1090
4e9aaefb
SA
10912015-03-10 Renlin Li <renlin.li@arm.com>
1092
1093 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
1094 (mapping_state_2): Emit first MAP_DATA symbol here.
1095
a578ef7e
JW
10962015-03-10 Matthew Wahab <matthew.wahab@arm.com>
1097
1098 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
1099 code sections.
1100
73f43896
NC
11012015-03-10 Nick Clifton <nickc@redhat.com>
1102
1103 PR gas/17852
1104 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
1105 initialised when CPU_DEFAULT is defined.
1106
a26de52c
NC
11072015-03-05 Nick Clifton <nickc@redhat.com>
1108
1109 * config/tc-v850.c (md_parse_option): Fix code to set or clear
1110 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
1111 -m8byte-align and -m4byte-align command line options.
1112
e09ab7ac
RS
11132015-03-04 Richard Sandiford <richard.sandiford@arm.com>
1114
1115 PR gas/17843
1116 * config/tc-aarch64.c (process_movw_reloc_info): Allow
1117 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
1118 for MOVK.
1119
9028d943
AM
11202015-02-28 Alan Modra <amodra@gmail.com>
1121
1122 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
1123 end to their alignment.
1124
389b8029
MS
11252015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1126
1127 * config/tc-aarch64.c (reloc_table_entry): Generate
1128 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
1129 (md_apply_fix, aarch64_force_relocation): Handle
1130 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1131
3c12b054
MS
11322015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1133
1134 * config/tc-aarch64.c (reloc_table_entry): Generate
1135 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1136 (md_apply_fix, aarch64_force_relocation): Handle
1137 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1138
043bf05a
MS
11392015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1140
1141 * config/tc-aarch64.c (reloc_table_entry): Generate
1142 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1143 (md_apply_fix, aarch64_force_relocation): Handle
1144 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1145
74ad790c
MS
11462015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1147
1148 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
1149 (reloc_table): Likewise.
1150 (parse_address_main): Use ld_literal_type.
1151
6f4a313b
MS
11522015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1153
1154 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
1155 (reloc_table): Likewise.
1156 (parse_address_main): Use adr_type.
1157
1db365dc
MS
11582015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1159
1160 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
1161
fdd410ac
AB
11622015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1163
1164 * config/tc-avr.c: Add elf32-avr.h include.
1165 (struct avr_property_record_link): New structure.
1166 (avr_output_property_section_header): New function.
1167 (avr_record_size): New function.
1168 (avr_output_property_record): New function.
1169 (avr_create_property_section): New function.
1170 (avr_handle_align): New function.
1171 (exclude_section_from_property_tables): New function.
1172 (create_record_for_frag): New function.
1173 (append_records_for_section): New function.
1174 (avr_create_and_fill_property_section): New function.
1175 (avr_post_relax_hook): New function.
1176 * config/tc-avr.h (md_post_relax_hook): Define.
1177 (avr_post_relax_hook): Declare.
1178 (HANDLE_ALIGN): Define.
1179 (avr_handle_align): Declare.
1180 (strut avr_frag_data): New structure.
1181 (TC_FRAG_TYPE): Define.
1182
4469186b
KT
11832015-02-25 Matthew Wahab <matthew.wahab@arm.com>
1184
1185 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
1186 cortex-a72.
1187
685080f2
NC
11882015-02-24 Nick Clifton <nickc@redhat.com>
1189
1190 * config/tc-v850.c (soft_float): New variable.
1191 (v850_data_8): New variable.
1192 (md_show_usage): Add -msoft-float/-mhard-float.
1193 (md_parse_option): Likewise.
1194 (md_begin): Set the default value of soft_float.
1195 (v850_md_end): New function. Creates a note section.
1196 * config/tc-v850.h (md_end): Define.
1197 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
1198
5518c738
YS
11992015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
1200
1201 * config/tc-h8300.c (line_separater_chars): Add a version for
1202 h8300-linux that includes a separator.
1203 (default_mach): New variable.
1204 (md_main): Use it.
1205 (md_longopts): Add '--march' option.
1206 (md_parse_option): Parse the new option.
1207 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
1208 * configure.tgt: Add h8300-*-linux
1209 * doc/c-h8300.texi: Document --march.
1210
0f8f0c57
NC
12112015-02-23 Nick Clifton <nickc@redhat.com>
1212
1213 PR 17940
1214 * dwarf2dbg.c (out_header): When generating dwarf sections use
1215 real symbols not temps for the start and end symbols.
1216 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
1217 adjustments to relocations in debug sections.
1218 (TC_LINKRELAX_FIXUP): Likewise.
1219
5c9352f3
AM
12202015-02-19 Alan Modra <amodra@gmail.com>
1221
1222 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
1223 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
1224
aa31c464
JW
12252015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1226
1227 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1228
b19f47ad
JW
12292015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1230
1231 * config/tc-arm.c: Add support for Cortex-A72.
1232
5c3696f8
KT
12332015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1234
1235 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
1236 of as_warn for deprecation messages.
1237 (encode_arm_addr_mode_2): Likewise.
1238 (check_obsolete): Likewise.
1239 (do_rd_rm_rn): Likewise.
1240 (do_co_reg): Likewise.
1241 (do_setend): Likewise.
1242 (do_t_mov_cmp): Likewise.
1243 (do_neon_ldr_str): Likewise.
1244 (opcode_lookup): Likewise.
1245 (if_fsm_post_encode): Likewise.
1246 (md_assemble): Likewise.
1247
73e76108
JB
12482015-02-06 Jan Beulich <jbeulich@suse.com>
1249
1250 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
1251 (cfi_change_reg_numbers): Also do nothing for CFI_label.
1252 (cfi_pseudo_table): Also handle .cfi_label when not supporting
1253 CFI directives.
1254
64a81db0
AM
12552015-02-05 Alan Modra <amodra@gmail.com>
1256
1257 * config/tc-msp430.c (md_assemble): Correct size passed to
1258 extract_cmd. Remove index check.
1259
2abdd192
JW
12602015-02-04 Matthew Wahab <matthew.wahab@arm.com>
1261
1262 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
1263 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
1264
3101e637
NC
12652015-02-04 Nick Clifton <nickc@redhat.com>
1266
1267 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1268 these instructions.
1269
8e02d7f5
JW
12702015-02-03 Renlin Li <renlin.li@arm.com>
1271
1272 * doc/c-aarch64.texi (.arch): Document the directive.
1273 (.arch_extension): Likewise.
1274
6d012254
NC
12752015-02-03 Nick Clifton <nickc@redhat.com>
1276
1277 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1278
3f8107ab
AM
12792015-01-28 James Bowman <james.bowman@ftdichip.com>
1280
1281 * Makefile.am: Add FT32 files.
1282 * config/tc-ft32.c: New file.
1283 * config/tc-ft32.h: New file.
1284 * configure.tgt: Add FT32 support.
1285 * Makefile.in: Regenerate.
1286 * po/POTFILES.in: Regenerate.
1287
20d79870
KLC
12882015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1289
1290 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1291 of instruction la to a symbol.
1292
3bd3aeb4
KLC
12932015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1294
1295 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1296 section name.
1297
740bdc67
AM
12982015-01-19 Alan Modra <amodra@gmail.com>
1299
1300 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1301 * write.c (get_frag_for_reloc): Allow match just past end of frag.
1302
1e2e8c52
AK
13032015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1304
1305 * config/tc-s390.c (struct pd_reg): Remove.
1306 (pre_defined_registers): Remove.
1307 (REG_NAME_CNT): Remove.
1308 (reg_name_search): Calculate the register number instead of doing
1309 a lookup.
1310 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1311 reg_name_search signature.
1312 (s390_parse_cpu): Support the new arch string z13.
1313 (s390_insert_operand): Support for vector registers with the extra
1314 field for the fifth bit of each vector register operand.
1315 (md_gather_operand): Adjust to the new handling of optional
1316 parameters.
1317
1318 * doc/as.texinfo: Document the z13 cpu string.
1319
0900a05b
JW
13202015-01-13 Matthew Wahab <matthew.wahab@arm.com>
1321
1322 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1323 #0, restoring previous behaviour.
1324
69602580
JB
13252015-01-12 Jan Beulich <jbeulich@suse.com>
1326
1327 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1328 (cfi_pseudo_table): Add "cfi_label".
1329 (output_cfi_insn): Handle CFI_label.
1330 (select_cie_for_fde): Als terminate CIE when encountering
1331 CFI_label.
1332 * dw2gencfi.h (cfi_add_label): Declare.
1333 (struct cfi_insn_data): New member "sym_name".
1334 (CFI_label): New.
1335 * read.c (read_symbol_name): Drop "static".
1336 * read.h (read_symbol_name): Declare.
1337
cb3b1e65
JB
13382015-01-12 Jan Beulich <jbeulich@suse.com>
1339
1340 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1341 (do_neon_qshl_imm): Likewise.
1342
b38ead21
AM
13432015-01-12 Alan Modra <amodra@gmail.com>
1344
1345 * read.c (s_altmacro, s_reloc): Make definition static.
1346
491793b5
AB
13472015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
1348
1349 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1350 diff fixups.
1351
ea0d6bb9
PT
13522015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1353
1354 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1355 X-Gene 2.
1356 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1357
5a70a223
JB
13582015-01-07 Jan Beulich <jbeulich@suse.com>
1359
1360 * config/tc-arm.c (struct arm_option_extension_value_table):
1361 Split field "value" into fields "merge_value" and "clear_value".
1362 (arm_extensions): Adjust initializer accordingly.
1363
efd321f9
AM
13642015-01-01 Alan Modra <amodra@gmail.com>
1365
1366 * as.c (parse_args): Just print current year.
1367
b90efa5b 13682015-01-01 Alan Modra <amodra@gmail.com>
bffb6004 1369
b90efa5b 1370 Update year range in copyright notice of all files.
bffb6004 1371
b90efa5b 1372For older changes see ChangeLog-2014
08d56133 1373\f
b90efa5b 1374Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
1375
1376Copying and distribution of this file, with or without modification,
1377are permitted in any medium without royalty provided the copyright
1378notice and this notice are preserved.
1379
08d56133
NC
1380Local Variables:
1381mode: change-log
1382left-margin: 8
1383fill-column: 74
1384version-control: never
1385End: