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