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