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