Reformat output_insn
[platform/upstream/binutils.git] / gas / ChangeLog
1 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * config/tc-i386.c (output_insn): Reformat.
4
5 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
6
7         * config/tc-i386.c (output_insn): Remove the extra VEX check.
8
9 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
10
11         * config/tc-i386.c (match_template): Improve unsupported error
12         message.
13
14 2012-05-03  Sean Keys  <skeys@ipdatasys.com>
15
16         * configure, Makefile.in: Regenerate.
17         * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
18         * configure.tgt: Added cpu type.
19         Added files for XGATE assembler.
20         * config/tc-xgate.c: Assembler for XGATE.
21         * config/tc-xgate.h: Header definition for assembler
22         Added files for XGATE testsuite.
23         * doc/Makefile.am (CPU_DOCS): Added XGATE file.
24         * doc/c-xgate.texi: Document XGATE and XGATE port.
25         * doc/as.texinfo: Ditto.
26         * doc/all.texi: Ditto
27         * NEWS: Mention the new support.
28
29 2012-04-30  DJ Delorie  <dj@redhat.com>
30
31         * config/rx-parse.y (rx_intop): Add parameter for operation size.
32         Check for large positive constants really being small negative
33         ones.
34         (BRA, BSR): Update calls to rx_intop.
35         (immediate): Likewise.
36
37 2012-04-26  Mark Wielaard  <mjw@redhat.com>
38
39         * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
40         (DWARF2_LINE_VERSION): Likewise.
41         (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
42         (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
43         (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
44         DWARF2_VERSION >= 4.
45         (out_debug_info): Use difference between start and end as data
46         value for DW_AT_high_pc when DWARF2_VERSION >= 4.
47         * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
48
49 2012-04-27  David S. Miller  <davem@davemloft.net>
50
51         * doc/c-sparc.text: Document %l34 and %h34.
52
53         * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
54
55         * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
56         v8pluse, v8plusv, v9e, and v9v.
57         (v9a_asr_table): Add 'pause'.
58
59         * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
60         sparc4, v8pluse, v8plusv, v9e, and v9v.
61         (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
62         order to accomodate cbcond which otherwise would require two
63         relocations to be handled in a single instruction..
64
65         * config/tc-sparc.c (sparc_ip): Likewise.  Accept instruction
66         names containing "_".
67         (sparc_arch_table): Add sparc4, v8pluse, and v9e.  Add crypto
68         hwcap masks to v8plusv and v9v.
69
70         * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
71         masks.
72         (sparc_md_end): No longer need to translate hwcap_seen values into
73         ELF hwcap bits, they now match exactly.
74         (get_hwcap_name): Use HWCAP_* and handle new values.
75         (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
76
77 2012-04-20  Tristan Gingold  <gingold@adacore.com>
78
79         * config/tc-ia64.c (obj_elf_vms_common): New function.
80         (md_pseudo_table): Add .vms_common pseudo.
81         * config/obj-elf.h (obj_elf_section_name): Add a prototype.
82         * config/obj-elf.c (obj_elf_section_name): Make it public.
83
84 2012-04-17  Richard Sandiford  <r.sandiford@uk.ibm.com>
85
86         * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
87
88 2012-04-12  David S. Miller  <davem@davemloft.net>
89
90         * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
91         BFD_RELOC_SPARC_H34.
92         (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
93         (tc_gen_reloc): Likewise.
94
95 2012-04-12  Roland McGrath  <mcgrathr@google.com>
96
97         * configure.tgt (arm-*-nacl*): Match it.
98         * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
99         (LOCAL_LABELS_DOLLAR): Define.
100         * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
101         Use nacl format variants.
102
103 2012-04-12  Jie Zhang  <jie@codesourcery.com>
104             Meador Inge  <meadori@codesourcery.com>
105
106         * config/tc-arm.c (only_one_reg_in_list): New function.
107         (encode_ldmstm): Ditto.
108         (do_ldmstm): Use a different encoding when pushing or poping
109         a single register.
110         (A_COND_MASK): New macro.
111         (A_PUSH_POP_OP_MASK): Ditto.
112         (A1_OPCODE_PUSH): Ditto.
113         (A2_OPCODE_PUSH): Ditto.
114         (A2_OPCODE_POP): Ditto.
115
116 2012-04-06  Maciej W. Rozycki  <macro@linux-mips.org>
117
118         * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
119         -mno-fix-24k.
120
121 2012-04-06  Roland McGrath  <mcgrathr@google.com>
122
123         * configure.in (AC_CHECK_HEADERS): Add locale.h.
124         * config.in: Regenerate.
125         * configure: Regenerate.
126
127 2012-04-05  Nick Clifton  <nickc@redhat.com>
128
129         * configure.in (AC_CHECK_FUNCS): Add setlocale.
130         (AM_LC_MESSAGES): Add.
131         * aclocal.m4: Regenerate.
132         * config.in: Regenerate.
133         * configure: Regenerate.
134
135 2012-04-03  DJ Delorie  <dj@redhat.com>
136
137         * config/rx-parse.y: Make the .L optional for ADC and SBB.
138
139 2012-04-02  DJ Delorie  <dj@redhat.com>
140
141         * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
142         transfer size.
143         (IMM): New, call IMM_ with the default 32.
144         (IMMW,IMMB): Likewise, for 16 and 8.
145         (NIMM, MBIMM): Add size parameter.
146         (immediate): Likewise.  Allow 32768..65535 for 16-bit transfers.
147         (MOV.W): Use IMMW instead of IMM.
148
149         * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
150         (op_dp20_rm_l): New.
151         (op_dp20_rim_l): New.
152
153         * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
154         (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
155
156 2012-03-29  Terry Guo  <terry.guo@arm.com>
157
158         * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
159         * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
160
161 2012-03-23  Maxim Kuvyrkov  <maxim@codesourcery.com>
162
163         * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
164         * doc/c-mips.texi: Mention XLP.
165
166 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
167
168         [SH] Support the .uaquad and .8byte directives also for non-sh64
169         configurations.
170
171         * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
172         BFD_RELOC_64.
173         * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
174         description...
175         * doc/c-sh.texi (SH Machine Directives): ... here.
176
177 2012-03-20  Nick Clifton  <nickc@redhat.com>
178
179         * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
180         registers.
181         (do_vmsr): Likewise.
182         (arm_opcode_insns): Do not default to using the FPSCR register in
183         the VMRS and VMSR registers.
184
185 2012-03-16  Roland McGrath  <mcgrathr@google.com>
186
187         * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
188         Define for this case.
189         * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
190
191 2012-03-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
192
193         * config/tc-arm.c (aeabi_set_public_attributes): Correct
194         handling of Tag_DIV_use.
195
196 2012-03-15  Thomas Schwinge  <thomas@codesourcery.com>
197
198         * doc/as.texinfo (Bundle directives): Fix typo.
199
200 2012-03-14  Ryan Mansfield  <rmansfield@qnx.com>
201
202         * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
203
204 2012-03-13  Roland McGrath  <mcgrathr@google.com>
205
206         * config/tc-arm.c (arm_frag_max_var): New function.
207         * config/tc-arm.h: Declare it.
208         (md_frag_max_var): New macro.
209
210         * config/tc-i386.c (i386_frag_max_var): New function.
211         * config/tc-i386.h: Declare it.
212         (md_frag_max_var): New macro.
213
214         * doc/as.texinfo (Bundle directives): New node.
215         (Pseudo Ops): Add it to the menu.
216         * NEWS: Mention new feature.
217         * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
218         [HANDLE_BUNDLE] (bundle_align_p2): New variable.
219         [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
220         [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
221         New functions.
222         (assemble_one): New function if [HANDLE_BUNDLE], #define directly
223         to md_assembly if not.
224         (read_a_source_file): Call assemble_one in place of md_assemble.
225         (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
226         .bundle_lock at end of processing.
227         [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
228         New functions.
229         [HANDLE_BUNDLE] (potable): Add their entries.
230         * read.h: Declare new functions.
231
232 2012-03-10  Edmar Wienskoski  <edmar@freescale.com>
233
234         * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
235         (ppc_handle_align): Add termination nop opcode for e500mc family.
236         * doc/as.texinfo: Document options -me5500 and -me6500.
237         * doc/c-ppc.texi: Likewise.
238
239 2012-03-07  Nick Clifton  <nickc@redhat.com>
240
241         * config/tc-mn10300.c (other_registers): Add SSP and USP.
242         (md_assemble): Add support for TLS relocs.
243         (mn10300_parse_name): Likewise.
244
245 2012-02-27  Alan Modra  <amodra@gmail.com>
246
247         * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
248
249 2012-02-27  Alan Modra  <amodra@gmail.com>
250
251         * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
252         params.  Properly generate NOP pattern.  Comment reason for
253         subseg_text_p failure.
254
255 2012-02-27  Alan Modra  <amodra@gmail.com>
256
257         * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
258         and sign extend before range tests.
259         (constant_fits_size_p): Similarly.
260         (get_specific): Trim X_add_number to 32 bits.
261         (fix_operand_size): Likewise, and use unsigned test for signed
262         ranges.
263
264 2012-02-27  Alan Modra  <amodra@gmail.com>
265
266         * config/tc-crx.c: Include bfd_stdint.h.
267         (getconstant): Remove irrelevant comment.  Don't fail due to
268         sign-extension of int mask.
269         (check_range): Rewrite using unsigned arithmetic throughout.
270
271 2012-02-25  Walter Lee  <walt@tilera.com>
272
273         * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
274         non-local before checking sy_value.
275         * tc-tilegx.c (emit_tilegx_instruction): Ditto.
276
277 2012-02-25  Walter Lee  <walt@tilera.com>
278
279         * tc-tilepro.c (O_tls_le): Define operator.
280         (O_tls_le_lo16): Ditto.
281         (O_tls_le_hi16): Ditto.
282         (O_tls_le_ha16): Ditto.
283         (O_tls_gd_call): Ditto.
284         (O_tls_gd_add): Ditto.
285         (O_tls_ie_load): Ditto.
286         (md_begin): Delete old operators; handle new operators.
287         (emit_tilepro_instruction): Ditto.
288         (md_apply_fix): Ditto.
289         * tc-tilegx.c (O_hw1_got): Delete operator.
290         (O_hw2_got): Ditto.
291         (O_hw3_got): Ditto.
292         (O_hw2_last_got): Ditto.
293         (O_hw1_tls_gd): Ditto.
294         (O_hw2_tls_gd): Ditto.
295         (O_hw3_tls_gd): Ditto.
296         (O_hw2_last_tls_gd): Ditto.
297         (O_hw1_tls_ie): Ditto.
298         (O_hw2_tls_ie): Ditto.
299         (O_hw3_tls_ie): Ditto.
300         (O_hw2_last_tls_ie): Ditto.
301         (O_hw0_tls_le): Define operator.
302         (O_hw0_last_tls_le): Ditto.
303         (O_hw1_last_tls_le): Ditto.
304         (O_tls_gd_call): Ditto.
305         (O_tls_gd_add): Ditto.
306         (O_tls_ie_load): Ditto.
307         (O_tls_add): Ditto.
308         (md_begin): Delete old operators; handle new operators.
309         (emit_tilegx_instruction): Ditto.
310         (md_apply_fix): Ditto.
311         * doc/c-tilegx.texi: Delete old operators; document new operators.
312         * doc/c-tilepro.texi: Ditto.
313
314 2012-02-25  Walter Lee  <walt@tilera.com>
315
316         * tc-tilepro.c (apply_special_operator): delete cases for
317         got and tls operators.
318         (md_apply_fix): Ditto.
319         * tc-tilegx.c (md_begin): Set architecture and machine.
320         (tilegx_target_format): Handle big endian.
321         (OPTION_EB): Define.
322         (OPTION_EL): Define.
323         (md_longopts): Add entries for "EB" and "EL".
324         (md_parse_option): Handle OPTION_EB and OPTION_EL.
325         (md_show_usage): Add -EB and -EL.
326         (md_number_to_chars): New.
327         (apply_special_operator): delete cases for got and tls
328         operators.
329         (md_apply_fix): Ditto.
330         * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
331         ifndef.
332         (md_number_to_chars): Delete.
333         * configure.tgt (tilegx*be): Handle.
334         * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
335         * doc/c-tilegx.texi: Ditto.
336
337 2012-02-21  H.J. Lu  <hongjiu.lu@intel.com>
338
339         * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
340         HLEPrefixAny and HLEPrefixRelease.
341
342 2012-02-21  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
343
344         * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
345
346 2012-02-21  Iain Sandoe  <idsandoe@googlemail.com>
347
348         * write.c (write_object_file): Add md_pre_output_hook.
349         * config/obj-macho.c (obj_mach_o_check_before_writing): New.
350         (obj_mach_o_pre_output_hook): New.
351         * config/obj-macho.h (md_pre_output_hook): Define.
352         (obj_mach_o_pre_output_hook): Declare.
353
354 2012-02-21  Tristan Gingold  <gingold@adacore.com>
355
356         * config/tc-i386.h (OBJ_MACH_O): New section.
357         (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
358         (TC_FORCE_RELOCATION_SUB_SAME): New
359         (TC_FORCE_RELOCATION_SUB_LOCAL): New.
360         (TC_VALIDATE_FIX_SUB): New.
361         * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
362         * symbols.c (colon): obj_frob_colon: New hook.
363         * write.c (write_object_file): md_pre_relax_hook, new
364         hook.
365         * config/obj-macho.c (obj_mach_o_frob_colon): New.
366         (obj_mach_o_frob_label): Record sub-section labels.
367         (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
368         (obj_mach_o_set_subsections): New.
369         (obj_mach_o_pre_relax_hook): New.
370         (obj_mach_o_in_different_subsection): New.
371         (obj_mach_o_force_reloc_sub_same): New.
372         (obj_mach_o_force_reloc_sub_local): New.
373         (obj_mach_o_force_reloc): New.
374         * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
375         (obj_frob_colon): New Define.
376         (obj_mach_o_frob_label): Renamed.
377         (obj_mach_o_frob_symbol): Renamed.
378         (OBJ_FRAG_TYPE): New.
379         (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
380          obj_mach_o_force_reloc_sub_same,
381          obj_mach_o_force_reloc_sub_local): New declarations.
382
383 2012-02-20  Iain Sandoe  <idsandoe@googlemail.com>
384
385         * config/obj-macho.c (obj_mach_o_is_frame_section): New.
386         (obj_mach_o_allow_local_subtract): New.
387         * config/obj-macho.h (md_allow_local_subtract): Define.
388         (obj_mach_o_allow_local_subtract): Declare.
389
390 2012-02-20  Iain Sandoe  <idsandoe@googlemail.com>
391
392         * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
393         canonical information, try to determine CODE and DEBUG section flags
394         from the mach-o section data.
395
396 2012-02-20  Nick Clifton  <nickc@redhat.com>
397
398         * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
399         local symbols.
400
401 2012-02-12  Iain Sandoe  <idsandoe@googlemail.com>
402
403         * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
404         any local symbol used as an indirect.
405
406 2012-02-10  Iain Sandoe  <idsandoe@googlemail.com>
407
408         * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
409         stub size when provided.  (obj_mach_o_section): Flag that stub-size
410         has been provided.
411
412 2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>
413
414         * config/tc-i386.c (HLE_PREFIX): New.
415         (check_hle): Likewise.
416         (_i386_insn): Add have_hle.
417         (cpu_arch): Add .hle and .rtm.
418         (md_assemble): Call check_hle if i.have_hle isn't zero.
419         (parse_insn): Set i.have_hle to 1 for HLE prefix.
420         (output_jump): Support up to 2 byte opcode.
421
422         * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
423
424 2012-02-02  Tristan Gingold  <gingold@adacore.com>
425
426         * config/obj-macho.c (obj_mach_o_zerofill): Silent
427         uninitialized variable warning.
428
429 2012-02-02  Nick Clifton  <nickc@redhat.com>
430
431         PR gas/13224
432         * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
433         to 'is_clone' to avoid shadowing a gloabl.
434         (obj_elf_section): Likewise.
435
436 2012-01-31  Paul Brook  <paul@codesourcery.com>
437
438         * doc/c-tic6x.c: Fix typo.
439
440 2012-01-26  Alexey Makhalov  <makhaloff@gmail.com>
441
442         PR gas/13624
443         * app.c (app_push): Set 'add_newlines' to zero after saving.
444
445 2012-01-24  DJ Delorie  <dj@redhat.com>
446
447         * config/rl78-parse.y (NOT1): Add.
448
449 2012-01-23  Roland McGrath  <mcgrathr@google.com>
450
451         * configure.tgt (i386-*-nacl*): Match it.
452         * config/te-nacl.h: New file.
453         * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
454         * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
455         Use TE_GNU et al case for TE_NACL too.
456
457 2012-01-20  H.J. Lu  <hongjiu.lu@intel.com>
458
459         * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
460         disp_encoding.
461         (md_assemble): Updated.
462         (output_branch): Likewise.
463         (parse_insn): Support .d8 suffix.
464         (build_modrm_byte): Fake zero displacement for .d8 and .d32
465         suffixes.
466
467         * doc/c-i386.texi: Document .d8 suffix.
468
469 2012-01-17  Andrew Burgess  <aburgess@broadcom.com>
470
471         * write.c (fix_new_internal): Don't mark used parameter as unused.
472
473 2012-01-17  Alan Modra  <amodra@gmail.com>
474
475         * as.c (parse_args): Update copyright message year.
476
477 2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>
478
479         * config/tc-i386.c (cpu_arch): Add ".vmfunc".
480
481         * doc/c-i386.texi: Document vmfunc.
482
483 2012-01-13  Tristan Gingold  <gingold@adacore.com>
484
485         * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
486         * config/obj-macho.h (SET_SECTION_RELOCS): Define.
487         (obj_mach_o_reorder_section_relocs): Declare.
488
489 2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
490
491         * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
492         absolute indirect symbols.
493
494 2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
495
496         * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
497         (obj_mach_o_set_section_vma): New.
498         (obj_mach_o_post_relax_hook): New.
499         * config/obj-macho.h (md_post_relax_hook): Define.
500         (obj_mach_o_post_relax_hook): Declare.
501
502 2012-01-12  Iain Sandoe  <idsandoe@googlemail.com>
503
504         * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
505         lazy when the symbol is private_extern.
506         (obj_mach_o_indirect_sym): New type.
507         (obj_mach_o_indirect_symbol): New.
508         (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
509         (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
510         (obj_macho_frob_label): Likewise.  Adjust external and comm
511         symbol tests.
512         (obj_mach_o_set_indirect_symbols): New.
513         (obj_mach_o_frob_file_after_relocs): New.
514         *config/obj-macho.h (obj_frob_file_after_relocs): Define.
515         (obj_mach_o_frob_file_after_relocs): Declare.
516
517 2012-01-12  Tristan Gingold  <gingold@adacore.com>
518
519         PR gas/13591
520         * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
521
522 2012-01-10  Tristan Gingold  <gingold@adacore.com>
523
524         * struc-symbol.h (struct symbol_flags): New struct, created from...
525         (struct symbol): ... this one.  Add sy_flags field, remove flag fields.
526         (struct local_symbol): Replace lsy_marker field by lsy_flags.
527         Adjust comment.
528         (local_symbol_resolved_p): Adjust.
529         (local_symbol_mark_resolved): Likewise.
530         * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
531         (local_symbol_make, local_symbol_convert, colon)
532         (symbol_clone_if_forward_ref, verify_symbol_chain)
533         (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
534         (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
535         (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
536         (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
537         (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
538         (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
539         (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
540         (symbol_mark_mri_common, symbol_clear_mri_common)
541         (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
542         (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
543         (symbol_equated_reloc_p, dot_symbol_init)
544         (print_symbol_value_1): Adjust.
545
546 2012-01-09  Iain Sandoe  <idsandoe@googlemail.com>
547
548         * config/obj-macho.c (obj_mach_o_weak): Remove.
549         (obj_mach_o_common_parse): Set symbol qualifiers.
550         (LAZY, REFE): New macros.
551         (obj_mach_o_symbol_type): New enum.
552         (obj_mach_o_set_symbol_qualifier): New.
553         (obj_mach_o_sym_qual): New.
554         (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
555         a dummy function.
556         (obj_mach_o_type_for_symbol): New.
557         (obj_macho_frob_label): New.
558         (obj_macho_frob_symbol): New.
559         * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
560         (obj_frob_label, obj_macho_frob_label): Declare.
561         (obj_frob_symbol, obj_macho_frob_symbol): Declare.
562
563 2012-01-08  Richard Sandiford  <rdsandiford@googlemail.com>
564
565         * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
566
567 2012-01-08  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
568             Richard Sandiford  <rdsandiford@googlemail.com>
569
570         * config/tc-mips.c (mips_move_labels): Take the list of labels and
571         textness as parameters.
572         (mips_move_text_labels): New function.
573         (append_insn): Use it instead of mips_move_labels.
574         (mips_emit_delays, start_noreorder): Likewise.
575         (mips_align): Take the labels rather than just one label.
576         Move all labels to after the .align.
577         (s_align): Change the last argument to mips_align.
578         (s_cons): Likewise.
579         (s_float_cons): Likewise.
580         (s_gpword): Likewise.
581         (s_gpdword): Likewise.
582
583 2012-01-06  Tristan Gingold  <gingold@adacore.com>
584
585         * config/tc-i386.c: Update copyright year.
586         (lex_got): Also defined for Mach-O.
587         Add a guard for non-ELF configuration.
588         (md_longopts): Also handle -64 for Mach-O.
589         (md_parse_option): Likewise.
590         (i386_target_format): Adjust for x86_64-darwin.
591
592 2012-01-04  Iain Sandoe  <idsandoe@googlemail.com>
593
594         * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
595         (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
596         (obj_mach_o_make_or_get_sect): Likewise.
597         (obj_mach_o_section): Split out the functionality shared with zerofill.
598         (obj_mach_o_zerofill): New.
599         (obj_mach_o_common_parse): Ensure whitespace is skipped.
600         (mach_o_pseudo_table): Add .zerofill.
601
602 2012-01-03  Iain Sandoe  <idsandoe@googlemail.com>
603
604         * config/obj-macho.c (obj_macho_process_stab): New.
605         * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
606         (obj_macho_process_stab): Declare.
607
608 For older changes see ChangeLog-2011
609 \f
610 Local Variables:
611 mode: change-log
612 left-margin: 8
613 fill-column: 74
614 version-control: never
615 End: