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