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