2012-01-31 Paul Brook <paul@codesourcery.com>
[external/binutils.git] / gas / ChangeLog
1 2012-01-31  Paul Brook  <paul@codesourcery.com>
2     
3         * doc/c-tic6x.c: Fix typo.
4
5 2012-01-26  Alexey Makhalov  <makhaloff@gmail.com>
6
7         PR gas/13624
8         * app.c (app_push): Set 'add_newlines' to zero after saving.
9
10 2012-01-24  DJ Delorie  <dj@redhat.com>
11
12         * config/rl78-parse.y (NOT1): Add.
13
14 2012-01-23  Roland McGrath  <mcgrathr@google.com>
15
16         * configure.tgt (i386-*-nacl*): Match it.
17         * config/te-nacl.h: New file.
18         * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
19         * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
20         Use TE_GNU et al case for TE_NACL too.
21
22 2012-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23
24         * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
25         disp_encoding.
26         (md_assemble): Updated.
27         (output_branch): Likewise.
28         (parse_insn): Support .d8 suffix.
29         (build_modrm_byte): Fake zero displacement for .d8 and .d32
30         suffixes.
31
32         * doc/c-i386.texi: Document .d8 suffix.
33
34 2012-01-17  Andrew Burgess  <aburgess@broadcom.com>
35
36         * write.c (fix_new_internal): Don't mark used parameter as unused.
37
38 2012-01-17  Alan Modra  <amodra@gmail.com>
39
40         * as.c (parse_args): Update copyright message year.
41
42 2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>
43
44         * config/tc-i386.c (cpu_arch): Add ".vmfunc".
45
46         * doc/c-i386.texi: Document vmfunc.
47
48 2012-01-13  Tristan Gingold  <gingold@adacore.com>
49
50         * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
51         * config/obj-macho.h (SET_SECTION_RELOCS): Define.
52         (obj_mach_o_reorder_section_relocs): Declare.
53
54 2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
55
56         * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
57         absolute indirect symbols.
58
59 2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
60
61         * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
62         (obj_mach_o_set_section_vma): New.
63         (obj_mach_o_post_relax_hook): New.
64         * config/obj-macho.h (md_post_relax_hook): Define.
65         (obj_mach_o_post_relax_hook): Declare.
66
67 2012-01-12  Iain Sandoe  <idsandoe@googlemail.com>
68
69         * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
70         lazy when the symbol is private_extern.
71         (obj_mach_o_indirect_sym): New type.
72         (obj_mach_o_indirect_symbol): New.
73         (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
74         (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
75         (obj_macho_frob_label): Likewise.  Adjust external and comm
76         symbol tests.
77         (obj_mach_o_set_indirect_symbols): New.
78         (obj_mach_o_frob_file_after_relocs): New.
79         *config/obj-macho.h (obj_frob_file_after_relocs): Define.
80         (obj_mach_o_frob_file_after_relocs): Declare.
81
82 2012-01-12  Tristan Gingold  <gingold@adacore.com>
83
84         PR gas/13591
85         * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
86
87 2012-01-10  Tristan Gingold  <gingold@adacore.com>
88
89         * struc-symbol.h (struct symbol_flags): New struct, created from...
90         (struct symbol): ... this one.  Add sy_flags field, remove flag fields.
91         (struct local_symbol): Replace lsy_marker field by lsy_flags.
92         Adjust comment.
93         (local_symbol_resolved_p): Adjust.
94         (local_symbol_mark_resolved): Likewise.
95         * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
96         (local_symbol_make, local_symbol_convert, colon)
97         (symbol_clone_if_forward_ref, verify_symbol_chain)
98         (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
99         (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
100         (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
101         (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
102         (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
103         (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
104         (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
105         (symbol_mark_mri_common, symbol_clear_mri_common)
106         (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
107         (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
108         (symbol_equated_reloc_p, dot_symbol_init)
109         (print_symbol_value_1): Adjust.
110
111 2012-01-09  Iain Sandoe  <idsandoe@googlemail.com>
112
113         * config/obj-macho.c (obj_mach_o_weak): Remove.
114         (obj_mach_o_common_parse): Set symbol qualifiers.
115         (LAZY, REFE): New macros.
116         (obj_mach_o_symbol_type): New enum.
117         (obj_mach_o_set_symbol_qualifier): New.
118         (obj_mach_o_sym_qual): New.
119         (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
120         a dummy function.
121         (obj_mach_o_type_for_symbol): New.
122         (obj_macho_frob_label): New.
123         (obj_macho_frob_symbol): New.
124         * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
125         (obj_frob_label, obj_macho_frob_label): Declare.
126         (obj_frob_symbol, obj_macho_frob_symbol): Declare.
127
128 2012-01-08  Richard Sandiford  <rdsandiford@googlemail.com>
129
130         * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
131
132 2012-01-08  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
133             Richard Sandiford  <rdsandiford@googlemail.com>
134
135         * config/tc-mips.c (mips_move_labels): Take the list of labels and
136         textness as parameters.
137         (mips_move_text_labels): New function.
138         (append_insn): Use it instead of mips_move_labels.
139         (mips_emit_delays, start_noreorder): Likewise.
140         (mips_align): Take the labels rather than just one label.
141         Move all labels to after the .align.
142         (s_align): Change the last argument to mips_align.
143         (s_cons): Likewise.
144         (s_float_cons): Likewise.
145         (s_gpword): Likewise.
146         (s_gpdword): Likewise.
147
148 2012-01-06  Tristan Gingold  <gingold@adacore.com>
149
150         * config/tc-i386.c: Update copyright year.
151         (lex_got): Also defined for Mach-O.
152         Add a guard for non-ELF configuration.
153         (md_longopts): Also handle -64 for Mach-O.
154         (md_parse_option): Likewise.
155         (i386_target_format): Adjust for x86_64-darwin.
156
157 2012-01-04  Iain Sandoe  <idsandoe@googlemail.com>
158
159         * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
160         (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
161         (obj_mach_o_make_or_get_sect): Likewise.
162         (obj_mach_o_section): Split out the functionality shared with zerofill.
163         (obj_mach_o_zerofill): New.
164         (obj_mach_o_common_parse): Ensure whitespace is skipped.
165         (mach_o_pseudo_table): Add .zerofill.
166
167 2012-01-03  Iain Sandoe  <idsandoe@googlemail.com>
168
169         * config/obj-macho.c (obj_macho_process_stab): New.
170         * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
171         (obj_macho_process_stab): Declare.
172
173 For older changes see ChangeLog-2011
174 \f
175 Local Variables:
176 mode: change-log
177 left-margin: 8
178 fill-column: 74
179 version-control: never
180 End: