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