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