xref: /netbsd/external/gpl3/gdb/dist/gas/ChangeLog-2015 (revision 1424dfb3)
12015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2
3	* config/tc-arm.c (arm_ext_v6t2_v8m): New feature for instructions
4	shared between ARMv6T2 and ARMv8-M.
5	(move_or_literal_pool): Check mov.w/mvn and movw availability against
6	arm_ext_v6t2 and arm_ext_v6t2_v8m respectively instead of checking
7	arm_arch_t2.
8	(do_t_branch): Error out for wide conditional branch instructions if
9	targetting ARMv8-M Baseline.
10	(non_v6t2_wide_only_insn): Add the logic for new wide-only instructions
11	in ARMv8-M Baseline.
12	(wide_insn_ok): New function.
13	(md_assemble): Use wide_insn_ok instead of non_v6t2_wide_only_insn and
14	adapt error message for unsupported wide instruction to ARMv8-M
15	Baseline.
16	(insns): Reorganize instructions shared by ARMv8-M Baseline and
17	ARMv6t2 architecture.
18	(arm_cpus): Set feature bit ARM_EXT2_V6T2_V8M for marvell-pj4 and
19	marvell-whitney cores.
20	(arm_archs): Define armv8-m.base architecture.
21	(cpu_arch_ver): Define ARM_ARCH_V8M_BASE architecture version.
22	(aeabi_set_public_attributes): Add logic to set Tag_CPU_arch to 17 for
23	ARMv8-M Mainline.  Set Tag_DIV_use for ARMv8-M Baseline as well.
24
252015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
26
27	* config/tc-arm.c (arm_ext_m): Include ARMv8-M.
28	(arm_ext_v8m): New feature for ARMv8-M.
29	(arm_ext_atomics): New feature for ARMv8 atomics.
30	(do_tt): New encoding function for TT* instructions.
31	(insns): Add new entries for ARMv8-M specific instructions and
32	reorganize the ones shared by ARMv8-M Mainline and ARMv8-A.
33	(arm_archs): Define armv8-m.main architecture.
34	(cpu_arch_ver): Define ARM_ARCH_V8M_MAIN architecture version and
35	clarify the ordering rule.
36	(aeabi_set_public_attributes): Use TAG_CPU_ARCH_* macro to refer to
37	Tag_CPU_arch values for ARMv7e-M detection.  Add logic to keep setting
38	Tag_CPU_arch to ARMv8-A for -march=all.  Also set Tag_CPU_arch_profile
39	to 'A' if extension bit for atomic instructions is set, unless it is
40	ARMv8-M.  Set Tag_THUMB_ISA_use to 3 for ARMv8-M.  Set Tag_DIV_use to 0
41	for ARMv8-M Mainline.
42
432015-12-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
44
45	* config/tc-arm.c (move_or_literal_pool): Check mov.w, mvm and movw
46	availability against arm_ext_v6t2 instead of checking arm_arch_t2,
47	fixing comments along the way.
48	(handle_it_state): Check arm_ext_v6t2 instead of arm_arch_t2 to
49	generate IT instruction.
50	(t1_isa_t32_only_insn): New function.
51	(md_assemble): Use above new function to check for invalid wide
52	instruction for CPU Thumb ISA and to determine what Thumb extension
53	bit is necessary for that instruction.
54	(md_apply_fix): Use arm_ext_v6t2 instead of arm_arch_t2 to decide if
55	branch is out of range.
56
572015-12-21  Nick Clifton  <nickc@redhat.com>
58
59	PR gas/19386
60	* doc/as.texinfo (Strings): Prepend a space to index entries that
61	start with a backslash.  This works around a problem in the pdf
62	generator.
63
642015-12-18  H.J. Lu  <hongjiu.lu@intel.com>
65
66	* config/tc-i386.c (optimize_imm): Store 32-bit immediate in
67	64-bit only for 64-bit BFD.
68	(optimize_disp): Optimize 64-bit displacement to 32-bit only
69	for 64-bit BFD.
70
712015-12-17  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
72
73	* config/tc-arm.c (aeabi_set_public_attributes): Adjust
74	TAG_ARCH_profile for armv8-a.
75
762015-12-16 Mickael Guene <mickael.guene@st.com>
77
78	* doc/c-arm.texi: Add documentation about new directives
79	* config/tc-arm.c (group_reloc_table): Add mapping between gas
80	syntax and new relocations.
81	(do_t_add_sub): Keep new relocations for add operand.
82	(do_t_mov_cmp): Keep new relocations for mov operand.
83	(insns): Use 'shifter operand with possible group relocation'
84	operand parse code for movs operand.
85	(md_apply_fix): Implement mov and add encoding when new
86	relocations on them.
87	(tc_gen_reloc): Add new relocations.
88	(arm_fix_adjustable): Since offset has a limited range ([0:255])
89	we disable adjust_reloc_syms() for new relocations.
90
912015-12-15  Nick Clifton  <nickc@redhat.com>
92
93	* doc/c-msp430.texi (MSP430 Options): Remove references to a
94	non-existant silicon errata.
95	* config/tc-msp430.c: Likewise.
96
972015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
98
99	* config/tc-aarch64.c (parse_neon_type_for_operand): Adjust to
100	take into account new vector type 2H.
101	(vectype_to_qualifier): Likewise.
102
1032015-12-14  Matthew Wahab  <matthew.wahab@arm.com>
104
105	* config/tc-aarch64.c (vectype_to_qualifier): Calculate operand
106	qualifier from per-type base and offet.
107
1082015-12-14  Yoshinori Sato <ysato@users.sourceforge.jp>
109
110	* config/rx-defs.h(rx_cpu_type): Add RXV2 type.
111	* config/tc-rx.c(cpu_type_list): New type lookup table.
112	(md_parse_option): Use lookup table for choose cpu.
113	(md_show_usage): Add rxv2 for mcpu option.
114	* doc/c-rx.texi: Likewise.
115	* config/rx-parse.y: Add v2 instructions and ACC register.
116	(rx_check_v2): check v2 type.
117
1182015-12-14  Jan Beulich  <jbeulich@suse.com>
119
120	* dw2gencfi.c (dot_cfi_label): Free "name".
121
1222015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
123
124	* config/tc-aarch64.c (aarch64_hint_opt_hsh): New.
125	(parse_barrier_psb): New.
126	(parse_operands): Add case for AARCH64_OPND_BARRIER_PSB.
127	(md_begin): Set up aarch64_hint_opt_hsh.
128
1292015-12-11  Matthew Wahab  <matthew.wahab@arm.com>
130
131	* config/tc-aarch64.c (aarch64_features): Add "profile".
132	* doc/c-aarch64.texi (AArch64 Extensions): Add "profile".
133
1342015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
135
136	* config/tc-aarch64.c (parse_sys_ins_reg): Add check of
137	architectural support for system register.
138
1392015-12-10  Jose E. Marchesi  <jose.marchesi@oracle.com>
140
141	* doc/c-sparc.texi (Sparc-Regs): Document the %dN and %qN notation
142	for floating-point registers.
143
1442015-12-10  Matthew Wahab  <matthew.wahab@arm.com>
145
146	* doc/c-aarch64.texi (AArch64 Extensions): Update entry for crc.
147
1482015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
149
150	* config/tc-arc.c (md_parse_option): Return 1 in order to accept
151	dummy arguments.
152
1532015-12-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
154
155	* config/tc-sparc.c (sparc_ip): Support %dN and %qN notation for
156	double and quad-precision floating-point registers.
157
1582015-12-09  Nick Clifton  <nickc@redhat.com>
159
160	* config/tc-rx.c (rx_relax_frag): Fix compile time warning.
161
1622015-12-08  Jan Beulich  <jbeulich@suse.com>
163
164	* read.c (in_bss): New.
165	(do_align): Use it to also warn for non-zero fill in .bss.
166	(do_org): Likewise.
167	(s_space): Likewise.
168	(s_fill): Error on bad use in .bss/.struct.
169	(float_cons): Likewise.
170	(emit_leb128_expr): Likewise.
171	(emit_expr_with_reloc): Defer handling use inside .struct. Also
172	error on non-zero item added to .bss.
173	(stringer_append_char): Error on non-zero character.
174
1752015-12-08  Jan Beulich  <jbeulich@suse.com>
176
177	* read.c (stringer): Move absolute section check up. Return
178	right away.
179
1802015-12-08  Jan Beulich  <jbeulich@suse.com>
181
182	* config/obj-elf.c (elf_file_symbol): Tighten condition for
183	moving BSF_FILE symbols.
184
1852015-12-08  DJ Delorie  <dj@redhat.com>
186
187	* config/rl78-parse.y: Make all branches relaxable via
188	rl78_linkrelax_branch().
189	* config/tc-rl78.c (rl78_linkrelax_branch): Mark all relaxable
190	branches with relocs.
191	(options): Add OPTION_NORELAX.
192	(md_longopts): Add -mnorelax.
193	(md_parse_option): Support OPTION_NORELAX.
194	(op_type_T): Add bh, sk, call, and br.
195	(rl78_opcode_type): Likewise.
196	(rl78_relax_frag): Fix not-relaxing logic.  Add sk.
197	(md_convert_frag): Fix relocation handling.
198	(tc_gen_reloc): Strip relax relocs when not linker relaxing.
199	(md_apply_fix): Defer overflow handling for anything that needs a
200	PLT, to the linker.
201	* config/tc-rl78.h (TC_FORCE_RELOCATION): Force all relocations to
202	the linker when linker relaxing.
203	* doc/c-rl78.texi (norelax): Add.
204
2052015-12-07  Alan Modra  <amodra@gmail.com>
206
207	* config/tc-ppc.c (md_apply_fix): Localize variables.  Reduce casts.
208
2092015-12-04  Nick Clifton  <nickc@redhat.com>
210
211	PR gas/19276
212	* config/tc-arm.h (SUB_SEGMENT_ALIGN): Do not define for COFF/PE
213	targets.
214
2152015-12-04  Claudiu Zissulescu  <claziss@synopsys.com>
216
217	* config/tc-arc.c (arc_option): Sets all internal gas options when
218	parsing .cpu directive.
219	(declare_register_set): Declare all 64 registers.
220	(md_section_align): Refactor.
221	(md_pcrel_from_section): Remove assert.
222	(pseudo_operand_match): Fix pseudo operand match.
223	(find_reloc): Use flags filed, extend matching.
224	* config/tc-arc.h (TC_VALIDATE_FIX): Don't fixup any PLT
225	relocation.
226
2272015-12-01  Alan Modra  <amodra@gmail.com>
228
229	* config/aout_gnu.h: Invoke aout N_* macros with pointer to
230	struct internal_exec.
231
2322015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
233
234	* config/tc-aarch64.c (aarch64_features): Add "fp16".
235	* doc/c-aarch64.texi (Architecture Extensions): Add "fp16".
236
2372015-11-24  Christophe Monat <christophe.monat@st.com>
238
239	* config/tc-arm.c (move_or_literal_pool): Do not transform ldr
240	ri,=imm into movs when ri is a high register in T1.
241
2422015-11-20  Nick Clifton  <nickc@redhat.com>
243
244	* po/fr.po: Updated French translation.
245	* po/uk.po: Updated Ukraninan translation.
246	* po/zh_CN.po: New simplified Chinese translation.
247	* configure.ac (ALL_LINGUAS): Add zh_CN.
248	* configure: Regenerate.
249
2502015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
251
252	* config/tc-arm.c (arm_archs): Add "armv8.2-a".
253	* doc/c-arm.texi (-march): Add "armv8.2-a".
254
2552015-11-19  Matthew Wahab  <matthew.wahab@arm.com>
256
257	* config/tc-aarch64.c (aarch64_archs): Add "armv8.2-a".
258	* doc/c-aarch64.texi (-march): Likewise.
259
2602015-11-19  Alan Modra  <amodra@gmail.com>
261
262	* read.c (output_big_leb128): Describe "sign" parameter.
263
2642015-11-19  Alan Modra  <amodra@gmail.com>
265
266	* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Define only for ELF.
267
2682015-11-16  Mike Frysinger  <vapier@gentoo.org>
269
270	* config/tc-microblaze.c (parse_imm): Add an offsetT cast.
271
2722015-11-13  Tristan Gingold  <gingold@adacore.com>
273
274	* configure: Regenerate.
275
2762015-11-13  Tristan Gingold  <gingold@adacore.com>
277
278	* NEWS: Add marker for 2.26.
279
2802015-11-12  James Greenhalgh  <james.greenhalgh@arm.com>
281
282	* config/tc-aarch64.c (aarch64_cpus): Add cortex-a35.
283	* doc/c-aarch64.texi (-mcpu=): Likewise.
284
2852015-11-12  James Greenhalgh  <james.greenhalgh@arm.com>
286
287	* config/tc-arm.c (arm_cpus): Likewise.
288	* doc/c-arm.texi (-mcpu=): Likewise.
289
2902015-11-12  Matthew Wahab  <matthew.wahab@arm.com>
291
292	PR gas/19217
293	* config/tc-arm.c (move_or_literal_pool): Remove redundant feature
294	check.  Fix some code formatting.  Drop use of MOVT.  Add some
295	comments.
296
2972015-11-11  Alan Modra  <amodra@gmail.com>
298	    Peter Bergner <bergner@vnet.ibm.com>
299
300	* doc/as.texinfo (Target PowerPC): Document -mpower9 and -mpwr9.
301	* doc/c-ppc.texi (PowerPC-Opts):  Likewise.
302	* config/tc-ppc.c (md_show_usage): Likewise.
303	(md_assemble): Handle BFD_RELOC_PPC_REL16DX_HA.
304	(md_apply_fix): Likewise.
305	(ppc_handle_align): Handle power9's group ending nop.
306
3072015-11-09  Jim Wilson  <jim.wilson@linaro.org>
308
309	* config/tc-aarch64.c (aarch64_cpus): Add qdf24xx.
310	* config/tc-arm.c (arm_cpus): Likewise.
311	* doc/c-arm.texi, doc/c-aarch64.texi: Likewise.
312
3132015-11-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
314
315	* read.c (parse_bitfield_cons): Fix left shift of negative value.
316	* config/tc-xstormy16.c (md_section_align): Likewise.
317	* config/tc-xgate.c (md_section_align): Likewise.
318	* config/tc-visium.c (md_section_align): Likewise.
319	* config/tc-v850.c (md_section_align): Likewise.
320	* config/tc-tic6x.c (md_section_align): Likewise.
321	* config/tc-sh.c (SH64PCREL32_M, SH64PCREL48_M, SH64PCREL32_M)
322	(MOVI_32_M, MOVI_48_M, MOVI_32_M, md_section_align): Likewise.
323	* config/tc-sh64.c (shmedia_md_estimate_size_before_relax): Likewise.
324	* config/tc-score.c (s3_section_align): Likewise.
325	* config/tc-score7.c (s7_section_align): Likewise.
326	* config/tc-s390.c (md_section_align): Likewise.
327	* config/tc-rx.c (md_section_align): Likewise.
328	* config/tc-rl78.c (md_section_align): Likewise.
329	* config/tc-ppc.c (md_section_align): Likewise.
330	* config/tc-or1k.c (md_section_align): Likewise.
331	* config/tc-nds32.c (md_section_align): Likewise.
332	* config/tc-mt.c (md_section_align): Likewise.
333	* config/tc-msp430.c (md_section_align): Likewise.
334	* config/tc-mn10300.c (md_section_align): Likewise.
335	* config/tc-mn10200.c (md_section_align): Likewise.
336	* config/tc-mips.c (md_section_align): Likewise.
337	* config/tc-microblaze.c (parse_imm): Likewise.
338	* config/tc-mep.c (md_section_align): Likewise.
339	* config/tc-m68k.c (md_section_align): Likewise.
340	* config/tc-m68hc11.c (md_section_align): Likewise.
341	* config/tc-m32r.c (md_section_align): Likewise.
342	* config/tc-m32c.c (md_section_align): Likewise.
343	* config/tc-lm32.c (md_section_align): Likewise.
344	* config/tc-iq2000.c (md_section_align): Likewise.
345	* config/tc-ip2k.c (md_section_align): Likewise.
346	* config/tc-ia64.c (dot_save, dot_vframe): Likewise.
347	* config/tc-i960.c (md_number_to_field, md_section_align): Likewise.
348	* config/tc-i386.c (md_section_align): Likewise.
349	* config/tc-i370.c (md_section_align): Likewise.
350	* config/tc-frv.c (md_section_align): Likewise.
351	* config/tc-fr30.c (md_section_align): Likewise.
352	* config/tc-epiphany.c (md_section_align): Likewise.
353	* config/tc-d30v.c (md_section_align): Likewise.
354	* config/tc-d10v.c (md_section_align): Likewise.
355	* config/tc-cr16.c (l_cons): Likewise.
356	* config/tc-bfin.c (md_section_align): Likewise.
357	* config/tc-arm.c (md_section_align): Likewise.
358	* config/tc-arc.c (md_section_align): Likewise.
359	* config/bfin-parse.y (expr_1): Likewise.
360
3612015-11-02  Nick Clifton  <nickc@redhat.com>
362
363	* config/rx-parse.y: Allow zero value for 5-bit displacements.
364
3652015-11-02  Nick Clifton  <nickc@redhat.com>
366
367	* config/tc-rx.c (parse_rx_section): Align parameter provides a
368	multiple of n argument, not a power of n argument.
369
3702015-10-29  Nick Clifton  <nickc@redhat.com>
371
372	* config/tc-aarch64.c (elf64_aarch64_target_format): Select the
373	cloudabi format if the TARGET_OS is cloudabi.
374
3752015-10-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
376
377	* config/tc-arm.c (insns): Guard cps by arm_ext_v6_notm instead of
378	arm_ext_v6_dsp.
379
3802015-10-28  Claudiu Zissulescu  <claziss@synopsys.com>
381
382	* config/tc-arc.c (tokenize_arguments): Avoid creating unused
383	symbols when parsing relocation types.
384	(md_apply_fix): Handle TLS relocations. Fix BFD_RELOC_ARC_32_PCREL
385	relocation.
386	(arc_check_reloc): Emit BFD_RELOC_ARC_32_PCREL relocation.
387
3882015-10-27  Jim Wilson  <jim.wilson@linaro.org>
389
390	* config/tc-arm.c (selected_cpu_name): Increase length of array to
391	accomodate "Samsung Exynos M1".
392	(arm_parse_cpu): Add assertion and length check to prevent
393	overfilling selected_cpu_name.
394
3952015-10-22  Nick Clifton  <nickc@redhat.com>
396
397	* config/tc-msp430.c (PUSH_1X_WORKAROUND): Delete.
398	(OPTION_SILICON_ERRATA): Define.
399	(OPTION_SILICON_WARN): Define.
400	(md_parse_opton): Handle silicon errata options.
401	(md_longopts): Add silicon errata options.
402	(ms_show_usage): Report silicon errata options.
403	(msp430_srcoperand): Handle silicon errata.
404	(msp430_operands): Likewise. Improve nop insertion.
405	(msp430_fix_adjustable): Update warning generation.
406	* doc/c-msp430.texi: Document silicon errata options.
407
4082015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
409
410	* configure.ac: Properly check
411	--enable-compressed-debug-sections={yes,all}.
412	* configure: Regenerated.
413
4142015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
415
416	PR gas/19109
417	* configure.ac: Handle --enable-compressed-debug-sections=*,gas,*.
418	* configure: Regenerated.
419
4202015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
421
422	* config/tc-i386.c (tc_i386_fix_adjustable): Handle
423	BFD_RELOC_X86_64_GOTPCRELX and BFD_RELOC_X86_64_REX_GOTPCRELX.
424	(tc_gen_reloc): Likewise.
425	(i386_validate_fix): Generate BFD_RELOC_X86_64_GOTPCRELX or
426	BFD_RELOC_X86_64_REX_GOTPCRELX if fx_tcbit2 is set.
427	* config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Also return
428	true for BFD_RELOC_X86_64_GOTPCRELX and
429	BFD_RELOC_X86_64_REX_GOTPCRELX.
430
4312015-10-22  H.J. Lu  <hongjiu.lu@intel.com>
432
433	* config/tc-i386.c (tc_i386_fix_adjustable): Handle
434	BFD_RELOC_386_GOT32X.
435	(tc_gen_reloc): Likewise.
436	(match_template): Force 0x8b encoding for "mov foo@GOT, %eax".
437	(output_disp): Check for "call/jmp *mem", "mov mem, %reg",
438	"test %reg, mem" and "binop mem, %reg" where binop is one of
439	adc, add, and, cmp, or, sbb, sub, xor instructions.  Set
440	fx_tcbit if the REX prefix is generated.  Set fx_tcbit2 if
441	BFD_RELOC_386_GOT32X should be generated.
442	(i386_validate_fix): Generate BFD_RELOC_386_GOT32X if fx_tcbit2
443	is set.
444
4452015-10-21  Nick Clifton  <nickc@redhat.com>
446
447	PR gas/19109
448	* configure.ac: Restore --enable-compressed-debug-sections, with
449	options of all, none or gas.
450	Do not enable compressed debug sections by default for x86 Linux
451	targets.
452	* configure: Regenerate.
453
4542015-10-20  H.J. Lu  <hongjiu.lu@intel.com>
455
456	PR gas/19109
457	* NEWS: Update --enable-compressed-debug-sections=.
458	* configure.ac: Remove --enable-compressed-debug-sections.
459	(DEFAULT_FLAG_COMPRESS_DEBUG): Check
460	--enable-compressed-debug-sections={all,gas} instead of
461	--enable-compressed-debug-sections.  For x86 Linux targets,
462	default to compressing debug sections.
463	* configure: Regenerated.
464
4652015-10-19  Nick Clifton  <nickc@redhat.com>
466
467	PR gas/19109
468	* configure.ac: Add option --enable-compressed-debug-sections.
469	This sets the default behaviour for compressing debug sections.
470	* as.c (flag_compress_debug): Define and initialise to
471	COMPRESS_DEBUG_GABI_ZLIB if DEFAULT_COMPRESS_DEBUG is set.
472	(show_usage): Indicate whether --no-compress-debug-sections
473	or --compress-debug-sections is the default.
474	* config/tc-i386.c (flag_compress_debug): Delete definition.
475	* doc/as.texinfo (--nocompress-debug-sectionas): Update
476	description.
477	* NEWS: Announce the new feature.
478	* config.in: Regenerate.
479	* configure: Regenerate.
480
4812015-10-12  Nick Clifton  <nickc@redhat.com>
482
483	* config/tc-msp430.c (msp430_mcu_names): Rename to
484	msp430_mcu_data.  Add fields for the ISA and hardware multiply
485	support.  Update with information from the latest devices.csv
486	file.
487	(md_parse_option): Make use of the new array.
488
4892015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
490
491	* config/tc-avr.c (avr_output_property_record): Fix overwrite bug
492	for align and fill records.
493	(avr_handle_align): Record fill information for align frags.
494	(create_record_for_frag): Add next frag assertion, use correct
495	address for align records.
496
4972015-10-10  Alan Modra  <amodra@gmail.com>
498
499	PR gas/19113
500	* read.c (next_char_of_string): Mask char after escape.  Use
501	CHAR_MASK rather than 0xff.
502
5032015-10-07  Yao Qi  <yao.qi@linaro.org>
504
505	* config/tc-aarch64.c (md_begin): Access field 'name' rather
506	than 'template'.
507
5082015-10-07  Claudiu Zissulescu  <claziss@synopsys.com>
509
510	* config/tc-arc.c: Revamped file for ARC support.
511	* config/tc-arc.h: Likewise.
512	* doc/as.texinfo: Add new ARC options.
513	* doc/c-arc.texi: Likewise.
514
5152015-10-02  Renlin Li <renlin.li@arm.com>
516
517	* config/tc-aarch64.c (s_tlsdescadd): New.
518	(s_tlsdescldr): New.
519	(md_pseudo_table): Handle tlsdescadd and tlsdescldr pseudo ops.
520	(reloc_table): Add entries for BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC and
521	BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC.
522	(process_movw_reloc_info): Support AARCH64_TLSDESC_OFF_G1 and
523	AARCH64_TLSDESC_OFF_G0_NC.
524	(md_apply_fix): Likewise.
525	(aarch64_force_relocation): Likewise.
526
5272015-10-02  Renlin Li <renlin.li@arm.com>
528
529	* config/tc-aarch64.c (reloc_table): Add two entries for
530	gottprel_g0_nc and gottprel_g1.
531	(process_movw_reloc_info): Add support.
532	(md_apply_fix): Likewise.
533	(aarch64_force_relocation): Likewise.
534
5352015-10-02  Renlin Li <renlin.li@arm.com>
536
537	* config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g0_nc.
538	(process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
539	(md_apply_fix): Likewise.
540	(aarch64_force_relocation): Likewise.
541
5422015-10-02  Renlin Li <renlin.li@arm.com>
543
544	* config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g1.
545	(process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
546	(md_apply_fix): Likewise.
547	(aarch64_force_relocation): Likewise.
548
5492015-10-02  Renlin Li <renlin.li@arm.com>
550
551	* config/tc-aarch64.c (reloc_table): New relocation modifier
552	gotoff_g0_nc.
553	(process_movw_reloc_info): Support gotoff_g0_nc.
554	(md_apply_fix): Likewise.
555
5562015-10-02  Renlin Li  <renlin.li@arm.com>
557
558	* config/tc-aarch64.c (reloc_table): New relocation modifier
559	gotoff_g1.
560	(process_movw_reloc_info): Support newly added modifier.
561	(md_apply_fix): Likewise.
562
5632015-09-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
564
565	* doc/c-s390.texi: Add documentation.
566	Add missing code markup.
567	* config/tc-s390.c (current_flags): New static variable.
568	(s390_parse_cpu): Parse cpu flags a la "+nohtm" etc.
569	(s390_setup_opcodes): Use cpu flags to determine the set of opcodes.
570	Fix indentation.
571	(md_parse_option): Call s390_parse_cpu with the new signature.
572	(s390_machine): Likewise.
573	Keep track of current_flags.
574	Simplify code a bit.
575	undefine MAX_HISTORY at end of function.
576	(s390_machinemode): undefine MAX_HISTORY at end of function.
577	Update an error message.
578
5792015-08-11  Peter Zotov  <whitequark@whitequark.org>
580
581	PR ld/18759
582	* config/tc-or1k.c (tc_gen_reloc): Correct computation of PC
583	relative relocs.
584	* config/tc-or1k.h (GAS_CGEN_PRCEL_R_TYPE): Delete.
585
5862015-09-25  Ryo ONODERA  <ryo_on@yk.rim.or.jp>
587
588	PR 18994
589	* configure.ac (nds32): Don't use bash == in tests.
590	* configure: Regenerate.
591
5922015-09-23  Nick Clifton  <nickc@redhat.com>
593
594	* config/tc-ppc.c (insn_validate): Cast PPC_OPSHIFT_INV to an int.
595
5962015-09-22  Nick Clifton  <nickc@redhat.com>
597
598	* config/tc-rx.c (nop_7): Recode using MAX.
599
6002015-09-05  Chen Gang  <gang.chen.5i5j@gmail.com>
601
602	* config/tc-avr.c (md_section_align): Append UL for -1 to avoid
603	the latest gcc's warning.
604
6052015-08-27  Alan Modra  <amodra@gmail.com>
606
607	PR gas/18581
608	* config/tc-aarch64.h (TC_START_LABEL): Redefine.
609	* config/tc-arm.c (tc_start_label_without_colon): Delete params.
610	Use input_line_pointer directly.
611	* config/tc-arm.h (TC_START_LABEL): Redefine.
612	(TC_START_LABEL_WITHOUT_COLON): Redefine.
613	(tc_start_label_without_colon): Update prototype.
614	* config/tc-bfin.c (bfin_start_label): Delete ptr param.  Check
615	for NUL instead.
616	* config/tc-bfin.h (bfin_start_label): Update prototype.
617	(TC_START_LABEL): Redefine.
618	* config/tc-d30v.h (TC_START_LABEL): Redefine.
619	* config/tc-fr30.c (restore_colon): Rewrite.
620	(fr30_is_colon_insn): Add nul_char param.  Return int.  Bump
621	i_l_p over quote.  Update restore_colon calls.
622	* config/tc-fr30.h (TC_START_LABEL): Redefine.
623	(fr30_is_colon_insn): Update prototype.
624	* config/tc-m32c.c (restore_colon, m32c_is_colon_insn): As above.
625	* config/tc-m32c.h (TC_START_LABEL): Redefine.
626	(m32c_is_colon_insn): Update prototype.
627	* config/tc-m32r.h (TC_START_LABEL): Redefine.
628	* config/tc-mep.h (TC_START_LABEL): Redefine.
629	* config/tc-nds32.h (TC_START_LABEL): Redefine.
630	* config/tc-tic54x.c (tic54x_start_label): Replace params with
631	nul_char and next_char.  Step over trailing quote.
632	* config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Redefine.
633	(tic54x_start_label): Update prototype.
634	* read.c (TC_START_LABEL): Redefine.  Update invocation.
635	(TC_START_LABEL_WITHOUT_COLON): Update invocation.
636	* config/tc-nios2.c (s_nios2_set): Save initial input_line_pointer
637	and restore if calling s_set.  Don't restore delim again.
638
6392015-08-26  Alan Modra  <amodra@gmail.com>
640
641	PR gas/18581
642	* config/tc-mn10200.c (md_assemble <mdr>): Move restore_line_pointer
643	call to where input line used to be restored.
644	* config/tc-mn10300.c (md_assemble <usp>): Remove redundant input
645	line restore.
646	* config/tc-tilepro.c (parse_reg_expression): Add regname var.
647
6482015-08-26  Nick Clifton  <nickc@redhat.com>
649
650	PR gas/18842
651	* configure.ac (AS_CHECK_DECLS): Add asprintf.
652	* configure: Regenerate.
653	* config.in: Regenerate.
654
6552015-08-25  Jose E. Marchesi  <jose.marchesi@oracle.com>
656
657	* config/tc-sparc.c (priv_reg_table): New privileged register
658	%pmcdper.
659
6602015-08-21  Nick Clifton  <nickc@redhat.com>
661
662	PR gas/18581
663	* expr.c (get_symbol_end): Rename to get_symbol_name.  Add a
664	return parameter pointing to the start of the symbol.  Allow
665	symbol names enclosed in double quotes.
666	(restore_line_pointer): New function.  Replace the NUL character
667	inserted into the input stream with the given character.  If the
668	character was a double quote, advance the input pointer.
669	* expr.h (get_symbol_end): Delete.
670	(get_symbol_name): Add prototype.
671	(restore_line_pointer): Prototype.
672	* read.h (SKIP_WHITESPACE_AFTER_NAME): New macro.
673	* doc/as.texinfo (Symbol Intro): Document that symbol names can
674	now be enclosed in double quotes.
675	* cond.c (s_ifdef): Replace get_symbol_end with get_symbol_name.
676	Use restore_line_pointer to replace the NUL in the input stream.
677	Use SKIP_WHITESPACE_AFTER_NAME to skip past the end of a symbol.
678	Check for the use of double quoted symbol names.
679	* expr.c: Likewise.
680	* config/obj-aout.c: Likewise.
681	* config/obj-coff-seh.c: Likewise.
682	* config/obj-coff.c: Likewise.
683	* config/obj-elf.c: Likewise.
684	* config/obj-evax.c: Likewise.
685	* config/obj-macho.c: Likewise.
686	* config/obj-som.c: Likewise.
687	* config/tc-alpha.c: Likewise.
688	* config/tc-arc.c: Likewise.
689	* config/tc-arm.c: Likewise.
690	* config/tc-dlx.c: Likewise.
691	* config/tc-h8300.c: Likewise.
692	* config/tc-hppa.c: Likewise.
693	* config/tc-i370.c: Likewise.
694	* config/tc-i386-intel.c: Likewise.
695	* config/tc-i386.c: Likewise.
696	* config/tc-i960.c: Likewise.
697	* config/tc-ia64.c: Likewise.
698	* config/tc-iq2000.c: Likewise.
699	* config/tc-m32r.c: Likewise.
700	* config/tc-m68hc11.c: Likewise.
701	* config/tc-m68k.c: Likewise.
702	* config/tc-microblaze.c: Likewise.
703	* config/tc-mips.c: Likewise.
704	* config/tc-mmix.c: Likewise.
705	* config/tc-mn10200.c: Likewise.
706	* config/tc-mn10300.c: Likewise.
707	* config/tc-nios2.c: Likewise.
708	* config/tc-ppc.c: Likewise.
709	* config/tc-s390.c: Likewise.
710	* config/tc-score.c: Likewise.
711	* config/tc-score7.c: Likewise.
712	* config/tc-sparc.c: Likewise.
713	* config/tc-tic4x.c: Likewise.
714	* config/tc-tic54x.c: Likewise.
715	* config/tc-tic6x.c: Likewise.
716	* config/tc-tilegx.c: Likewise.
717	* config/tc-tilepro.c: Likewise.
718	* config/tc-v850.c: Likewise.
719	* config/tc-xtensa.c: Likewise.
720	* config/tc-z80.c: Likewise.
721	* dw2gencfi.c: Likewise.
722	* dwarf2dbgc.: Likewise.
723	* ecoff.c: Likewise.
724	* read.c: Likewise.
725	* stabs.c: Likewise.
726
7272015-08-19  Jiong Wang  <jiong.wang@arm.com>
728
729	* config/tc-aarch64.c (reloc_table): New relocation types support for
730	dtprel_lo12.
731	(ldst_lo12_determine_real_reloc_type): Support
732	BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
733	BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
734	BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
735	BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
736	BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
737	BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
738	BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
739	BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
740	(parse_operands): Likewise.
741	(md_apply_fix): Likewise.
742	(aarch64_force_relocation): Likewise.
743	(process_movw_reloc_info): Likewise.
744
7452015-08-19  Jiong Wang  <jiong.wang@arm.com>
746
747	* config/tc-aarch64.c (reloc_table): New relocation modifiers,
748	"dtprel_hi12", "dtprel_g0", "dtprel_g0_nc", "dtprel_g1",
749	"dtprel_g1_nc", "dtprel_g2".
750	(md_apply_fix): Support new relocation types.
751	(aarch64_force_relocation): Likewise.
752	(process_movw_reloc_info): Likewise.
753
7542015-08-19  Jiong Wang  <jiong.wang@arm.com>
755
756	* config/tc-aarch64.c (reloc_table): New relocation modifiers.
757	(md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
758	(aarch64_force_relocation): Likewise.
759
7602015-08-17  Alan Modra  <amodra@gmail.com>
761
762	* config/tc-arm.c (s_align): Delete.
763	(md_pseudo_table): Use s_align_ptwo for "align".
764	* config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define.
765	* read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT.
766
7672015-08-13  Alan Modra  <amodra@gmail.com>
768
769	* expr.c (operand): Rewrite handling of operands starting with "0f".
770	If atof_generic only parses "-" or "+", treat as expression.
771
7722015-08-13  Alan Modra  <amodra@gmail.com>
773	    DJ Delorie  <dj@redhat.com>
774
775	* expr.c (integer_constant): Return O_absent expression if eol.
776	(operand): For targets with both LOCAL_LABELS_FB and
777	NUMBERS_WITH_SUFFIX set, treat "0b" not followed by binary
778	digits as a local label reference.  Correct handling of 0b prefix.
779	If a suffix is not allowed, error on 0B.
780
7812015-08-13  Alan Modra  <amodra@gmail.com>
782
783	* doc/as.texinfo (Local Labels): Allowed range of N in local
784	labels is non-negative integers, not positive integers.
785
7862015-08-12  David Weatherford  <weath@cadence.com>
787
788	* config/tc-xtensa.c (struct litpool_frag, struct litpool_seg):
789	New structures.
790	(xtensa_maybe_create_literal_pool_frag): New function.
791	(litpool_seg_list, auto_litpools, auto_litpool_limit)
792	(litpool_buf, litpool_slotbuf): New static variables.
793	(option_auto_litpools, option_no_auto_litpools)
794	(option_auto_litpool_limit): New enum identifiers.
795	(md_longopts): Add entries for auto-litpools, no-auto-litpools
796	and auto-litpool-limit.
797	(md_parse_option): Handle option_auto_litpools,
798	option_no_auto_litpools and option_auto_litpool_limit.
799	(md_show_usage): Add help for --[no-]auto-litpools and
800	--auto-litpool-limit.
801	(xtensa_mark_literal_pool_location): Record a place for literal
802	pool with a call to xtensa_maybe_create_literal_pool_frag.
803	(get_literal_pool_location): Find highest priority literal pool
804	or convert candidate to literal pool when auto-litpools are used.
805	(xg_assemble_vliw_tokens): Create literal pool after jump
806	instruction.
807	(xtensa_check_frag_count): Create candidate literal pool every
808	auto_litpool_limit frags.
809	(xtensa_relax_frag): Add jump around literals to non-empty
810	literal pool.
811	(xtensa_move_literals): Estimate literal pool addresses and move
812	unreachable literals closer to their users, converting candidate
813	to literal pool if needed.
814	(xtensa_switch_to_non_abs_literal_fragment): Only emit error
815	about missing .literal_position in case auto-litpools are not
816	used.
817	* config/tc-xtensa.h (xtensa_relax_statesE): New relaxation
818	state: RELAX_LITERAL_POOL_CANDIDATE_BEGIN.
819	* doc/as.texinfo (Xtensa options):  Document --auto-litpools and
820	--no-auto-litpools options.
821	* doc/c-xtensa.texi (Xtensa options): Likewise.
822
8232015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
824
825	* config/tc-mips.c (move_register): Change to use 'or' only.
826	(s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
827	use or for move.
828
8292015-08-11  Jiong Wang  <jiong.wang@arm.com>
830
831	* config/tc-aarch64.c (reloc_table): New relocation modifiers
832	"dtprel_lo12".
833	(md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
834	(aarch64_force_relocation): Likewise.
835
8362015-08-11  Jiong Wang  <jiong.wang@arm.com>
837
838	* config/tc-aarch64.c (reloc_table): New relocation modifiers.
839	(md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
840	(aarch64_force_relocation): Likewise.
841
8422015-08-11  Jiong Wang  <jiong.wang@arm.com>
843
844	* config/tc-aarch64.c (reloc_table): New relocation modifiers.
845	(md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
846	(aarch64_force_relocation): Likewise.
847
8482015-08-11  Nick Clifton  <nickc@redhat.com>
849
850	PR gas/18765
851	* config/tc-arm.c (move_or_literal_pool): Use U suffix to remove
852	compile time warnings about constant expressions being shifted
853	into bit 31.
854	(do_iwmmxt_wldstd): Likewise.
855	(do_iwmmxt_wrwrwr_or_imm5): Likewise.
856	(md_assemble): Likewise.
857
858	PR gas/18574
859	* config/tc-msp430.c (msp430_operands): Rewrite if statements to
860	remove redundant checks.
861	(md_apply_fix): Likewise.
862
863	PR gas/18677
864	* config/tc-mmix.c (md_assemble): Fix typo checking operands with
865	a numeric constant value.
866
867	PR gas/18678
868	* config/tc-tic4x.c (tic4x_insn_check): Fix typo.
869
870	PR gas/18679
871	* config/xtensa-relax.c (same_operand_name): Fix typo.
872
8732015-08-08  Hans-Peter Nilsson  <hp@axis.com>
874
875	* tc-arm.c (double_to_single, is_double_a_single): Append ULL to
876	0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts.
877
8782015-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
879
880	* doc/c-aarch64.texi (.xword): Document directive.
881
8822015-08-03  Nick Clifton  <nickc@redhat.com>
883
884	* doc/as.texinfo (Overview): Add --hash-size to the synopsis and
885	fix typo in its entry: @kindex -> @item.
886
8872015-07-28  Robert Suchanek  <robert.suchanek@imgtec.com>
888
889	* config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
890	* doc/c-mips.texi: Document m5100 and m5101 for -march=.
891
8922015-07-28  Robert Suchanek  <robert.suchanek@imgtec.com>
893
894	* config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
895	* doc/c-mips.text: Document -march=interaptiv.
896
8972015-07-27  H.J. Lu  <hongjiu.lu@intel.com>
898
899	* configure: Regenerated.
900
9012015-07-24  Nick Clifton  <nickc@redhat.com>
902
903	* config/tc-rl78.c (rl78_abs_sym): New local variable.
904	(md_begin): Initialise the new symbol.
905	(OPIMM): Define the value to be relative to the new symbol and not
906	the absolute section symbol.
907
9082015-07-22  Alan Modra  <amodra@gmail.com>
909
910	PR gas/18687
911	* input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
912	loop.  Don't drop lines at end of file lacking a newline, add a
913	newline instead.  Ensure partial_size is zero whenever
914	partial_where is NULL.  Adjust buffer size for extra char.
915	(input_scrub_push, input_scrub_begin): Adjust buffer size here too.
916
9172015-07-20  Matthew Wahab  <matthew.wahab@arm.com>
918
919	* NEWS: Mention corrected spelling of armv6kz.
920	* config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
921	ARM_ARCH_V6KZ.
922	(arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
923	* doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
924
9252015-07-16  Jiong Wang  <jiong.wang@arm.com>
926
927	* config/tc-aarch64.c (reloc_table): New relocation modifiers.
928	(md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
929	(aarch64_force_relocation): Ditto.
930
9312015-07-16  Matthew Wahab  <matthew.wahab@arm.com>
932
933	* config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
934	* doc/c-arm.texi (-mfpu=): Likewise.  Correct the entry for
935	neon-fp-armv8.1.
936
9372015-07-16  James Greenhalgh  <james.greenhalgh@arm.com>
938
939	* config/tc-arm.c (md_assemble): Rephrase the "selected processor does
940	not support ARM mode" error messages.
941
9422015-07-15  H.J. Lu  <hongjiu.lu@intel.com>
943
944	* config/tc-i386.c (flag_compress_debug): Replace
945	COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
946
9472015-07-14  H.J. Lu  <hongjiu.lu@intel.com>
948
949	* as.c (parse_args): Make --compress-debug-sections and
950	--compress-debug-sections=zlib the same as
951	--compress-debug-sections=zlib-gabi.
952	* doc/as.texinfo: Change --compress-debug-sections and
953	--compress-debug-sections=zlib to zlib-gabi.
954
9552015-07-09  Catherine Moore  <clm@codesourcery.com>
956
957	* config/tc-mips.c (check_fpabi):  Handle
958	VAL_GNU_MIPS_ABI_FP_NAN2008.
959
9602015-07-08  Ciro Santilli  <ciro.santilli@gmail.com>
961
962	* doc/as.texinfo: Clarify case requirements for pseudo ops.
963
9642015-07-08  Pitchumani Sivanupandi <pitchumani.s@atmel.com>
965
966	* config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
967	32 bit PC relative and update offset if the fixup is pc-relative.
968	* config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
969	relocs.
970
9712015-07-03  Alan Modra  <amodra@gmail.com>
972
973	* config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
974	* doc/c-ppc.texi (PowerPC-Opts): Likewise.
975
9762015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
977	    Cesar Philippidis  <cesar@codesourcery.com>
978
979	* config/tc-nios2.c (nios2_min_align): New.
980	(nop): Replace with....
981	(nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
982	(nios2_align): Handle alignment on 2-byte boundaries when CDX
983	instructions may be present.
984	(s_nios2_align): Adjust reference to nop.
985	(CDXBRANCH, IS_CDXBRANCH): New.
986	(CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
987	(nios2_relax_subtype_size): Handle 2-byte CDX branches.
988	(nios2_relax_frag): Likewise.
989	(md_convert_frag): Handle R2 encodings.
990	(nios2_check_overflow): Check that low-order bits are zero
991	before applying rightshift from howto.
992	(nios2_check_overflow): Correct negative overflow calculation.
993	(nios2_diagnose_overflow): Handle signed_immed12_overflow.  Issue
994	generic overflow messages for miscellaneous instruction formats.
995	(md_apply_fix): Recognize new R2 relocations.  For pc_relative
996	relocations, store fixup in *valP.
997	(nios2_reglist_mask, nios2_reglist_dir): New.
998	(nios2_parse_reglist): New.
999	(nios2_parse_base_register): New.
1000	(nios2_assemble_expression): Handle constant expressions designated
1001	by BFD_RELOC_NONE.
1002	(nios2_assemble_reg3): New.
1003	(nios2_assemble_arg_c): Handle R2 instruction formats.
1004	(nios2_assemble_arg_d): Likewise.
1005	(nios2_assemble_arg_s): Likewise.
1006	(nios2_assemble_arg_t): Likewise.
1007	(nios2_assemble_arg_D): New.
1008	(nios2_assemble_arg_S): New.
1009	(nios2_assemble_arg_T): New.
1010	(nios2_assemble_arg_i): Handle R2 instruction formats.
1011	(nios2_assemble_arg_I): New.
1012	(nios2_assemble_arg_u): Handle R2 instruction formats.
1013	(nios2_assemble_arg_U): New.
1014	(nios2_assemble_arg_V): New.
1015	(nios2_assemble_arg_W): New.
1016	(nios2_assemble_arg_X): New.
1017	(nios2_assemble_arg_Y): New.
1018	(nios2_assemble_arg_o): Handle R2 instruction formats.
1019	(nios2_assemble_arg_O): New.
1020	(nios2_assemble_arg_P): New.
1021	(nios2_assemble_arg_j): Handle R2 instruction formats.
1022	(nios2_assemble_arg_k): New.
1023	(nios2_assemble_arg_l): Handle R2 instruction formats.
1024	(nios2_assemble_arg_m): Likewise.
1025	(nios2_assemble_arg_M): New.
1026	(nios2_assemble_arg_N): New.
1027	(nios2_assemble_arg_e): New.
1028	(nios2_assemble_arg_f): New.
1029	(nios2_assemble_arg_g): New.
1030	(nios2_assemble_arg_h): New.
1031	(nios2_assemble_arg_R): New.
1032	(nios2_assemble_arg_B): New.
1033	(nios2_assemble_args): Handle new argument letters.
1034	(nios2_consume_arg): Likewise.
1035	(nios2_translate_pseudo_insn): Avoid dereferencing null pointer
1036	in error message.
1037	(nios2_ps_insn_info_structs): Add nop.n.
1038	(output_ubranch): Handle CDX branches.
1039	(output_cbranch): Likewise.
1040	(output_call): Handle R2 encodings.
1041	(output_movia): Likewise.
1042	(md_begin): Initialize nios2_min_align.
1043	(md_assemble): Align to nios2_min_align.  Adjust nios2_min_align
1044	if a 16-bit instruction is seen.
1045	(nios2_cons_align): Use appropriate nop pattern.
1046
10472015-07-01  Sandra Loosemore  <sandra@codesourcery.com>
1048	    Cesar Philippidis  <cesar@codesourcery.com>
1049
1050	* config/tc-nios2.c: Adjust includes.
1051	(OPTION_MARCH): Define.
1052	(md_longopts): Add -march option.
1053	(nios2_architecture): New.
1054	(nios2_use_arch): New.
1055	(md_parse_option): Handle OPTION_MARCH.
1056	(md_show_usage): Document -march.
1057	(md_begin): Set arch in BFD.
1058	(nios2_elf_final_processing): New.
1059	* config/tc-nios2.h (elf_tc_final_processing): Define.
1060	(nios2_elf_final_processing): New.
1061	* doc/c-nios2.texi (-march): Add documentation.
1062
10632015-06-30  Amit Pawar  <Amit.Pawar@amd.com>
1064
1065	* config/tc-i386.c (cpu_arch): Add .mwaitx.
1066	(process_immext): Check operands for monitorx/mwaitx instructions.
1067	* doc/c-i386.texi: Document mwaitx.
1068
10692015-06-28  H.J. Lu  <hongjiu.lu@intel.com>
1070
1071	* as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
1072	COMPRESS_DEBUG_GNU_ZLIB.
1073	* config/tc-i386.c (flag_compress_debug): Likewise.
1074
10752015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1076
1077	* doc/as.texinfo (.cfi_lsda): Remove the extra @section.
1078
10792015-06-19  Peter Bergner  <bergner@vnet.ibm.com>
1080
1081	* config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
1082	Allow for optional operands without insert functions.
1083
10842015-06-18  Nick Clifton  <nickc@redhat.com>
1085
1086	PR gas/18541
1087	* config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
1088	mode against a nearby symbol.
1089
10902015-06-18  Nick Clifton  <nickc@redhat.com>
1091
1092	PR gas/18481
1093	* config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
1094	in the same case as BFD_RELOC_ARM_TLS_IS32.
1095
10962015-06-17  Nick Clifton  <nickc@redhat.com>
1097
1098	* config/tc-arm.c (is_double_a_single): Make conditional upon the
1099	availablity of a 64-bit type.  Use this type for the argument and
1100	mantissa.
1101	(double_to_single): Likewise.
1102	* config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
1103	the constant value, if available.  Generate a 64-bit value from a
1104	bignum if supported.  Only perform the second optimization for
1105	PR 18500 if the 64-bit type is available.
1106
11072015-06-17  Alessandro Marzocchi  <alessandro.marzocchi@gmail.com>
1108
1109	PR gas/18500
1110	* config/tc-arm.c (is_double_a_single): New function.
1111	(double_to_single): New function.
1112	(move_or_literal_pool): Add support for converting VLDR to VMOV.
1113
1114	PR gas/18499
1115	* config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
1116	to MOV.w or MVN.w for Thumb2.
1117
11182015-06-17  Nicolas Pitre <nico@linaro.org>
1119
1120	* as.c (show_usage): Document --sectname-subst.
1121	(parse_args): Add --sectname-subst.
1122	* as.h (flag_sectname_subst): New.
1123	* config/obj-elf.c (obj_elf_section_name): Add %S substitution.
1124	* doc/as.texinfo: Document it.
1125
11262015-06-15  Renlin Li  <renlin.li@arm.com>
1127
1128	* config/tc-aarch64.c (reloc_table): New relocation modifier.
1129	(md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
1130	(aarch64_force_relocation): Ditto
1131
11322015-06-13  Mark Wielaard  <mjw@redhat.com>
1133
1134	* dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
1135	out_debug_aranges depends on it.
1136	(out_debug_aranges): Track size of header to properly pad header
1137	for address alignment.
1138
11392015-06-11  John David Anglin  <danglin@gcc.gnu.org>
1140
1141	PR gas/18427
1142	* config/tc-hppa.c (last_label_symbol): Declare.
1143	(pa_get_label): Return last label in current space/segment or NULL.
1144	(pa_define_label): Record last label and add to root.
1145	(pa_undefine_label): Remove last label from root.
1146
11472015-06-08  Nick Clifton  <nickc@redhat.com>
1148
1149	* config/tc-rx.c (rx_op): Correct handling of integer bignums.
1150
11512015-06-04  Matthew Wahab  <matthew.wahab@arm.com>
1152
1153	* NEWS: Mention ARMv8.1 support in the Aarch64 port.
1154	* config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
1155	* doc/c-aarch64.texi (-march): Add "armv8.1-a".
1156
11572015-06-04  Renlin Li  <renlin.li@arm.com>
1158
1159	* config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
1160	when available.
1161
11622015-06-04  Nick Clifton  <nickc@redhat.com>
1163
1164	* config/tc-h8300.c (md_section_align): Fix compile time warning
1165	about left shifting a negative value.
1166
11672015-06-03  Matthew Wahab  <matthew.wahab@arm.com>
1168
1169	* config/tc-arm.c (arm_archs): Add "armv8.1-a".
1170	* doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
1171	* NEWS: Mention ARMv8.1 support.
1172
11732015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
1174
1175	* config/tc-arm.c (arm_ext_pan): New.
1176	(do_setpan): New, encode an ARM SETPAN instruction.
1177	(do_t_setpan): New, encode a Thumb SETPAN instruction.
1178	(insns): Add "setpan".
1179	(arm_extensions): Add "pan".
1180	* doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
1181	extensions.
1182
11832015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
1184
1185	* config/tc-aarch64.c (aarch64_features): Add "rdma".
1186	* doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
1187
11882015-06-02  Matthew Wahab  <matthew.wahab@arm.com>
1189
1190	* config/tc-aarch64.c (aarch64_features): Add "lor".
1191	* doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
1192	architecture extensions.
1193
11942015-06-01  Matthew Wahab  <matthew.wahab@arm.com>
1195
1196	* config/tc-aarch64.c (parse_sys_reg): New parameter.  Check target
1197	support.  Fix whitespace.
1198	(parse_operands): Update for parse_sys_reg changes.
1199	(aarch64_features): Add "pan".
1200	* doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
1201
12022015-06-01  Jiong Wang  <jiong.wang@arm.com>
1203
1204	* config/tc-aarch64.c (reloc_table): New relocation modifiers.
1205	(md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
1206	(aarch64_force_relocation): Ditto.
1207
12082015-06-01  Jiong Wang  <jiong.wang@arm.com>
1209
1210	* config/tc-aarch64.c (reloc_table): New relocation modifiers.
1211	(md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
1212	(aarch64_force_relocation): Ditto.
1213
12142015-05-28  Catherine Moore  <clm@codesourcery.com>
1215	    Bernd Schmidt <bernds@codesourcery.com>
1216	    Paul Brook <paul@codesourcery.com>
1217
1218	* config/tc-alpha.c (all_cfi_sections): Declare.
1219	(s_alpha_ent): Initialize all_cfi_sections.
1220	(alpha_elf_md_end): Invoke cfi_set_sections.
1221	* config/tc-mips.c (md_apply_fix):  Handle BFD_RELOC_NONE.
1222	(s_ehword): Use BFD_RELOC_32_PCREL.
1223	(mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
1224	(mips_cfi_reloc_for_encoding): New function.
1225	* tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
1226	(DWARF2_FDE_RELOC_ENCODING): Define.
1227	(tc_cfi_reloc_for_encoding): Define.
1228	(mips_cfi_reloc_for_encoding): Define.
1229	(tc_compact_eh_opcode_stop): Define.
1230	(tc_compact_eh_opcode_pad): Define.
1231	* doc/as.texinfo: Document Compact EH extensions.
1232	* doc/internals.texi: Likewise.
1233	* dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
1234	(tc_cfi_reloc_for_encoding): Provide default.
1235	(compact_eh): Declare.
1236	(emit_expr_encoded): New function.
1237	(get_debugseg_name): Add Compact EH support.
1238	(alloc_debugseg_item): Likewise.
1239	(cfi_set_sections): New function.
1240	(dot_cfi_fde_data): New function.
1241	(dot_cfi_personality_id): New function.
1242	(dot_cfi_inline_lsda): New function.
1243	(cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
1244	and cfi_inline_lsda.
1245	(dot_cfi_personality): Add Compact EH support.
1246	(dot_cfi_lsda): Likewise.
1247	(dot_cfi_sections): Likewise.
1248	(dot_cfi_startproc): Likewise.
1249	(get_cfi_seg): Likewise.
1250	(output_compact_unwind_data): New function.
1251	(output_cfi_insn): Add Compact EH support.
1252	(output_cie): Likewise.
1253	(output_fde): Likewise.
1254	(cfi_finish): Likewise.
1255	(cfi_emit_eh_header): New function.
1256	(output_eh_header): New function.
1257	* dw2gencfi.h (cfi_set_sections): Declare.
1258	(SUPPORT_COMPACT_EH): Define.
1259	(MULTIPLE_FRAME_SECTIONS): Define.
1260	New enumeration to describe the Compact EH header format.
1261	(fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
1262	eh_data, eh_loc and sections.
1263	(CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
1264	CFI_EMIT_eh_frame_compact): Define.
1265
12662015-05-26  Max Filippov  <jcmvbkbc@gmail.com>
1267
1268	* config/tc-xtensa.c (xtensa_move_literals): Check that
1269	search_frag is non-NULL. Report error if literal frag is not
1270	found.
1271
12722015-05-22  Nick Clifton  <nickc@redhat.com>
1273
1274	PR gas/18446
1275	* read.c (output_big_sleb128): Use U suffix to prevent compile
1276	time warning.
1277
12782015-05-19  Jiong Wang  <jiong.wang@arm.com>
1279
1280	* config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
1281	labels alphabetically.
1282	(md_apply_fix): Ditto.
1283	(aarch64_force_relocation): Ditto.
1284
12852015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1286
1287	PR binutis/18386
1288	* config/tc-i386.c (OPTION_MAMD64): New.
1289	(OPTION_MINTEL64): Likewise.
1290	(md_longopts): Add -mamd64 and -mintel64.
1291	(md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
1292	(md_show_usage): Add -mamd64 and -mintel64.
1293	* doc/c-i386.texi: Document -mamd64 and -mintel64.
1294
12952015-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1296
1297	* config/tc-i386.c (shared): New.
1298	(OPTION_MSHARED): Likewise.
1299	(elf_symbol_resolved_in_segment_p): Add relocation argument.
1300	Check PLT relocations and shared.
1301	(md_estimate_size_before_relax): Pass fragP->fr_var to
1302	elf_symbol_resolved_in_segment_p.
1303	(md_longopts): Add -mshared.
1304	(md_show_usage): Likewise.
1305	(md_parse_option): Handle OPTION_MSHARED.
1306	* doc/c-i386.texi: Document -mshared.
1307
13082015-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1309
1310	* write.c (compress_debug): Don't write the zlib header, which
1311	is handled by bfd_update_compression_header.
1312
13132015-05-13  Max Filippov  <jcmvbkbc@gmail.com>
1314
1315	* config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
1316	closer than J_RANGE / 2 to jump frag.
1317
13182015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1319
1320	* configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
1321	* config/tc-i386.c (i386_mach): Support iamcu.
1322	(i386_target_format): Likewise.
1323
13242015-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1325
1326	* config/tc-i386.c (cpu_arch): Add iamcu.
1327	(i386_align_code): Handle PROCESSOR_IAMCU.
1328	(i386_arch): Likewise.
1329	(i386_mach): Likewise.
1330	(i386_target_format): Likewise.
1331	(valid_iamcu_cpu_flags): New function.
1332	(check_cpu_arch_compatible): Only allow Intel MCU instructions
1333	when targeting Intel MCU.
1334	(set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
1335	are valid for Intel MCU.
1336	(md_parse_option): Likewise.
1337	* tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
1338	(processor_type): Add PROCESSOR_IAMCU.
1339	* doc/c-i386.texi: Document iamcu.
1340
13412015-05-08  Nick Clifton  <nickc@redhat.com>
1342
1343	PR gas/18347
1344	* config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
1345	* config/tc-arm.c (arm_tc_equal_in_insn): New function.  Move
1346	the symbol name checking code to here from...
1347	(md_undefined_symbo): ... here.
1348
13492015-05-07  H.J. Lu  <hongjiu.lu@intel.com>
1350
1351	* config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
1352	(md_estimate_size_before_relax): Use it.
1353
13542015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
1355
1356	* config/tc-sparc.c: Typo in comment fixed.
1357
13582015-05-06  Jose E. Marchesi  <jose.marchesi@oracle.com>
1359
1360	* config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
1361	condition codes
1362	* doc/c-sparc.texi (Sparc-Regs): Document %ncc.
1363
13642015-05-06  Nick Clifton  <nickc@redhat.com>
1365
1366	* doc/as.texinfo (Dollar Local Labels): Note that these are only
1367	supported on some targets.
1368
13692015-05-06  Renlin Li  <renlin.li@arm.com>
1370
1371	* config/tc-aarch64.c (mapping_state): Recording alignment before exit.
1372
13732015-05-05  Renlin Li  <renlin.li@arm.com>
1374
1375	* config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
1376	symbols.
1377
13782015-05-05  Nick Clifton  <nickc@redhat.com>
1379
1380	* config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
1381	(msp430_make_init_symbols): New function.
1382	(msp430_section): Call it.
1383	(msp430_frob_section): Likewise.
1384
13852015-05-02  Max Filippov  <jcmvbkbc@gmail.com>
1386
1387	* config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
1388	(struct cached_fixup, struct fixup_cache): New structures.
1389	(fixup_order, xtensa_make_cached_fixup),
1390	(xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
1391	(xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
1392	(xtensa_add_cached_fixup): New functions.
1393	(xtensa_relax_frag): Cache fixups pointing at potentially
1394	oversized jumps at the beginning of every relaxation pass. Only
1395	check subset of this cache in the reach of single jump from the
1396	trampoline frag currently being relaxed.
1397
13982015-05-01  Nick Clifton  <nickc@redhat.com>
1399
1400	* config/rl78-parse.y (MULU): Remove ISA_G14.
1401	(MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
1402
14032015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
1404
1405	* config/tc-i386.c (i386_elf_emit_arch_note): Removed.
1406	* config/tc-i386.h (md_end): Likewise.
1407	(i386_elf_emit_arch_note): Likewise.
1408
14092015-05-01  H.J. Lu  <hongjiu.lu@intel.com>
1410
1411	* configure.tgt: Support i386-*-elf*.
1412
14132015-04-30  DJ Delorie  <dj@redhat.com>
1414
1415	* config/rl78-defs.h (rl78_isa_g10): New.
1416	(rl78_isa_g13): New.
1417	(rl78_isa_g14): New.
1418	* config/rl78-parse.y (ISA_G10): New.
1419	(ISA_G13): New.
1420	(ISA_G14): New.
1421	(MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
1422	* config/tc-rl78.c (rl78_isa_g10): New.
1423	(rl78_isa_g13): New.
1424	(rl78_isa_g14): New.
1425
14262015-04-30  H.J. Lu  <hongjiu.lu@intel.com>
1427
1428	* config/tc-i386.c (i386_target_format): Use "else if" on
1429	cpu_arch_isa.
1430
14312015-04-30  Nick Clifton  <nickc@redhat.com>
1432
1433	PR gas/18347
1434	* config/tc-arm.c (md_undefined_symbol): Issue a warning message
1435	(if enabled) when the user creates a symbol with the same name as
1436	an ARM instruction.
1437	(flag_warn_syms): New static variable.
1438	(arm_opts): Add mwarn-syms and mno-warn-syms.
1439	* doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
1440	options.
1441
1442	PR gas/18353
1443	* doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
1444
14452015-04-29  Nick Clifton  <nickc@redhat.com>
1446
1447	PR 18256
1448	* config/tc-arm.c (encode_arm_cp_address): Issue an error message
1449	if the operand is neither a register nor a vector.
1450
14512015-04-29  Nick Clifton  <nickc@redhat.com>
1452
1453	* doc/as.texinfo (Set): Note that a symbol cannot be set multiple
1454	times if the expression is not constant and the target uses linker
1455	relaxation.
1456
14572015-04-28  Renlin Li  <renlin.li@arm.com>
1458
1459	* config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
1460
14612015-04-28  Nick Clifton  <nickc@redhat.com>
1462
1463	PR 18313
1464	* cond.c (s_if): Stop compile time warning about stopc being used
1465	before it is set.
1466	(s_ifc): Likewise.
1467
14682015-04-27  Renlin Li  <renlin.li@arm.com>
1469
1470	* config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
1471	section.
1472	(md_assemble): Likewise, move the align code outside the loop.
1473
14742015-04-24  Jim Wilson  <jim.wilson@linaro.org>
1475
1476	* config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
1477	for thunderx.
1478
14792015-04-24  Richard Earnshaw  <rearnsha@arm.com>
1480
1481	* config/tc-arm.h (arm_min): New function.
1482	(SUB_SEGMENT_ALIGN): Define.
1483
14842015-04-23  Matthew Fortune  <matthew.fortune@imgtec.com>
1485
1486	* config/tc-mips.c (macro): State the recommended way of creating
1487	32-bit or 64-bit addresses.
1488
14892015-04-23  Jan Beulich  <jbeulich@suse.com>
1490
1491	* config/tc-i386.c (match_mem_size): Also allow no size
1492	specification when broadcasting.
1493
14942015-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1495
1496	* doc/as.texinfo (Bundle directives): Shorten menu entry and
1497	use @subsection.
1498	(CFI directives): Use @subsection.
1499	(SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
1500	* doc/c-i386.texi (i386-Mnemonics): Use @subsection.
1501
15022015-04-17  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1503
1504	* config/tc-avr.c (create_record_for_frag): Rename link to
1505	prop_rec_link.
1506
15072015-04-15  H.J. Lu  <hongjiu.lu@intel.com>
1508
1509	* NEWS: Mention
1510	--compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
1511
15122015-04-14  H.J. Lu  <hongjiu.lu@intel.com>
1513
1514	* as.h (compressed_debug_section_type): Removed.
1515
15162015-04-14  Nick Clifton  <nickc@redhat.com>
1517
1518	* config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
1519	(TC_FORCE_RELOCATION_SUB_SAME): Define.
1520	(DWARF2_USE_FIXED_ADVANCE_PC): Define.
1521
15222015-04-10  Nick Clifton  <nickc@redhat.com>
1523
1524	PR binutils/18198
1525	* doc/c-arm.texi (ARM Options): Add a note about the interaction of
1526	the -EB option with the linker's --be8 option.
1527
15282015-04-09  Hans-Peter Nilsson  <hp@axis.com>
1529
1530	* doc/c-rx.texi: Fix markup typos in last change.
1531
15322015-04-09  Nick Clifton  <nickc@redhat.com>
1533
1534	* config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
1535	(md_longopts): Add -mno-allow-string-insns.
1536	(md_parse_option): Handle -mno-allow-string-insns.
1537	(md_show_usage): Mention -mno-allow-string-insns.
1538	(rx_note_string_insn_use): New function.  Produces an error
1539	message if a string insn is used when it is not allowed.
1540	* config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
1541	(SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
1542	* config/rx-defs.h (rx_note_string_insn_use): Prototype.
1543	* doc/c-rx.texi: Document -mno-allow-string-insns.
1544
15452015-04-08  H.J. Lu  <hongjiu.lu@intel.com>
1546
1547	* as.c (show_usage): Update --compress-debug-sections.
1548	(std_longopts): Use optional_argument on compress-debug-sections.
1549	(parse_args): Handle
1550	--compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1551	* as.h (compressed_debug_section_type): New.
1552	(flag_compress_debug): Change type to compressed_debug_section_type.
1553	--compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1554	* write.c (compress_debug): Set BFD_COMPRESS_GABI for
1555	--compress-debug-sections=zlib-gabi.  Call
1556	bfd_get_compression_header_size to get compression header size.
1557	Don't rename section name for --compress-debug-sections=zlib-gabi.
1558	* config/tc-i386.c (compressed_debug_section_type): Set to
1559	COMPRESS_DEBUG_ZLIB.
1560	* doc/as.texinfo: Document
1561	--compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1562
15632015-04-07  Renlin Li  <renlin.li@arm.com>
1564
1565	* config/tc-aarch64.c (mapping_state): Use subseg_text_p.
1566	(s_aarch64_inst): Likewise.
1567	(md_assemble): Likewise.
1568
15692015-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1570
1571	* write.c (compress_debug): Use bfd_putb64 to write uncompressed
1572	section size.
1573
15742015-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1575
1576	* write.c (compress_debug): Don't write the zlib header if
1577	compressed section size is the same as before compression.
1578
15792015-04-02  Nick Clifton  <nickc@redhat.com>
1580
1581	PR gas/18189
1582	* config/tc-microblaze.c (parse_imm): Use offsetT as the type for
1583	min and max parameters.  Sign extend values before testing.
1584
15852015-04-02  Renlin Li  <renlin.li@arm.com>
1586
1587	* config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
1588	(mapping_state_2): Don't emit MAP_DATA here.
1589	(s_aarch64_inst): Align frag during state transition.
1590	(md_assemble): Likewise.
1591
15922015-04-02  Ed Maste  <emaste@freebsd.org>
1593
1594	* config/tc-aarch64.c (set_error_kind): Delete.
1595	(set_error_message): Delete.
1596
15972015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
1598
1599	* configure: Regenerated.
1600
16012015-04-01  Evandro Menezes  <e.menezes@samsung.com>
1602
1603	* config/tc-aarch64.c: Add support for Samsung Exynos M1.
1604	* doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
1605
16062015-04-01  Evandro Menezes  <e.menezes@samsung.com>
1607
1608	* config/tc-arm.c: Add support for Samsung Exynos M1.
1609	* doc/c-arm.texi (-mcpu=): Add "exynos-m1".
1610
16112015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
1612
1613	* configure: Regenerated.
1614
16152015-03-31  Ed Schouten  <ed@nuxi.nl>
1616
1617	* configure.tgt (fmt): Set to elf for *-*-cloudabi*.
1618
16192015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1620
1621	* configure.ac: Revert the AM_ZLIB change.
1622	* Makefile.in: Regenerated.
1623	* aclocal.m4: Likewise.
1624	* configure: Likewise.
1625
16262015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1627
1628	* Makefile.am (ZLIBINC): New.
1629	(AM_CFLAGS): Add $(ZLIBINC).
1630	* as.c: (show_usage): Don't check HAVE_ZLIB_H.
1631	(parse_args): Likewise.
1632	* compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
1633	(compress_init): Don't check HAVE_ZLIB_H.
1634	(compress_data): Likewise.
1635	(compress_finish): Likewise.
1636	* configure.ac (AM_ZLIB): Removed.
1637	(zlibinc): New.  AC_SUBST.
1638	Add --with-system-zlib.
1639	* Makefile.in: Regenerated.
1640	* config.in: Likewise.
1641	* configure: Likewise.
1642	* doc/Makefile.in: Likewise.
1643
16442015-03-27  H.J. Lu  <hongjiu.lu@intel.com>
1645
1646	* config/tc-i386.c (cpu_flags_set): Removed.
1647
16482015-03-25  Renlin Li  <renlin.li@arm.com>
1649
1650	* config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
1651	code.
1652	(mapping_state_2): Emit first MAP_DATA symbol here.
1653
16542015-03-24  H.J. Lu  <hongjiu.lu@intel.com>
1655
1656	PR gas/18087
1657	* write.c (compress_debug): Don't write the zlib header if
1658	compression didn't make the section smaller.
1659
16602015-03-24  Terry Guo  <terry.guo@arm.com>
1661
1662	* config/tc-arm.c (no_cpu_selected): Use new macro to compare
1663	features.
1664	(parse_psr): Likewise.
1665	(do_t_mrs): Likewise.
1666	(do_t_msr): Likewise.
1667	(static const arm_feature_set arm_ext_*): Defined with new macros.
1668	(static const arm_feature_set arm_cext_*): Likewise.
1669	(static const arm_feature_set fpu_fpa_ext_*): Likewise.
1670	(static const arm_feature_set fpu_vfp_ext_*): Likewise.
1671	(deprecated_coproc_regs): Likewise.
1672	(UL_BARRIER): Likewise.
1673	(barrier_opt_names): Likewise.
1674	(arm_cpus): Likewise.
1675	(arm_extensions): Likewise.
1676
16772015-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1678
1679	* config/tc-i386.c (i386_align_code): Limit multi-byte nop
1680	instructions to 10 bytes.
1681
16822015-03-19  Nick Clifton  <nickc@redhat.com>
1683
1684	* config/tc-rl78.c (enum options): Add G13 and G14.
1685	(md_longopts): Add -mg13 and -mg14.
1686	(md_parse_option): Handle -mg13 and -mg14.
1687	(md_show_usage): List -mg13 and -mg14.
1688	* doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
1689
16902015-03-18  Jon Turney  <jon.turney@dronecode.org.uk>
1691	    Nick Clifton  <nickc@redhat.com>
1692
1693	PR binutils/18087
1694	* doc/as.texinfo: Note that when gas compresses debug sections the
1695	compression is only performed if it makes the section smaller.
1696	* write.c (compress_debug): Do not compress a debug section if
1697	doing so would make it larger.
1698
16992015-03-17  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
1700
1701	* config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
1702	(i386_align_code): Add PROCESSOR_ZNVER cases.
1703	* config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
1704	* doc/c-i386.texi: Add znver1 and clzero.
1705
17062015-03-16  Nick Clifton  <nickc@redhat.com>
1707
1708	* dwarf2dbg.c (out_header): Remove spurious #if 1.
1709
17102015-03-13  Jiong Wang  <jiong.wang@arm.com>
1711
1712	* config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
1713	number 31.
1714
17152015-03-13  Jiong Wang  <jiong.wang@arm.com>
1716
1717	* config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
1718
17192015-03-12  Andrew Bennett  <andrew.bennett@imgtec.com>
1720
1721	* config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
1722	* doc/c-mips.texi: Document i6400 -march option.
1723
17242015-03-12  Nick Clifton  <nickc@redhat.com>
1725
1726	PR gas/17444
1727	* config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
1728	to arm_apply_sym_value.  Update prototype.
1729	* config/tc-arm.c (arm_apply_sym_value): Add segment argument.
1730	Do not apply the value if the symbol is in a different segment to
1731	the current segment.
1732
17332015-03-11  Alan Modra  <amodra@gmail.com>
1734
1735	* config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
1736	(md_apply_fix): Report an error on data-only fixups used with insns.
1737
17382015-03-10  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
1739
1740	* config/tc-s390.c (md_gather_operands): Check for valid
1741	length field operands.
1742
17432015-03-10  Michael Perkins  <perkinsmg75@yahoo.co.uk>
1744
1745	* config/tc-arm.c (parse_operands): Fix bug setting writeback
1746	values for '^' on OP_REGLSTs.
1747	(do_push_pop): Add new writeback constraint.
1748
17492015-03-10  Renlin Li  <renlin.li@arm.com>
1750
1751	* config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
1752	(mapping_state_2): Emit first MAP_DATA symbol here.
1753
17542015-03-10  Matthew Wahab  <matthew.wahab@arm.com>
1755
1756	* config/tc-aarch64.c (mapping_state): Set minimum alignment for
1757	code sections.
1758
17592015-03-10  Nick Clifton  <nickc@redhat.com>
1760
1761	PR gas/17852
1762	* config/tc-arm.c (md_begin): Ensure that selected_cpu is
1763	initialised when CPU_DEFAULT is defined.
1764
17652015-03-05  Nick Clifton  <nickc@redhat.com>
1766
1767	* config/tc-v850.c (md_parse_option): Fix code to set or clear
1768	EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
1769	-m8byte-align and -m4byte-align command line options.
1770
17712015-03-04  Richard Sandiford  <richard.sandiford@arm.com>
1772
1773	PR gas/17843
1774	* config/tc-aarch64.c (process_movw_reloc_info): Allow
1775	R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
1776	for MOVK.
1777
17782015-02-28  Alan Modra  <amodra@gmail.com>
1779
1780	* write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
1781	end to their alignment.
1782
17832015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1784
1785	* config/tc-aarch64.c (reloc_table_entry): Generate
1786	BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
1787	(md_apply_fix, aarch64_force_relocation): Handle
1788	BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1789
17902015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1791
1792	* config/tc-aarch64.c (reloc_table_entry): Generate
1793	BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1794	(md_apply_fix, aarch64_force_relocation): Handle
1795	BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1796
17972015-02-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1798
1799	* config/tc-aarch64.c (reloc_table_entry): Generate
1800	BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1801	(md_apply_fix, aarch64_force_relocation): Handle
1802	BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1803
18042015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1805
1806	* config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
1807	(reloc_table): Likewise.
1808	(parse_address_main): Use ld_literal_type.
1809
18102015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1811
1812	* config/tc-aarch64.c (reloc_table_entry): Add adr_type.
1813	(reloc_table): Likewise.
1814	(parse_address_main): Use adr_type.
1815
18162015-02-26  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1817
1818	* config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
1819
18202015-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
1821
1822	* config/tc-avr.c: Add elf32-avr.h include.
1823	(struct avr_property_record_link): New structure.
1824	(avr_output_property_section_header): New function.
1825	(avr_record_size): New function.
1826	(avr_output_property_record): New function.
1827	(avr_create_property_section): New function.
1828	(avr_handle_align): New function.
1829	(exclude_section_from_property_tables): New function.
1830	(create_record_for_frag): New function.
1831	(append_records_for_section): New function.
1832	(avr_create_and_fill_property_section): New function.
1833	(avr_post_relax_hook): New function.
1834	* config/tc-avr.h (md_post_relax_hook): Define.
1835	(avr_post_relax_hook): Declare.
1836	(HANDLE_ALIGN): Define.
1837	(avr_handle_align): Declare.
1838	(strut avr_frag_data): New structure.
1839	(TC_FRAG_TYPE): Define.
1840
18412015-02-25  Matthew Wahab  <matthew.wahab@arm.com>
1842
1843	* doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
1844	cortex-a72.
1845
18462015-02-24  Nick Clifton  <nickc@redhat.com>
1847
1848	* config/tc-v850.c (soft_float): New variable.
1849	(v850_data_8): New variable.
1850	(md_show_usage): Add -msoft-float/-mhard-float.
1851	(md_parse_option): Likewise.
1852	(md_begin): Set the default value of soft_float.
1853	(v850_md_end): New function.  Creates a note section.
1854	* config/tc-v850.h (md_end): Define.
1855	* doc/c-v850.texi: Document -msoft-float/-mhard-float.
1856
18572015-02-23  Yoshinori Sato  <ysato@users.sourceforge.jp>
1858
1859	* config/tc-h8300.c (line_separater_chars): Add a version for
1860	h8300-linux that includes a separator.
1861	(default_mach): New variable.
1862	(md_main): Use it.
1863	(md_longopts): Add '--march' option.
1864	(md_parse_option): Parse the new option.
1865	* config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
1866	* configure.tgt: Add h8300-*-linux
1867	* doc/c-h8300.texi: Document --march.
1868
18692015-02-23  Nick Clifton  <nickc@redhat.com>
1870
1871	PR 17940
1872	* dwarf2dbg.c (out_header): When generating dwarf sections use
1873	real symbols not temps for the start and end symbols.
1874	* config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
1875	adjustments to relocations in debug sections.
1876	(TC_LINKRELAX_FIXUP): Likewise.
1877
18782015-02-19  Alan Modra  <amodra@gmail.com>
1879
1880	* doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
1881	* doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
1882
18832015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
1884
1885	* config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1886
18872015-02-11  Matthew Wahab  <matthew.wahab@arm.com>
1888
1889	* config/tc-arm.c: Add support for Cortex-A72.
1890
18912015-02-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1892
1893	* config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
1894	of as_warn for deprecation messages.
1895	(encode_arm_addr_mode_2): Likewise.
1896	(check_obsolete): Likewise.
1897	(do_rd_rm_rn): Likewise.
1898	(do_co_reg): Likewise.
1899	(do_setend): Likewise.
1900	(do_t_mov_cmp): Likewise.
1901	(do_neon_ldr_str): Likewise.
1902	(opcode_lookup): Likewise.
1903	(if_fsm_post_encode): Likewise.
1904	(md_assemble): Likewise.
1905
19062015-02-06  Jan Beulich  <jbeulich@suse.com>
1907
1908	* dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
1909	(cfi_change_reg_numbers): Also do nothing for CFI_label.
1910	(cfi_pseudo_table): Also handle .cfi_label when not supporting
1911	CFI directives.
1912
19132015-02-05  Alan Modra  <amodra@gmail.com>
1914
1915	* config/tc-msp430.c (md_assemble): Correct size passed to
1916	extract_cmd.  Remove index check.
1917
19182015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
1919
1920	* config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
1921	* doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
1922
19232015-02-04  Nick Clifton  <nickc@redhat.com>
1924
1925	* config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1926	these instructions.
1927
19282015-02-03  Renlin Li  <renlin.li@arm.com>
1929
1930	* doc/c-aarch64.texi (.arch): Document the directive.
1931	(.arch_extension): Likewise.
1932
19332015-02-03  Nick Clifton  <nickc@redhat.com>
1934
1935	* config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1936
19372015-01-28  James Bowman  <james.bowman@ftdichip.com>
1938
1939	* Makefile.am: Add FT32 files.
1940	* config/tc-ft32.c: New file.
1941	* config/tc-ft32.h: New file.
1942	* configure.tgt: Add FT32 support.
1943	* Makefile.in: Regenerate.
1944	* po/POTFILES.in: Regenerate.
1945
19462015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
1947
1948	* config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1949	of instruction la to a symbol.
1950
19512015-01-27  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
1952
1953	* config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1954	section name.
1955
19562015-01-19  Alan Modra  <amodra@gmail.com>
1957
1958	* read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1959	* write.c (get_frag_for_reloc): Allow match just past end of frag.
1960
19612015-01-16  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
1962
1963	* config/tc-s390.c (struct pd_reg): Remove.
1964	(pre_defined_registers): Remove.
1965	(REG_NAME_CNT): Remove.
1966	(reg_name_search): Calculate the register number instead of doing
1967	a lookup.
1968	(register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1969	reg_name_search signature.
1970	(s390_parse_cpu): Support the new arch string z13.
1971	(s390_insert_operand): Support for vector registers with the extra
1972	field for the fifth bit of each vector register operand.
1973	(md_gather_operand): Adjust to the new handling of optional
1974	parameters.
1975
1976	* doc/as.texinfo: Document the z13 cpu string.
1977
19782015-01-13  Matthew Wahab  <matthew.wahab@arm.com>
1979
1980	* config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1981	#0, restoring previous behaviour.
1982
19832015-01-12  Jan Beulich  <jbeulich@suse.com>
1984
1985	* dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1986	(cfi_pseudo_table): Add "cfi_label".
1987	(output_cfi_insn): Handle CFI_label.
1988	(select_cie_for_fde): Als terminate CIE when encountering
1989	CFI_label.
1990	* dw2gencfi.h (cfi_add_label): Declare.
1991	(struct cfi_insn_data): New member "sym_name".
1992	(CFI_label): New.
1993	* read.c (read_symbol_name): Drop "static".
1994	* read.h (read_symbol_name): Declare.
1995
19962015-01-12  Jan Beulich  <jbeulich@suse.com>
1997
1998	* config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1999	(do_neon_qshl_imm): Likewise.
2000
20012015-01-12  Alan Modra  <amodra@gmail.com>
2002
2003	* read.c (s_altmacro, s_reloc): Make definition static.
2004
20052015-01-10  Andrew Burgess  <andrew.burgess@embecosm.com>
2006
2007	* config/tc-avr.c (md_apply_fix): Update the contents of VALP for
2008	diff fixups.
2009
20102015-01-09  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
2011
2012	* config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
2013	X-Gene 2.
2014	* doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
2015
20162015-01-07  Jan Beulich <jbeulich@suse.com>
2017
2018	* config/tc-arm.c (struct arm_option_extension_value_table):
2019	Split field "value" into fields "merge_value" and "clear_value".
2020	(arm_extensions): Adjust initializer accordingly.
2021
20222015-01-01  Alan Modra  <amodra@gmail.com>
2023
2024	* as.c (parse_args): Just print current year.
2025
20262015-01-01  Alan Modra  <amodra@gmail.com>
2027
2028	Update year range in copyright notice of all files.
2029
2030For older changes see ChangeLog-2014
2031
2032Copyright (C) 2015 Free Software Foundation, Inc.
2033
2034Copying and distribution of this file, with or without modification,
2035are permitted in any medium without royalty provided the copyright
2036notice and this notice are preserved.
2037
2038Local Variables:
2039mode: change-log
2040left-margin: 8
2041fill-column: 74
2042version-control: never
2043End:
2044