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