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