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