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