Make z int
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2015-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
68 2015-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
86 2015-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
95 2015-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
101 2015-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
108 2015-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
113 2015-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
122 2015-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
127 2015-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
164 2015-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
170 2015-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
177 2015-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
183 2015-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
189 2015-08-11 Nick Clifton <nickc@redhat.com>
190
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
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
204 PR gas/18677
205 * config/tc-mmix.c (md_assemble): Fix typo checking operands with
206 a numeric constant value.
207
208 PR gas/18678
209 * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
210
211 PR gas/18679
212 * config/xtensa-relax.c (same_operand_name): Fix typo.
213
214 2015-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
219 2015-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
220
221 * doc/c-aarch64.texi (.xword): Document directive.
222
223 2015-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
228 2015-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
233 2015-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
238 2015-07-27 H.J. Lu <hongjiu.lu@intel.com>
239
240 * configure: Regenerated.
241
242 2015-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
249 2015-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
258 2015-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
266 2015-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
272 2015-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
278 2015-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
283 2015-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
288 2015-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
296 2015-07-09 Catherine Moore <clm@codesourcery.com>
297
298 * config/tc-mips.c (check_fpabi): Handle
299 VAL_GNU_MIPS_ABI_FP_NAN2008.
300
301 2015-07-08 Ciro Santilli <ciro.santilli@gmail.com>
302
303 * doc/as.texinfo: Clarify case requirements for pseudo ops.
304
305 2015-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
312 2015-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
317 2015-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
388 2015-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
404 2015-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
410 2015-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
416 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
417
418 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
419
420 2015-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
425 2015-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
431 2015-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
437 2015-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
448 2015-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.
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.
458
459 2015-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
467 2015-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
473 2015-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
480 2015-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
488 2015-06-08 Nick Clifton <nickc@redhat.com>
489
490 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
491
492 2015-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
498 2015-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
503 2015-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
508 2015-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
514 2015-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
524 2015-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
529 2015-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
535 2015-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
543 2015-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
549 2015-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
555 2015-05-28 Catherine Moore <clm@codesourcery.com>
556 Bernd Schmidt <bernds@codesourcery.com>
557 Paul Brook <paul@codesourcery.com>
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
608 2015-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
614 2015-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
620 2015-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
627 2015-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
637 2015-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
650 2015-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
655 2015-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
660 2015-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
666 2015-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
683 2015-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
691 2015-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
696 2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
697
698 * config/tc-sparc.c: Typo in comment fixed.
699
700 2015-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
706 2015-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
711 2015-05-06 Renlin Li <renlin.li@arm.com>
712
713 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
714
715 2015-05-05 Renlin Li <renlin.li@arm.com>
716
717 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
718 symbols.
719
720 2015-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
727 2015-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
740 2015-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
745 2015-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
751 2015-05-01 H.J. Lu <hongjiu.lu@intel.com>
752
753 * configure.tgt: Support i386-*-elf*.
754
755 2015-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
768 2015-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
773 2015-04-30 Nick Clifton <nickc@redhat.com>
774
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
784 PR gas/18353
785 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
786
787 2015-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
793 2015-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
799 2015-04-28 Renlin Li <renlin.li@arm.com>
800
801 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
802
803 2015-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
810 2015-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
816 2015-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
821 2015-04-24 Richard Earnshaw <rearnsha@arm.com>
822
823 * config/tc-arm.h (arm_min): New function.
824 (SUB_SEGMENT_ALIGN): Define.
825
826 2015-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
831 2015-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
836 2015-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
844 2015-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
849 2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
850
851 * NEWS: Mention
852 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
853
854 2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
855
856 * as.h (compressed_debug_section_type): Removed.
857
858 2015-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
864 2015-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
870 2015-04-09 Hans-Peter Nilsson <hp@axis.com>
871
872 * doc/c-rx.texi: Fix markup typos in last change.
873
874 2015-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
887 2015-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
905 2015-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
911 2015-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
916 2015-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
921 2015-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
925 min and max parameters. Sign extend values before testing.
926
927 2015-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
934 2015-04-02 Ed Maste <emaste@freebsd.org>
935
936 * config/tc-aarch64.c (set_error_kind): Delete.
937 (set_error_message): Delete.
938
939 2015-04-02 H.J. Lu <hongjiu.lu@intel.com>
940
941 * configure: Regenerated.
942
943 2015-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
948 2015-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
953 2015-04-01 H.J. Lu <hongjiu.lu@intel.com>
954
955 * configure: Regenerated.
956
957 2015-03-31 Ed Schouten <ed@nuxi.nl>
958
959 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
960
961 2015-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
968 2015-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
986 2015-03-27 H.J. Lu <hongjiu.lu@intel.com>
987
988 * config/tc-i386.c (cpu_flags_set): Removed.
989
990 2015-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
996 2015-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
1002 2015-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
1019 2015-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
1024 2015-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
1032 2015-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
1041 2015-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
1048 2015-03-16 Nick Clifton <nickc@redhat.com>
1049
1050 * dwarf2dbg.c (out_header): Remove spurious #if 1.
1051
1052 2015-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
1057 2015-03-13 Jiong Wang <jiong.wang@arm.com>
1058
1059 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
1060
1061 2015-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
1066 2015-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
1075 2015-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
1080 2015-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
1085 2015-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
1091 2015-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
1096 2015-03-10 Matthew Wahab <matthew.wahab@arm.com>
1097
1098 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
1099 code sections.
1100
1101 2015-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
1107 2015-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
1113 2015-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
1120 2015-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
1125 2015-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
1132 2015-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
1139 2015-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
1146 2015-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
1152 2015-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
1158 2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1159
1160 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
1161
1162 2015-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
1183 2015-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
1188 2015-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
1199 2015-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
1211 2015-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
1220 2015-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
1225 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1226
1227 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1228
1229 2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1230
1231 * config/tc-arm.c: Add support for Cortex-A72.
1232
1233 2015-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
1248 2015-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
1255 2015-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
1260 2015-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
1265 2015-02-04 Nick Clifton <nickc@redhat.com>
1266
1267 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1268 these instructions.
1269
1270 2015-02-03 Renlin Li <renlin.li@arm.com>
1271
1272 * doc/c-aarch64.texi (.arch): Document the directive.
1273 (.arch_extension): Likewise.
1274
1275 2015-02-03 Nick Clifton <nickc@redhat.com>
1276
1277 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1278
1279 2015-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
1288 2015-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
1293 2015-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
1298 2015-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
1303 2015-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
1320 2015-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
1325 2015-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
1338 2015-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
1343 2015-01-12 Alan Modra <amodra@gmail.com>
1344
1345 * read.c (s_altmacro, s_reloc): Make definition static.
1346
1347 2015-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
1352 2015-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
1358 2015-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
1364 2015-01-01 Alan Modra <amodra@gmail.com>
1365
1366 * as.c (parse_args): Just print current year.
1367
1368 2015-01-01 Alan Modra <amodra@gmail.com>
1369
1370 Update year range in copyright notice of all files.
1371
1372 For older changes see ChangeLog-2014
1373 \f
1374 Copyright (C) 2015 Free Software Foundation, Inc.
1375
1376 Copying and distribution of this file, with or without modification,
1377 are permitted in any medium without royalty provided the copyright
1378 notice and this notice are preserved.
1379
1380 Local Variables:
1381 mode: change-log
1382 left-margin: 8
1383 fill-column: 74
1384 version-control: never
1385 End:
This page took 0.09494 seconds and 4 git commands to generate.