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