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