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