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