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