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