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