]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
* powerpc.cc (Target_selector_powerpc::Target_selector_powerpc):
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
67a32447
YZ
12012-12-06 Yufeng Zhang <yufeng.zhang@arm.com>
2
3 * config/tc-aarch64.c (exp_has_bignum_p): Remove.
4 (my_get_expression): Not get rid of bignums.
5 (s_ltorg): Increase the range of 'align'.
6 (programmer_friendly_fixup): Allow bignum expression.
7
94dda8b7
ME
82012-11-29 David Holsgrove <david.holsgrove@xilinx.com>
9
10 * config/tc-microblaze.c: Rename INST_TYPE_RD_R1_SPECIAL to
11 INST_TYPE_R1_R2_SPECIAL, don't set RD for wic.
12
d406f3e4
JB
132012-11-28 Julian Brown <julian@codesourcery.com>
14
15 * config/tc-arm.c (md_apply_fix): Fix conversion of BL to BLX for
16 local targets in Thumb mode.
17
776fc418
AM
182012-11-23 Alan Modra <amodra@gmail.com>
19
20 * config/tc-ppc.c (sticky): New var.
21 (md_parse_option, ppc_machine): Update ppc_parse_cpu calls.
22
0db4b326
ME
232012-11-21 Edgar E. Iglesias <edgar.iglesias@gmail.com>
24
25 * config/tc-microblaze.c (parse_reg): Parse REG_SLR, REG_SHR
26
9b30cccc
L
272012-11-20 H.J. Lu <hongjiu.lu@intel.com>
28
29 PR gas/14859
30 * gas/i386/x86-64-opcode.s: Add jecxz.
31 * gas/i386/x86-64-opcode.d: Updated.
32
3e0baa28
YZ
332012-11-20 Yufeng Zhang <yufeng.zhang@arm.com>
34
35 * config/tc-aarch64.c (first_error_fmt): Add ATTRIBUTE_UNUSED to the
36 local variable "ret".
37
bacebabc
RM
382012-11-20 Roland McGrath <mcgrathr@google.com>
39
40 * config/tc-arm.c (arm_symbol_chars): New variable.
41 * config/tc-arm.h (tc_symbol_chars): New macro, defined to that.
42
668b27ea
DM
432012-11-20 David S. Miller <davem@davemloft.net>
44
45 * config/tc-sparc.c (md_parse_option): Only certain arch
46 specifications should override the object to be 32-bit
47 or 64-bit.
48
d3da7741
ME
492012-11-14 David Holsgrove <david.holsgrove@xilinx.com>
50
51 * config/tc-microblaze.c (md_assemble): Add support for INST_TYPE_IMM5
52
46b596ff
UW
532012-11-14 Ulrich Weigand <uweigand@de.ibm.com>
54
55 * config/tc-ppc.c (md_apply_fix): Leave field zero when emitting
56 an ELF reloc on data as well.
57
0420f52b
MR
582012-11-09 Maciej W. Rozycki <macro@codesourcery.com>
59
60 * read.h (s_vendor_attribute): Move to...
61 * config/obj-elf.h (obj_elf_vendor_attribute): ... here.
62 * read.c (potable): Remove "gnu_attribute".
63 (skip_whitespace, skip_past_char, skip_past_comma): Delete, move
64 to config/obj-elf.c.
65 (s_vendor_attribute): Delete, move to obj_elf_vendor_attribute
66 in config/obj-elf.c.
67 (s_gnu_attribute): Delete, move to obj_elf_gnu_attribute in
68 config/obj-elf.c.
69 * config/obj-elf.c (elf_pseudo_table): Add "gnu_attribute".
70 (skip_whitespace, skip_past_char, skip_past_comma): New, moved
71 from read.c.
72 (obj_elf_vendor_attribute): New, moved from s_vendor_attribute
73 in read.c.
74 (obj_elf_gnu_attribute): New, moved from s_gnu_attribute in
75 read.c.
76 * config/tc-arm.c (s_arm_eabi_attribute): Rename
77 s_vendor_attribute to obj_elf_vendor_attribute.
78 * config/tc-tic6x.c (s_tic6x_c6xabi_attribute): Likewise.
79
708e2187
NC
802012-11-09 Nick Clifton <nickc@redhat.com>
81
82 * config/obj-elf.c (obj_elf_change_section): Allow init array
83 sections to have the SHF_EXECINSTR attribute for the RX target.
84 * config/tc-rx.c (elf_flags): Initialise with E_FLAG_RX_ABI.
85 (enum options): Add OPTION_USES_GCC_ABI and OPTION_USES_RX_ABI.
86 (md_longopts): Add -mgcc-abi and -mrx-abi.
87 (md_parse_option): Add support for OPTION_USES_GCC_ABI and
88 OPTION_USES_RX_ABI.
89 * doc/as.texinfo (RX Options): Add mention of remaining RX
90 options.
91 * doc/c-rx.texi: Document -mgcc-abi and -mrx-abi.
92
de863c74
NC
93 * config/tc-v850.c (v850_target_arch): New.
94 (v850_target_format): New.
95 (set_machine): Use v850_target_arch.
96 (md_begin): Likewise.
97 (md_show_usage): Document new switches.
98 (md_parse_option): Add -mgcc-abi, -mrh850-abi, -m8byte-align and
99 -m4byte-align.
100 * config/tc-v850.c (TARGET_ARCH) Use v850_target_arch.
101 (TARGET_FORMAT): Use v850_target_format.
102 * doc/c-v850.texi: Document new options.
103
f23200ad
ME
1042012-11-09 David Holsgrove <david.holsgrove@xilinx.com>
105
8f5846c8
L
106 * tc-microblaze.c (md_longopts): Define OPTION_EB and
107 OPTION_EL for target.
108 (md_parse_option): Likewise.
109 * tc-microblaze.h: Set elf32-microblazeel if not
110 target_big_endian for TARGET_FORMAT.
111 * configure.tgt: Add microblazeel and set endian per target.
f23200ad 112
5bb3703f
L
1132012-11-09 H.J. Lu <hongjiu.lu@intel.com>
114
115 * config/atof-ieee.c (gen_to_words): Remove trailing redundant
116 `;'.
117 * config/atof-vax.c (flonum_gen2vax): Likewise.
118 * config/tc-d10v.c (write_2_short): Likewise.
119 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
120 * config/tc-s390.c (tc_s390_force_relocation): Likewise.
121 * config/tc-v850.c (md_parse_option): Likewise.
122 * config/tc-xtensa.c (find_address_of_next_align_frag): Likewise.
123 * dwarf2dbg.c (out_header): Likewise.
124 * symbols.c (dollar_label_name): Likewise.
125 (fb_label_name): Likewise.
126
5821951c
MR
1272012-11-08 Maciej W. Rozycki <macro@codesourcery.com>
128
129 * config/tc-mips.c (mips_ip) <'u'>: Default to BFD_RELOC_LO16.
130
6febeb74
AM
1312012-11-08 Alan Modra <amodra@gmail.com>
132
133 * po/POTFILES.in: Regenerate.
134
0570af4f
SK
1352012-11-07 James Murray <jsm@jsm-net.demon.co.uk>
136
137 * config/tc-m68hc11.c: Fix R_M68HC12_16B relocation for movb/w
138
34ecb04d
ME
1392012-11-07 David Holsgrove <david.holsgrove@xilinx.com>
140
141 * config/tc-microblaze.c: Remove special register condition check
142 for INST_TYPE_RFSL related instructions.
143
234fa27c
AM
1442012-11-06 Alan Modra <amodra@gmail.com>
145
146 * config/tc-xgate.c: Make some functions static. Formatting
147 style and whitespace fixes. Wrap overly long lines. Format
148 help message.
149
18498503
AM
1502012-11-06 Alan Modra <amodra@gmail.com>
151
152 * config/tc-tic4x.c: Remove alignment TODO comments.
153 (tic4x_do_align): Enable subseg_text_p test.
154
a38a07e0
AM
1552012-11-06 Alan Modra <amodra@gmail.com>
156
157 * config/tc-ppc.c (ppc_elf_adjust_symtab): New function, split out..
158 (ppc_frob_file_before_adjust): ..from here.
159 (md_apply_fix): Set BSF_KEEP on .TOC. if not @tocbase.
160 * config/tc-ppc.h (ppc_elf_adjust_symtab): Declare.
161 (tc_adjust_symtab): Define.
162
1ec2d25e
AM
1632012-11-06 Alan Modra <amodra@gmail.com>
164
165 * config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage from
166 last patch.
167
9798e45d
SK
1682012-11-05 Sean Keys <skeys@ipdatasys.com>
169
170 * config/tc-xgate.c: Remove bogus use of <fx_pcrel_adjust>.
171 * config/tc-m68hc11.c: Likewise.
172
d17dce55
AM
1732012-11-05 Alan Modra <amodra@gmail.com>
174
175 * configure.in: Apply 2012-09-10 change to config.in here.
176
552c607f
AM
1772012-11-05 Alan Modra <amodra@gmail.com>
178
3b8b57a9
AM
179 * config/tc-ppc.c (md_chars_to_number): Delete.
180 (ppc_setup_opcodes): Assert num_powerpc_operands fit.
181 (ppc_is_toc_sym): Move earlier in file.
182 (md_assemble): Move code setting reloc from md_apply_fix. Combine
183 non-ELF code setting fixup with ELF code. Stash opindex in
184 fx_pcrel_adjust. Adjust fixup offset for VLE. Don't set
185 fx_no_overflow here.
186 (md_apply_fix): Rewrite to use ppc_insert_operand for all
187 resolved instruction fields. Leave insn field zero when
188 emitting an ELF reloc in most cases.
189
552c607f
AM
190 * write.h (struct fix <fx_pcrel_adjust>): Make it a signed char.
191 * config/tc-m68k.c (tc_gen_reloc, md_pcrel_from): Remove explicit
192 sign extendion of fx_pxrel_adjust.
193
c06dec14
MR
1942012-11-01 Maciej W. Rozycki <macro@codesourcery.com>
195
196 * config/tc-mips.c (is_delay_slot_valid): Simplify expression.
197
ddaf2c41
MR
1982012-11-01 Chao-ying Fu <fu@mips.com>
199
200 * config/tc-mips.c (append_insn): Set fx_no_overflow for 16-bit
201 microMIPS branch relocations.
202
e64af278
MR
2032012-11-01 Maciej W. Rozycki <macro@codesourcery.com>
204
205 * config/tc-mips.c (is_delay_slot_valid): Don't accept macros
206 in 16-bit delay slots.
207 (macro_build_jalr): Emit 32-bit JALR if placed in a 32-bit delay
208 slot.
209 (macro) <M_JAL_2>: Likewise
210
28ad2e2d
ME
2112012-10-31 David Holsgrove <david.holsgrove@xilinx.com>
212
213 * config/tc-microblaze.c: Check for weak symbols before
214 emitting relocation.
215
0c5daaa9
AM
2162012-10-29 Alan Modra <amodra@gmail.com>
217
218 * sb.c (sb_check): Use __builtin_clzll when size_t is not the
219 same size as long.
220
ce23608f
AM
2212012-10-29 Alan Modra <amodra@gmail.com>
222
223 * config/tc-ppc.c (ppc_znop): Remove unused vars.
224
1fe532cf
AM
2252012-10-26 Alan Modra <amodra@gmail.com>
226
227 PR target/14758
228 * config/tc-ppc.c (ppc_setup_opcodes): Fix comment.
229 (md_assemble): Translate to _DS relocs for ppc32 as well as ppc64.
230 (tc_gen_reloc): Handle _DS relocs in ppc32 mode.
231
ef8e09a0
SB
2322012-10-22 Simon Baldwin <simonb@google.com>
233
234 * as.c (dump_statistics): Compute data size as the delta between
235 current sbrk(0) and start_sbrk.
236 * (main): Set start_sbrk to sbrk(0) on entry.
237
70e0ee1a
KT
2382012-10-18 Kai Tietz <ktietz@redhat.com>
239
c207c2c6
KT
240 * config/obj-coff.c: Add include of struc-symbol.h header.
241 (coff_frob_symbol): Check that function-aux entries are generated for
242 defined symbols only.
243
70e0ee1a
KT
244 * doc/as.texinfo: Add missing documentation about section flag
245 exclude.
246
26cbfa82
DA
2472012-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
248
8c57c799
DA
249 * config/tc-hppa.c (pa_get_number): New.
250 (pa_get_absolute_expression): Simplify.
251 (pa_ip): Use pa_get_number instead of pa_get_absolute_expression
252 to get SOP, SFU and COPR identifiers.
253
26cbfa82
DA
254 * config/tc-hppa.c (pa_ip): Reject double floating point stores and
255 loads that reference the right half of a floating point register.
256
aa710880
DA
2572012-10-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
258
259 * config/tc-hppa.c (pa_ip): Limit unit conditions for uxor to those
260 not involving a carry.
261
b36546d2
PB
2622012-10-12 Peter Bergner <bergner@vnet.ibm.com>
263
264 * doc/as.texinfo (-mpwr4, -mpwr7): Fix option name typos.
265
56c0a61f
RE
2662012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
267
268 * config/tc-arm.c: Change condition code insertion for
269 lds[hb] instructions from after the 2nd character to after the 3rd.
270 (tCM): Remove macro.
271 (TxCM): Likewise.
272 (TxCM_): Likewise.
273 (TCM): Likewise.
274
5e5c50d3
NE
2752012-10-09 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
276
277 * config/tc-i386.c (cpu_arch): Add CPU_BDVER3_FLAGS.
278 * doc/c-i386.texi: Add -march=bdver3 option.
279
04ee5257
NC
2802012-10-04 Nick Clifton <nickc@redhat.com>
281
282 * config/tc-v850.c (v850_insert_operand): Use a static buffer for
283 the error message.
284
cfc72779
AK
2852012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
286
287 * config/tc-s390.c (s390_parse_cpu): Add new option zEC12.
288 * doc/as.texinfo: Document new option zEC12.
289 * doc/c-s390.texi: Likewise.
290
cbf1fdc9
DD
2912012-10-03 DJ Delorie <dj@redhat.com>
292
293 * config/tc-rl78.c: Change line_separator to '@' so that '|' can
294 be used in expressions.
295
4fc0b46e
AM
2962012-10-01 Alan Modra <amodra@gmail.com>
297
298 * write.c (chain_frchains_together_1): Reorder assertion to avoid
299 uninit warning.
300
b886a2ab
RS
3012012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
302
303 * config/tc-mips.h (TC_FORCE_RELOCATION): Remove comment.
304 * config/tc-mips.c (calculate_reloc): New function.
305 (append_insn): Use it. Do not resolve compound relocations here.
306 (mips16_macro_build, mips16_ip): Use calculate_reloc.
307 (mips16_immed_extend): New function, split out from...
308 (mips16_immed): ...here.
309 (mips_frob_file): Handle null symbols.
310 (mips_force_relocation): Remove NEWABI handling.
311 (read_reloc_insn, write_reloc_insn): New functions.
312 (md_apply_fix): Report TLS relocations against constants.
313 Use read_reloc_insn, calculate_reloc and write_reloc_insn.
314 Report relocations against constants that can't be resolved
315 at assembly time.
316
335574df
RS
3172012-09-23 Maciej W. Rozycki <macro@codesourcery.com>
318
319 * config/tc-mips.c (append_insn) <BFD_RELOC_MIPS_JMP>: Don't
320 mark as incomplete for constant expressions.
321 <BFD_RELOC_MIPS16_JMP>: Likewise.
322
e1b47bd5
RS
3232012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
324 Maciej W. Rozycki <macro@codesourcery.com>
325
326 * config/tc-mips.h (mips_record_label): Delete.
327 (mips_add_dot_label): Declare.
328 (tc_new_dot_label): Use it.
329 * config/tc-mips.c (mips_assembling_insn): New variable.
330 (md_assemble): Call mips_mark_labels. Set mips_assembling_insn
331 while the main part of the function is executing.
332 (mips_compressed_mark_label): New function, split out from...
333 (mips_compressed_mark_labels): ...here.
334 (append_insn): Don't call mips_mark_labels here.
335 (mips_record_label): Make local.
336 (mips_add_dot_label): New function.
337
43c0598f
RS
3382012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
339
340 * config/tc-mips.c (SEXT_16BIT): New macro.
341 (mips16_immed): Take the reloc type as a parameter. Do not impose
342 a signed vs. unsigned distinction on the value when a relocation
343 operator was used.
344 (mips16_macro_build, mips16_ip, md_convert_frag): Pass the reloc
345 type to mips16_immed.
346 (macro): Use SEXT_16BIT.
347
4d68580a
RS
3482012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
349
350 * config/tc-mips.c (read_insn, write_insn, read_compressed_insn):
351 New functions.
352 (install_insn, md_apply_fix, md_convert_frag, mips_handle_align):
353 Use them, and write_compressed_insn.
354
5c04167a
RS
3552012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
356
357 * config/tc-mips.c (mips_cl_insn): Remove use_extend and extend.
358 (MIPS16_EXTEND): New macro.
359 (mips16_opcode_length): New function.
360 (insn_length): Use it.
361 (create_insn): Update after mips_cl_insn change.
362 (write_compressed_insn): New function.
363 (install_insn): Use it.
364 (append_insn): Use insn_length to check for unextended MIPS16
365 instructions.
366 (mips16_macro_build): Update call to mips16_immed.
367 (mips16_ip): Likewise. Use MIPS16_EXTEND to force an extended
368 instruction.
369 (mips16_immed): Remove use_extend and extend; install EXTEND
370 opcodes in the upper 16 bits of *INSN instead. Keep the
371 instruction extended if it already is. Replace warn, small
372 and ext with a forced_insn_length-like parameter.
373 (md_convert_frag): Update call mips16_immed.
374 Use write_compressed_insn.
375
60aa667e
L
3762012-09-20 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
377
378 * config/tc-i386.c (cpu_arch): Add .cx16.
379 * doc/c-i386.texi: Document .cx16.
380
c76b75fd
SE
3812012-09-19 Steve Ellcey <sellcey@mips.com>
382
383 * configure.tgt: Add mips*-mti-elf* target.
384
4b8c8c02
RE
3852012-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
386
387 * config/tc-arm.c: Changed ldra and strl-form mnemonics
388 to lda and stl-form for armv8.
389
5a1ad39d
RE
3902012-09-17 Yufeng Zhang <yufeng.zhang@arm.com>
391
392 * config/tc-aarch64.c (aarch64_archs): Rename 'armv8' to 'armv8-a'.
393
6c9c0a50
DE
3942012-09-14 David Edelsohn <dje.gcc@gmail.com>
395
396 * configure: Regenerate.
397
e202fa84
AG
3982012-09-13 Anthony Green <green@moxielogic.com>
399
400 * config/tc-moxie.h (DEFAULT_TARGET_FORMAT): Define.
401 (TARGET_FORMAT): Don't hard-code endian-ness.
402 * config/tc-moxie.c (target_big_endian, moxie_target_format):
403 Define.
404 (md_assemble): Handle bi-endian encodings.
405 (md_shortopts, md_parse_option, md_show_usage, md_apply_fix)
406 (md_number_to_chars, md_chars_to_number): Update for bi-endian
407 support.
408
f41aef5f
RE
4092012-09-12 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
410
411 * config/tc-aarch64.c
412 (reloc_table): Add reloc to table entry.
413 (parse_address_main): Add support for #:<reloc_op>:<symbol>.
414 (parse_operands): Check for unused reloc.
415 (md_apply_fix): New case for reloc.
416 (aarch64_force_relocation): Likewise.
1179bed3
DC
417
4182012-09-11 Georg-Johann Lay <avr@gjlay.de>
419
420 PR gas/13503
421 * config/tc-avr.h (TC_VALIDATE_FIX): Skip: BFD_RELOC_AVR_8_LO,
422 BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HLO.
423
5c7a0b3e
AM
4242012-09-11 Alan Modra <amodra@gmail.com>
425
426 * Makefile.am (bootstrap): Add $EXEEXT to dependency.
427 * Makefile.in: Regenerate.
428
00716ab1
AM
4292012-09-10 Matthias Klose <doko@ubuntu.com>
430
431 * config.in: Disable sanity check for kfreebsd.
432
6d2920c8
L
4332012-09-10 H.J. Lu <hongjiu.lu@intel.com>
434
435 * configure: Regenerated.
436
7078b409
AG
4372012-09-07 Anthony Green <green@moxielogic.com>
438
439 * config/tc-moxie.c (md_pcrel_from): Branches are now relative
6d2920c8 440 to the address following the branch instruction.
7078b409 441
1dd53816
AK
4422012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
443
444 * config/tc-s390.c (set_highgprs_p): New variable.
445 (s390_machinemode): New function.
446 (md_pseudo_table): Add new pseudo command machinemode.
447 (md_parse_option): Set set_highgprs_p to TRUE if -mzarch was
448 specified on command line.
449 (s390_elf_final_processing): Set the highgprs flag in the ELF
450 header depending on set_highgprs_p.
451
452 * doc/c-s390.texi: Document new pseudo machinemode.
453
47527d7e
JL
4542012-09-05 James Lemke <jwlemke@codesourcery.com>
455
456 * doc/c-ppc.texi: Document -mvle.
b4b783be 457 * doc/as.texinfo: Likewise.
47527d7e 458
b3e14eda
L
4592012-09-04 Sergey A. Guriev <sergey.a.guriev@intel.com>
460
461 * config/tc-ia64.c (reg_symbol): Add a new register.
462 (indirect_reg): Ditto.
463 (pseudo_func): Add new symbolic constants.
464 (operand_match): Add new operand types recognition.
465 (operand_insn): Add new register recognition.
466 (md_begin): Add new register definition.
467 (specify_resource): Add new register recognition.
468
6c106515
HPN
4692012-09-01 Hans-Peter Nilsson <hp@bitrange.com>
470
471 PR gas/14521
472 * config/tc-mmix.h (tc_frob_file_before_fix): Renumber sections
473 after call to mmix_frob_file.
474
b1929900
MR
4752012-08-31 Maciej W. Rozycki <macro@codesourcery.com>
476
477 * doc/c-mips.texi (MIPS Opts): Correct a typo in the -mips5
478 option.
479
e5b95258
WL
4802012-08-27 Walter Lee <walt@tilera.com>
481
482 * tc-tilegx.c (O_hw0_plt): Define operator.
483 (O_hw1_plt): Ditto.
484 (O_hw1_last_plt): Ditto.
485 (O_hw2_last_plt): Ditto.
486 (md_begin): Handle new operators.
487 (emit_tilegx_instruction): Ditto.
488 (md_apply_fix): Ditto.
489 * doc/c-tilegx.texi: Document new operators.
490
3c9017d2
MGD
4912012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
492
493 * config/tc-arm.c (ARM_ENC_TAB): Add sha1h and sha2op entries.
494 (do_sha1h): New function.
495 (do_sha1su1): Likewise.
496 (do_sha256su0): Likewise.
497 (insns): Add 2 operand SHA instructions.
498
48adcd8e
MGD
4992012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
500
501 * config/tc-arm.c (NEON_ENC_TAB): Add sha3op entry.
502 (do_crypto_3op_1): New function.
503 (do_sha1c): Likewise.
504 (do_sha1p): Likewise.
505 (do_sha1m): Likewise.
506 (do_sha1su0): Likewise.
507 (do_sha256h): Likewise.
508 (do_sha256h2): Likewise.
509 (do_sha256su1): Likewise.
510 (insns): Add SHA 3 operand instructions.
511
4f51b4bd
MGD
5122012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
513
514 * config/tc-arm.c (neon_type_mask): Add P64 type.
515 (type_chk_of_el_type): Handle P64 type.
516 (el_type_of_type_chk): Likewise.
517 (do_neon_vmull): Handle VMULL.P64.
518
91ff7894
MGD
5192012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
520
521 * config/tc-arm.c (NEON_ENC_TAB): Add aes entry.
522 (neon_type_mask): Add N_UNT.
523 (neon_check_type): Don't always decay typed to untyped sizes.
524 (do_crypto_2op_1): New function.
525 (do_aese): Likewise.
526 (do_aesd): Likewise.
527 (do_aesmc.8): Likewise.
528 (do_aesimc.8): Likewise.
529 (insns): Add AES instructions.
530
c70a8987
MGD
5312012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
532
533 * config/tc-arm.c (el_type_type_check): Add handling for 16-bit
534 floating point types.
535 (do_neon_cvttb_2): New function.
536 (do_neon_cvttb_1): Likewise.
537 (do_neon_cvtb): Refactor to use do_neon_cvttb_1.
538 (do_neon_cvtt): Likewise.
539
30bdf752
MGD
5402012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
541
542 * config/tc-arm.c (NEON_ENC_TAB): Add vrint entries.
543 (neon_cvt_mode): Add neon_cvt_mode_r.
544 (do_vrint_1): New function.
545 (do_vrint_x): Likewise.
546 (do_vrint_z): Likewise.
547 (do_vrint_r): Likewise.
548 (do_vrint_a): Likewise.
549 (do_vrint_n): Likewise.
550 (do_vrint_p): Likewise.
551 (do_vrint_m): Likewise.
552 (insns): Add VRINT instructions.
553
7e8e6784
MGD
5542012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
555
556 * config/tc-arm.c (NEON_ENC_TAB): Add vcvta entry.
557 (neon_cvt_mode): New enumeration.
558 (do_vfp_nsyn_cvt_fpv8): New function.
559 (do_neon_cvt_1): Add support for new conversions.
560 (do_neon_cvtr): Use neon_cvt_mode enumerator.
561 (do_neon_cvt): Likewise.
562 (do_neon_cvta): New function.
563 (do_neon_cvtn): Likewise.
564 (do_neon_cvtp): Likewise.
565 (do_neon_cvtm): Likewise.
566 (insns): Add new VCVT instructions.
567
6b9a8b67
MGD
5682012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm>
569
570 * config/tc-arm.c (CVT_FLAVOUR_VAR): New define.
571 (CVT_VAR): New helper define.
572 (neon_cvt_flavour): New enumeration, function renamed...
573 (get_neon_cvt_flavour): ...to this.
574 (do_vfp_nsyn_cvt): Update to use new neon_cvt_flavour.
575 (do_vfp_nsyn_cvtz): Likewise.
576 (do_neon_cvt_1): Likewise.
577
73924fbc
MGD
5782012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
579
580 * config/tc-arm.c (NEON_ENC_TAB): Add vmaxnm, vminnm entries.
581 (vfp_or_neon_is_neon_bits): Add NEON_CHECK_ARCH8 enumerator.
582 (vfp_or_neon_is_neon): Add check for SIMD for ARMv8.
583 (do_maxnm): New function.
584 (insns): Add vmaxnm, vminnm entries.
585
33399f07
MGD
5862012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
587
588 * config/tc-arm.c (NEON_ENC_TAB): Add entries for VSEL.
589 (NEON_ENC_FPV8_): New define.
590 (do_vfp_nsyn_fpv8): New function.
591 (do_vsel): Likewise.
592 (insns): Add VSEL instructions.
593
9eb6c0f1
MGD
5942012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
595
596 * config/tc-arm.c (do_rm_rn): New function.
597 (do_strlex): Likewise.
598 (do_t_strlex): Likewise.
599 (insns): Add support for LDRA/STRL instructions.
600
8884b720
MGD
6012012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
602
603 * config/tc-arm.c (do_t_bkpt_hlt1): New function.
604 (do_t_hlt): New function.
605 (do_t_bkpt): Use do_t_bkpt_hlt1.
606 (insns): Add HLT.
607
b79f7053
MGD
6082012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
609
610 * config/tc-arm.c (insns): Add DCPS instruction.
611
53c4b28b
MGD
6122012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
613
614 * config/tc-arm.c (T16_32_TAB): Add _sevl.
615 (insns): Add SEVL.
616
e797f7e0
MGD
6172012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
618
619 * config/tc-arm.c (asm_barrier_opt): Add arch field.
620 (mark_feature_used): New function.
621 (parse_barrier): Check specified option is valid for the
622 specified architecture.
623 (UL_BARRIER): New macro.
624 (barrier_opt_names): Update for new barrier options.
625
12e37cbc
MGD
6262012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
627
628 * config/tc-arm.c (do_setend): Warn on deprecated SETEND.
629 (do_t_setend): Likewise.
630
5a01bb1d
MGD
6312012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
632
633 * config/tc-arm.c (do_t_it): Fully initialise now_it.
634 (new_automatic_it_block): Likewise.
635 (handle_it_block): Record whether current instruction is
636 conditionally executed.
637 * config/tc-arm.c (depr_insn_mask): New structure.
638 (depr_it_insns): New variable.
639 (it_fsm_post_encode): Warn on deprecated uses.
640 * config/tc-arm.h (current_it): Add new fields.
641
dcbd0d71
MGD
6422012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
643
644 * config/tc-arm.c (deprecated_coproc_regs_s): New structure.
645 (deprecated_coproc_regs): New variable.
646 (deprecated_coproc_reg_count): Likewise.
647 (do_co_reg): Error on obsolete & warn on deprecated registers.
648
59d09be6
MGD
6492012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
650
651 * config/tc-arm.c (check_obsolete): New function.
652 (do_rd_rm_rn): Check swp{b} for obsoletion.
653
bca38921
MGD
6542012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
655
656 * config/tc-arm.h (arm_ext_v8): New variable.
657 (fpu_vfp_ext_armv8): Likewise.
658 (fpu_neon_ext_armv8): Likewise.
659 (fpu_crypto_ext_armv8): Likewise.
660 (arm_archs): Add armv8-a.
661 (arm_extensions): Add crypto, fp, and simd.
662 (arm_fpus): Add fp-armv8, neon-fp-armv8, crypto-neon-fp-armv8.
663 (cpu_arch_ver): Add support for ARMv8.
664 (aeabi_set_public_sttributes): Likewise.
665 * doc/c-arm.texi (ARM Options): Document new architecture and
666 extension options for ARMv8.
667
542385d9
L
6682012-08-20 H.J. Lu <hongjiu.lu@intel.com>
669
670 * doc/as.texinfo: Replace --n32 with --x32.
671
7b458c12
L
6722012-08-17 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
673
674 * config/tc-i386.c (cpu_arch): Add CPU_BTVER1_FLAGS and
675 CPU_BTVER2_FLAGS.
676 (i386_align_code): Add case for PROCESSOR_BT.
677
bacebabc 678 * config/tc-i386.h (enum processor_type): Add PROCESSOR_BT.
7b458c12
L
679
680 * doc/c-i386.texi: Add -march={btver1, btver2} options.
681
f76bf5e0
L
6822012-08-14 H.J. Lu <hongjiu.lu@intel.com>
683
684 PR gas/14457
685 * config/tc-i386.c (i386_att_operand): Terminate register name
686 when reporting bad register.
687
c3330fbe
HPN
6882012-08-14 Hans-Peter Nilsson <hp@bitrange.com>
689
690 * config/tc-mmix.c (loc_asserts): New variable.
691 (mmix_greg_internal): Handle expressions not determinable at first
692 pass.
693 (s_loc): Ditto. Record expressions where the section isn't
694 determinable at the first pass, and assume they don't refer to
695 other sections.
696 (mmix_md_end): Verify that recorded LOC expressions weren't
697 to other sections, else emit error messages.
698
a06ea964
NC
6992012-08-13 Ian Bolton <ian.bolton@arm.com>
700 Laurent Desnogues <laurent.desnogues@arm.com>
701 Jim MacArthur <jim.macarthur@arm.com>
702 Marcus Shawcroft <marcus.shawcroft@arm.com>
703 Nigel Stephens <nigel.stephens@arm.com>
704 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
705 Richard Earnshaw <rearnsha@arm.com>
706 Sofiane Naci <sofiane.naci@arm.com>
707 Tejas Belagod <tejas.belagod@arm.com>
708 Yufeng Zhang <yufeng.zhang@arm.com>
709
710 * Makefile.am: Add AArch64.
711 * Makefile.in: Regenerate.
712 * config/tc-aarch64.c: New file.
713 * config/tc-aarch64.h: New file.
714 * configure.tgt: Add AArch64.
715 * doc/Makefile.am: Add AArch64.
716 * doc/Makefile.in: Regenerate.
717 * doc/all.texi: Add AArch64.
718 * doc/as.texinfo: Add AArch64.
719 * doc/c-aarch64.texi: New file.
720 * po/POTFILES.in: Regenerate.
721 * NEWS: Mention the new support.
722
35d0a169
MR
7232012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
724
725 * config/tc-mips.c (NO_ISA_COP, COP_INSN): Remove macros.
726 (is_opcode_valid): Remove coprocessor instruction exclusions.
727 Replace OPCODE_IS_MEMBER with opcode_is_member.
728 (is_opcode_valid_16): Replace OPCODE_IS_MEMBER with
729 opcode_is_member.
730 (macro): Remove coprocessor instruction exclusions.
731
a276b80c
MR
7322012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
733
734 * config/tc-mips.c (s_cpload, s_cpsetup): Fail if MIPS16 mode.
735 (s_cplocal, s_cprestore, s_cpreturn): Likewise.
736
848930b2
JB
7372012-08-07 Jan Beulich <jbeulich@suse.com>
738
739 * config/tc-i386-intel.c (build_modrm_byte): Split determining
740 default segment from figuring out encoding. Honor RegRex for
741 the former.
742
7bab8ab5
JB
7432012-08-07 Jan Beulich <jbeulich@suse.com>
744
745 * config/tc-i386.c (set_check): Renamed from set_sse_check.
746 Generalize to also handle operand checking option.
747 (enum i386_error): New enumerator 'invalid_vector_register_set'.
748 (match_template): Handle it.
749 (enum check_kind): Give it a tag. Drop sse_ prefixes from
750 enumerators.
751 (operand_check): New.
752 (md_pseudo_table): Add "operand_check".
753 (check_VecOperands): Don't special case RIP addressing. Check
754 that vSIB operands use distinct vector registers unless no
755 checking was requested.
756 (OPTION_MOPERAND_CHECK): New.
757 (md_parse_option): Handle it.
758 (OPTION_MAVXSCALAR, OPTION_X32): Adjust.
759 (md_longopts): Add "moperand-check".
760 (md_show_usage): Add help text for it.
761
4c692bc7
JB
7622012-08-07 Jan Beulich <jbeulich@suse.com>
763
764 * config/tc-i386.c (register_number): New function.
765 (build_vex_prefix, process_immext, process_operands,
766 build_modrm_byte, i386_index_check): Use it.
767
a988325c
NC
7682012-08-07 Daniel Green <venix1@gmail.com>
769
770 * config/tc-i386.c (lex_got): Provide implementation for PE
771 format.
772
464ab0e5
MR
7732012-08-06 Maciej W. Rozycki <macro@codesourcery.com>
774
775 * config/tc-mips.c (append_insn): Also handle moving delay-slot
776 instruction across frags for fixed branches.
777
3db8daf3
MR
7782012-08-03 Maciej W. Rozycki <macro@codesourcery.com>
779
780 * frags.c (frag_grow): Never shrink the obstack size requested
781 below the default.
782
03d46c0e
SK
7832012-08-02 Sean Keys <skeys@ipdatasys.com>
784
785 * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
786 New function to parse pseudo ops that are unreleated to
787 existing pseudo ops.
788
711eefe4
SL
7892012-08-01 Catherine Moore <clm@codesourcery.com>
790 Sandra Loosemore <sandra@codesourcery.com>
791
792 * config/mips/tc-mips.c (mips_cpu_info): Add the 34kn.
793 * doc/c-mips.texi (MIPS Opts): Document it.
794
8fbf7334
JL
7952012-08-01 James Lemke <jwlemke@codesourcery.com>
796
4e47244d 797 * dwarf2dbg.c (out_set_addr): Allow for non-constant value of
8fbf7334 798 DWARF2_LINE_MIN_INSN_LENGTH
4e47244d 799 * config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare
8fbf7334
JL
800 and initialize.
801 (md_apply_fix): Branch addr can be a multiple of 2 or 4.
4e47244d 802 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a
8fbf7334
JL
803 variable reference.
804
03f66e8a 8052012-07-31 Maciej W. Rozycki <macro@codesourcery.com>
4e47244d
L
806 Chao-Ying Fu <fu@mips.com>
807 Catherine Moore <clm@codesourcery.com>
03f66e8a 808
7a2d09cc
MR
809 * config/tc-mips.c (ISA_SUPPORTS_DSP_ASE): Also set if microMIPS
810 mode.
811 (ISA_SUPPORTS_DSPR2_ASE): Likewise.
812 (macro_build) <'2'>: Handle microMIPS.
03f66e8a
MR
813 (macro) <M_BALIGN>: Update error handling.
814 (validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
815 <'7', '8', '0', '@', '^'>: Likewise.
816 (mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
817 <'9'>: Fix formatting.
818 <'0', '@'>: Handle microMIPS.
819 <'^'>: New case.
820
4a2608e3
JB
8212012-07-31 Jan Beulich <jbeulich@suse.com>
822
823 * config/tc-i386.c (match_template): Adjust error message
824 for 'bad_imm4' case.
825
5a819eb9
JB
8262012-07-31 Jan Beulich <jbeulich@suse.com>
827
828 * config/tc-i386.c (check_byte_reg): Check for I/O port
829 register earlier, and just once. Drop diagnostic that got
830 issued only for some registers.
831
5614d22c
JB
8322012-07-31 Jan Beulich <jbeulich@suse.com>
833
834 * config/tc-i386.c (match_template): New local variable
835 'specific_error'. Set it from i.error after failed
836 check_VecOperands or VEX_check_operands. Use it if set in
837 preference to i.error when actually issuing disagnostic.
838
a6dc81d2
NC
8392012-07-30 Nick Clifton <nickc@redhat.com>
840
841 * po/gas.pot: Updated template.
842 * po/es.po: Updated Spanish translation.
843 * po/fi.po: Updated Finnish translation.
844 * po/fr.po: Updated French translation.
845
c4dd807e
MF
8462012-07-27 Mike Frysinger <vapier@gentoo.org>
847
848 * configure.in (BFD_VERSION): Run bfd/configure --version and
849 parse the output of that.
850 * configure: Regenerate.
851
af18cb59
TG
8522012-07-27 Tristan Gingold <gingold@adacore.com>
853
854 * NEWS: Add marker for 2.23.
855
204d254e
SK
8562012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
857
858 * config/tc-m68hc11.c: Replace binary with hex for cygwin.
859
c71bb85d
SB
8602012-07-26 Segher Boessenkool <segher@kernel.crashing.org>
861
862 * listing.c (struct list_message): New.
863 (struct list_info_struct): Delete "message". Add "messages"
864 and "last_message".
865 (listing_message): Adjust.
866 (listing_newline): Adjust.
867 (print_lines): Adjust.
868
9e2934f7
JB
8692012-07-24 Jan Beulich <jbeulich@suse.com>
870
871 * config/tc-i386-intel.c (i386_intel_simplify_register): Handle
872 xmm/ymm index register being specified first as well as esp/rsp
873 base register being specified last in a memory operand.
874
8280f326
JB
8752012-07-24 Jan Beulich <jbeulich@suse.com>
876
877 * config/tc-i386-intel.c (i386_intel_simplify_register):
878 Replace literal 4 by corresponding ESP_REG_NUM.
879
5e73442d
SL
8802012-07-24 Sandra Loosemore <sandra@codesourcery.com>
881 Jie Zhang <jzhang918@gmail.com>
882
883 * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR
884 if offset is negative.
885
e2e1fcde
L
8862012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
887
888 * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives.
889 * doc/c-i386.texi: Document the new directives.
890
6b0d957e 8912012-07-05 Sean Keys <skeys@ipdatasys.com>
4e47244d
L
892
893 * config/tc-xgate.c: Revised assembler so that operands
894 are collected before the addressing mode is determined.
6b0d957e 895
586ec8c1
NC
8962012-07-02 Nick Clifton <nickc@redhat.com>
897
898 * write.c (fixup_segment): Only perform the subtraction of an
899 fx_subsy symbol if MD_APPLY_SYM_VALUE allows it and the symbol is
900 properly defined.
901 * config/tc-msp430.h (MD_APPLY_SYM_VALUE): Define.
902
e95a6b1c
AM
9032012-06-30 Alan Modra <amodra@gmail.com>
904
905 PR gas/14315
906 * config/obj-elf.c (obj_elf_weak): Don't set local.
907
08ea7020
AM
9082012-06-30 Johan Olmutz Nielsen <jnielsen@ddci.com>
909
910 * frags.h (frag_offset_fixed_p): Update prototype.
911 * frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT.
912 * expr.c (expr, resolve_expression): Likewise for frag_off var.
913
99aad254
NC
9142012-06-29 Nick Clifton <nickc@redhat.com>
915
916 PR gas/14263
917 * config/tc-arm.c (parse_operands): Initialise val.
918
2b2f5df9
NC
9192012-06-28 Nick Clifton <nickc@redhat.com>
920
921 PR gas/14260
922 * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error
923 message if literal pool addressing is used.
924
453dc3f0
NC
9252012-06-28 Nick Clifton <nickc@redhat.com>
926
927 * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
928 linker relaxation.
929 (dwarf2_gen_line_info): Generate real, local, labels for line
930 numbers.
931 (dwarf2dbg_convert_frag): Do not finalize the computation of the
932 frag's symbol value when linker relaxation is enabled.
933 (ADDR_DELTA_LIMIT): Define.
934 (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT.
935 (emit_fixed_inc_line_addr): Likewise.
936 * write.c (fixup_segment): If the subtraction of two symbols
937 cannot be resolved but is valid, then prevent bogus range warnings
938 by pre-biasing add_number.
939 * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0.
940
6b0d957e
SK
9412012-06-28 Sean Keys <skeys@ipdatasys.com>
942
4e47244d
L
943 * config/tc-xgate.h: Defined tc_frob_symbol.
944 * config/tc-xgate.c (xgate_frob_symbol): Wrote new function to mark
945 symbols as being XGATE by setting st_target_internal value.
6b0d957e 946
29c048b6
RM
9472012-06-22 Roland McGrath <mcgrathr@google.com>
948
fe13e45b
RM
949 * NEWS: Mention 'rep ret' too.
950
29c048b6
RM
951 * config/tc-i386.c (parse_insn): Don't complain about REP prefix
952 when the template has opcode_modifier.repprefixok set.
953 * NEWS: Mention the change.
954
a574142b
AM
9552012-06-18 Iain Sandoe <iain@codesourcery.com>
956
957 * configure.in: Check DECLS for free, getenv, malloc, realloc,
958 * configure: Regenerate.
959 * config.in: Likewise.
960
357d1bd8
L
9612012-06-13 H.J. Lu <hongjiu.lu@intel.com>
962
963 * config/tc-i386.c (x86_address_bytes): New.
964 * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
965 (x86_address_bytes): Likewise.
966
1a43faaf
NC
9672012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
968
969 PR gas/12698
970 * config/tc-arm.c (do_t_mrs): Do not require an m-profile
971 architecure when assembling for all archiectures.
972 (do_t_msr): Likewise.
973
e4efb665
NC
9742012-06-11 Georg-Johann Lay <avr@gjlay.de>
975
976 PR 13503
977 * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
978 from 2012-05-16.
979
d2ae702c
L
9802012-06-09 H.J. Lu <hongjiu.lu@intel.com>
981
982 * input-scrub.c (input_scrub_include_sb): Use sb_build to
983 allocate sufficient space for from_sb. Use sb_terminate to
984 terminate string.
985 * read.c (read_a_source_file): Use sb_build to allocate
986 sufficient space and replace sb_add_string with sb_add_buffer.
987 (s_macro): Likewise.
988 (input_scrub_insert_line): Likewise.
989 (s_irp): Use sb_build to allocate sufficient space.
990 (do_repeat): Use sb_build to allocate sufficient space
991 for many.
992 * sb.c (sb_build): Remove static.
993 * sb.h (sb_build): New prototype.
994
5197bfb5
AM
9952012-06-09 Alan Modra <amodra@gmail.com>
996
997 * sb.c: Include limits.h.
998 (dsize): Delete.
999 (MALLOC_OVERHEAD, INIT_ALLOC): Define.
1000 (sb_new): Use INIT_ALLOC.
1001 (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
1002 (sb_terminate): Don't use sb_add_char.
1003
39a45edc
AM
10042012-06-07 Alan Modra <amodra@gmail.com>
1005
1006 PR gas/14201
1007 * sb.h (sb_max_power_two): Delete.
1008 (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max".
1009 (sb_element): Delete.
1010 (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
1011 prototypes.
1012 * sb.c (string_count, free_list): Delete.
1013 (sb_build, sb_kill, sb_check): Rewrite.
1014 (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
1015 sb_skip_white, sb_skip_comma): Replace assorted int params,
1016 vars and return types with size_t.
1017 * input-scrub.c: Likewise.
1018 * macro.c: Likewise.
1019 * macro.h: Likewise.
1020 * as.c: Likewise.
1021 * as.h: Likewise.
1022 * input-file.h: Likewise.
1023 * input-file.c: Likewise.
1024 * read.c: Likewise.
1025 * app.c: ..or ptrdiff_t.
1026 * input-file.c (input_file_get): Use ferror.
1027 (input_file_give_next_buffer): Use input_file_get.
1028
6b0d957e
SK
10292012-05-31 Sean Keys <skeys@ipdatasys.com>
1030
4e47244d 1031 * config/tc-xgate.c (md_begin): Refactored code.
6b0d957e 1032
d416e51d
RM
10332012-05-29 Roland McGrath <mcgrathr@google.com>
1034
1035 * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
1036 (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
1037 [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
1038 pairs.
1039
7bfd842d
NC
10402012-05-28 Nick Clifton <nickc@redhat.com>
1041
1042 * read.c (read_symbol_name): New function. Reads a symbol names.
1043 Allows escape codes in names.
1044 (s_comm_internal): Use read_symbol_name.
1045 (s_globl, s_lsym, s_set, s_weakref): Likewise.
1046 * doc/as.texinfo: Document support for multibyte characters in
1047 symbol names.
1048
95bfe26e
MF
10492012-05-21 Mike Frysinger <vapier@gentoo.org>
1050
1051 * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
1052 is non-NULL.
1053
59365e19
AM
10542012-05-19 Alan Modra <amodra@gmail.com>
1055
1056 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
1057 targets when checking for "comdat".
1058
f3719d90
AM
10592012-05-19 Alan Modra <amodra@gmail.com>
1060
1061 * config/tc-dlx.c (s_proc): Don't use asprintf.
1062
74cda0c4
AM
10632012-05-18 Alan Modra <amodra@gmail.com>
1064
1065 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
1066 return value.
1067
d6ed37ed
AM
10682012-05-18 James Lemke <jwlemke@codesourcery.com>
1069 Alan Modra <amodra@gmail.com>
1070
1071 * config/tc-ppc.c: Don't capitalise error and warning messages.
1072 (md_parse_option): Add checks for -a32 -mvle.
1073
222661cb
AM
10742012-05-18 Alan Modra <amodra@gmail.com>
1075
1076 * config/obj-evax.c: Include as.h first.
1077
f2c621e4
AS
10782012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1079
1080 * aclocal.m4: Regenerate.
1081 * configure: Regenerate.
1082 * Makefile.in: Regenerate.
1083
df7b86aa
NC
10842012-05-17 Daniel Richard G. <skunk@iskunk.org>
1085 Nick Clifton <nickc@redhat.com>
1086
1087 PR 14072
1088 * configure.in: Add check that sysdep.h has been included before
1089 any system header files.
1090 * configure: Regenerate.
1091 * config.in: Regenerate.
1092 * aclocal.m4: Regenerate.
1093 * Makefile.am: Use wrappers around C files generated by flex.
1094 * Makefile.in: Regenerate.
1095 * doc/Makefile.in: Regenerate.
1096 * itbl-lex-wrapper.c: New file.
1097 * config/bfin-lex-wrapper.c: New file.
1098 * cgen.c: Include as.h before setjmp.h.
1099 * config/tc-dlx.c: Include as.h before any other header.
1100 * config/tc-h8300.c: Likewise.
1101 * config/tc-lm32.c: Likewise.
1102 * config/tc-mep.c: Likewise.
1103 * config/tc-microblaze.c: Likewise.
1104 * config/tc-mmix.c: Likewise.
1105 * config/tc-msp430.c: Likewise.
1106 * config/tc-or32.c: Likewise.
1107 * config/tc-tic4x.c: Likewise.
1108 * config/tc-tic54x.c: Likewise.
1109 * config/tc-xtensa.c: Likewise.
1110
a0f49396
NC
11112012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
1112
1113 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
1114 as the first argument for `bfd_get_section_vma'.
1115
536695d0
NC
11162012-05-16 Alberto Garcia <agarcia@igalia.com>
1117
1118 PR gas/14082
1119 * app.c (do_scrub_chars): Prevent possible out of bounds access to
1120 lex[] array.
1121
40551fb8
NC
11222012-05-16 Georg-Johann Lay <avr@gjlay.de>
1123
1124 PR target/13503
1125 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
1126 R_AVR_8_HLO8.
1127 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
1128 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
1129
c1c30076
NS
11302012-05-16 Nathan Sidwell <nathan@codesourcery.com>
1131 Kwok Cheung Yeung <kcy@codesourcery.com>
1132
1133 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
1134 51qm variants.
1135
6927f982
NC
11362012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
1137
1138 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
1139 Add option to offset S12 addresses into XGATE memory space.
1140 Tweak target flags to match other tools. (i.e. -m m68hc11).
1141 * doc/as.texinfo: Mention new options.
1142 * doc/c-m68hc11.texi: Document new options.
1143 * NEWS: Mention new support.
1144
0e25bcb4
DD
11452012-05-14 DJ Delorie <dj@redhat.com>
1146
918edac3
DD
1147 * config/rx-parse.y (rx_range): declare.
1148 (O1,O2,O3,O4): Add calls to rx_range.
1149 (UO1,UO2,UO3): Likewise.
1150 (IMM2,IMMB): Likewise.
1151 (rx_range): New.
1152
0e25bcb4
DD
1153 * config/tc-rx.c (rx_fetchalign): Declare.
1154 (md_pseudo_table): Add .fetchalign.
1155 (RX_NBASE_FETCHALIGN): New.
1156 (fetchalign_bytes): New.
1157 (rx_fetchalign): New.
1158 (rx_frag_init): If a "magic" value is found, also init the
1159 machine-specific data.
1160 (md_assemble): Note following opcode size if called for.
1161 (rx_next_opcode): New.
1162 (rx_relax_frag): Support .fetchalign.
1163 (md_convert_frag): Likewise.
1164 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
1165
b9c361e0
JL
11662012-05-14 James Lemke <jwlemke@codesourcery.com>
1167
1168 * config/tc-ppc.c (insn_validate): New func of existing code to call..
1169 (ppc_setup_opcodes): ..from 2 places here.
1170 Revise for second (VLE) opcode table.
1171 Add #ifdef'd code to print opcode tables.
1172
11732012-05-14 James Lemke <jwlemke@codesourcery.com>
1174
1175 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
1176 for the VLE conditional branches.
1177
11782012-05-14 Catherine Moore <clm@codesourcery.com>
1179 Maciej W. Rozycki <macro@codesourcery.com>
1180 Rhonda Wittels <rhonda@codesourcery.com>
1181
1182 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
1183 (PPC_VLE_SPLIT16D): New macro.
1184 (PPC_VLE_LO16A): New macro.
1185 (PPC_VLE_LO16D): New macro.
1186 (PPC_VLE_HI16A): New macro.
1187 (PPC_VLE_HI16D): New macro.
1188 (PPC_VLE_HA16A): New macro.
1189 (PPC_VLE_HA16D): New macro.
1190 (PPC_APUINFO_VLE): New definition.
1191 (md_chars_to_number): New function.
1192 (md_parse_option): Check for combinations of little
1193 endian and -mvle.
1194 (md_show_usage): Document -mvle.
1195 (ppc_arch): Recognize VLE.
1196 (ppc_mach): Recognize bfd_mach_ppc_vle.
6927f982 1197 (ppc_setup_opcodes): Print the opcode table if
b9c361e0
JL
1198 * config/tc-ppc.h (ppc_frag_check): Declare.
1199 * doc/c-ppc.texi: Document -mvle.
1200 * NEWS: Mention PowerPC VLE port.
1201
12022012-05-14 Catherine Moore <clm@codesourcery.com>
1203
1204 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
1205 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
1206 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
1207 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
6927f982 1208 for DWARF2_LINE_MIN_INSN_LENGTH.
b9c361e0 1209
56e63005
L
12102012-05-12 H.J. Lu <hongjiu.lu@intel.com>
1211
1212 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
1213 for BFD_RELOC_64.
1214
208a4923
NC
12152012-05-11 Daniel Richard G. <skunk@iskunk.org>
1216
1217 PR binutils/14028
1218 * configure.in: Invoke ACX_HEADER_STRING.
1219 * configure: Regenerate.
1220 * config.in: Regenerate.
1221 * as.h: If STRINGS_WITH_STRING is defined then include both
1222 string.h and strings.h.
1223
99700d6f
NC
12242012-05-11 Georg-Johann Lay <avr@gjlay.de
1225
1226 PR target/13503
1227 * config/tc-avr.c (exp_mod_pm): Remove variable.
1228 (exp_mod_data_t): New typedef.
1229 (pexp_mod_data, exp_mod_data): New variables.
1230 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
1231 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
1232 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
1233 (avr_cons_fix_new): Handle new data expression modifiers shipped
1234 in pexp_mod_data.
1235 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
1236 BFD_RELOC_AVR_8_HHI.
1237
268a8d3a
L
12382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1239
1240 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
1241 addend overflow check.
1242
6f2c9068
L
12432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1244
1245 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
1246 x32 addend overflow check.
1247
83acd3e8
L
12482012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1249
1250 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
1251
8cf0d2dd
L
12522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1253
1254 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
1255 for BFD_RELOC_64.
1256
e5b62927
AM
12572012-05-08 Alan Modra <amodra@gmail.com>
1258
1259 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
1260 LC and LANG environment vars.
1261 * Makefile.in: Regenerate.
1262
cce3d66c
AM
12632012-05-07 Alan Modra <amodra@gmail.com>
1264
1265 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
1266 * Makefile.in: Regenerate.
1267
25045f79
AM
12682012-05-06 Arnold Metselaar <arnold_m@operamail.com>
1269
1270 * config/tc-z80.h(md_register_arithmetic): Define as 0.
cce3d66c
AM
1271 * config/tc-z80.c(md_begin): Store register names in symbol table,
1272 preventing usage as ordinary symbol.
25045f79
AM
1273 * config/tc-z80.c(contains_register): New function.
1274 * config/tc-z80.c(parse_exp2): Removed.
1275 * config/tc-z80.c(parse_exp_not_indexed): New function.
cce3d66c
AM
1276 * config/tc-z80.c(parse_exp): Add code to recogize indexed
1277 addressing after parsing.
25045f79 1278 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
cce3d66c
AM
1279 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
1280 condition for jump to register.
1281 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
1282 parse_exp_not_indexed.
25045f79 1283
45dfa85a
AM
12842012-05-05 Alan Modra <amodra@gmail.com>
1285
1286 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
1287 bfd_und_section and bfd_ind_section with their _ptr variants, or
1288 use corresponding bfd_is_* macros.
1289 * symbols.c: Likewise.
1290 * config/obj-aout.c: Likewise.
1291 * config/obj-coff-seh.h: Likewise.
1292 * config/tc-hppa.c: Likewise.
1293 * config/tc-hppa.h: Likewise.
1294 * config/tc-ia64.c: Likewise.
1295 * config/tc-m32r.c: Likewise.
1296 * config/tc-microblaze.c: Likewise.
1297 * config/tc-mips.c: Likewise.
1298 * config/tc-score.c: Likewise.
1299 * config/tc-score7.c: Likewise.
1300 * config/tc-tic6x.c: Likewise.
1301
3c995545
L
13022012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1303
1304 * configure.tgt: Support x86_64-*-linux-gnux32.
1305
35262a23
L
13062012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1307
1308 * config/tc-i386.c (match_template): Add `instruction' to
1309 unsupported error message.
1310
89e71f5c
L
13112012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1312
1313 * config/tc-i386.c (output_insn): Reformat.
1314
ae5c1c7b
L
13152012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1316
1317 * config/tc-i386.c (output_insn): Remove the extra VEX check.
1318
10efe3f6
L
13192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1320
1321 * config/tc-i386.c (match_template): Improve unsupported error
1322 message.
1323
f6c1a2d5
NC
13242012-05-03 Sean Keys <skeys@ipdatasys.com>
1325
1326 * configure, Makefile.in: Regenerate.
1327 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
1328 * configure.tgt: Added cpu type.
1329 Added files for XGATE assembler.
1330 * config/tc-xgate.c: Assembler for XGATE.
1331 * config/tc-xgate.h: Header definition for assembler
1332 Added files for XGATE testsuite.
1333 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
1334 * doc/c-xgate.texi: Document XGATE and XGATE port.
1335 * doc/as.texinfo: Ditto.
1336 * doc/all.texi: Ditto
1337 * NEWS: Mention the new support.
1338
cad335c9
DD
13392012-04-30 DJ Delorie <dj@redhat.com>
1340
1341 * config/rx-parse.y (rx_intop): Add parameter for operation size.
1342 Check for large positive constants really being small negative
1343 ones.
1344 (BRA, BSR): Update calls to rx_intop.
1345 (immediate): Likewise.
1346
88ebb0a1
MW
13472012-04-26 Mark Wielaard <mjw@redhat.com>
1348
1349 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
1350 (DWARF2_LINE_VERSION): Likewise.
1351 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
1352 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
1353 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
1354 DWARF2_VERSION >= 4.
1355 (out_debug_info): Use difference between start and end as data
1356 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
1357 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
1358
ec668d69
DM
13592012-04-27 David S. Miller <davem@davemloft.net>
1360
2755f698
DM
1361 * doc/c-sparc.text: Document %l34 and %h34.
1362
2e52845b
DM
1363 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
1364
58004e23
DM
1365 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
1366 v8pluse, v8plusv, v9e, and v9v.
1367 (v9a_asr_table): Add 'pause'.
1368
698544e1
DM
1369 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
1370 sparc4, v8pluse, v8plusv, v9e, and v9v.
1371 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
1372 order to accomodate cbcond which otherwise would require two
1373 relocations to be handled in a single instruction..
1374
6cda1326
DM
1375 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
1376 names containing "_".
1377 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
1378 hwcap masks to v8plusv and v9v.
1379
ec668d69
DM
1380 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
1381 masks.
1382 (sparc_md_end): No longer need to translate hwcap_seen values into
1383 ELF hwcap bits, they now match exactly.
1384 (get_hwcap_name): Use HWCAP_* and handle new values.
1385 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
1386
2b0bc501
TG
13872012-04-20 Tristan Gingold <gingold@adacore.com>
1388
1389 * config/tc-ia64.c (obj_elf_vms_common): New function.
1390 (md_pseudo_table): Add .vms_common pseudo.
1391 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
1392 * config/obj-elf.c (obj_elf_section_name): Make it public.
1393
0b649256
RS
13942012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
1395
1396 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
1397
2615994e
DM
13982012-04-12 David S. Miller <davem@davemloft.net>
1399
1400 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
1401 BFD_RELOC_SPARC_H34.
1402 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
1403 (tc_gen_reloc): Likewise.
1404
b38cadfb
NC
14052012-04-12 Roland McGrath <mcgrathr@google.com>
1406
1407 * configure.tgt (arm-*-nacl*): Match it.
1408 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
1409 (LOCAL_LABELS_DOLLAR): Define.
1410 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
1411 Use nacl format variants.
1412
6530b175 14132012-04-12 Jie Zhang <jie@codesourcery.com>
4e47244d 1414 Meador Inge <meadori@codesourcery.com>
6530b175
NC
1415
1416 * config/tc-arm.c (only_one_reg_in_list): New function.
1417 (encode_ldmstm): Ditto.
1418 (do_ldmstm): Use a different encoding when pushing or poping
1419 a single register.
1420 (A_COND_MASK): New macro.
1421 (A_PUSH_POP_OP_MASK): Ditto.
1422 (A1_OPCODE_PUSH): Ditto.
1423 (A2_OPCODE_PUSH): Ditto.
1424 (A2_OPCODE_POP): Ditto.
1425
45e279f5
MR
14262012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
1427
1428 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
1429 -mno-fix-24k.
1430
58797674
RM
14312012-04-06 Roland McGrath <mcgrathr@google.com>
1432
1433 * configure.in (AC_CHECK_HEADERS): Add locale.h.
1434 * config.in: Regenerate.
1435 * configure: Regenerate.
1436
44350750
NC
14372012-04-05 Nick Clifton <nickc@redhat.com>
1438
1439 * configure.in (AC_CHECK_FUNCS): Add setlocale.
1440 (AM_LC_MESSAGES): Add.
1441 * aclocal.m4: Regenerate.
1442 * config.in: Regenerate.
1443 * configure: Regenerate.
1444
e91a22ce
DD
14452012-04-03 DJ Delorie <dj@redhat.com>
1446
1447 * config/rx-parse.y: Make the .L optional for ADC and SBB.
1448
b1c0804b
DD
14492012-04-02 DJ Delorie <dj@redhat.com>
1450
1451 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
1452 transfer size.
1453 (IMM): New, call IMM_ with the default 32.
1454 (IMMW,IMMB): Likewise, for 16 and 8.
1455 (NIMM, MBIMM): Add size parameter.
1456 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
1457 (MOV.W): Use IMMW instead of IMM.
1458
1459 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
1460 (op_dp20_rm_l): New.
1461 (op_dp20_rim_l): New.
1462
1463 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
1464 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
1465
ce32bd10
MGD
14662012-03-29 Terry Guo <terry.guo@arm.com>
1467
1468 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
1469 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
1470
55a36193
MK
14712012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
1472
1473 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
1474 * doc/c-mips.texi: Mention XLP.
1475
32b9ff0d
TS
14762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1477
1478 [SH] Support the .uaquad and .8byte directives also for non-sh64
1479 configurations.
1480
1481 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
1482 BFD_RELOC_64.
1483 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
1484 description...
1485 * doc/c-sh.texi (SH Machine Directives): ... here.
1486
7465e07a
NC
14872012-03-20 Nick Clifton <nickc@redhat.com>
1488
1489 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
1490 registers.
1491 (do_vmsr): Likewise.
1492 (arm_opcode_insns): Do not default to using the FPSCR register in
1493 the VMRS and VMSR registers.
1494
8059fb19
RM
14952012-03-16 Roland McGrath <mcgrathr@google.com>
1496
1497 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
1498 Define for this case.
1499 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
1500
69239280
MGD
15012012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1502
1503 * config/tc-arm.c (aeabi_set_public_attributes): Correct
1504 handling of Tag_DIV_use.
1505
27dcf5c0
TS
15062012-03-15 Thomas Schwinge <thomas@codesourcery.com>
1507
1508 * doc/as.texinfo (Bundle directives): Fix typo.
1509
ec82c18e
L
15102012-03-14 Ryan Mansfield <rmansfield@qnx.com>
1511
1512 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
1513
8d3eaee6 15142012-03-13 Roland McGrath <mcgrathr@google.com>
fa94de6b
RM
1515
1516 * config/tc-arm.c (arm_frag_max_var): New function.
1517 * config/tc-arm.h: Declare it.
1518 (md_frag_max_var): New macro.
1519
1520 * config/tc-i386.c (i386_frag_max_var): New function.
1521 * config/tc-i386.h: Declare it.
1522 (md_frag_max_var): New macro.
1523
1524 * doc/as.texinfo (Bundle directives): New node.
1525 (Pseudo Ops): Add it to the menu.
1526 * NEWS: Mention new feature.
1527 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
1528 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
1529 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
1530 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
1531 New functions.
1532 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
1533 to md_assembly if not.
1534 (read_a_source_file): Call assemble_one in place of md_assemble.
1535 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
1536 .bundle_lock at end of processing.
1537 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
1538 New functions.
1539 [HANDLE_BUNDLE] (potable): Add their entries.
1540 * read.h: Declare new functions.
1541
aea77599
AM
15422012-03-10 Edmar Wienskoski <edmar@freescale.com>
1543
1544 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
1545 (ppc_handle_align): Add termination nop opcode for e500mc family.
1546 * doc/as.texinfo: Document options -me5500 and -me6500.
1547 * doc/c-ppc.texi: Likewise.
1548
0a22ae8e
NC
15492012-03-07 Nick Clifton <nickc@redhat.com>
1550
1551 * config/tc-mn10300.c (other_registers): Add SSP and USP.
1552 (md_assemble): Add support for TLS relocs.
1553 (mn10300_parse_name): Likewise.
1554
805e800d
AM
15552012-02-27 Alan Modra <amodra@gmail.com>
1556
1557 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
1558
b9fcee79
AM
15592012-02-27 Alan Modra <amodra@gmail.com>
1560
1561 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
1562 params. Properly generate NOP pattern. Comment reason for
1563 subseg_text_p failure.
1564
35a35807
AM
15652012-02-27 Alan Modra <amodra@gmail.com>
1566
1567 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
1568 and sign extend before range tests.
1569 (constant_fits_size_p): Similarly.
1570 (get_specific): Trim X_add_number to 32 bits.
1571 (fix_operand_size): Likewise, and use unsigned test for signed
1572 ranges.
1573
1f42f8b3
AM
15742012-02-27 Alan Modra <amodra@gmail.com>
1575
1576 * config/tc-crx.c: Include bfd_stdint.h.
1577 (getconstant): Remove irrelevant comment. Don't fail due to
1578 sign-extension of int mask.
1579 (check_range): Rewrite using unsigned arithmetic throughout.
1580
481fe810
WL
15812012-02-25 Walter Lee <walt@tilera.com>
1582
1583 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
1584 non-local before checking sy_value.
1585 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
1586
6f7be959
WL
15872012-02-25 Walter Lee <walt@tilera.com>
1588
1589 * tc-tilepro.c (O_tls_le): Define operator.
1590 (O_tls_le_lo16): Ditto.
1591 (O_tls_le_hi16): Ditto.
1592 (O_tls_le_ha16): Ditto.
1593 (O_tls_gd_call): Ditto.
1594 (O_tls_gd_add): Ditto.
1595 (O_tls_ie_load): Ditto.
1596 (md_begin): Delete old operators; handle new operators.
1597 (emit_tilepro_instruction): Ditto.
1598 (md_apply_fix): Ditto.
1599 * tc-tilegx.c (O_hw1_got): Delete operator.
1600 (O_hw2_got): Ditto.
1601 (O_hw3_got): Ditto.
1602 (O_hw2_last_got): Ditto.
1603 (O_hw1_tls_gd): Ditto.
1604 (O_hw2_tls_gd): Ditto.
1605 (O_hw3_tls_gd): Ditto.
1606 (O_hw2_last_tls_gd): Ditto.
1607 (O_hw1_tls_ie): Ditto.
1608 (O_hw2_tls_ie): Ditto.
1609 (O_hw3_tls_ie): Ditto.
1610 (O_hw2_last_tls_ie): Ditto.
1611 (O_hw0_tls_le): Define operator.
1612 (O_hw0_last_tls_le): Ditto.
1613 (O_hw1_last_tls_le): Ditto.
1614 (O_tls_gd_call): Ditto.
1615 (O_tls_gd_add): Ditto.
1616 (O_tls_ie_load): Ditto.
1617 (O_tls_add): Ditto.
1618 (md_begin): Delete old operators; handle new operators.
1619 (emit_tilegx_instruction): Ditto.
1620 (md_apply_fix): Ditto.
1621 * doc/c-tilegx.texi: Delete old operators; document new operators.
1622 * doc/c-tilepro.texi: Ditto.
1623
82590249
WL
16242012-02-25 Walter Lee <walt@tilera.com>
1625
5414dbef
WL
1626 * tc-tilepro.c (apply_special_operator): delete cases for
1627 got and tls operators.
1628 (md_apply_fix): Ditto.
fb6cedde
WL
1629 * tc-tilegx.c (md_begin): Set architecture and machine.
1630 (tilegx_target_format): Handle big endian.
1631 (OPTION_EB): Define.
1632 (OPTION_EL): Define.
1633 (md_longopts): Add entries for "EB" and "EL".
1634 (md_parse_option): Handle OPTION_EB and OPTION_EL.
1635 (md_show_usage): Add -EB and -EL.
1636 (md_number_to_chars): New.
5414dbef
WL
1637 (apply_special_operator): delete cases for got and tls
1638 operators.
1639 (md_apply_fix): Ditto.
fb6cedde
WL
1640 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
1641 ifndef.
1642 (md_number_to_chars): Delete.
1643 * configure.tgt (tilegx*be): Handle.
1644 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
1645 * doc/c-tilegx.texi: Ditto.
82590249 1646
82c2def5
L
16472012-02-21 H.J. Lu <hongjiu.lu@intel.com>
1648
1649 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
1650 HLEPrefixAny and HLEPrefixRelease.
1651
1bf10b0d
NC
16522012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1653
1654 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
1655
16a87420
IS
16562012-02-21 Iain Sandoe <idsandoe@googlemail.com>
1657
1658 * write.c (write_object_file): Add md_pre_output_hook.
1659 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
1660 (obj_mach_o_pre_output_hook): New.
1661 * config/obj-macho.h (md_pre_output_hook): Define.
1662 (obj_mach_o_pre_output_hook): Declare.
1663
cdaa5616
IS
16642012-02-21 Tristan Gingold <gingold@adacore.com>
1665
1666 * config/tc-i386.h (OBJ_MACH_O): New section.
1667 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
1668 (TC_FORCE_RELOCATION_SUB_SAME): New
1669 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
1670 (TC_VALIDATE_FIX_SUB): New.
1671 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
1672 * symbols.c (colon): obj_frob_colon: New hook.
1673 * write.c (write_object_file): md_pre_relax_hook, new
1674 hook.
1675 * config/obj-macho.c (obj_mach_o_frob_colon): New.
1676 (obj_mach_o_frob_label): Record sub-section labels.
1677 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
1678 (obj_mach_o_set_subsections): New.
1679 (obj_mach_o_pre_relax_hook): New.
1680 (obj_mach_o_in_different_subsection): New.
1681 (obj_mach_o_force_reloc_sub_same): New.
1682 (obj_mach_o_force_reloc_sub_local): New.
1683 (obj_mach_o_force_reloc): New.
1684 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
1685 (obj_frob_colon): New Define.
1686 (obj_mach_o_frob_label): Renamed.
1687 (obj_mach_o_frob_symbol): Renamed.
1688 (OBJ_FRAG_TYPE): New.
1689 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
1690 obj_mach_o_force_reloc_sub_same,
1691 obj_mach_o_force_reloc_sub_local): New declarations.
1692
854ac8ba
IS
16932012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1694
1695 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
1696 (obj_mach_o_allow_local_subtract): New.
1697 * config/obj-macho.h (md_allow_local_subtract): Define.
1698 (obj_mach_o_allow_local_subtract): Declare.
1699
a5759139
IS
17002012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1701
1702 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
1703 canonical information, try to determine CODE and DEBUG section flags
1704 from the mach-o section data.
1705
9ad45734
NC
17062012-02-20 Nick Clifton <nickc@redhat.com>
1707
1708 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
1709 local symbols.
1710
8e43fc02
IS
17112012-02-12 Iain Sandoe <idsandoe@googlemail.com>
1712
1713 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
1714 any local symbol used as an indirect.
1715
fb4914b0
IS
17162012-02-10 Iain Sandoe <idsandoe@googlemail.com>
1717
1718 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
1719 stub size when provided. (obj_mach_o_section): Flag that stub-size
1720 has been provided.
1721
42164a71
L
17222012-02-08 H.J. Lu <hongjiu.lu@intel.com>
1723
1724 * config/tc-i386.c (HLE_PREFIX): New.
1725 (check_hle): Likewise.
1726 (_i386_insn): Add have_hle.
1727 (cpu_arch): Add .hle and .rtm.
1728 (md_assemble): Call check_hle if i.have_hle isn't zero.
1729 (parse_insn): Set i.have_hle to 1 for HLE prefix.
1730 (output_jump): Support up to 2 byte opcode.
1731
1732 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
1733
facf03f2
TG
17342012-02-02 Tristan Gingold <gingold@adacore.com>
1735
1736 * config/obj-macho.c (obj_mach_o_zerofill): Silent
1737 uninitialized variable warning.
1738
f6616a06
NC
17392012-02-02 Nick Clifton <nickc@redhat.com>
1740
1741 PR gas/13224
1742 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
1743 to 'is_clone' to avoid shadowing a gloabl.
1744 (obj_elf_section): Likewise.
1745
bac03263 17462012-01-31 Paul Brook <paul@codesourcery.com>
f6616a06 1747
bac03263
PB
1748 * doc/c-tic6x.c: Fix typo.
1749
f8819316
NC
17502012-01-26 Alexey Makhalov <makhaloff@gmail.com>
1751
1752 PR gas/13624
1753 * app.c (app_push): Set 'add_newlines' to zero after saving.
1754
21abe33a
DD
17552012-01-24 DJ Delorie <dj@redhat.com>
1756
1757 * config/rl78-parse.y (NOT1): Add.
1758
8d63c93e
RM
17592012-01-23 Roland McGrath <mcgrathr@google.com>
1760
1761 * configure.tgt (i386-*-nacl*): Match it.
1762 * config/te-nacl.h: New file.
1763 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
1764 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
1765 Use TE_GNU et al case for TE_NACL too.
1766
a501d77e
L
17672012-01-20 H.J. Lu <hongjiu.lu@intel.com>
1768
1769 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
1770 disp_encoding.
1771 (md_assemble): Updated.
1772 (output_branch): Likewise.
1773 (parse_insn): Support .d8 suffix.
1774 (build_modrm_byte): Fake zero displacement for .d8 and .d32
1775 suffixes.
1776
1777 * doc/c-i386.texi: Document .d8 suffix.
1778
032fbb7a
AM
17792012-01-17 Andrew Burgess <aburgess@broadcom.com>
1780
1781 * write.c (fix_new_internal): Don't mark used parameter as unused.
1782
576477a6
AM
17832012-01-17 Alan Modra <amodra@gmail.com>
1784
1785 * as.c (parse_args): Update copyright message year.
1786
8729a6f6
L
17872012-01-13 H.J. Lu <hongjiu.lu@intel.com>
1788
1789 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
1790
1791 * doc/c-i386.texi: Document vmfunc.
1792
34dd18bc
IS
17932012-01-13 Tristan Gingold <gingold@adacore.com>
1794
1795 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
1796 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
1797 (obj_mach_o_reorder_section_relocs): Declare.
1798
687be931
IS
17992012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1800
1801 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
1802 absolute indirect symbols.
1803
c3402d20
IS
18042012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1805
1806 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
1807 (obj_mach_o_set_section_vma): New.
1808 (obj_mach_o_post_relax_hook): New.
1809 * config/obj-macho.h (md_post_relax_hook): Define.
1810 (obj_mach_o_post_relax_hook): Declare.
1811
50d10658
IS
18122012-01-12 Iain Sandoe <idsandoe@googlemail.com>
1813
1814 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
1815 lazy when the symbol is private_extern.
1816 (obj_mach_o_indirect_sym): New type.
1817 (obj_mach_o_indirect_symbol): New.
1818 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
1819 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
1820 (obj_macho_frob_label): Likewise. Adjust external and comm
1821 symbol tests.
1822 (obj_mach_o_set_indirect_symbols): New.
1823 (obj_mach_o_frob_file_after_relocs): New.
1824 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
1825 (obj_mach_o_frob_file_after_relocs): Declare.
1826
0a4734dc
TG
18272012-01-12 Tristan Gingold <gingold@adacore.com>
1828
1829 PR gas/13591
1830 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
1831
158184ac
TG
18322012-01-10 Tristan Gingold <gingold@adacore.com>
1833
1834 * struc-symbol.h (struct symbol_flags): New struct, created from...
1835 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
1836 (struct local_symbol): Replace lsy_marker field by lsy_flags.
1837 Adjust comment.
1838 (local_symbol_resolved_p): Adjust.
1839 (local_symbol_mark_resolved): Likewise.
1840 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
1841 (local_symbol_make, local_symbol_convert, colon)
1842 (symbol_clone_if_forward_ref, verify_symbol_chain)
1843 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
1844 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
1845 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
1846 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
1847 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
1848 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
1849 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
1850 (symbol_mark_mri_common, symbol_clear_mri_common)
1851 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
1852 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
1853 (symbol_equated_reloc_p, dot_symbol_init)
1854 (print_symbol_value_1): Adjust.
1855
b22161d6
IS
18562012-01-09 Iain Sandoe <idsandoe@googlemail.com>
1857
1858 * config/obj-macho.c (obj_mach_o_weak): Remove.
1859 (obj_mach_o_common_parse): Set symbol qualifiers.
1860 (LAZY, REFE): New macros.
1861 (obj_mach_o_symbol_type): New enum.
1862 (obj_mach_o_set_symbol_qualifier): New.
1863 (obj_mach_o_sym_qual): New.
1864 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
1865 a dummy function.
1866 (obj_mach_o_type_for_symbol): New.
1867 (obj_macho_frob_label): New.
1868 (obj_macho_frob_symbol): New.
1869 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
1870 (obj_frob_label, obj_macho_frob_label): Declare.
1871 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
1872
de64cffd
RS
18732012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
1874
1875 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
1876
462427c4
RS
18772012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1878 Richard Sandiford <rdsandiford@googlemail.com>
1879
1880 * config/tc-mips.c (mips_move_labels): Take the list of labels and
1881 textness as parameters.
1882 (mips_move_text_labels): New function.
1883 (append_insn): Use it instead of mips_move_labels.
1884 (mips_emit_delays, start_noreorder): Likewise.
1885 (mips_align): Take the labels rather than just one label.
1886 Move all labels to after the .align.
1887 (s_align): Change the last argument to mips_align.
1888 (s_cons): Likewise.
1889 (s_float_cons): Likewise.
1890 (s_gpword): Likewise.
1891 (s_gpdword): Likewise.
1892
d382c579
TG
18932012-01-06 Tristan Gingold <gingold@adacore.com>
1894
1895 * config/tc-i386.c: Update copyright year.
1896 (lex_got): Also defined for Mach-O.
1897 Add a guard for non-ELF configuration.
1898 (md_longopts): Also handle -64 for Mach-O.
1899 (md_parse_option): Likewise.
1900 (i386_target_format): Adjust for x86_64-darwin.
1901
8cf6e084
IS
19022012-01-04 Iain Sandoe <idsandoe@googlemail.com>
1903
1904 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
1905 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
1906 (obj_mach_o_make_or_get_sect): Likewise.
1907 (obj_mach_o_section): Split out the functionality shared with zerofill.
1908 (obj_mach_o_zerofill): New.
1909 (obj_mach_o_common_parse): Ensure whitespace is skipped.
1910 (mach_o_pseudo_table): Add .zerofill.
1911
68588f95
IS
19122012-01-03 Iain Sandoe <idsandoe@googlemail.com>
1913
1914 * config/obj-macho.c (obj_macho_process_stab): New.
1915 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
1916 (obj_macho_process_stab): Declare.
1917
23e1d329 1918For older changes see ChangeLog-2011
08d56133
NC
1919\f
1920Local Variables:
1921mode: change-log
1922left-margin: 8
1923fill-column: 74
1924version-control: never
1925End: