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