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