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