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