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