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