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