Fix dates in Changelog for previous commit.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
43cdc0a8
RR
12015-11-12 James Greenhalgh <james.greenhalgh@arm.com>
2
3 * config/tc-arm.c (arm_cpus): Likewise.
4 * doc/c-arm.texi (-mcpu=): Likewise.
5
8915a9b7 62015-11-12 Matthew Wahab <matthew.wahab@arm.com>
582cfe03
RR
7
8 PR gas/19217
9 * config/tc-arm.c (move_or_literal_pool): Remove redundant feature
10 check. Fix some code formatting. Drop use of MOVT. Add some
11 comments.
12
a680de9a
PB
132015-11-11 Alan Modra <amodra@gmail.com>
14 Peter Bergner <bergner@vnet.ibm.com>
15
16 * doc/as.texinfo (Target PowerPC): Document -mpower9 and -mpwr9.
17 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
18 * config/tc-ppc.c (md_show_usage): Likewise.
19 (md_assemble): Handle BFD_RELOC_PPC_REL16DX_HA.
20 (md_apply_fix): Likewise.
21 (ppc_handle_align): Handle power9's group ending nop.
22
6b21c2bf
JW
232015-11-09 Jim Wilson <jim.wilson@linaro.org>
24
25 * config/tc-aarch64.c (aarch64_cpus): Add qdf24xx.
26 * config/tc-arm.c (arm_cpus): Likewise.
27 * doc/c-arm.texi, doc/c-aarch64.texi: Likewise.
28
8d3842cd
DV
292015-11-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
30
31 * read.c (parse_bitfield_cons): Fix left shift of negative value.
32 * config/tc-xstormy16.c (md_section_align): Likewise.
33 * config/tc-xgate.c (md_section_align): Likewise.
34 * config/tc-visium.c (md_section_align): Likewise.
35 * config/tc-v850.c (md_section_align): Likewise.
36 * config/tc-tic6x.c (md_section_align): Likewise.
37 * config/tc-sh.c (SH64PCREL32_M, SH64PCREL48_M, SH64PCREL32_M)
38 (MOVI_32_M, MOVI_48_M, MOVI_32_M, md_section_align): Likewise.
39 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax): Likewise.
40 * config/tc-score.c (s3_section_align): Likewise.
41 * config/tc-score7.c (s7_section_align): Likewise.
42 * config/tc-s390.c (md_section_align): Likewise.
43 * config/tc-rx.c (md_section_align): Likewise.
44 * config/tc-rl78.c (md_section_align): Likewise.
45 * config/tc-ppc.c (md_section_align): Likewise.
46 * config/tc-or1k.c (md_section_align): Likewise.
47 * config/tc-nds32.c (md_section_align): Likewise.
48 * config/tc-mt.c (md_section_align): Likewise.
49 * config/tc-msp430.c (md_section_align): Likewise.
50 * config/tc-mn10300.c (md_section_align): Likewise.
51 * config/tc-mn10200.c (md_section_align): Likewise.
52 * config/tc-mips.c (md_section_align): Likewise.
53 * config/tc-microblaze.c (parse_imm): Likewise.
54 * config/tc-mep.c (md_section_align): Likewise.
55 * config/tc-m68k.c (md_section_align): Likewise.
56 * config/tc-m68hc11.c (md_section_align): Likewise.
57 * config/tc-m32r.c (md_section_align): Likewise.
58 * config/tc-m32c.c (md_section_align): Likewise.
59 * config/tc-lm32.c (md_section_align): Likewise.
60 * config/tc-iq2000.c (md_section_align): Likewise.
61 * config/tc-ip2k.c (md_section_align): Likewise.
62 * config/tc-ia64.c (dot_save, dot_vframe): Likewise.
63 * config/tc-i960.c (md_number_to_field, md_section_align): Likewise.
64 * config/tc-i386.c (md_section_align): Likewise.
65 * config/tc-i370.c (md_section_align): Likewise.
66 * config/tc-frv.c (md_section_align): Likewise.
67 * config/tc-fr30.c (md_section_align): Likewise.
68 * config/tc-epiphany.c (md_section_align): Likewise.
69 * config/tc-d30v.c (md_section_align): Likewise.
70 * config/tc-d10v.c (md_section_align): Likewise.
71 * config/tc-cr16.c (l_cons): Likewise.
72 * config/tc-bfin.c (md_section_align): Likewise.
73 * config/tc-arm.c (md_section_align): Likewise.
74 * config/tc-arc.c (md_section_align): Likewise.
75 * config/bfin-parse.y (expr_1): Likewise.
76
e292aa7a
NC
772015-11-02 Nick Clifton <nickc@redhat.com>
78
79 * config/rx-parse.y: Allow zero value for 5-bit displacements.
80
a62e5989
NC
812015-11-02 Nick Clifton <nickc@redhat.com>
82
83 * config/tc-rx.c (parse_rx_section): Align parameter provides a
84 multiple of n argument, not a power of n argument.
85
a75cf613
ES
862015-10-29 Nick Clifton <nickc@redhat.com>
87
88 * config/tc-aarch64.c (elf64_aarch64_target_format): Select the
89 cloudabi format if the TARGET_OS is cloudabi.
90
941c9cad
TP
912015-10-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
92
93 * config/tc-arm.c (insns): Guard cps by arm_ext_v6_notm instead of
94 arm_ext_v6_dsp.
95
6f4b1afc
CM
962015-10-28 Claudiu Zissulescu <claziss@synopsys.com>
97
98 * config/tc-arc.c (tokenize_arguments): Avoid creating unused
99 symbols when parsing relocation types.
100 (md_apply_fix): Handle TLS relocations. Fix BFD_RELOC_ARC_32_PCREL
101 relocation.
102 (arc_check_reloc): Emit BFD_RELOC_ARC_32_PCREL relocation.
103
ef8e6722
JW
1042015-10-27 Jim Wilson <jim.wilson@linaro.org>
105
106 * config/tc-arm.c (selected_cpu_name): Increase length of array to
107 accomodate "Samsung Exynos M1".
108 (arm_parse_cpu): Add assertion and length check to prevent
109 overfilling selected_cpu_name.
110
2213f746
NC
1112015-10-22 Nick Clifton <nickc@redhat.com>
112
113 * config/tc-msp430.c (PUSH_1X_WORKAROUND): Delete.
114 (OPTION_SILICON_ERRATA): Define.
115 (OPTION_SILICON_WARN): Define.
116 (md_parse_opton): Handle silicon errata options.
117 (md_longopts): Add silicon errata options.
118 (ms_show_usage): Report silicon errata options.
119 (msp430_srcoperand): Handle silicon errata.
120 (msp430_operands): Likewise. Improve nop insertion.
121 (msp430_fix_adjustable): Update warning generation.
122 * doc/c-msp430.texi: Document silicon errata options.
123
9b4c123c
L
1242015-10-22 H.J. Lu <hongjiu.lu@intel.com>
125
126 * configure.ac: Properly check
127 --enable-compressed-debug-sections={yes,all}.
128 * configure: Regenerated.
129
4894d80b
L
1302015-10-22 H.J. Lu <hongjiu.lu@intel.com>
131
132 PR gas/19109
133 * configure.ac: Handle --enable-compressed-debug-sections=*,gas,*.
134 * configure: Regenerated.
135
56ceb5b5
L
1362015-10-22 H.J. Lu <hongjiu.lu@intel.com>
137
138 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
139 BFD_RELOC_X86_64_GOTPCRELX and BFD_RELOC_X86_64_REX_GOTPCRELX.
140 (tc_gen_reloc): Likewise.
141 (i386_validate_fix): Generate BFD_RELOC_X86_64_GOTPCRELX or
142 BFD_RELOC_X86_64_REX_GOTPCRELX if fx_tcbit2 is set.
143 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Also return
144 true for BFD_RELOC_X86_64_GOTPCRELX and
145 BFD_RELOC_X86_64_REX_GOTPCRELX.
146
02a86693
L
1472015-10-22 H.J. Lu <hongjiu.lu@intel.com>
148
149 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
150 BFD_RELOC_386_GOT32X.
151 (tc_gen_reloc): Likewise.
152 (match_template): Force 0x8b encoding for "mov foo@GOT, %eax".
153 (output_disp): Check for "call/jmp *mem", "mov mem, %reg",
154 "test %reg, mem" and "binop mem, %reg" where binop is one of
155 adc, add, and, cmp, or, sbb, sub, xor instructions. Set
156 fx_tcbit if the REX prefix is generated. Set fx_tcbit2 if
157 BFD_RELOC_386_GOT32X should be generated.
158 (i386_validate_fix): Generate BFD_RELOC_386_GOT32X if fx_tcbit2
159 is set.
160
6c3bc0f8
NC
1612015-10-21 Nick Clifton <nickc@redhat.com>
162
163 PR gas/19109
1283d92f
NC
164 * configure.ac: Restore --enable-compressed-debug-sections, with
165 options of all, none or gas.
6c3bc0f8
NC
166 Do not enable compressed debug sections by default for x86 Linux
167 targets.
168 * configure: Regenerate.
169
edeefb67
L
1702015-10-20 H.J. Lu <hongjiu.lu@intel.com>
171
172 PR gas/19109
173 * NEWS: Update --enable-compressed-debug-sections=.
174 * configure.ac: Remove --enable-compressed-debug-sections.
175 (DEFAULT_FLAG_COMPRESS_DEBUG): Check
176 --enable-compressed-debug-sections={all,gas} instead of
177 --enable-compressed-debug-sections. For x86 Linux targets,
178 default to compressing debug sections.
179 * configure: Regenerated.
180
e12fe555
NC
1812015-10-19 Nick Clifton <nickc@redhat.com>
182
183 PR gas/19109
184 * configure.ac: Add option --enable-compressed-debug-sections.
185 This sets the default behaviour for compressing debug sections.
186 * as.c (flag_compress_debug): Define and initialise to
187 COMPRESS_DEBUG_GABI_ZLIB if DEFAULT_COMPRESS_DEBUG is set.
188 (show_usage): Indicate whether --no-compress-debug-sections
189 or --compress-debug-sections is the default.
190 * config/tc-i386.c (flag_compress_debug): Delete definition.
191 * doc/as.texinfo (--nocompress-debug-sectionas): Update
192 description.
193 * NEWS: Announce the new feature.
194 * config.in: Regenerate.
195 * configure: Regenerate.
196
ede77e69
NC
1972015-10-12 Nick Clifton <nickc@redhat.com>
198
199 * config/tc-msp430.c (msp430_mcu_names): Rename to
200 msp430_mcu_data. Add fields for the ISA and hardware multiply
201 support. Update with information from the latest devices.csv
202 file.
203 (md_parse_option): Make use of the new array.
204
431ff075
AB
2052015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
206
207 * config/tc-avr.c (avr_output_property_record): Fix overwrite bug
208 for align and fill records.
209 (avr_handle_align): Record fill information for align frags.
210 (create_record_for_frag): Add next frag assertion, use correct
211 address for align records.
212
d9800776
AM
2132015-10-10 Alan Modra <amodra@gmail.com>
214
215 PR gas/19113
216 * read.c (next_char_of_string): Mask char after escape. Use
217 CHAR_MASK rather than 0xff.
218
875880c6
YQ
2192015-10-07 Yao Qi <yao.qi@linaro.org>
220
221 * config/tc-aarch64.c (md_begin): Access field 'name' rather
222 than 'template'.
223
886a2506
NC
2242015-10-07 Claudiu Zissulescu <claziss@synopsys.com>
225
226 * config/tc-arc.c: Revamped file for ARC support.
227 * config/tc-arc.h: Likewise.
228 * doc/as.texinfo: Add new ARC options.
229 * doc/c-arc.texi: Likewise.
230
43a357f9
RL
2312015-10-02 Renlin Li <renlin.li@arm.com>
232
233 * config/tc-aarch64.c (s_tlsdescadd): New.
234 (s_tlsdescldr): New.
235 (md_pseudo_table): Handle tlsdescadd and tlsdescldr pseudo ops.
236 (reloc_table): Add entries for BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC and
237 BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC.
238 (process_movw_reloc_info): Support AARCH64_TLSDESC_OFF_G1 and
239 AARCH64_TLSDESC_OFF_G0_NC.
240 (md_apply_fix): Likewise.
241 (aarch64_force_relocation): Likewise.
242
3b957e5b
RL
2432015-10-02 Renlin Li <renlin.li@arm.com>
244
245 * config/tc-aarch64.c (reloc_table): Add two entries for
246 gottprel_g0_nc and gottprel_g1.
247 (process_movw_reloc_info): Add support.
248 (md_apply_fix): Likewise.
249 (aarch64_force_relocation): Likewise.
250
3e8286c0
RL
2512015-10-02 Renlin Li <renlin.li@arm.com>
252
253 * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g0_nc.
254 (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
255 (md_apply_fix): Likewise.
256 (aarch64_force_relocation): Likewise.
257
1aa66fb1
RL
2582015-10-02 Renlin Li <renlin.li@arm.com>
259
260 * config/tc-aarch64.c (reloc_table): New relocation modifier tlsgd_g1.
261 (process_movw_reloc_info): Support BFD_RELOC_AARCH64_TLSGD_MOVW_G1.
262 (md_apply_fix): Likewise.
263 (aarch64_force_relocation): Likewise.
264
ca632371
RL
2652015-10-02 Renlin Li <renlin.li@arm.com>
266
267 * config/tc-aarch64.c (reloc_table): New relocation modifier
268 gotoff_g0_nc.
269 (process_movw_reloc_info): Support gotoff_g0_nc.
270 (md_apply_fix): Likewise.
271
654248e7
RL
2722015-10-02 Renlin Li <renlin.li@arm.com>
273
274 * config/tc-aarch64.c (reloc_table): New relocation modifier
275 gotoff_g1.
276 (process_movw_reloc_info): Support newly added modifier.
277 (md_apply_fix): Likewise.
278
7ecc513a
DV
2792015-09-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
280
281 * doc/c-s390.texi: Add documentation.
282 Add missing code markup.
283 * config/tc-s390.c (current_flags): New static variable.
284 (s390_parse_cpu): Parse cpu flags a la "+nohtm" etc.
285 (s390_setup_opcodes): Use cpu flags to determine the set of opcodes.
286 Fix indentation.
287 (md_parse_option): Call s390_parse_cpu with the new signature.
288 (s390_machine): Likewise.
289 Keep track of current_flags.
290 Simplify code a bit.
291 undefine MAX_HISTORY at end of function.
292 (s390_machinemode): undefine MAX_HISTORY at end of function.
293 Update an error message.
294
8a9e7a91
PZ
2952015-08-11 Peter Zotov <whitequark@whitequark.org>
296
297 PR ld/18759
298 * config/tc-or1k.c (tc_gen_reloc): Correct computation of PC
299 relative relocs.
300 * config/tc-or1k.h (GAS_CGEN_PRCEL_R_TYPE): Delete.
301
6cd8405e
RO
3022015-09-25 Ryo ONODERA <ryo_on@yk.rim.or.jp>
303
304 PR 18994
305 * configure.ac (nds32): Don't use bash == in tests.
306 * configure: Regenerate.
307
b6518b38
NC
3082015-09-23 Nick Clifton <nickc@redhat.com>
309
310 * config/tc-ppc.c (insn_validate): Cast PPC_OPSHIFT_INV to an int.
311
e3ec6cc6
NC
3122015-09-22 Nick Clifton <nickc@redhat.com>
313
314 * config/tc-rx.c (nop_7): Recode using MAX.
315
dce55a03
CG
3162015-09-05 Chen Gang <gang.chen.5i5j@gmail.com>
317
318 * config/tc-avr.c (md_section_align): Append UL for -1 to avoid
319 the latest gcc's warning.
320
2e57ce7b
AM
3212015-08-27 Alan Modra <amodra@gmail.com>
322
323 PR gas/18581
324 * config/tc-aarch64.h (TC_START_LABEL): Redefine.
325 * config/tc-arm.c (tc_start_label_without_colon): Delete params.
326 Use input_line_pointer directly.
327 * config/tc-arm.h (TC_START_LABEL): Redefine.
328 (TC_START_LABEL_WITHOUT_COLON): Redefine.
329 (tc_start_label_without_colon): Update prototype.
330 * config/tc-bfin.c (bfin_start_label): Delete ptr param. Check
331 for NUL instead.
332 * config/tc-bfin.h (bfin_start_label): Update prototype.
333 (TC_START_LABEL): Redefine.
334 * config/tc-d30v.h (TC_START_LABEL): Redefine.
335 * config/tc-fr30.c (restore_colon): Rewrite.
336 (fr30_is_colon_insn): Add nul_char param. Return int. Bump
337 i_l_p over quote. Update restore_colon calls.
338 * config/tc-fr30.h (TC_START_LABEL): Redefine.
339 (fr30_is_colon_insn): Update prototype.
340 * config/tc-m32c.c (restore_colon, m32c_is_colon_insn): As above.
341 * config/tc-m32c.h (TC_START_LABEL): Redefine.
342 (m32c_is_colon_insn): Update prototype.
343 * config/tc-m32r.h (TC_START_LABEL): Redefine.
344 * config/tc-mep.h (TC_START_LABEL): Redefine.
345 * config/tc-nds32.h (TC_START_LABEL): Redefine.
346 * config/tc-tic54x.c (tic54x_start_label): Replace params with
347 nul_char and next_char. Step over trailing quote.
348 * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Redefine.
349 (tic54x_start_label): Update prototype.
350 * read.c (TC_START_LABEL): Redefine. Update invocation.
351 (TC_START_LABEL_WITHOUT_COLON): Update invocation.
352 * config/tc-nios2.c (s_nios2_set): Save initial input_line_pointer
353 and restore if calling s_set. Don't restore delim again.
354
2d011dc1
AM
3552015-08-26 Alan Modra <amodra@gmail.com>
356
357 PR gas/18581
358 * config/tc-mn10200.c (md_assemble <mdr>): Move restore_line_pointer
359 call to where input line used to be restored.
360 * config/tc-mn10300.c (md_assemble <usp>): Remove redundant input
361 line restore.
362 * config/tc-tilepro.c (parse_reg_expression): Add regname var.
363
2a7f4fa9
NC
3642015-08-26 Nick Clifton <nickc@redhat.com>
365
366 PR gas/18842
367 * configure.ac (AS_CHECK_DECLS): Add asprintf.
368 * configure: Regenerate.
369 * config.in: Regenerate.
370
38074311
JM
3712015-08-25 Jose E. Marchesi <jose.marchesi@oracle.com>
372
373 * config/tc-sparc.c (priv_reg_table): New privileged register
374 %pmcdper.
375
d02603dc
NC
3762015-08-21 Nick Clifton <nickc@redhat.com>
377
378 PR gas/18581
379 * expr.c (get_symbol_end): Rename to get_symbol_name. Add a
380 return parameter pointing to the start of the symbol. Allow
381 symbol names enclosed in double quotes.
382 (restore_line_pointer): New function. Replace the NUL character
383 inserted into the input stream with the given character. If the
384 character was a double quote, advance the input pointer.
385 * expr.h (get_symbol_end): Delete.
386 (get_symbol_name): Add prototype.
387 (restore_line_pointer): Prototype.
388 * read.h (SKIP_WHITESPACE_AFTER_NAME): New macro.
389 * doc/as.texinfo (Symbol Intro): Document that symbol names can
390 now be enclosed in double quotes.
391 * cond.c (s_ifdef): Replace get_symbol_end with get_symbol_name.
392 Use restore_line_pointer to replace the NUL in the input stream.
393 Use SKIP_WHITESPACE_AFTER_NAME to skip past the end of a symbol.
394 Check for the use of double quoted symbol names.
395 * expr.c: Likewise.
396 * config/obj-aout.c: Likewise.
397 * config/obj-coff-seh.c: Likewise.
398 * config/obj-coff.c: Likewise.
399 * config/obj-elf.c: Likewise.
400 * config/obj-evax.c: Likewise.
401 * config/obj-macho.c: Likewise.
402 * config/obj-som.c: Likewise.
403 * config/tc-alpha.c: Likewise.
404 * config/tc-arc.c: Likewise.
405 * config/tc-arm.c: Likewise.
406 * config/tc-dlx.c: Likewise.
407 * config/tc-h8300.c: Likewise.
408 * config/tc-hppa.c: Likewise.
409 * config/tc-i370.c: Likewise.
410 * config/tc-i386-intel.c: Likewise.
411 * config/tc-i386.c: Likewise.
412 * config/tc-i960.c: Likewise.
413 * config/tc-ia64.c: Likewise.
414 * config/tc-iq2000.c: Likewise.
415 * config/tc-m32r.c: Likewise.
416 * config/tc-m68hc11.c: Likewise.
417 * config/tc-m68k.c: Likewise.
418 * config/tc-microblaze.c: Likewise.
419 * config/tc-mips.c: Likewise.
420 * config/tc-mmix.c: Likewise.
421 * config/tc-mn10200.c: Likewise.
422 * config/tc-mn10300.c: Likewise.
423 * config/tc-nios2.c: Likewise.
424 * config/tc-ppc.c: Likewise.
425 * config/tc-s390.c: Likewise.
426 * config/tc-score.c: Likewise.
427 * config/tc-score7.c: Likewise.
428 * config/tc-sparc.c: Likewise.
429 * config/tc-tic4x.c: Likewise.
430 * config/tc-tic54x.c: Likewise.
431 * config/tc-tic6x.c: Likewise.
432 * config/tc-tilegx.c: Likewise.
433 * config/tc-tilepro.c: Likewise.
434 * config/tc-v850.c: Likewise.
435 * config/tc-xtensa.c: Likewise.
436 * config/tc-z80.c: Likewise.
437 * dw2gencfi.c: Likewise.
438 * dwarf2dbgc.: Likewise.
439 * ecoff.c: Likewise.
440 * read.c: Likewise.
441 * stabs.c: Likewise.
442
4c562523
JW
4432015-08-19 Jiong Wang <jiong.wang@arm.com>
444
445 * config/tc-aarch64.c (reloc_table): New relocation types support for
446 dtprel_lo12.
447 (ldst_lo12_determine_real_reloc_type): Support
448 BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12,
449 BFD_RELOC_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC,
450 BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12,
451 BFD_RELOC_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC,
452 BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12,
453 BFD_RELOC_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC,
454 BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12,
455 BFD_RELOC_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC.
456 (parse_operands): Likewise.
457 (md_apply_fix): Likewise.
458 (aarch64_force_relocation): Likewise.
459 (process_movw_reloc_info): Likewise.
460
49df5539
JW
4612015-08-19 Jiong Wang <jiong.wang@arm.com>
462
463 * config/tc-aarch64.c (reloc_table): New relocation modifiers,
464 "dtprel_hi12", "dtprel_g0", "dtprel_g0_nc", "dtprel_g1",
465 "dtprel_g1_nc", "dtprel_g2".
466 (md_apply_fix): Support new relocation types.
467 (aarch64_force_relocation): Likewise.
468 (process_movw_reloc_info): Likewise.
469
13289c10
JW
4702015-08-19 Jiong Wang <jiong.wang@arm.com>
471
472 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
473 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
474 (aarch64_force_relocation): Likewise.
475
db2ed2e0
AM
4762015-08-17 Alan Modra <amodra@gmail.com>
477
478 * gas/config/tc-arm.c (s_align): Delete.
479 (md_pseudo_table): Use s_align_ptwo for "align".
480 * gas/config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define.
481 * read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT.
482
19c2883a
AM
4832015-08-13 Alan Modra <amodra@gmail.com>
484
485 * expr.c (operand): Rewrite handling of operands starting with "0f".
486 If atof_generic only parses "-" or "+", treat as expression.
487
c14c7a8a
AM
4882015-08-13 Alan Modra <amodra@gmail.com>
489 DJ Delorie <dj@redhat.com>
490
491 * expr.c (integer_constant): Return O_absent expression if eol.
492 (operand): For targets with both LOCAL_LABELS_FB and
493 NUMBERS_WITH_SUFFIX set, treat "0b" not followed by binary
494 digits as a local label reference. Correct handling of 0b prefix.
495 If a suffix is not allowed, error on 0B.
496
9791c250
AM
4972015-08-13 Alan Modra <amodra@gmail.com>
498
499 * doc/as.texinfo (Local Labels): Allowed range of N in local
500 labels is non-negative integers, not positive integers.
501
b46824bd
MF
5022015-08-12 David Weatherford <weath@cadence.com>
503
504 * config/tc-xtensa.c (struct litpool_frag, struct litpool_seg):
505 New structures.
506 (xtensa_maybe_create_literal_pool_frag): New function.
507 (litpool_seg_list, auto_litpools, auto_litpool_limit)
508 (litpool_buf, litpool_slotbuf): New static variables.
509 (option_auto_litpools, option_no_auto_litpools)
510 (option_auto_litpool_limit): New enum identifiers.
511 (md_longopts): Add entries for auto-litpools, no-auto-litpools
512 and auto-litpool-limit.
513 (md_parse_option): Handle option_auto_litpools,
514 option_no_auto_litpools and option_auto_litpool_limit.
515 (md_show_usage): Add help for --[no-]auto-litpools and
516 --auto-litpool-limit.
517 (xtensa_mark_literal_pool_location): Record a place for literal
518 pool with a call to xtensa_maybe_create_literal_pool_frag.
519 (get_literal_pool_location): Find highest priority literal pool
520 or convert candidate to literal pool when auto-litpools are used.
521 (xg_assemble_vliw_tokens): Create literal pool after jump
522 instruction.
523 (xtensa_check_frag_count): Create candidate literal pool every
524 auto_litpool_limit frags.
525 (xtensa_relax_frag): Add jump around literals to non-empty
526 literal pool.
527 (xtensa_move_literals): Estimate literal pool addresses and move
528 unreachable literals closer to their users, converting candidate
529 to literal pool if needed.
530 (xtensa_switch_to_non_abs_literal_fragment): Only emit error
531 about missing .literal_position in case auto-litpools are not
532 used.
533 * config/tc-xtensa.h (xtensa_relax_statesE): New relaxation
534 state: RELAX_LITERAL_POOL_CANDIDATE_BEGIN.
535 * doc/as.texinfo (Xtensa options): Document --auto-litpools and
536 --no-auto-litpools options.
537 * doc/c-xtensa.texi (Xtensa options): Likewise.
538
40fc1451
SD
5392015-08-12 Simon Dardis <simon.dardis@imgtec.com>
540
541 * config/tc-mips.c (move_register): Change to use 'or' only.
542 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Update to
543 use or for move.
544
70151fb5
JW
5452015-08-11 Jiong Wang <jiong.wang@arm.com>
546
547 * config/tc-aarch64.c (reloc_table): New relocation modifiers
548 "dtprel_lo12".
549 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_DTPREL_LO12.
550 (aarch64_force_relocation): Likewise.
551
a12fad50
JW
5522015-08-11 Jiong Wang <jiong.wang@arm.com>
553
554 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
555 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC.
556 (aarch64_force_relocation): Likewise.
557
1107e076
JW
5582015-08-11 Jiong Wang <jiong.wang@arm.com>
559
560 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
561 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21.
562 (aarch64_force_relocation): Likewise.
563
2b29bb41
NC
5642015-08-11 Nick Clifton <nickc@redhat.com>
565
eff0bc54
NC
566 PR gas/18765
567 * config/tc-arm.c (move_or_literal_pool): Use U suffix to remove
568 compile time warnings about constant expressions being shifted
569 into bit 31.
570 (do_iwmmxt_wldstd): Likewise.
571 (do_iwmmxt_wrwrwr_or_imm5): Likewise.
572 (md_assemble): Likewise.
573
e66c3c25
NC
574 PR gas/18574
575 * config/tc-msp430.c (msp430_operands): Rewrite if statements to
576 remove redundant checks.
577 (md_apply_fix): Likewise.
578
d29b2a1e
NC
579 PR gas/18677
580 * config/tc-mmix.c (md_assemble): Fix typo checking operands with
581 a numeric constant value.
582
88fd0449
NC
583 PR gas/18678
584 * config/tc-tic4x.c (tic4x_insn_check): Fix typo.
585
2b29bb41
NC
586 PR gas/18679
587 * config/xtensa-relax.c (same_operand_name): Fix typo.
588
8fe3f3d6
HPN
5892015-08-08 Hans-Peter Nilsson <hp@axis.com>
590
591 * tc-arm.c (double_to_single, is_double_a_single): Append ULL to
592 0xFFFFFFFFFFFFF to avoid errors on 32-bit hosts.
593
edc66de9
TP
5942015-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
595
596 * doc/c-aarch64.texi (.xword): Document directive.
597
d60646b9
NC
5982015-08-03 Nick Clifton <nickc@redhat.com>
599
600 * doc/as.texinfo (Overview): Add --hash-size to the synopsis and
601 fix typo in its entry: @kindex -> @item.
602
c6e5c03a
RS
6032015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
604
605 * config/tc-mips.c (mips_cpu_info_table): Add m5100 and m5101 entries.
606 * doc/c-mips.texi: Document m5100 and m5101 for -march=.
607
77403ce9
RS
6082015-07-28 Robert Suchanek <robert.suchanek@imgtec.com>
609
610 * config/tc-mips.c (mips_cpu_info_table): Add interaptiv entry.
611 * doc/c-mips.text: Document -march=interaptiv.
612
37a42ee9
L
6132015-07-27 H.J. Lu <hongjiu.lu@intel.com>
614
615 * configure: Regenerated.
616
aff1a65e
NC
6172015-07-24 Nick Clifton <nickc@redhat.com>
618
619 * config/tc-rl78.c (rl78_abs_sym): New local variable.
620 (md_begin): Initialise the new symbol.
621 (OPIMM): Define the value to be relative to the new symbol and not
622 the absolute section symbol.
623
511b1657
AM
6242015-07-22 Alan Modra <amodra@gmail.com>
625
626 PR gas/18687
627 * input-scrub.c (input_scrub_next_buffer): Rearrange and simplify
628 loop. Don't drop lines at end of file lacking a newline, add a
629 newline instead. Ensure partial_size is zero whenever
630 partial_where is NULL. Adjust buffer size for extra char.
631 (input_scrub_push, input_scrub_begin): Adjust buffer size here too.
632
f33026a9
MW
6332015-07-20 Matthew Wahab <matthew.wahab@arm.com>
634
635 * NEWS: Mention corrected spelling of armv6kz.
636 * config/tc-arm.c (arm_cpus): Replace ARM_ARCH_V6ZK with
637 ARM_ARCH_V6KZ.
638 (arm_archs): Likewise. Also add "armv6kz" and "armv6kzt2".
639 * doc/c-arm.texi: Replace "armv6zk" with "armv6kz".
640
6c37fedc
JW
6412015-07-16 Jiong Wang <jiong.wang@arm.com>
642
643 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
644 (md_apply_fix): Support BFD_RELOC_AARCH64_TLSLD_ADR_PREL21.
645 (aarch64_force_relocation): Ditto.
646
081e4c7d
MW
6472015-07-16 Matthew Wahab <matthew.wahab@arm.com>
648
649 * config/tc-arm.c (arm_fpus): Add crypto-neon-fp-armv8.1.
650 * doc/c-arm.texi (-mfpu=): Likewise. Correct the entry for
651 neon-fp-armv8.1.
652
84b52b66
JG
6532015-07-16 James Greenhalgh <james.greenhalgh@arm.com>
654
655 * config/tc-arm.c (md_assemble): Rephrase the "selected processor does
656 not support ARM mode" error messages.
657
189ebcf9
L
6582015-07-15 H.J. Lu <hongjiu.lu@intel.com>
659
660 * config/tc-i386.c (flag_compress_debug): Replace
661 COMPRESS_DEBUG_GNU_ZLIB with COMPRESS_DEBUG_GABI_ZLIB.
662
19a7fe52
L
6632015-07-14 H.J. Lu <hongjiu.lu@intel.com>
664
665 * as.c (parse_args): Make --compress-debug-sections and
666 --compress-debug-sections=zlib the same as
667 --compress-debug-sections=zlib-gabi.
668 * doc/as.texinfo: Change --compress-debug-sections and
669 --compress-debug-sections=zlib to zlib-gabi.
670
3350cc01
CM
6712015-07-09 Catherine Moore <clm@codesourcery.com>
672
72f4393d
L
673 * config/tc-mips.c (check_fpabi): Handle
674 VAL_GNU_MIPS_ABI_FP_NAN2008.
3350cc01 675
7e302352
RS
6762015-07-08 Ciro Santilli <ciro.santilli@gmail.com>
677
678 * doc/as.texinfo: Clarify case requirements for pseudo ops.
679
328e7bfd
DC
6802015-07-08 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
681
682 * config/tc-avr.c (tc_gen_reloc): Change 32 bit relocation to
683 32 bit PC relative and update offset if the fixup is pc-relative.
684 * config/tc-avr.h (DIFF_EXPR_OK): Define to enable PC relative diff
685 relocs.
686
ef5a96d5
AM
6872015-07-03 Alan Modra <amodra@gmail.com>
688
689 * config/tc-ppc.c (md_show_usage): Add -m821, -m850, -m860.
690 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
691
c8c8175b
SL
6922015-07-01 Sandra Loosemore <sandra@codesourcery.com>
693 Cesar Philippidis <cesar@codesourcery.com>
694
695 * config/tc-nios2.c (nios2_min_align): New.
696 (nop): Replace with....
697 (nop_r1, nop_r2, nop_r2_cdx, nop32, nop16): New.
698 (nios2_align): Handle alignment on 2-byte boundaries when CDX
699 instructions may be present.
700 (s_nios2_align): Adjust reference to nop.
701 (CDXBRANCH, IS_CDXBRANCH): New.
702 (CDX_UBRANCH_SUBTYPE, CDX_CBRANCH_SUBTYPE): New.
703 (nios2_relax_subtype_size): Handle 2-byte CDX branches.
704 (nios2_relax_frag): Likewise.
705 (md_convert_frag): Handle R2 encodings.
706 (nios2_check_overflow): Check that low-order bits are zero
707 before applying rightshift from howto.
708 (nios2_check_overflow): Correct negative overflow calculation.
709 (nios2_diagnose_overflow): Handle signed_immed12_overflow. Issue
710 generic overflow messages for miscellaneous instruction formats.
711 (md_apply_fix): Recognize new R2 relocations. For pc_relative
712 relocations, store fixup in *valP.
713 (nios2_reglist_mask, nios2_reglist_dir): New.
714 (nios2_parse_reglist): New.
715 (nios2_parse_base_register): New.
716 (nios2_assemble_expression): Handle constant expressions designated
717 by BFD_RELOC_NONE.
718 (nios2_assemble_reg3): New.
719 (nios2_assemble_arg_c): Handle R2 instruction formats.
720 (nios2_assemble_arg_d): Likewise.
721 (nios2_assemble_arg_s): Likewise.
722 (nios2_assemble_arg_t): Likewise.
723 (nios2_assemble_arg_D): New.
724 (nios2_assemble_arg_S): New.
725 (nios2_assemble_arg_T): New.
726 (nios2_assemble_arg_i): Handle R2 instruction formats.
727 (nios2_assemble_arg_I): New.
728 (nios2_assemble_arg_u): Handle R2 instruction formats.
729 (nios2_assemble_arg_U): New.
730 (nios2_assemble_arg_V): New.
731 (nios2_assemble_arg_W): New.
732 (nios2_assemble_arg_X): New.
733 (nios2_assemble_arg_Y): New.
734 (nios2_assemble_arg_o): Handle R2 instruction formats.
735 (nios2_assemble_arg_O): New.
736 (nios2_assemble_arg_P): New.
737 (nios2_assemble_arg_j): Handle R2 instruction formats.
738 (nios2_assemble_arg_k): New.
739 (nios2_assemble_arg_l): Handle R2 instruction formats.
740 (nios2_assemble_arg_m): Likewise.
741 (nios2_assemble_arg_M): New.
742 (nios2_assemble_arg_N): New.
743 (nios2_assemble_arg_e): New.
744 (nios2_assemble_arg_f): New.
745 (nios2_assemble_arg_g): New.
746 (nios2_assemble_arg_h): New.
747 (nios2_assemble_arg_R): New.
748 (nios2_assemble_arg_B): New.
749 (nios2_assemble_args): Handle new argument letters.
750 (nios2_consume_arg): Likewise.
751 (nios2_translate_pseudo_insn): Avoid dereferencing null pointer
752 in error message.
753 (nios2_ps_insn_info_structs): Add nop.n.
754 (output_ubranch): Handle CDX branches.
755 (output_cbranch): Likewise.
756 (output_call): Handle R2 encodings.
757 (output_movia): Likewise.
758 (md_begin): Initialize nios2_min_align.
759 (md_assemble): Align to nios2_min_align. Adjust nios2_min_align
760 if a 16-bit instruction is seen.
761 (nios2_cons_align): Use appropriate nop pattern.
762
965b1d80
SL
7632015-07-01 Sandra Loosemore <sandra@codesourcery.com>
764 Cesar Philippidis <cesar@codesourcery.com>
765
766 * config/tc-nios2.c: Adjust includes.
767 (OPTION_MARCH): Define.
768 (md_longopts): Add -march option.
769 (nios2_architecture): New.
770 (nios2_use_arch): New.
771 (md_parse_option): Handle OPTION_MARCH.
772 (md_show_usage): Document -march.
773 (md_begin): Set arch in BFD.
774 (nios2_elf_final_processing): New.
775 * config/tc-nios2.h (elf_tc_final_processing): Define.
776 (nios2_elf_final_processing): New.
777 * doc/c-nios2.texi (-march): Add documentation.
778
9916071f
AP
7792015-06-30 Amit Pawar <Amit.Pawar@amd.com>
780
781 * config/tc-i386.c (cpu_arch): Add .mwaitx.
782 (process_immext): Check operands for monitorx/mwaitx instructions.
783 * doc/c-i386.texi: Document mwaitx.
784
ee0c0c50
L
7852015-06-28 H.J. Lu <hongjiu.lu@intel.com>
786
787 * as.c (parse_args): Replace COMPRESS_DEBUG_ZLIB with
788 COMPRESS_DEBUG_GNU_ZLIB.
789 * config/tc-i386.c (flag_compress_debug): Likewise.
790
68c3545d
L
7912015-06-24 H.J. Lu <hongjiu.lu@intel.com>
792
793 * doc/as.texinfo (.cfi_lsda): Remove the extra @section.
794
11a0cf2e
PB
7952015-06-19 Peter Bergner <bergner@vnet.ibm.com>
796
797 * config/tc-ppc.c (md_assemble): Use ppc_optional_operand_value.
798 Allow for optional operands without insert functions.
799
c12d2c9d
NC
8002015-06-18 Nick Clifton <nickc@redhat.com>
801
802 PR gas/18541
803 * config/tc-arm.c (md_apply_fix): Add support for ADR in thumb
804 mode against a nearby symbol.
805
75c11999
NC
8062015-06-18 Nick Clifton <nickc@redhat.com>
807
808 PR gas/18481
809 * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
810 in the same case as BFD_RELOC_ARM_TLS_IS32.
811
5fc177c8
NC
8122015-06-17 Nick Clifton <nickc@redhat.com>
813
814 * config/tc-arm.c (is_double_a_single): Make conditional upon the
815 availablity of a 64-bit type. Use this type for the argument and
816 mantissa.
817 (double_to_single): Likewise.
818 * config/tc-arm.c (move_or_literal_pool): Use a 64-bit type for
819 the constant value, if available. Generate a 64-bit value from a
820 bignum if supported. Only perform the second optimization for
821 PR 18500 if the 64-bit type is available.
822
ba592044
AM
8232015-06-17 Alessandro Marzocchi <alessandro.marzocchi@gmail.com>
824
825 PR gas/18500
826 * config/tc-arm.c (is_double_a_single): New function.
827 (double_to_single): New function.
12569877
AM
828 (move_or_literal_pool): Add support for converting VLDR to VMOV.
829
830 PR gas/18499
831 * config/tc-arm.c (move_or_literal_pool): Add support for LDR Rx,=
832 to MOV.w or MVN.w for Thumb2.
ba592044 833
451133ce
NP
8342015-06-17 Nicolas Pitre <nico@linaro.org>
835
836 * as.c (show_usage): Document --sectname-subst.
837 (parse_args): Add --sectname-subst.
838 * as.h (flag_sectname_subst): New.
839 * config/obj-elf.c (obj_elf_section_name): Add %S substitution.
840 * doc/as.texinfo: Document it.
841
87f5fbcc
RL
8422015-06-15 Renlin Li <renlin.li@arm.com>
843
844 * config/tc-aarch64.c (reloc_table): New relocation modifier.
845 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
846 (aarch64_force_relocation): Ditto
847
d025d5e5
MW
8482015-06-13 Mark Wielaard <mjw@redhat.com>
849
850 * dwarf2dbg.c (out_header): Document EXPR->X_add_number value,
851 out_debug_aranges depends on it.
852 (out_debug_aranges): Track size of header to properly pad header
853 for address alignment.
854
18c208b2
JDA
8552015-06-11 John David Anglin <danglin@gcc.gnu.org>
856
857 PR gas/18427
858 * gas/config/tc-hppa.c (last_label_symbol): Declare.
859 (pa_get_label): Return last label in current space/segment or NULL.
860 (pa_define_label): Record last label and add to root.
861 (pa_undefine_label): Remove last label from root.
862
f0e8c65e
NC
8632015-06-08 Nick Clifton <nickc@redhat.com>
864
865 * config/tc-rx.c (rx_op): Correct handling of integer bignums.
866
88f0ea34
MW
8672015-06-04 Matthew Wahab <matthew.wahab@arm.com>
868
869 * NEWS: Mention ARMv8.1 support in the Aarch64 port.
870 * config/tc-aarch64.c (aarch64_arch_option_table): Add "armv8.1-a".
871 * doc/c-aarch64.texi (-march): Add "armv8.1-a".
872
b968d18a
JW
8732015-06-04 Renlin Li <renlin.li@arm.com>
874
875 * config/tc-arm.c (arm_init_frag): Use frag's thumb_mode information
876 when available.
877
239c0f4c
NC
8782015-06-04 Nick Clifton <nickc@redhat.com>
879
880 * config/tc-h8300.c (md_section_align): Fix compile time warning
881 about left shifting a negative value.
882
a5932920
MW
8832015-06-03 Matthew Wahab <matthew.wahab@arm.com>
884
885 * config/tc-arm.c (arm_archs): Add "armv8.1-a".
886 * doc/c-arm.texi (ARM Options, -march): Add "armv8.1-a".
887 * NEWS: Mention ARMv8.1 support.
888
ddfded2f
MW
8892015-06-02 Matthew Wahab <matthew.wahab@arm.com>
890
891 * config/tc-arm.c (arm_ext_pan): New.
892 (do_setpan): New, encode an ARM SETPAN instruction.
893 (do_t_setpan): New, encode a Thumb SETPAN instruction.
894 (insns): Add "setpan".
895 (arm_extensions): Add "pan".
896 * doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu processor
897 extensions.
898
9e1f0fa7
MW
8992015-06-02 Matthew Wahab <matthew.wahab@arm.com>
900
901 * config/tc-aarch64.c (aarch64_features): Add "rdma".
902 * doc/c-aarch64.texi (AArch64 Extensions): Add "rdma".
903
290806fd
MW
9042015-06-02 Matthew Wahab <matthew.wahab@arm.com>
905
906 * config/tc-aarch64.c (aarch64_features): Add "lor".
907 * doc/c-aarch64.c (Aarch64 Extensions): Add "lor" to list of
908 architecture extensions.
909
72ca8fad
MW
9102015-06-01 Matthew Wahab <matthew.wahab@arm.com>
911
912 * config/tc-aarch64.c (parse_sys_reg): New parameter. Check target
913 support. Fix whitespace.
914 (parse_operands): Update for parse_sys_reg changes.
915 (aarch64_features): Add "pan".
916 * doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".
917
3d715ce4
JW
9182015-06-01 Jiong Wang <jiong.wang@arm.com>
919
920 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
921 (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
922 (aarch64_force_relocation): Ditto.
923
a921b5bd
JW
9242015-06-01 Jiong Wang <jiong.wang@arm.com>
925
926 * config/tc-aarch64.c (reloc_table): New relocation modifiers.
927 (md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
928 (aarch64_force_relocation): Ditto.
929
2f0c68f2 9302015-05-28 Catherine Moore <clm@codesourcery.com>
72f4393d
L
931 Bernd Schmidt <bernds@codesourcery.com>
932 Paul Brook <paul@codesourcery.com>
2f0c68f2
CM
933
934 gas/
935 * config/tc-alpha.c (all_cfi_sections): Declare.
936 (s_alpha_ent): Initialize all_cfi_sections.
937 (alpha_elf_md_end): Invoke cfi_set_sections.
938 * config/tc-mips.c (md_apply_fix): Handle BFD_RELOC_NONE.
939 (s_ehword): Use BFD_RELOC_32_PCREL.
940 (mips_fix_adjustable): Handle BFD_RELOC_32_PCREL.
941 (mips_cfi_reloc_for_encoding): New function.
942 * tc-mips.h (DWARF2_FDE_RELOC_SIZE): Redefine.
943 (DWARF2_FDE_RELOC_ENCODING): Define.
944 (tc_cfi_reloc_for_encoding): Define.
945 (mips_cfi_reloc_for_encoding): Define.
946 (tc_compact_eh_opcode_stop): Define.
947 (tc_compact_eh_opcode_pad): Define.
948 * doc/as.texinfo: Document Compact EH extensions.
949 * doc/internals.texi: Likewise.
950 * dw2gencfi.c (EH_FRAME_LINKONCE): Redefine.
951 (tc_cfi_reloc_for_encoding): Provide default.
952 (compact_eh): Declare.
953 (emit_expr_encoded): New function.
954 (get_debugseg_name): Add Compact EH support.
955 (alloc_debugseg_item): Likewise.
956 (cfi_set_sections): New function.
957 (dot_cfi_fde_data): New function.
958 (dot_cfi_personality_id): New function.
959 (dot_cfi_inline_lsda): New function.
960 (cfi_pseudo_table): Add cfi_fde_data, cfi_personality_id,
961 and cfi_inline_lsda.
962 (dot_cfi_personality): Add Compact EH support.
963 (dot_cfi_lsda): Likewise.
964 (dot_cfi_sections): Likewise.
965 (dot_cfi_startproc): Likewise.
966 (get_cfi_seg): Likewise.
967 (output_compact_unwind_data): New function.
968 (output_cfi_insn): Add Compact EH support.
969 (output_cie): Likewise.
970 (output_fde): Likewise.
971 (cfi_finish): Likewise.
972 (cfi_emit_eh_header): New function.
973 (output_eh_header): New function.
974 * dw2gencfi.h (cfi_set_sections): Declare.
975 (SUPPORT_COMPACT_EH): Define.
976 (MULTIPLE_FRAME_SECTIONS): Define.
977 New enumeration to describe the Compact EH header format.
978 (fde_entry): Add new fields personality_id, eh_header_type, eh_data_size,
979 eh_data, eh_loc and sections.
980 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame, CFI_EMIT_target,
981 CFI_EMIT_eh_frame_compact): Define.
982
4de0562a
MF
9832015-05-26 Max Filippov <jcmvbkbc@gmail.com>
984
985 * config/tc-xtensa.c (xtensa_move_literals): Check that
986 search_frag is non-NULL. Report error if literal frag is not
987 found.
988
29798047
NC
9892015-05-22 Nick Clifton <nickc@redhat.com>
990
991 PR gas/18446
992 * read.c (output_big_sleb128): Use U suffix to prevent compile
993 time warning.
994
f09c556a
JW
9952015-05-19 Jiong Wang <jiong.wang@arm.com>
996
997 * config/tc-aarch64.c (process_movw_reloc_info): Sort relocation case
998 labels alphabetically.
999 (md_apply_fix): Ditto.
1000 (aarch64_force_relocation): Ditto.
1001
5db04b09
L
10022015-05-15 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 PR binutis/18386
1005 * config/tc-i386.c (OPTION_MAMD64): New.
1006 (OPTION_MINTEL64): Likewise.
1007 (md_longopts): Add -mamd64 and -mintel64.
1008 (md_parse_option): Handle OPTION_MAMD64 and OPTION_MINTEL64.
1009 (md_show_usage): Add -mamd64 and -mintel64.
1010 * doc/c-i386.texi: Document -mamd64 and -mintel64.
1011
8dcea932
L
10122015-05-15 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 * config/tc-i386.c (shared): New.
1015 (OPTION_MSHARED): Likewise.
1016 (elf_symbol_resolved_in_segment_p): Add relocation argument.
1017 Check PLT relocations and shared.
1018 (md_estimate_size_before_relax): Pass fragP->fr_var to
1019 elf_symbol_resolved_in_segment_p.
1020 (md_longopts): Add -mshared.
1021 (md_show_usage): Likewise.
1022 (md_parse_option): Handle OPTION_MSHARED.
1023 * doc/c-i386.texi: Document -mshared.
1024
dab394de
L
10252015-05-14 H.J. Lu <hongjiu.lu@intel.com>
1026
1027 * write.c (compress_debug): Don't write the zlib header, which
1028 is handled by bfd_update_compression_header.
1029
dc58915f
MF
10302015-05-13 Max Filippov <jcmvbkbc@gmail.com>
1031
1032 * config/tc-xtensa.c (xtensa_relax_frag): Allow trampoline to be
1033 closer than J_RANGE / 2 to jump frag.
1034
5197d474
L
10352015-05-11 H.J. Lu <hongjiu.lu@intel.com>
1036
1037 * configure.tgt (arch): Set to iamcu for i386-*-elfiamcu target.
1038 * config/tc-i386.c (i386_mach): Support iamcu.
1039 (i386_target_format): Likewise.
1040
81486035
L
10412015-05-11 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 * config/tc-i386.c (cpu_arch): Add iamcu.
1044 (i386_align_code): Handle PROCESSOR_IAMCU.
1045 (i386_arch): Likewise.
1046 (i386_mach): Likewise.
1047 (i386_target_format): Likewise.
1048 (valid_iamcu_cpu_flags): New function.
1049 (check_cpu_arch_compatible): Only allow Intel MCU instructions
1050 when targeting Intel MCU.
1051 (set_cpu_arch): Call valid_iamcu_cpu_flags to check if CPU flags
1052 are valid for Intel MCU.
1053 (md_parse_option): Likewise.
1054 * tc-i386.h (ELF_TARGET_IAMCU_FORMAT): New.
1055 (processor_type): Add PROCESSOR_IAMCU.
1056 * doc/c-i386.texi: Document iamcu.
1057
ae8714c2
NC
10582015-05-08 Nick Clifton <nickc@redhat.com>
1059
1060 PR gas/18347
1061 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define.
1062 * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move
1063 the symbol name checking code to here from...
1064 (md_undefined_symbo): ... here.
1065
b084df0b
L
10662015-05-07 H.J. Lu <hongjiu.lu@intel.com>
1067
1068 * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
1069 (md_estimate_size_before_relax): Use it.
1070
0d495746
JM
10712015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
1072
1073 * config/tc-sparc.c: Typo in comment fixed.
1074
f9911beb
JM
10752015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
1076
1077 * config/tc-sparc.c (sparc_ip): Support the %ncc "natural"
1078 condition codes
1079 * doc/c-sparc.texi (Sparc-Regs): Document %ncc.
1080
ed1fcdd1
NC
10812015-05-06 Nick Clifton <nickc@redhat.com>
1082
1083 * doc/as.texinfo (Dollar Local Labels): Note that these are only
1084 supported on some targets.
1085
448eb63d
RL
10862015-05-06 Renlin Li <renlin.li@arm.com>
1087
1088 * config/tc-aarch64.c (mapping_state): Recording alignment before exit.
1089
c7ad08e6
RL
10902015-05-05 Renlin Li <renlin.li@arm.com>
1091
1092 * config/tc-aarch64.c (aarch64_init_frag): Always generate mapping
1093 symbols.
1094
837a17b3
NC
10952015-05-05 Nick Clifton <nickc@redhat.com>
1096
1097 * config/tc-msp430.c (MAX_OP_LEN): Increase to 4096.
1098 (msp430_make_init_symbols): New function.
1099 (msp430_section): Call it.
1100 (msp430_frob_section): Likewise.
1101
b76f99d7
MF
11022015-05-02 Max Filippov <jcmvbkbc@gmail.com>
1103
1104 * config/tc-xtensa.c (cached_fixupS, fixup_cacheS): New typedefs.
1105 (struct cached_fixup, struct fixup_cache): New structures.
1106 (fixup_order, xtensa_make_cached_fixup),
1107 (xtensa_realloc_fixup_cache, xtensa_cache_relaxable_fixups),
1108 (xtensa_find_first_cached_fixup, xtensa_delete_cached_fixup),
1109 (xtensa_add_cached_fixup): New functions.
1110 (xtensa_relax_frag): Cache fixups pointing at potentially
1111 oversized jumps at the beginning of every relaxation pass. Only
1112 check subset of this cache in the reach of single jump from the
1113 trampoline frag currently being relaxed.
1114
d62de9aa
DD
11152015-05-01 Nick Clifton <nickc@redhat.com>
1116
1117 * config/rl78-parse.y (MULU): Remove ISA_G14.
1118 (MULH, DIVHU, DIVWU, MACHI, MACH): Update error strings.
1119
00923338
L
11202015-05-01 H.J. Lu <hongjiu.lu@intel.com>
1121
1122 * config/tc-i386.c (i386_elf_emit_arch_note): Removed.
1123 * config/tc-i386.h (md_end): Likewise.
1124 (i386_elf_emit_arch_note): Likewise.
1125
b633b725
L
11262015-05-01 H.J. Lu <hongjiu.lu@intel.com>
1127
1128 * configure.tgt: Support i386-*-elf*.
1129
0952813b
DD
11302015-04-30 DJ Delorie <dj@redhat.com>
1131
1132 * config/rl78-defs.h (rl78_isa_g10): New.
1133 (rl78_isa_g13): New.
1134 (rl78_isa_g14): New.
1135 * config/rl78-parse.y (ISA_G10): New.
1136 (ISA_G13): New.
1137 (ISA_G14): New.
1138 (MULHU, MULH, MULU, DIVHU, DIVWU, MACHU, MACH): Use them.
1139 * config/tc-rl78.c (rl78_isa_g10): New.
1140 (rl78_isa_g13): New.
1141 (rl78_isa_g14): New.
1142
b49f93f6
L
11432015-04-30 H.J. Lu <hongjiu.lu@intel.com>
1144
1145 * config/tc-i386.c (i386_target_format): Use "else if" on
1146 cpu_arch_isa.
1147
7ce98c16
NC
11482015-04-30 Nick Clifton <nickc@redhat.com>
1149
8b2d793c
NC
1150 PR gas/18347
1151 * config/tc-arm.c (md_undefined_symbol): Issue a warning message
1152 (if enabled) when the user creates a symbol with the same name as
1153 an ARM instruction.
1154 (flag_warn_syms): New static variable.
1155 (arm_opts): Add mwarn-syms and mno-warn-syms.
1156 * doc/c-arm.texi (ARM Options): Document the -m[no-]warn-syms
1157 options.
1158
7ce98c16
NC
1159 PR gas/18353
1160 * doc/as.texinfo (Zero): Add documentation of the .zero pseudo-op.
1161
99b2a2dd
NC
11622015-04-29 Nick Clifton <nickc@redhat.com>
1163
1164 PR 18256
1165 * config/tc-arm.c (encode_arm_cp_address): Issue an error message
1166 if the operand is neither a register nor a vector.
1167
5d239759
NC
11682015-04-29 Nick Clifton <nickc@redhat.com>
1169
1170 * doc/as.texinfo (Set): Note that a symbol cannot be set multiple
1171 times if the expression is not constant and the target uses linker
1172 relaxation.
1173
f9c1b181
RL
11742015-04-28 Renlin Li <renlin.li@arm.com>
1175
1176 * config/tc-arm.c (arm_init_frag): Always emit mapping symbols.
1177
da7119c9
NC
11782015-04-28 Nick Clifton <nickc@redhat.com>
1179
1180 PR 18313
1181 * cond.c (s_if): Stop compile time warning about stopc being used
1182 before it is set.
1183 (s_ifc): Likewise.
1184
eb9d6cc9
RL
11852015-04-27 Renlin Li <renlin.li@arm.com>
1186
1187 * config/tc-aarch64.c (s_aarch64_inst): Don't align code for non-text
1188 section.
1189 (md_assemble): Likewise, move the align code outside the loop.
1190
faade851
JW
11912015-04-24 Jim Wilson <jim.wilson@linaro.org>
1192
1193 * config/tc-aarch64.c (aarch64_cpus): Add CRC and CRYPTO features
1194 for thunderx.
1195
11962015-04-24 Richard Earnshaw <rearnsha@arm.com>
7a5c933c
RE
1197
1198 * config/tc-arm.h (arm_min): New function.
1199 (SUB_SEGMENT_ALIGN): Define.
1200
ece794d9
MF
12012015-04-23 Matthew Fortune <matthew.fortune@imgtec.com>
1202
1203 * config/tc-mips.c (macro): State the recommended way of creating
1204 32-bit or 64-bit addresses.
1205
af508cb9
JB
12062015-04-23 Jan Beulich <jbeulich@suse.com>
1207
1208 * config/tc-i386.c (match_mem_size): Also allow no size
1209 specification when broadcasting.
1210
d3b47e2b
L
12112015-04-20 H.J. Lu <hongjiu.lu@intel.com>
1212
1213 * doc/as.texinfo (Bundle directives): Shorten menu entry and
1214 use @subsection.
1215 (CFI directives): Use @subsection.
1216 (SH-Dependent, SH64-Dependent): Moved after SCORE-Dependent.
1217 * doc/c-i386.texi (i386-Mnemonics): Use @subsection.
1218
ef7a9369
SKS
12192015-04-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1220
1221 * config/tc-avr.c (create_record_for_frag): Rename link to
1222 prop_rec_link.
1223
ea556d25
L
12242015-04-15 H.J. Lu <hongjiu.lu@intel.com>
1225
1226 * NEWS: Mention
1227 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi].
1228
0ce398f1
L
12292015-04-14 H.J. Lu <hongjiu.lu@intel.com>
1230
1231 * as.h (compressed_debug_section_type): Removed.
1232
6ff71e76
NC
12332015-04-14 Nick Clifton <nickc@redhat.com>
1234
1235 * config/tc-rl78.h (TC_LINKRELAX_FIXUP): Define.
1236 (TC_FORCE_RELOCATION_SUB_SAME): Define.
1237 (DWARF2_USE_FIXED_ADVANCE_PC): Define.
1238
080bb7bb
NC
12392015-04-10 Nick Clifton <nickc@redhat.com>
1240
1241 PR binutils/18198
1242 * doc/c-arm.texi (ARM Options): Add a note about the interaction of
1243 the -EB option with the linker's --be8 option.
1244
4b5708f5
HPN
12452015-04-09 Hans-Peter Nilsson <hp@axis.com>
1246
1247 * doc/c-rx.texi: Fix markup typos in last change.
1248
3525236c
NC
12492015-04-09 Nick Clifton <nickc@redhat.com>
1250
1251 * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS.
1252 (md_longopts): Add -mno-allow-string-insns.
1253 (md_parse_option): Handle -mno-allow-string-insns.
1254 (md_show_usage): Mention -mno-allow-string-insns.
1255 (rx_note_string_insn_use): New function. Produces an error
1256 message if a string insn is used when it is not allowed.
1257 * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use.
1258 (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise.
1259 * config/rx-defs.h (rx_note_string_insn_use): Prototype.
1260 * doc/c-rx.texi: Document -mno-allow-string-insns.
1261
151411f8
L
12622015-04-08 H.J. Lu <hongjiu.lu@intel.com>
1263
1264 * as.c (show_usage): Update --compress-debug-sections.
1265 (std_longopts): Use optional_argument on compress-debug-sections.
1266 (parse_args): Handle
1267 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1268 * as.h (compressed_debug_section_type): New.
1269 (flag_compress_debug): Change type to compressed_debug_section_type.
1270 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1271 * write.c (compress_debug): Set BFD_COMPRESS_GABI for
1272 --compress-debug-sections=zlib-gabi. Call
1273 bfd_get_compression_header_size to get compression header size.
1274 Don't rename section name for --compress-debug-sections=zlib-gabi.
1275 * config/tc-i386.c (compressed_debug_section_type): Set to
1276 COMPRESS_DEBUG_ZLIB.
1277 * doc/as.texinfo: Document
1278 --compress-debug-sections={none|zlib|zlib-gnu|zlib-gabi}.
1279
a97902de
RL
12802015-04-07 Renlin Li <renlin.li@arm.com>
1281
1282 * config/tc-aarch64.c (mapping_state): Use subseg_text_p.
1283 (s_aarch64_inst): Likewise.
1284 (md_assemble): Likewise.
1285
4aa90cc0
L
12862015-04-06 H.J. Lu <hongjiu.lu@intel.com>
1287
1288 * write.c (compress_debug): Use bfd_putb64 to write uncompressed
1289 section size.
1290
317974f6
L
12912015-04-05 H.J. Lu <hongjiu.lu@intel.com>
1292
1293 * write.c (compress_debug): Don't write the zlib header if
1294 compressed section size is the same as before compression.
1295
03e08038
NC
12962015-04-02 Nick Clifton <nickc@redhat.com>
1297
1298 PR gas/18189
1299 * config/tc-microblaze.c (parse_imm): Use offsetT as the type for
f66adc4e 1300 min and max parameters. Sign extend values before testing.
03e08038 1301
c1baaddf
RL
13022015-04-02 Renlin Li <renlin.li@arm.com>
1303
1304 * config/tc-aarch64.c (mapping_state): Emit MAP_DATA within text section in order.
1305 (mapping_state_2): Don't emit MAP_DATA here.
1306 (s_aarch64_inst): Align frag during state transition.
1307 (md_assemble): Likewise.
1308
726e626a
EM
13092015-04-02 Ed Maste <emaste@freebsd.org>
1310
1311 * config/tc-aarch64.c (set_error_kind): Delete.
1312 (set_error_message): Delete.
1313
39f3de7c
L
13142015-04-02 H.J. Lu <hongjiu.lu@intel.com>
1315
1316 * configure: Regenerated.
1317
2412d878
EM
13182015-04-01 Evandro Menezes <e.menezes@samsung.com>
1319
1320 * config/tc-aarch64.c: Add support for Samsung Exynos M1.
1321 * doc/c-aarch64.texi (-mcpu=): Add "exynos-m1".
1322
246496bb
EM
13232015-04-01 Evandro Menezes <e.menezes@samsung.com>
1324
1325 * config/tc-arm.c: Add support for Samsung Exynos M1.
1326 * doc/c-arm.texi (-mcpu=): Add "exynos-m1".
1327
afa59b79
L
13282015-04-01 H.J. Lu <hongjiu.lu@intel.com>
1329
1330 * configure: Regenerated.
1331
6036f486
ES
13322015-03-31 Ed Schouten <ed@nuxi.nl>
1333
1334 * configure.tgt (fmt): Set to elf for *-*-cloudabi*.
1335
543b7933
L
13362015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1337
1338 * configure.ac: Revert the AM_ZLIB change.
1339 * Makefile.in: Regenerated.
1340 * aclocal.m4: Likewise.
1341 * configure: Likewise.
1342
0138187e
L
13432015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1344
1345 * Makefile.am (ZLIBINC): New.
1346 (AM_CFLAGS): Add $(ZLIBINC).
1347 * as.c: (show_usage): Don't check HAVE_ZLIB_H.
1348 (parse_args): Likewise.
1349 * compress-debug.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
1350 (compress_init): Don't check HAVE_ZLIB_H.
1351 (compress_data): Likewise.
1352 (compress_finish): Likewise.
1353 * configure.ac (AM_ZLIB): Removed.
1354 (zlibinc): New. AC_SUBST.
1355 Add --with-system-zlib.
1356 * Makefile.in: Regenerated.
1357 * config.in: Likewise.
1358 * configure: Likewise.
1359 * doc/Makefile.in: Likewise.
1360
e04de5e3
L
13612015-03-27 H.J. Lu <hongjiu.lu@intel.com>
1362
1363 * config/tc-i386.c (cpu_flags_set): Removed.
1364
bb383c6c
RL
13652015-03-25 Renlin Li <renlin.li@arm.com>
1366
1367 * config/tc-aarch64.c (mapping_state): Remove first MAP_DATA emitting
1368 code.
1369 (mapping_state_2): Emit first MAP_DATA symbol here.
1370
b422eb49
L
13712015-03-24 H.J. Lu <hongjiu.lu@intel.com>
1372
1373 PR gas/18087
1374 * write.c (compress_debug): Don't write the zlib header if
1375 compression didn't make the section smaller.
1376
823d2571
TG
13772015-03-24 Terry Guo <terry.guo@arm.com>
1378
1379 * config/tc-arm.c (no_cpu_selected): Use new macro to compare
1380 features.
1381 (parse_psr): Likewise.
1382 (do_t_mrs): Likewise.
1383 (do_t_msr): Likewise.
1384 (static const arm_feature_set arm_ext_*): Defined with new macros.
1385 (static const arm_feature_set arm_cext_*): Likewise.
1386 (static const arm_feature_set fpu_fpa_ext_*): Likewise.
1387 (static const arm_feature_set fpu_vfp_ext_*): Likewise.
1388 (deprecated_coproc_regs): Likewise.
1389 (UL_BARRIER): Likewise.
1390 (barrier_opt_names): Likewise.
1391 (arm_cpus): Likewise.
1392 (arm_extensions): Likewise.
1393
80b8656c
L
13942015-03-20 H.J. Lu <hongjiu.lu@intel.com>
1395
1396 * config/tc-i386.c (i386_align_code): Limit multi-byte nop
1397 instructions to 10 bytes.
1398
1740ba0c
NC
13992015-03-19 Nick Clifton <nickc@redhat.com>
1400
1401 * config/tc-rl78.c (enum options): Add G13 and G14.
1402 (md_longopts): Add -mg13 and -mg14.
1403 (md_parse_option): Handle -mg13 and -mg14.
1404 (md_show_usage): List -mg13 and -mg14.
1405 * doc/c-rl78.texi: Add description of -mg13 and -mg14 options.
1406
273a4985
JT
14072015-03-18 Jon Turney <jon.turney@dronecode.org.uk>
1408 Nick Clifton <nickc@redhat.com>
1409
1410 PR binutils/18087
1411 * doc/as.texinfo: Note that when gas compresses debug sections the
1412 compression is only performed if it makes the section smaller.
1413 * write.c (compress_debug): Do not compress a debug section if
1414 doing so would make it larger.
1415
029f3522
GG
14162015-03-17 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
1417
1418 * config/tc-i386.c (cpu_arch): Add PROCESSOR_ZNVER flags.
1419 (i386_align_code): Add PROCESSOR_ZNVER cases.
1420 * config/tc-i386.h (processor_type): Add PROCESSOR_ZNVER.
1421 * doc/c-i386.texi: Add znver1 and clzero.
1422
b57dc16f
NC
14232015-03-16 Nick Clifton <nickc@redhat.com>
1424
1425 * dwarf2dbg.c (out_header): Remove spurious #if 1.
1426
4bf8c6e8
JW
14272015-03-13 Jiong Wang <jiong.wang@arm.com>
1428
1429 * config/tc-aarch64.c (warn_unpredictable_ldst): Don't warn on reg
1430 number 31.
1431
bc9706f8
JW
14322015-03-13 Jiong Wang <jiong.wang@arm.com>
1433
1434 * config/tc-aarch64.h (SUB_SEGMENT_ALIGN): Define to be zero.
1435
7ef0d297
AB
14362015-03-12 Andrew Bennett <andrew.bennett@imgtec.com>
1437
1438 * config/tc-mips.c (mips_cpu_info_table): Add i6400 entry.
1439 * doc/c-mips.texi: Document i6400 -march option.
1440
93ef582d
NC
14412015-03-12 Nick Clifton <nickc@redhat.com>
1442
1443 PR gas/17444
1444 * config/tc-arm.h (MD_APPLY_SYM_VALUE): Pass the current segment
1445 to arm_apply_sym_value. Update prototype.
1446 * config/tc-arm.c (arm_apply_sym_value): Add segment argument.
1447 Do not apply the value if the symbol is in a different segment to
1448 the current segment.
1449
f728387b
AM
14502015-03-11 Alan Modra <amodra@gmail.com>
1451
1452 * config/tc-ppc.c (md_assemble): Don't abort on 8 byte insn fixups.
1453 (md_apply_fix): Report an error on data-only fixups used with insns.
1454
c6837265
AK
14552015-03-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1456
1457 * config/tc-s390.c (md_gather_operands): Check for valid
1458 length field operands.
1459
5e0d7f77
MP
14602015-03-10 Michael Perkins <perkinsmg75@yahoo.co.uk>
1461
1462 * config/tc-arm.c (parse_operands): Fix bug setting writeback
1463 values for '^' on OP_REGLSTs.
1464 (do_push_pop): Add new writeback constraint.
1465
4e9aaefb
SA
14662015-03-10 Renlin Li <renlin.li@arm.com>
1467
1468 * config/tc-arm.c (mapping_state): Remove first MAP_DATA emitting code.
1469 (mapping_state_2): Emit first MAP_DATA symbol here.
1470
a578ef7e
JW
14712015-03-10 Matthew Wahab <matthew.wahab@arm.com>
1472
1473 * config/tc-aarch64.c (mapping_state): Set minimum alignment for
1474 code sections.
1475
73f43896
NC
14762015-03-10 Nick Clifton <nickc@redhat.com>
1477
1478 PR gas/17852
1479 * config/tc-arm.c (md_begin): Ensure that selected_cpu is
1480 initialised when CPU_DEFAULT is defined.
1481
a26de52c
NC
14822015-03-05 Nick Clifton <nickc@redhat.com>
1483
1484 * config/tc-v850.c (md_parse_option): Fix code to set or clear
1485 EF_RH850_DATA_ALIGN8 bit in ELF header, based upon the use of the
1486 -m8byte-align and -m4byte-align command line options.
1487
e09ab7ac
RS
14882015-03-04 Richard Sandiford <richard.sandiford@arm.com>
1489
1490 PR gas/17843
1491 * config/tc-aarch64.c (process_movw_reloc_info): Allow
1492 R_AARCH64_TLSLE_MOVW_TPREL_G0_NC and R_AARCH64_TLSLE_MOVW_TPREL_G1_NC
1493 for MOVK.
1494
9028d943
AM
14952015-02-28 Alan Modra <amodra@gmail.com>
1496
1497 * write.c (SUB_SEGMENT_ALIGN): Don't pad non-code sections at
1498 end to their alignment.
1499
389b8029
MS
15002015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1501
1502 * config/tc-aarch64.c (reloc_table_entry): Generate
1503 BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21.
1504 (md_apply_fix, aarch64_force_relocation): Handle
1505 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1506
3c12b054
MS
15072015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1508
1509 * config/tc-aarch64.c (reloc_table_entry): Generate
1510 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1511 (md_apply_fix, aarch64_force_relocation): Handle
1512 BFD_RELOC_AARCH64_TLSGD_ADR_PREL21.
1513
043bf05a
MS
15142015-02-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
1515
1516 * config/tc-aarch64.c (reloc_table_entry): Generate
1517 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1518 (md_apply_fix, aarch64_force_relocation): Handle
1519 BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19.
1520
74ad790c
MS
15212015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1522
1523 * config/tc-aarch64.c (reloc_table_entry): Add ld_literal_type.
1524 (reloc_table): Likewise.
1525 (parse_address_main): Use ld_literal_type.
1526
6f4a313b
MS
15272015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1528
1529 * config/tc-aarch64.c (reloc_table_entry): Add adr_type.
1530 (reloc_table): Likewise.
1531 (parse_address_main): Use adr_type.
1532
1db365dc
MS
15332015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
1534
1535 * config/tc-aarch64.c (aarch64_arch_any, aarch64_arch_node): Remove.
1536
fdd410ac
AB
15372015-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
1538
1539 * config/tc-avr.c: Add elf32-avr.h include.
1540 (struct avr_property_record_link): New structure.
1541 (avr_output_property_section_header): New function.
1542 (avr_record_size): New function.
1543 (avr_output_property_record): New function.
1544 (avr_create_property_section): New function.
1545 (avr_handle_align): New function.
1546 (exclude_section_from_property_tables): New function.
1547 (create_record_for_frag): New function.
1548 (append_records_for_section): New function.
1549 (avr_create_and_fill_property_section): New function.
1550 (avr_post_relax_hook): New function.
1551 * config/tc-avr.h (md_post_relax_hook): Define.
1552 (avr_post_relax_hook): Declare.
1553 (HANDLE_ALIGN): Define.
1554 (avr_handle_align): Declare.
1555 (strut avr_frag_data): New structure.
1556 (TC_FRAG_TYPE): Define.
1557
4469186b
KT
15582015-02-25 Matthew Wahab <matthew.wahab@arm.com>
1559
1560 * doc/c-arm.texi (-mcpu=): Add cortex-a53, cortex-a57 and
1561 cortex-a72.
1562
685080f2
NC
15632015-02-24 Nick Clifton <nickc@redhat.com>
1564
1565 * config/tc-v850.c (soft_float): New variable.
1566 (v850_data_8): New variable.
1567 (md_show_usage): Add -msoft-float/-mhard-float.
1568 (md_parse_option): Likewise.
1569 (md_begin): Set the default value of soft_float.
1570 (v850_md_end): New function. Creates a note section.
1571 * config/tc-v850.h (md_end): Define.
1572 * doc/c-v850.texi: Document -msoft-float/-mhard-float.
1573
5518c738
YS
15742015-02-23 Yoshinori Sato <ysato@users.sourceforge.jp>
1575
1576 * config/tc-h8300.c (line_separater_chars): Add a version for
1577 h8300-linux that includes a separator.
1578 (default_mach): New variable.
1579 (md_main): Use it.
1580 (md_longopts): Add '--march' option.
1581 (md_parse_option): Parse the new option.
1582 * config/tc-h8300.h (TARGET_FORMAT): Add elf32-h8300-linux.
1583 * configure.tgt: Add h8300-*-linux
1584 * doc/c-h8300.texi: Document --march.
1585
0f8f0c57
NC
15862015-02-23 Nick Clifton <nickc@redhat.com>
1587
1588 PR 17940
1589 * dwarf2dbg.c (out_header): When generating dwarf sections use
1590 real symbols not temps for the start and end symbols.
1591 * config/tc-msp430.h (TC_FORCE_RELOCATION_SUB_SAME): Also prevent
1592 adjustments to relocations in debug sections.
1593 (TC_LINKRELAX_FIXUP): Likewise.
1594
5c9352f3
AM
15952015-02-19 Alan Modra <amodra@gmail.com>
1596
1597 * doc/as.texinfo (Local Symbol Names): Don't use ':' in pxref.
1598 * doc/c-i386.texi: Reorder i386-Bugs after i386-Arch.
1599
aa31c464
JW
16002015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1601
1602 * config/tc-aarch64.c (aarch64_cpus): Fix code formatting.
1603
b19f47ad
JW
16042015-02-11 Matthew Wahab <matthew.wahab@arm.com>
1605
1606 * config/tc-arm.c: Add support for Cortex-A72.
1607
5c3696f8
KT
16082015-02-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1609
1610 * config/tc-arm.c (warn_deprecated_sp): Use as_tsktsk instead
1611 of as_warn for deprecation messages.
1612 (encode_arm_addr_mode_2): Likewise.
1613 (check_obsolete): Likewise.
1614 (do_rd_rm_rn): Likewise.
1615 (do_co_reg): Likewise.
1616 (do_setend): Likewise.
1617 (do_t_mov_cmp): Likewise.
1618 (do_neon_ldr_str): Likewise.
1619 (opcode_lookup): Likewise.
1620 (if_fsm_post_encode): Likewise.
1621 (md_assemble): Likewise.
1622
73e76108
JB
16232015-02-06 Jan Beulich <jbeulich@suse.com>
1624
1625 * dw2gencfi.c (select_cie_for_fde): Also bail on CFI_label.
1626 (cfi_change_reg_numbers): Also do nothing for CFI_label.
1627 (cfi_pseudo_table): Also handle .cfi_label when not supporting
1628 CFI directives.
1629
64a81db0
AM
16302015-02-05 Alan Modra <amodra@gmail.com>
1631
1632 * config/tc-msp430.c (md_assemble): Correct size passed to
1633 extract_cmd. Remove index check.
1634
2abdd192
JW
16352015-02-04 Matthew Wahab <matthew.wahab@arm.com>
1636
1637 * config/tc-aarch64.c (aarch64_cpus): Add support for Cortex-A72.
1638 * doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
1639
3101e637
NC
16402015-02-04 Nick Clifton <nickc@redhat.com>
1641
1642 * config/rl78-parse.y (addsubw): Fix encoding of [HL] variant of
1643 these instructions.
1644
8e02d7f5
JW
16452015-02-03 Renlin Li <renlin.li@arm.com>
1646
1647 * doc/c-aarch64.texi (.arch): Document the directive.
1648 (.arch_extension): Likewise.
1649
6d012254
NC
16502015-02-03 Nick Clifton <nickc@redhat.com>
1651
1652 * config/tc-rl78.h (TC_PARSE_CONS_EXPRESSION): Define.
1653
3f8107ab
AM
16542015-01-28 James Bowman <james.bowman@ftdichip.com>
1655
1656 * Makefile.am: Add FT32 files.
1657 * config/tc-ft32.c: New file.
1658 * config/tc-ft32.h: New file.
1659 * configure.tgt: Add FT32 support.
1660 * Makefile.in: Regenerate.
1661 * po/POTFILES.in: Regenerate.
1662
20d79870
KLC
16632015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1664
1665 * config/tc-nds32.c (do_pseudo_la_internal): Limit the second argument
1666 of instruction la to a symbol.
1667
3bd3aeb4
KLC
16682015-01-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1669
1670 * config/tc-nds32.c (nds32_parse_name): Ignore when the input is
1671 section name.
1672
740bdc67
AM
16732015-01-19 Alan Modra <amodra@gmail.com>
1674
1675 * read.c (s_reloc): Match BFD_RELOC_NONE, BFD_RELOC{8,16,32,64}.
1676 * write.c (get_frag_for_reloc): Allow match just past end of frag.
1677
1e2e8c52
AK
16782015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1679
1680 * config/tc-s390.c (struct pd_reg): Remove.
1681 (pre_defined_registers): Remove.
1682 (REG_NAME_CNT): Remove.
1683 (reg_name_search): Calculate the register number instead of doing
1684 a lookup.
1685 (register_name, tc_s390_regname_to_dw2regnum): Adopt to the new
1686 reg_name_search signature.
1687 (s390_parse_cpu): Support the new arch string z13.
1688 (s390_insert_operand): Support for vector registers with the extra
1689 field for the fifth bit of each vector register operand.
1690 (md_gather_operand): Adjust to the new handling of optional
1691 parameters.
1692
1693 * doc/as.texinfo: Document the z13 cpu string.
1694
0900a05b
JW
16952015-01-13 Matthew Wahab <matthew.wahab@arm.com>
1696
1697 * config/tc-arm.c (parse_ifimm_zero): Accept #0x0 as a synonym for
1698 #0, restoring previous behaviour.
1699
69602580
JB
17002015-01-12 Jan Beulich <jbeulich@suse.com>
1701
1702 * gas/dw2gencfi.c (cfi_add_label, dot_cfi_label): New.
1703 (cfi_pseudo_table): Add "cfi_label".
1704 (output_cfi_insn): Handle CFI_label.
1705 (select_cie_for_fde): Als terminate CIE when encountering
1706 CFI_label.
1707 * dw2gencfi.h (cfi_add_label): Declare.
1708 (struct cfi_insn_data): New member "sym_name".
1709 (CFI_label): New.
1710 * read.c (read_symbol_name): Drop "static".
1711 * read.h (read_symbol_name): Declare.
1712
cb3b1e65
JB
17132015-01-12 Jan Beulich <jbeulich@suse.com>
1714
1715 * gas/config/tc-arm.c (do_neon_shl_imm): Check immediate range.
1716 (do_neon_qshl_imm): Likewise.
1717
b38ead21
AM
17182015-01-12 Alan Modra <amodra@gmail.com>
1719
1720 * read.c (s_altmacro, s_reloc): Make definition static.
1721
491793b5
AB
17222015-01-10 Andrew Burgess <andrew.burgess@embecosm.com>
1723
1724 * config/tc-avr.c (md_apply_fix): Update the contents of VALP for
1725 diff fixups.
1726
ea0d6bb9
PT
17272015-01-09 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1728
1729 * config/tc-arm.c (arm_cpus): Add support for APM X-Gene 1 and
1730 X-Gene 2.
1731 * doc/c-arm.texi (ARM Options): Mention xgene1 and xgene2.
1732
5a70a223
JB
17332015-01-07 Jan Beulich <jbeulich@suse.com>
1734
1735 * config/tc-arm.c (struct arm_option_extension_value_table):
1736 Split field "value" into fields "merge_value" and "clear_value".
1737 (arm_extensions): Adjust initializer accordingly.
1738
efd321f9
AM
17392015-01-01 Alan Modra <amodra@gmail.com>
1740
1741 * as.c (parse_args): Just print current year.
1742
b90efa5b 17432015-01-01 Alan Modra <amodra@gmail.com>
bffb6004 1744
b90efa5b 1745 Update year range in copyright notice of all files.
bffb6004 1746
b90efa5b 1747For older changes see ChangeLog-2014
08d56133 1748\f
b90efa5b 1749Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
1750
1751Copying and distribution of this file, with or without modification,
1752are permitted in any medium without royalty provided the copyright
1753notice and this notice are preserved.
1754
08d56133
NC
1755Local Variables:
1756mode: change-log
1757left-margin: 8
1758fill-column: 74
1759version-control: never
1760End:
This page took 0.795966 seconds and 4 git commands to generate.