1 2012-11-08 Alan Modra <amodra@gmail.com>
3 * po/POTFILES.in: Regenerate.
5 2012-11-07 David Holsgrove <david.holsgrove@xilinx.com>
7 * config/tc-microblaze.c: Remove special register condition check
8 for INST_TYPE_RFSL related instructions.
10 2012-11-06 Alan Modra <amodra@gmail.com>
12 * config/tc-xgate.c: Make some functions static. Formatting
13 style and whitespace fixes. Wrap overly long lines. Format
16 2012-11-06 Alan Modra <amodra@gmail.com>
18 * config/tc-tic4x.c: Remove alignment TODO comments.
19 (tic4x_do_align): Enable subseg_text_p test.
21 2012-11-06 Alan Modra <amodra@gmail.com>
23 * config/tc-ppc.c (ppc_elf_adjust_symtab): New function, split out..
24 (ppc_frob_file_before_adjust): ..from here.
25 (md_apply_fix): Set BSF_KEEP on .TOC. if not @tocbase.
26 * config/tc-ppc.h (ppc_elf_adjust_symtab): Declare.
27 (tc_adjust_symtab): Define.
29 2012-11-06 Alan Modra <amodra@gmail.com>
31 * config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage from
34 2012-11-05 Sean Keys <skeys@ipdatasys.com>
36 * config/tc-xgate.c: Remove bogus use of <fx_pcrel_adjust>.
37 * config/tc-m68hc11.c: Likewise.
39 2012-11-05 Alan Modra <amodra@gmail.com>
41 * configure.in: Apply 2012-09-10 change to config.in here.
43 2012-11-05 Alan Modra <amodra@gmail.com>
45 * config/tc-ppc.c (md_chars_to_number): Delete.
46 (ppc_setup_opcodes): Assert num_powerpc_operands fit.
47 (ppc_is_toc_sym): Move earlier in file.
48 (md_assemble): Move code setting reloc from md_apply_fix. Combine
49 non-ELF code setting fixup with ELF code. Stash opindex in
50 fx_pcrel_adjust. Adjust fixup offset for VLE. Don't set
52 (md_apply_fix): Rewrite to use ppc_insert_operand for all
53 resolved instruction fields. Leave insn field zero when
54 emitting an ELF reloc in most cases.
56 * write.h (struct fix <fx_pcrel_adjust>): Make it a signed char.
57 * config/tc-m68k.c (tc_gen_reloc, md_pcrel_from): Remove explicit
58 sign extendion of fx_pxrel_adjust.
60 2012-11-01 Maciej W. Rozycki <macro@codesourcery.com>
62 * config/tc-mips.c (is_delay_slot_valid): Simplify expression.
64 2012-11-01 Chao-ying Fu <fu@mips.com>
66 * config/tc-mips.c (append_insn): Set fx_no_overflow for 16-bit
67 microMIPS branch relocations.
69 2012-11-01 Maciej W. Rozycki <macro@codesourcery.com>
71 * config/tc-mips.c (is_delay_slot_valid): Don't accept macros
72 in 16-bit delay slots.
73 (macro_build_jalr): Emit 32-bit JALR if placed in a 32-bit delay
75 (macro) <M_JAL_2>: Likewise
77 2012-10-31 David Holsgrove <david.holsgrove@xilinx.com>
79 * config/tc-microblaze.c: Check for weak symbols before
82 2012-10-29 Alan Modra <amodra@gmail.com>
84 * sb.c (sb_check): Use __builtin_clzll when size_t is not the
87 2012-10-29 Alan Modra <amodra@gmail.com>
89 * config/tc-ppc.c (ppc_znop): Remove unused vars.
91 2012-10-26 Alan Modra <amodra@gmail.com>
94 * config/tc-ppc.c (ppc_setup_opcodes): Fix comment.
95 (md_assemble): Translate to _DS relocs for ppc32 as well as ppc64.
96 (tc_gen_reloc): Handle _DS relocs in ppc32 mode.
98 2012-10-22 Simon Baldwin <simonb@google.com>
100 * as.c (dump_statistics): Compute data size as the delta between
101 current sbrk(0) and start_sbrk.
102 * (main): Set start_sbrk to sbrk(0) on entry.
104 2012-10-18 Kai Tietz <ktietz@redhat.com>
106 * config/obj-coff.c: Add include of struc-symbol.h header.
107 (coff_frob_symbol): Check that function-aux entries are generated for
108 defined symbols only.
110 * doc/as.texinfo: Add missing documentation about section flag
113 2012-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
115 * config/tc-hppa.c (pa_get_number): New.
116 (pa_get_absolute_expression): Simplify.
117 (pa_ip): Use pa_get_number instead of pa_get_absolute_expression
118 to get SOP, SFU and COPR identifiers.
120 * config/tc-hppa.c (pa_ip): Reject double floating point stores and
121 loads that reference the right half of a floating point register.
123 2012-10-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
125 * config/tc-hppa.c (pa_ip): Limit unit conditions for uxor to those
126 not involving a carry.
128 2012-10-12 Peter Bergner <bergner@vnet.ibm.com>
130 * doc/as.texinfo (-mpwr4, -mpwr7): Fix option name typos.
132 2012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
134 * config/tc-arm.c: Change condition code insertion for
135 lds[hb] instructions from after the 2nd character to after the 3rd.
141 2012-10-09 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
143 * config/tc-i386.c (cpu_arch): Add CPU_BDVER3_FLAGS.
144 * doc/c-i386.texi: Add -march=bdver3 option.
146 2012-10-04 Nick Clifton <nickc@redhat.com>
148 * config/tc-v850.c (v850_insert_operand): Use a static buffer for
151 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
153 * config/tc-s390.c (s390_parse_cpu): Add new option zEC12.
154 * doc/as.texinfo: Document new option zEC12.
155 * doc/c-s390.texi: Likewise.
157 2012-10-03 DJ Delorie <dj@redhat.com>
159 * config/tc-rl78.c: Change line_separator to '@' so that '|' can
160 be used in expressions.
162 2012-10-01 Alan Modra <amodra@gmail.com>
164 * write.c (chain_frchains_together_1): Reorder assertion to avoid
167 2012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
169 * config/tc-mips.h (TC_FORCE_RELOCATION): Remove comment.
170 * config/tc-mips.c (calculate_reloc): New function.
171 (append_insn): Use it. Do not resolve compound relocations here.
172 (mips16_macro_build, mips16_ip): Use calculate_reloc.
173 (mips16_immed_extend): New function, split out from...
174 (mips16_immed): ...here.
175 (mips_frob_file): Handle null symbols.
176 (mips_force_relocation): Remove NEWABI handling.
177 (read_reloc_insn, write_reloc_insn): New functions.
178 (md_apply_fix): Report TLS relocations against constants.
179 Use read_reloc_insn, calculate_reloc and write_reloc_insn.
180 Report relocations against constants that can't be resolved
183 2012-09-23 Maciej W. Rozycki <macro@codesourcery.com>
185 * config/tc-mips.c (append_insn) <BFD_RELOC_MIPS_JMP>: Don't
186 mark as incomplete for constant expressions.
187 <BFD_RELOC_MIPS16_JMP>: Likewise.
189 2012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
190 Maciej W. Rozycki <macro@codesourcery.com>
192 * config/tc-mips.h (mips_record_label): Delete.
193 (mips_add_dot_label): Declare.
194 (tc_new_dot_label): Use it.
195 * config/tc-mips.c (mips_assembling_insn): New variable.
196 (md_assemble): Call mips_mark_labels. Set mips_assembling_insn
197 while the main part of the function is executing.
198 (mips_compressed_mark_label): New function, split out from...
199 (mips_compressed_mark_labels): ...here.
200 (append_insn): Don't call mips_mark_labels here.
201 (mips_record_label): Make local.
202 (mips_add_dot_label): New function.
204 2012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
206 * config/tc-mips.c (SEXT_16BIT): New macro.
207 (mips16_immed): Take the reloc type as a parameter. Do not impose
208 a signed vs. unsigned distinction on the value when a relocation
210 (mips16_macro_build, mips16_ip, md_convert_frag): Pass the reloc
211 type to mips16_immed.
212 (macro): Use SEXT_16BIT.
214 2012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
216 * config/tc-mips.c (read_insn, write_insn, read_compressed_insn):
218 (install_insn, md_apply_fix, md_convert_frag, mips_handle_align):
219 Use them, and write_compressed_insn.
221 2012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
223 * config/tc-mips.c (mips_cl_insn): Remove use_extend and extend.
224 (MIPS16_EXTEND): New macro.
225 (mips16_opcode_length): New function.
226 (insn_length): Use it.
227 (create_insn): Update after mips_cl_insn change.
228 (write_compressed_insn): New function.
229 (install_insn): Use it.
230 (append_insn): Use insn_length to check for unextended MIPS16
232 (mips16_macro_build): Update call to mips16_immed.
233 (mips16_ip): Likewise. Use MIPS16_EXTEND to force an extended
235 (mips16_immed): Remove use_extend and extend; install EXTEND
236 opcodes in the upper 16 bits of *INSN instead. Keep the
237 instruction extended if it already is. Replace warn, small
238 and ext with a forced_insn_length-like parameter.
239 (md_convert_frag): Update call mips16_immed.
240 Use write_compressed_insn.
242 2012-09-20 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
244 * config/tc-i386.c (cpu_arch): Add .cx16.
245 * doc/c-i386.texi: Document .cx16.
247 2012-09-19 Steve Ellcey <sellcey@mips.com>
249 * configure.tgt: Add mips*-mti-elf* target.
251 2012-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
253 * config/tc-arm.c: Changed ldra and strl-form mnemonics
254 to lda and stl-form for armv8.
256 2012-09-17 Yufeng Zhang <yufeng.zhang@arm.com>
258 * config/tc-aarch64.c (aarch64_archs): Rename 'armv8' to 'armv8-a'.
260 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
262 * configure: Regenerate.
264 2012-09-13 Anthony Green <green@moxielogic.com>
266 * config/tc-moxie.h (DEFAULT_TARGET_FORMAT): Define.
267 (TARGET_FORMAT): Don't hard-code endian-ness.
268 * config/tc-moxie.c (target_big_endian, moxie_target_format):
270 (md_assemble): Handle bi-endian encodings.
271 (md_shortopts, md_parse_option, md_show_usage, md_apply_fix)
272 (md_number_to_chars, md_chars_to_number): Update for bi-endian
275 2012-09-12 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
277 * config/tc-aarch64.c
278 (reloc_table): Add reloc to table entry.
279 (parse_address_main): Add support for #:<reloc_op>:<symbol>.
280 (parse_operands): Check for unused reloc.
281 (md_apply_fix): New case for reloc.
282 (aarch64_force_relocation): Likewise.
284 2012-09-11 Georg-Johann Lay <avr@gjlay.de>
287 * config/tc-avr.h (TC_VALIDATE_FIX): Skip: BFD_RELOC_AVR_8_LO,
288 BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HLO.
290 2012-09-11 Alan Modra <amodra@gmail.com>
292 * Makefile.am (bootstrap): Add $EXEEXT to dependency.
293 * Makefile.in: Regenerate.
295 2012-09-10 Matthias Klose <doko@ubuntu.com>
297 * config.in: Disable sanity check for kfreebsd.
299 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
301 * configure: Regenerated.
303 2012-09-07 Anthony Green <green@moxielogic.com>
305 * config/tc-moxie.c (md_pcrel_from): Branches are now relative
306 to the address following the branch instruction.
308 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
310 * config/tc-s390.c (set_highgprs_p): New variable.
311 (s390_machinemode): New function.
312 (md_pseudo_table): Add new pseudo command machinemode.
313 (md_parse_option): Set set_highgprs_p to TRUE if -mzarch was
314 specified on command line.
315 (s390_elf_final_processing): Set the highgprs flag in the ELF
316 header depending on set_highgprs_p.
318 * doc/c-s390.texi: Document new pseudo machinemode.
320 2012-09-05 James Lemke <jwlemke@codesourcery.com>
322 * doc/c-ppc.texi: Document -mvle.
323 * doc/as.texinfo: Likewise.
325 2012-09-04 Sergey A. Guriev <sergey.a.guriev@intel.com>
327 * config/tc-ia64.c (reg_symbol): Add a new register.
328 (indirect_reg): Ditto.
329 (pseudo_func): Add new symbolic constants.
330 (operand_match): Add new operand types recognition.
331 (operand_insn): Add new register recognition.
332 (md_begin): Add new register definition.
333 (specify_resource): Add new register recognition.
335 2012-09-01 Hans-Peter Nilsson <hp@bitrange.com>
338 * config/tc-mmix.h (tc_frob_file_before_fix): Renumber sections
339 after call to mmix_frob_file.
341 2012-08-31 Maciej W. Rozycki <macro@codesourcery.com>
343 * doc/c-mips.texi (MIPS Opts): Correct a typo in the -mips5
346 2012-08-27 Walter Lee <walt@tilera.com>
348 * tc-tilegx.c (O_hw0_plt): Define operator.
350 (O_hw1_last_plt): Ditto.
351 (O_hw2_last_plt): Ditto.
352 (md_begin): Handle new operators.
353 (emit_tilegx_instruction): Ditto.
354 (md_apply_fix): Ditto.
355 * doc/c-tilegx.texi: Document new operators.
357 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
359 * config/tc-arm.c (ARM_ENC_TAB): Add sha1h and sha2op entries.
360 (do_sha1h): New function.
361 (do_sha1su1): Likewise.
362 (do_sha256su0): Likewise.
363 (insns): Add 2 operand SHA instructions.
365 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
367 * config/tc-arm.c (NEON_ENC_TAB): Add sha3op entry.
368 (do_crypto_3op_1): New function.
369 (do_sha1c): Likewise.
370 (do_sha1p): Likewise.
371 (do_sha1m): Likewise.
372 (do_sha1su0): Likewise.
373 (do_sha256h): Likewise.
374 (do_sha256h2): Likewise.
375 (do_sha256su1): Likewise.
376 (insns): Add SHA 3 operand instructions.
378 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
380 * config/tc-arm.c (neon_type_mask): Add P64 type.
381 (type_chk_of_el_type): Handle P64 type.
382 (el_type_of_type_chk): Likewise.
383 (do_neon_vmull): Handle VMULL.P64.
385 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
387 * config/tc-arm.c (NEON_ENC_TAB): Add aes entry.
388 (neon_type_mask): Add N_UNT.
389 (neon_check_type): Don't always decay typed to untyped sizes.
390 (do_crypto_2op_1): New function.
393 (do_aesmc.8): Likewise.
394 (do_aesimc.8): Likewise.
395 (insns): Add AES instructions.
397 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
399 * config/tc-arm.c (el_type_type_check): Add handling for 16-bit
400 floating point types.
401 (do_neon_cvttb_2): New function.
402 (do_neon_cvttb_1): Likewise.
403 (do_neon_cvtb): Refactor to use do_neon_cvttb_1.
404 (do_neon_cvtt): Likewise.
406 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
408 * config/tc-arm.c (NEON_ENC_TAB): Add vrint entries.
409 (neon_cvt_mode): Add neon_cvt_mode_r.
410 (do_vrint_1): New function.
411 (do_vrint_x): Likewise.
412 (do_vrint_z): Likewise.
413 (do_vrint_r): Likewise.
414 (do_vrint_a): Likewise.
415 (do_vrint_n): Likewise.
416 (do_vrint_p): Likewise.
417 (do_vrint_m): Likewise.
418 (insns): Add VRINT instructions.
420 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
422 * config/tc-arm.c (NEON_ENC_TAB): Add vcvta entry.
423 (neon_cvt_mode): New enumeration.
424 (do_vfp_nsyn_cvt_fpv8): New function.
425 (do_neon_cvt_1): Add support for new conversions.
426 (do_neon_cvtr): Use neon_cvt_mode enumerator.
427 (do_neon_cvt): Likewise.
428 (do_neon_cvta): New function.
429 (do_neon_cvtn): Likewise.
430 (do_neon_cvtp): Likewise.
431 (do_neon_cvtm): Likewise.
432 (insns): Add new VCVT instructions.
434 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm>
436 * config/tc-arm.c (CVT_FLAVOUR_VAR): New define.
437 (CVT_VAR): New helper define.
438 (neon_cvt_flavour): New enumeration, function renamed...
439 (get_neon_cvt_flavour): ...to this.
440 (do_vfp_nsyn_cvt): Update to use new neon_cvt_flavour.
441 (do_vfp_nsyn_cvtz): Likewise.
442 (do_neon_cvt_1): Likewise.
444 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
446 * config/tc-arm.c (NEON_ENC_TAB): Add vmaxnm, vminnm entries.
447 (vfp_or_neon_is_neon_bits): Add NEON_CHECK_ARCH8 enumerator.
448 (vfp_or_neon_is_neon): Add check for SIMD for ARMv8.
449 (do_maxnm): New function.
450 (insns): Add vmaxnm, vminnm entries.
452 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
454 * config/tc-arm.c (NEON_ENC_TAB): Add entries for VSEL.
455 (NEON_ENC_FPV8_): New define.
456 (do_vfp_nsyn_fpv8): New function.
458 (insns): Add VSEL instructions.
460 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
462 * config/tc-arm.c (do_rm_rn): New function.
463 (do_strlex): Likewise.
464 (do_t_strlex): Likewise.
465 (insns): Add support for LDRA/STRL instructions.
467 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
469 * config/tc-arm.c (do_t_bkpt_hlt1): New function.
470 (do_t_hlt): New function.
471 (do_t_bkpt): Use do_t_bkpt_hlt1.
474 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
476 * config/tc-arm.c (insns): Add DCPS instruction.
478 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
480 * config/tc-arm.c (T16_32_TAB): Add _sevl.
483 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
485 * config/tc-arm.c (asm_barrier_opt): Add arch field.
486 (mark_feature_used): New function.
487 (parse_barrier): Check specified option is valid for the
488 specified architecture.
489 (UL_BARRIER): New macro.
490 (barrier_opt_names): Update for new barrier options.
492 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
494 * config/tc-arm.c (do_setend): Warn on deprecated SETEND.
495 (do_t_setend): Likewise.
497 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
499 * config/tc-arm.c (do_t_it): Fully initialise now_it.
500 (new_automatic_it_block): Likewise.
501 (handle_it_block): Record whether current instruction is
502 conditionally executed.
503 * config/tc-arm.c (depr_insn_mask): New structure.
504 (depr_it_insns): New variable.
505 (it_fsm_post_encode): Warn on deprecated uses.
506 * config/tc-arm.h (current_it): Add new fields.
508 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
510 * config/tc-arm.c (deprecated_coproc_regs_s): New structure.
511 (deprecated_coproc_regs): New variable.
512 (deprecated_coproc_reg_count): Likewise.
513 (do_co_reg): Error on obsolete & warn on deprecated registers.
515 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
517 * config/tc-arm.c (check_obsolete): New function.
518 (do_rd_rm_rn): Check swp{b} for obsoletion.
520 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
522 * config/tc-arm.h (arm_ext_v8): New variable.
523 (fpu_vfp_ext_armv8): Likewise.
524 (fpu_neon_ext_armv8): Likewise.
525 (fpu_crypto_ext_armv8): Likewise.
526 (arm_archs): Add armv8-a.
527 (arm_extensions): Add crypto, fp, and simd.
528 (arm_fpus): Add fp-armv8, neon-fp-armv8, crypto-neon-fp-armv8.
529 (cpu_arch_ver): Add support for ARMv8.
530 (aeabi_set_public_sttributes): Likewise.
531 * doc/c-arm.texi (ARM Options): Document new architecture and
532 extension options for ARMv8.
534 2012-08-20 H.J. Lu <hongjiu.lu@intel.com>
536 * doc/as.texinfo: Replace --n32 with --x32.
538 2012-08-17 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
540 * config/tc-i386.c (cpu_arch): Add CPU_BTVER1_FLAGS and
542 (i386_align_code): Add case for PROCESSOR_BT.
544 * config/tc-i386.h (enum processor_type): Add PROCESSOR_BT.
546 * doc/c-i386.texi: Add -march={btver1, btver2} options.
548 2012-08-14 H.J. Lu <hongjiu.lu@intel.com>
551 * config/tc-i386.c (i386_att_operand): Terminate register name
552 when reporting bad register.
554 2012-08-14 Hans-Peter Nilsson <hp@bitrange.com>
556 * config/tc-mmix.c (loc_asserts): New variable.
557 (mmix_greg_internal): Handle expressions not determinable at first
559 (s_loc): Ditto. Record expressions where the section isn't
560 determinable at the first pass, and assume they don't refer to
562 (mmix_md_end): Verify that recorded LOC expressions weren't
563 to other sections, else emit error messages.
565 2012-08-13 Ian Bolton <ian.bolton@arm.com>
566 Laurent Desnogues <laurent.desnogues@arm.com>
567 Jim MacArthur <jim.macarthur@arm.com>
568 Marcus Shawcroft <marcus.shawcroft@arm.com>
569 Nigel Stephens <nigel.stephens@arm.com>
570 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
571 Richard Earnshaw <rearnsha@arm.com>
572 Sofiane Naci <sofiane.naci@arm.com>
573 Tejas Belagod <tejas.belagod@arm.com>
574 Yufeng Zhang <yufeng.zhang@arm.com>
576 * Makefile.am: Add AArch64.
577 * Makefile.in: Regenerate.
578 * config/tc-aarch64.c: New file.
579 * config/tc-aarch64.h: New file.
580 * configure.tgt: Add AArch64.
581 * doc/Makefile.am: Add AArch64.
582 * doc/Makefile.in: Regenerate.
583 * doc/all.texi: Add AArch64.
584 * doc/as.texinfo: Add AArch64.
585 * doc/c-aarch64.texi: New file.
586 * po/POTFILES.in: Regenerate.
587 * NEWS: Mention the new support.
589 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
591 * config/tc-mips.c (NO_ISA_COP, COP_INSN): Remove macros.
592 (is_opcode_valid): Remove coprocessor instruction exclusions.
593 Replace OPCODE_IS_MEMBER with opcode_is_member.
594 (is_opcode_valid_16): Replace OPCODE_IS_MEMBER with
596 (macro): Remove coprocessor instruction exclusions.
598 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
600 * config/tc-mips.c (s_cpload, s_cpsetup): Fail if MIPS16 mode.
601 (s_cplocal, s_cprestore, s_cpreturn): Likewise.
603 2012-08-07 Jan Beulich <jbeulich@suse.com>
605 * config/tc-i386-intel.c (build_modrm_byte): Split determining
606 default segment from figuring out encoding. Honor RegRex for
609 2012-08-07 Jan Beulich <jbeulich@suse.com>
611 * config/tc-i386.c (set_check): Renamed from set_sse_check.
612 Generalize to also handle operand checking option.
613 (enum i386_error): New enumerator 'invalid_vector_register_set'.
614 (match_template): Handle it.
615 (enum check_kind): Give it a tag. Drop sse_ prefixes from
617 (operand_check): New.
618 (md_pseudo_table): Add "operand_check".
619 (check_VecOperands): Don't special case RIP addressing. Check
620 that vSIB operands use distinct vector registers unless no
621 checking was requested.
622 (OPTION_MOPERAND_CHECK): New.
623 (md_parse_option): Handle it.
624 (OPTION_MAVXSCALAR, OPTION_X32): Adjust.
625 (md_longopts): Add "moperand-check".
626 (md_show_usage): Add help text for it.
628 2012-08-07 Jan Beulich <jbeulich@suse.com>
630 * config/tc-i386.c (register_number): New function.
631 (build_vex_prefix, process_immext, process_operands,
632 build_modrm_byte, i386_index_check): Use it.
634 2012-08-07 Daniel Green <venix1@gmail.com>
636 * config/tc-i386.c (lex_got): Provide implementation for PE
639 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com>
641 * config/tc-mips.c (append_insn): Also handle moving delay-slot
642 instruction across frags for fixed branches.
644 2012-08-03 Maciej W. Rozycki <macro@codesourcery.com>
646 * frags.c (frag_grow): Never shrink the obstack size requested
649 2012-08-02 Sean Keys <skeys@ipdatasys.com>
651 * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
652 New function to parse pseudo ops that are unreleated to
655 2012-08-01 Catherine Moore <clm@codesourcery.com>
656 Sandra Loosemore <sandra@codesourcery.com>
658 * config/mips/tc-mips.c (mips_cpu_info): Add the 34kn.
659 * doc/c-mips.texi (MIPS Opts): Document it.
661 2012-08-01 James Lemke <jwlemke@codesourcery.com>
663 * dwarf2dbg.c (out_set_addr): Allow for non-constant value of
664 DWARF2_LINE_MIN_INSN_LENGTH
665 * config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare
667 (md_apply_fix): Branch addr can be a multiple of 2 or 4.
668 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a
671 2012-07-31 Maciej W. Rozycki <macro@codesourcery.com>
672 Chao-Ying Fu <fu@mips.com>
673 Catherine Moore <clm@codesourcery.com>
675 * config/tc-mips.c (ISA_SUPPORTS_DSP_ASE): Also set if microMIPS
677 (ISA_SUPPORTS_DSPR2_ASE): Likewise.
678 (macro_build) <'2'>: Handle microMIPS.
679 (macro) <M_BALIGN>: Update error handling.
680 (validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
681 <'7', '8', '0', '@', '^'>: Likewise.
682 (mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
683 <'9'>: Fix formatting.
684 <'0', '@'>: Handle microMIPS.
687 2012-07-31 Jan Beulich <jbeulich@suse.com>
689 * config/tc-i386.c (match_template): Adjust error message
692 2012-07-31 Jan Beulich <jbeulich@suse.com>
694 * config/tc-i386.c (check_byte_reg): Check for I/O port
695 register earlier, and just once. Drop diagnostic that got
696 issued only for some registers.
698 2012-07-31 Jan Beulich <jbeulich@suse.com>
700 * config/tc-i386.c (match_template): New local variable
701 'specific_error'. Set it from i.error after failed
702 check_VecOperands or VEX_check_operands. Use it if set in
703 preference to i.error when actually issuing disagnostic.
705 2012-07-30 Nick Clifton <nickc@redhat.com>
707 * po/gas.pot: Updated template.
708 * po/es.po: Updated Spanish translation.
709 * po/fi.po: Updated Finnish translation.
710 * po/fr.po: Updated French translation.
712 2012-07-27 Mike Frysinger <vapier@gentoo.org>
714 * configure.in (BFD_VERSION): Run bfd/configure --version and
715 parse the output of that.
716 * configure: Regenerate.
718 2012-07-27 Tristan Gingold <gingold@adacore.com>
720 * NEWS: Add marker for 2.23.
722 2012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
724 * config/tc-m68hc11.c: Replace binary with hex for cygwin.
726 2012-07-26 Segher Boessenkool <segher@kernel.crashing.org>
728 * listing.c (struct list_message): New.
729 (struct list_info_struct): Delete "message". Add "messages"
731 (listing_message): Adjust.
732 (listing_newline): Adjust.
733 (print_lines): Adjust.
735 2012-07-24 Jan Beulich <jbeulich@suse.com>
737 * config/tc-i386-intel.c (i386_intel_simplify_register): Handle
738 xmm/ymm index register being specified first as well as esp/rsp
739 base register being specified last in a memory operand.
741 2012-07-24 Jan Beulich <jbeulich@suse.com>
743 * config/tc-i386-intel.c (i386_intel_simplify_register):
744 Replace literal 4 by corresponding ESP_REG_NUM.
746 2012-07-24 Sandra Loosemore <sandra@codesourcery.com>
747 Jie Zhang <jzhang918@gmail.com>
749 * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR
750 if offset is negative.
752 2012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
754 * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives.
755 * doc/c-i386.texi: Document the new directives.
757 2012-07-05 Sean Keys <skeys@ipdatasys.com>
759 * config/tc-xgate.c: Revised assembler so that operands
760 are collected before the addressing mode is determined.
762 2012-07-02 Nick Clifton <nickc@redhat.com>
764 * write.c (fixup_segment): Only perform the subtraction of an
765 fx_subsy symbol if MD_APPLY_SYM_VALUE allows it and the symbol is
767 * config/tc-msp430.h (MD_APPLY_SYM_VALUE): Define.
769 2012-06-30 Alan Modra <amodra@gmail.com>
772 * config/obj-elf.c (obj_elf_weak): Don't set local.
774 2012-06-30 Johan Olmutz Nielsen <jnielsen@ddci.com>
776 * frags.h (frag_offset_fixed_p): Update prototype.
777 * frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT.
778 * expr.c (expr, resolve_expression): Likewise for frag_off var.
780 2012-06-29 Nick Clifton <nickc@redhat.com>
783 * config/tc-arm.c (parse_operands): Initialise val.
785 2012-06-28 Nick Clifton <nickc@redhat.com>
788 * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error
789 message if literal pool addressing is used.
791 2012-06-28 Nick Clifton <nickc@redhat.com>
793 * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
795 (dwarf2_gen_line_info): Generate real, local, labels for line
797 (dwarf2dbg_convert_frag): Do not finalize the computation of the
798 frag's symbol value when linker relaxation is enabled.
799 (ADDR_DELTA_LIMIT): Define.
800 (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT.
801 (emit_fixed_inc_line_addr): Likewise.
802 * write.c (fixup_segment): If the subtraction of two symbols
803 cannot be resolved but is valid, then prevent bogus range warnings
804 by pre-biasing add_number.
805 * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0.
807 2012-06-28 Sean Keys <skeys@ipdatasys.com>
809 * config/tc-xgate.h: Defined tc_frob_symbol.
810 * config/tc-xgate.c (xgate_frob_symbol): Wrote new function to mark
811 symbols as being XGATE by setting st_target_internal value.
813 2012-06-22 Roland McGrath <mcgrathr@google.com>
815 * NEWS: Mention 'rep ret' too.
817 * config/tc-i386.c (parse_insn): Don't complain about REP prefix
818 when the template has opcode_modifier.repprefixok set.
819 * NEWS: Mention the change.
821 2012-06-18 Iain Sandoe <iain@codesourcery.com>
823 * configure.in: Check DECLS for free, getenv, malloc, realloc,
824 * configure: Regenerate.
825 * config.in: Likewise.
827 2012-06-13 H.J. Lu <hongjiu.lu@intel.com>
829 * config/tc-i386.c (x86_address_bytes): New.
830 * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
831 (x86_address_bytes): Likewise.
833 2012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
836 * config/tc-arm.c (do_t_mrs): Do not require an m-profile
837 architecure when assembling for all archiectures.
838 (do_t_msr): Likewise.
840 2012-06-11 Georg-Johann Lay <avr@gjlay.de>
843 * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
846 2012-06-09 H.J. Lu <hongjiu.lu@intel.com>
848 * input-scrub.c (input_scrub_include_sb): Use sb_build to
849 allocate sufficient space for from_sb. Use sb_terminate to
851 * read.c (read_a_source_file): Use sb_build to allocate
852 sufficient space and replace sb_add_string with sb_add_buffer.
854 (input_scrub_insert_line): Likewise.
855 (s_irp): Use sb_build to allocate sufficient space.
856 (do_repeat): Use sb_build to allocate sufficient space
858 * sb.c (sb_build): Remove static.
859 * sb.h (sb_build): New prototype.
861 2012-06-09 Alan Modra <amodra@gmail.com>
863 * sb.c: Include limits.h.
865 (MALLOC_OVERHEAD, INIT_ALLOC): Define.
866 (sb_new): Use INIT_ALLOC.
867 (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
868 (sb_terminate): Don't use sb_add_char.
870 2012-06-07 Alan Modra <amodra@gmail.com>
873 * sb.h (sb_max_power_two): Delete.
874 (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max".
875 (sb_element): Delete.
876 (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
878 * sb.c (string_count, free_list): Delete.
879 (sb_build, sb_kill, sb_check): Rewrite.
880 (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
881 sb_skip_white, sb_skip_comma): Replace assorted int params,
882 vars and return types with size_t.
883 * input-scrub.c: Likewise.
888 * input-file.h: Likewise.
889 * input-file.c: Likewise.
891 * app.c: ..or ptrdiff_t.
892 * input-file.c (input_file_get): Use ferror.
893 (input_file_give_next_buffer): Use input_file_get.
895 2012-05-31 Sean Keys <skeys@ipdatasys.com>
897 * config/tc-xgate.c (md_begin): Refactored code.
899 2012-05-29 Roland McGrath <mcgrathr@google.com>
901 * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
902 (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
903 [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
906 2012-05-28 Nick Clifton <nickc@redhat.com>
908 * read.c (read_symbol_name): New function. Reads a symbol names.
909 Allows escape codes in names.
910 (s_comm_internal): Use read_symbol_name.
911 (s_globl, s_lsym, s_set, s_weakref): Likewise.
912 * doc/as.texinfo: Document support for multibyte characters in
915 2012-05-21 Mike Frysinger <vapier@gentoo.org>
917 * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
920 2012-05-19 Alan Modra <amodra@gmail.com>
922 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
923 targets when checking for "comdat".
925 2012-05-19 Alan Modra <amodra@gmail.com>
927 * config/tc-dlx.c (s_proc): Don't use asprintf.
929 2012-05-18 Alan Modra <amodra@gmail.com>
931 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
934 2012-05-18 James Lemke <jwlemke@codesourcery.com>
935 Alan Modra <amodra@gmail.com>
937 * config/tc-ppc.c: Don't capitalise error and warning messages.
938 (md_parse_option): Add checks for -a32 -mvle.
940 2012-05-18 Alan Modra <amodra@gmail.com>
942 * config/obj-evax.c: Include as.h first.
944 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
946 * aclocal.m4: Regenerate.
947 * configure: Regenerate.
948 * Makefile.in: Regenerate.
950 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
951 Nick Clifton <nickc@redhat.com>
954 * configure.in: Add check that sysdep.h has been included before
955 any system header files.
956 * configure: Regenerate.
957 * config.in: Regenerate.
958 * aclocal.m4: Regenerate.
959 * Makefile.am: Use wrappers around C files generated by flex.
960 * Makefile.in: Regenerate.
961 * doc/Makefile.in: Regenerate.
962 * itbl-lex-wrapper.c: New file.
963 * config/bfin-lex-wrapper.c: New file.
964 * cgen.c: Include as.h before setjmp.h.
965 * config/tc-dlx.c: Include as.h before any other header.
966 * config/tc-h8300.c: Likewise.
967 * config/tc-lm32.c: Likewise.
968 * config/tc-mep.c: Likewise.
969 * config/tc-microblaze.c: Likewise.
970 * config/tc-mmix.c: Likewise.
971 * config/tc-msp430.c: Likewise.
972 * config/tc-or32.c: Likewise.
973 * config/tc-tic4x.c: Likewise.
974 * config/tc-tic54x.c: Likewise.
975 * config/tc-xtensa.c: Likewise.
977 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
979 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
980 as the first argument for `bfd_get_section_vma'.
982 2012-05-16 Alberto Garcia <agarcia@igalia.com>
985 * app.c (do_scrub_chars): Prevent possible out of bounds access to
988 2012-05-16 Georg-Johann Lay <avr@gjlay.de>
991 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
993 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
994 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
996 2012-05-16 Nathan Sidwell <nathan@codesourcery.com>
997 Kwok Cheung Yeung <kcy@codesourcery.com>
999 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
1002 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
1004 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
1005 Add option to offset S12 addresses into XGATE memory space.
1006 Tweak target flags to match other tools. (i.e. -m m68hc11).
1007 * doc/as.texinfo: Mention new options.
1008 * doc/c-m68hc11.texi: Document new options.
1009 * NEWS: Mention new support.
1011 2012-05-14 DJ Delorie <dj@redhat.com>
1013 * config/rx-parse.y (rx_range): declare.
1014 (O1,O2,O3,O4): Add calls to rx_range.
1015 (UO1,UO2,UO3): Likewise.
1016 (IMM2,IMMB): Likewise.
1019 * config/tc-rx.c (rx_fetchalign): Declare.
1020 (md_pseudo_table): Add .fetchalign.
1021 (RX_NBASE_FETCHALIGN): New.
1022 (fetchalign_bytes): New.
1023 (rx_fetchalign): New.
1024 (rx_frag_init): If a "magic" value is found, also init the
1025 machine-specific data.
1026 (md_assemble): Note following opcode size if called for.
1027 (rx_next_opcode): New.
1028 (rx_relax_frag): Support .fetchalign.
1029 (md_convert_frag): Likewise.
1030 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
1032 2012-05-14 James Lemke <jwlemke@codesourcery.com>
1034 * config/tc-ppc.c (insn_validate): New func of existing code to call..
1035 (ppc_setup_opcodes): ..from 2 places here.
1036 Revise for second (VLE) opcode table.
1037 Add #ifdef'd code to print opcode tables.
1039 2012-05-14 James Lemke <jwlemke@codesourcery.com>
1041 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
1042 for the VLE conditional branches.
1044 2012-05-14 Catherine Moore <clm@codesourcery.com>
1045 Maciej W. Rozycki <macro@codesourcery.com>
1046 Rhonda Wittels <rhonda@codesourcery.com>
1048 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
1049 (PPC_VLE_SPLIT16D): New macro.
1050 (PPC_VLE_LO16A): New macro.
1051 (PPC_VLE_LO16D): New macro.
1052 (PPC_VLE_HI16A): New macro.
1053 (PPC_VLE_HI16D): New macro.
1054 (PPC_VLE_HA16A): New macro.
1055 (PPC_VLE_HA16D): New macro.
1056 (PPC_APUINFO_VLE): New definition.
1057 (md_chars_to_number): New function.
1058 (md_parse_option): Check for combinations of little
1060 (md_show_usage): Document -mvle.
1061 (ppc_arch): Recognize VLE.
1062 (ppc_mach): Recognize bfd_mach_ppc_vle.
1063 (ppc_setup_opcodes): Print the opcode table if
1064 * config/tc-ppc.h (ppc_frag_check): Declare.
1065 * doc/c-ppc.texi: Document -mvle.
1066 * NEWS: Mention PowerPC VLE port.
1068 2012-05-14 Catherine Moore <clm@codesourcery.com>
1070 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
1071 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
1072 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
1073 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
1074 for DWARF2_LINE_MIN_INSN_LENGTH.
1076 2012-05-12 H.J. Lu <hongjiu.lu@intel.com>
1078 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
1081 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
1084 * configure.in: Invoke ACX_HEADER_STRING.
1085 * configure: Regenerate.
1086 * config.in: Regenerate.
1087 * as.h: If STRINGS_WITH_STRING is defined then include both
1088 string.h and strings.h.
1090 2012-05-11 Georg-Johann Lay <avr@gjlay.de
1093 * config/tc-avr.c (exp_mod_pm): Remove variable.
1094 (exp_mod_data_t): New typedef.
1095 (pexp_mod_data, exp_mod_data): New variables.
1096 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
1097 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
1098 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
1099 (avr_cons_fix_new): Handle new data expression modifiers shipped
1101 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
1102 BFD_RELOC_AVR_8_HHI.
1104 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1106 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
1107 addend overflow check.
1109 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1111 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
1112 x32 addend overflow check.
1114 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1116 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
1118 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1120 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
1123 2012-05-08 Alan Modra <amodra@gmail.com>
1125 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
1126 LC and LANG environment vars.
1127 * Makefile.in: Regenerate.
1129 2012-05-07 Alan Modra <amodra@gmail.com>
1131 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
1132 * Makefile.in: Regenerate.
1134 2012-05-06 Arnold Metselaar <arnold_m@operamail.com>
1136 * config/tc-z80.h(md_register_arithmetic): Define as 0.
1137 * config/tc-z80.c(md_begin): Store register names in symbol table,
1138 preventing usage as ordinary symbol.
1139 * config/tc-z80.c(contains_register): New function.
1140 * config/tc-z80.c(parse_exp2): Removed.
1141 * config/tc-z80.c(parse_exp_not_indexed): New function.
1142 * config/tc-z80.c(parse_exp): Add code to recogize indexed
1143 addressing after parsing.
1144 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
1145 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
1146 condition for jump to register.
1147 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
1148 parse_exp_not_indexed.
1150 2012-05-05 Alan Modra <amodra@gmail.com>
1152 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
1153 bfd_und_section and bfd_ind_section with their _ptr variants, or
1154 use corresponding bfd_is_* macros.
1155 * symbols.c: Likewise.
1156 * config/obj-aout.c: Likewise.
1157 * config/obj-coff-seh.h: Likewise.
1158 * config/tc-hppa.c: Likewise.
1159 * config/tc-hppa.h: Likewise.
1160 * config/tc-ia64.c: Likewise.
1161 * config/tc-m32r.c: Likewise.
1162 * config/tc-microblaze.c: Likewise.
1163 * config/tc-mips.c: Likewise.
1164 * config/tc-score.c: Likewise.
1165 * config/tc-score7.c: Likewise.
1166 * config/tc-tic6x.c: Likewise.
1168 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1170 * configure.tgt: Support x86_64-*-linux-gnux32.
1172 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1174 * config/tc-i386.c (match_template): Add `instruction' to
1175 unsupported error message.
1177 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1179 * config/tc-i386.c (output_insn): Reformat.
1181 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1183 * config/tc-i386.c (output_insn): Remove the extra VEX check.
1185 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1187 * config/tc-i386.c (match_template): Improve unsupported error
1190 2012-05-03 Sean Keys <skeys@ipdatasys.com>
1192 * configure, Makefile.in: Regenerate.
1193 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
1194 * configure.tgt: Added cpu type.
1195 Added files for XGATE assembler.
1196 * config/tc-xgate.c: Assembler for XGATE.
1197 * config/tc-xgate.h: Header definition for assembler
1198 Added files for XGATE testsuite.
1199 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
1200 * doc/c-xgate.texi: Document XGATE and XGATE port.
1201 * doc/as.texinfo: Ditto.
1202 * doc/all.texi: Ditto
1203 * NEWS: Mention the new support.
1205 2012-04-30 DJ Delorie <dj@redhat.com>
1207 * config/rx-parse.y (rx_intop): Add parameter for operation size.
1208 Check for large positive constants really being small negative
1210 (BRA, BSR): Update calls to rx_intop.
1211 (immediate): Likewise.
1213 2012-04-26 Mark Wielaard <mjw@redhat.com>
1215 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
1216 (DWARF2_LINE_VERSION): Likewise.
1217 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
1218 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
1219 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
1220 DWARF2_VERSION >= 4.
1221 (out_debug_info): Use difference between start and end as data
1222 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
1223 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
1225 2012-04-27 David S. Miller <davem@davemloft.net>
1227 * doc/c-sparc.text: Document %l34 and %h34.
1229 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
1231 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
1232 v8pluse, v8plusv, v9e, and v9v.
1233 (v9a_asr_table): Add 'pause'.
1235 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
1236 sparc4, v8pluse, v8plusv, v9e, and v9v.
1237 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
1238 order to accomodate cbcond which otherwise would require two
1239 relocations to be handled in a single instruction..
1241 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
1242 names containing "_".
1243 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
1244 hwcap masks to v8plusv and v9v.
1246 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
1248 (sparc_md_end): No longer need to translate hwcap_seen values into
1249 ELF hwcap bits, they now match exactly.
1250 (get_hwcap_name): Use HWCAP_* and handle new values.
1251 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
1253 2012-04-20 Tristan Gingold <gingold@adacore.com>
1255 * config/tc-ia64.c (obj_elf_vms_common): New function.
1256 (md_pseudo_table): Add .vms_common pseudo.
1257 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
1258 * config/obj-elf.c (obj_elf_section_name): Make it public.
1260 2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
1262 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
1264 2012-04-12 David S. Miller <davem@davemloft.net>
1266 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
1267 BFD_RELOC_SPARC_H34.
1268 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
1269 (tc_gen_reloc): Likewise.
1271 2012-04-12 Roland McGrath <mcgrathr@google.com>
1273 * configure.tgt (arm-*-nacl*): Match it.
1274 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
1275 (LOCAL_LABELS_DOLLAR): Define.
1276 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
1277 Use nacl format variants.
1279 2012-04-12 Jie Zhang <jie@codesourcery.com>
1280 Meador Inge <meadori@codesourcery.com>
1282 * config/tc-arm.c (only_one_reg_in_list): New function.
1283 (encode_ldmstm): Ditto.
1284 (do_ldmstm): Use a different encoding when pushing or poping
1286 (A_COND_MASK): New macro.
1287 (A_PUSH_POP_OP_MASK): Ditto.
1288 (A1_OPCODE_PUSH): Ditto.
1289 (A2_OPCODE_PUSH): Ditto.
1290 (A2_OPCODE_POP): Ditto.
1292 2012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
1294 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
1297 2012-04-06 Roland McGrath <mcgrathr@google.com>
1299 * configure.in (AC_CHECK_HEADERS): Add locale.h.
1300 * config.in: Regenerate.
1301 * configure: Regenerate.
1303 2012-04-05 Nick Clifton <nickc@redhat.com>
1305 * configure.in (AC_CHECK_FUNCS): Add setlocale.
1306 (AM_LC_MESSAGES): Add.
1307 * aclocal.m4: Regenerate.
1308 * config.in: Regenerate.
1309 * configure: Regenerate.
1311 2012-04-03 DJ Delorie <dj@redhat.com>
1313 * config/rx-parse.y: Make the .L optional for ADC and SBB.
1315 2012-04-02 DJ Delorie <dj@redhat.com>
1317 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
1319 (IMM): New, call IMM_ with the default 32.
1320 (IMMW,IMMB): Likewise, for 16 and 8.
1321 (NIMM, MBIMM): Add size parameter.
1322 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
1323 (MOV.W): Use IMMW instead of IMM.
1325 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
1326 (op_dp20_rm_l): New.
1327 (op_dp20_rim_l): New.
1329 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
1330 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
1332 2012-03-29 Terry Guo <terry.guo@arm.com>
1334 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
1335 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
1337 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
1339 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
1340 * doc/c-mips.texi: Mention XLP.
1342 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1344 [SH] Support the .uaquad and .8byte directives also for non-sh64
1347 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
1349 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
1351 * doc/c-sh.texi (SH Machine Directives): ... here.
1353 2012-03-20 Nick Clifton <nickc@redhat.com>
1355 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
1357 (do_vmsr): Likewise.
1358 (arm_opcode_insns): Do not default to using the FPSCR register in
1359 the VMRS and VMSR registers.
1361 2012-03-16 Roland McGrath <mcgrathr@google.com>
1363 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
1364 Define for this case.
1365 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
1367 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1369 * config/tc-arm.c (aeabi_set_public_attributes): Correct
1370 handling of Tag_DIV_use.
1372 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
1374 * doc/as.texinfo (Bundle directives): Fix typo.
1376 2012-03-14 Ryan Mansfield <rmansfield@qnx.com>
1378 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
1380 2012-03-13 Roland McGrath <mcgrathr@google.com>
1382 * config/tc-arm.c (arm_frag_max_var): New function.
1383 * config/tc-arm.h: Declare it.
1384 (md_frag_max_var): New macro.
1386 * config/tc-i386.c (i386_frag_max_var): New function.
1387 * config/tc-i386.h: Declare it.
1388 (md_frag_max_var): New macro.
1390 * doc/as.texinfo (Bundle directives): New node.
1391 (Pseudo Ops): Add it to the menu.
1392 * NEWS: Mention new feature.
1393 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
1394 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
1395 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
1396 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
1398 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
1399 to md_assembly if not.
1400 (read_a_source_file): Call assemble_one in place of md_assemble.
1401 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
1402 .bundle_lock at end of processing.
1403 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
1405 [HANDLE_BUNDLE] (potable): Add their entries.
1406 * read.h: Declare new functions.
1408 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
1410 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
1411 (ppc_handle_align): Add termination nop opcode for e500mc family.
1412 * doc/as.texinfo: Document options -me5500 and -me6500.
1413 * doc/c-ppc.texi: Likewise.
1415 2012-03-07 Nick Clifton <nickc@redhat.com>
1417 * config/tc-mn10300.c (other_registers): Add SSP and USP.
1418 (md_assemble): Add support for TLS relocs.
1419 (mn10300_parse_name): Likewise.
1421 2012-02-27 Alan Modra <amodra@gmail.com>
1423 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
1425 2012-02-27 Alan Modra <amodra@gmail.com>
1427 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
1428 params. Properly generate NOP pattern. Comment reason for
1429 subseg_text_p failure.
1431 2012-02-27 Alan Modra <amodra@gmail.com>
1433 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
1434 and sign extend before range tests.
1435 (constant_fits_size_p): Similarly.
1436 (get_specific): Trim X_add_number to 32 bits.
1437 (fix_operand_size): Likewise, and use unsigned test for signed
1440 2012-02-27 Alan Modra <amodra@gmail.com>
1442 * config/tc-crx.c: Include bfd_stdint.h.
1443 (getconstant): Remove irrelevant comment. Don't fail due to
1444 sign-extension of int mask.
1445 (check_range): Rewrite using unsigned arithmetic throughout.
1447 2012-02-25 Walter Lee <walt@tilera.com>
1449 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
1450 non-local before checking sy_value.
1451 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
1453 2012-02-25 Walter Lee <walt@tilera.com>
1455 * tc-tilepro.c (O_tls_le): Define operator.
1456 (O_tls_le_lo16): Ditto.
1457 (O_tls_le_hi16): Ditto.
1458 (O_tls_le_ha16): Ditto.
1459 (O_tls_gd_call): Ditto.
1460 (O_tls_gd_add): Ditto.
1461 (O_tls_ie_load): Ditto.
1462 (md_begin): Delete old operators; handle new operators.
1463 (emit_tilepro_instruction): Ditto.
1464 (md_apply_fix): Ditto.
1465 * tc-tilegx.c (O_hw1_got): Delete operator.
1468 (O_hw2_last_got): Ditto.
1469 (O_hw1_tls_gd): Ditto.
1470 (O_hw2_tls_gd): Ditto.
1471 (O_hw3_tls_gd): Ditto.
1472 (O_hw2_last_tls_gd): Ditto.
1473 (O_hw1_tls_ie): Ditto.
1474 (O_hw2_tls_ie): Ditto.
1475 (O_hw3_tls_ie): Ditto.
1476 (O_hw2_last_tls_ie): Ditto.
1477 (O_hw0_tls_le): Define operator.
1478 (O_hw0_last_tls_le): Ditto.
1479 (O_hw1_last_tls_le): Ditto.
1480 (O_tls_gd_call): Ditto.
1481 (O_tls_gd_add): Ditto.
1482 (O_tls_ie_load): Ditto.
1484 (md_begin): Delete old operators; handle new operators.
1485 (emit_tilegx_instruction): Ditto.
1486 (md_apply_fix): Ditto.
1487 * doc/c-tilegx.texi: Delete old operators; document new operators.
1488 * doc/c-tilepro.texi: Ditto.
1490 2012-02-25 Walter Lee <walt@tilera.com>
1492 * tc-tilepro.c (apply_special_operator): delete cases for
1493 got and tls operators.
1494 (md_apply_fix): Ditto.
1495 * tc-tilegx.c (md_begin): Set architecture and machine.
1496 (tilegx_target_format): Handle big endian.
1497 (OPTION_EB): Define.
1498 (OPTION_EL): Define.
1499 (md_longopts): Add entries for "EB" and "EL".
1500 (md_parse_option): Handle OPTION_EB and OPTION_EL.
1501 (md_show_usage): Add -EB and -EL.
1502 (md_number_to_chars): New.
1503 (apply_special_operator): delete cases for got and tls
1505 (md_apply_fix): Ditto.
1506 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
1508 (md_number_to_chars): Delete.
1509 * configure.tgt (tilegx*be): Handle.
1510 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
1511 * doc/c-tilegx.texi: Ditto.
1513 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
1515 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
1516 HLEPrefixAny and HLEPrefixRelease.
1518 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1520 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
1522 2012-02-21 Iain Sandoe <idsandoe@googlemail.com>
1524 * write.c (write_object_file): Add md_pre_output_hook.
1525 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
1526 (obj_mach_o_pre_output_hook): New.
1527 * config/obj-macho.h (md_pre_output_hook): Define.
1528 (obj_mach_o_pre_output_hook): Declare.
1530 2012-02-21 Tristan Gingold <gingold@adacore.com>
1532 * config/tc-i386.h (OBJ_MACH_O): New section.
1533 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
1534 (TC_FORCE_RELOCATION_SUB_SAME): New
1535 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
1536 (TC_VALIDATE_FIX_SUB): New.
1537 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
1538 * symbols.c (colon): obj_frob_colon: New hook.
1539 * write.c (write_object_file): md_pre_relax_hook, new
1541 * config/obj-macho.c (obj_mach_o_frob_colon): New.
1542 (obj_mach_o_frob_label): Record sub-section labels.
1543 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
1544 (obj_mach_o_set_subsections): New.
1545 (obj_mach_o_pre_relax_hook): New.
1546 (obj_mach_o_in_different_subsection): New.
1547 (obj_mach_o_force_reloc_sub_same): New.
1548 (obj_mach_o_force_reloc_sub_local): New.
1549 (obj_mach_o_force_reloc): New.
1550 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
1551 (obj_frob_colon): New Define.
1552 (obj_mach_o_frob_label): Renamed.
1553 (obj_mach_o_frob_symbol): Renamed.
1554 (OBJ_FRAG_TYPE): New.
1555 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
1556 obj_mach_o_force_reloc_sub_same,
1557 obj_mach_o_force_reloc_sub_local): New declarations.
1559 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1561 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
1562 (obj_mach_o_allow_local_subtract): New.
1563 * config/obj-macho.h (md_allow_local_subtract): Define.
1564 (obj_mach_o_allow_local_subtract): Declare.
1566 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1568 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
1569 canonical information, try to determine CODE and DEBUG section flags
1570 from the mach-o section data.
1572 2012-02-20 Nick Clifton <nickc@redhat.com>
1574 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
1577 2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
1579 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
1580 any local symbol used as an indirect.
1582 2012-02-10 Iain Sandoe <idsandoe@googlemail.com>
1584 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
1585 stub size when provided. (obj_mach_o_section): Flag that stub-size
1588 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
1590 * config/tc-i386.c (HLE_PREFIX): New.
1591 (check_hle): Likewise.
1592 (_i386_insn): Add have_hle.
1593 (cpu_arch): Add .hle and .rtm.
1594 (md_assemble): Call check_hle if i.have_hle isn't zero.
1595 (parse_insn): Set i.have_hle to 1 for HLE prefix.
1596 (output_jump): Support up to 2 byte opcode.
1598 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
1600 2012-02-02 Tristan Gingold <gingold@adacore.com>
1602 * config/obj-macho.c (obj_mach_o_zerofill): Silent
1603 uninitialized variable warning.
1605 2012-02-02 Nick Clifton <nickc@redhat.com>
1608 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
1609 to 'is_clone' to avoid shadowing a gloabl.
1610 (obj_elf_section): Likewise.
1612 2012-01-31 Paul Brook <paul@codesourcery.com>
1614 * doc/c-tic6x.c: Fix typo.
1616 2012-01-26 Alexey Makhalov <makhaloff@gmail.com>
1619 * app.c (app_push): Set 'add_newlines' to zero after saving.
1621 2012-01-24 DJ Delorie <dj@redhat.com>
1623 * config/rl78-parse.y (NOT1): Add.
1625 2012-01-23 Roland McGrath <mcgrathr@google.com>
1627 * configure.tgt (i386-*-nacl*): Match it.
1628 * config/te-nacl.h: New file.
1629 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
1630 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
1631 Use TE_GNU et al case for TE_NACL too.
1633 2012-01-20 H.J. Lu <hongjiu.lu@intel.com>
1635 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
1637 (md_assemble): Updated.
1638 (output_branch): Likewise.
1639 (parse_insn): Support .d8 suffix.
1640 (build_modrm_byte): Fake zero displacement for .d8 and .d32
1643 * doc/c-i386.texi: Document .d8 suffix.
1645 2012-01-17 Andrew Burgess <aburgess@broadcom.com>
1647 * write.c (fix_new_internal): Don't mark used parameter as unused.
1649 2012-01-17 Alan Modra <amodra@gmail.com>
1651 * as.c (parse_args): Update copyright message year.
1653 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
1655 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
1657 * doc/c-i386.texi: Document vmfunc.
1659 2012-01-13 Tristan Gingold <gingold@adacore.com>
1661 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
1662 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
1663 (obj_mach_o_reorder_section_relocs): Declare.
1665 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1667 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
1668 absolute indirect symbols.
1670 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1672 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
1673 (obj_mach_o_set_section_vma): New.
1674 (obj_mach_o_post_relax_hook): New.
1675 * config/obj-macho.h (md_post_relax_hook): Define.
1676 (obj_mach_o_post_relax_hook): Declare.
1678 2012-01-12 Iain Sandoe <idsandoe@googlemail.com>
1680 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
1681 lazy when the symbol is private_extern.
1682 (obj_mach_o_indirect_sym): New type.
1683 (obj_mach_o_indirect_symbol): New.
1684 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
1685 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
1686 (obj_macho_frob_label): Likewise. Adjust external and comm
1688 (obj_mach_o_set_indirect_symbols): New.
1689 (obj_mach_o_frob_file_after_relocs): New.
1690 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
1691 (obj_mach_o_frob_file_after_relocs): Declare.
1693 2012-01-12 Tristan Gingold <gingold@adacore.com>
1696 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
1698 2012-01-10 Tristan Gingold <gingold@adacore.com>
1700 * struc-symbol.h (struct symbol_flags): New struct, created from...
1701 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
1702 (struct local_symbol): Replace lsy_marker field by lsy_flags.
1704 (local_symbol_resolved_p): Adjust.
1705 (local_symbol_mark_resolved): Likewise.
1706 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
1707 (local_symbol_make, local_symbol_convert, colon)
1708 (symbol_clone_if_forward_ref, verify_symbol_chain)
1709 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
1710 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
1711 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
1712 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
1713 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
1714 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
1715 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
1716 (symbol_mark_mri_common, symbol_clear_mri_common)
1717 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
1718 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
1719 (symbol_equated_reloc_p, dot_symbol_init)
1720 (print_symbol_value_1): Adjust.
1722 2012-01-09 Iain Sandoe <idsandoe@googlemail.com>
1724 * config/obj-macho.c (obj_mach_o_weak): Remove.
1725 (obj_mach_o_common_parse): Set symbol qualifiers.
1726 (LAZY, REFE): New macros.
1727 (obj_mach_o_symbol_type): New enum.
1728 (obj_mach_o_set_symbol_qualifier): New.
1729 (obj_mach_o_sym_qual): New.
1730 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
1732 (obj_mach_o_type_for_symbol): New.
1733 (obj_macho_frob_label): New.
1734 (obj_macho_frob_symbol): New.
1735 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
1736 (obj_frob_label, obj_macho_frob_label): Declare.
1737 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
1739 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
1741 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
1743 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1744 Richard Sandiford <rdsandiford@googlemail.com>
1746 * config/tc-mips.c (mips_move_labels): Take the list of labels and
1747 textness as parameters.
1748 (mips_move_text_labels): New function.
1749 (append_insn): Use it instead of mips_move_labels.
1750 (mips_emit_delays, start_noreorder): Likewise.
1751 (mips_align): Take the labels rather than just one label.
1752 Move all labels to after the .align.
1753 (s_align): Change the last argument to mips_align.
1755 (s_float_cons): Likewise.
1756 (s_gpword): Likewise.
1757 (s_gpdword): Likewise.
1759 2012-01-06 Tristan Gingold <gingold@adacore.com>
1761 * config/tc-i386.c: Update copyright year.
1762 (lex_got): Also defined for Mach-O.
1763 Add a guard for non-ELF configuration.
1764 (md_longopts): Also handle -64 for Mach-O.
1765 (md_parse_option): Likewise.
1766 (i386_target_format): Adjust for x86_64-darwin.
1768 2012-01-04 Iain Sandoe <idsandoe@googlemail.com>
1770 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
1771 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
1772 (obj_mach_o_make_or_get_sect): Likewise.
1773 (obj_mach_o_section): Split out the functionality shared with zerofill.
1774 (obj_mach_o_zerofill): New.
1775 (obj_mach_o_common_parse): Ensure whitespace is skipped.
1776 (mach_o_pseudo_table): Add .zerofill.
1778 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
1780 * config/obj-macho.c (obj_macho_process_stab): New.
1781 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
1782 (obj_macho_process_stab): Declare.
1784 For older changes see ChangeLog-2011
1790 version-control: never