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