6293433edc3b3895bd66d3dc1ed88a61ecfb7708
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
2
3 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
4 HLEPrefixAny and HLEPrefixRelease.
5
6 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7
8 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
9
10 2012-02-21 Iain Sandoe <idsandoe@googlemail.com>
11
12 * write.c (write_object_file): Add md_pre_output_hook.
13 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
14 (obj_mach_o_pre_output_hook): New.
15 * config/obj-macho.h (md_pre_output_hook): Define.
16 (obj_mach_o_pre_output_hook): Declare.
17
18 2012-02-21 Tristan Gingold <gingold@adacore.com>
19
20 * config/tc-i386.h (OBJ_MACH_O): New section.
21 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
22 (TC_FORCE_RELOCATION_SUB_SAME): New
23 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
24 (TC_VALIDATE_FIX_SUB): New.
25 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
26 * symbols.c (colon): obj_frob_colon: New hook.
27 * write.c (write_object_file): md_pre_relax_hook, new
28 hook.
29 * config/obj-macho.c (obj_mach_o_frob_colon): New.
30 (obj_mach_o_frob_label): Record sub-section labels.
31 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
32 (obj_mach_o_set_subsections): New.
33 (obj_mach_o_pre_relax_hook): New.
34 (obj_mach_o_in_different_subsection): New.
35 (obj_mach_o_force_reloc_sub_same): New.
36 (obj_mach_o_force_reloc_sub_local): New.
37 (obj_mach_o_force_reloc): New.
38 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
39 (obj_frob_colon): New Define.
40 (obj_mach_o_frob_label): Renamed.
41 (obj_mach_o_frob_symbol): Renamed.
42 (OBJ_FRAG_TYPE): New.
43 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
44 obj_mach_o_force_reloc_sub_same,
45 obj_mach_o_force_reloc_sub_local): New declarations.
46
47 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
48
49 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
50 (obj_mach_o_allow_local_subtract): New.
51 * config/obj-macho.h (md_allow_local_subtract): Define.
52 (obj_mach_o_allow_local_subtract): Declare.
53
54 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
55
56 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
57 canonical information, try to determine CODE and DEBUG section flags
58 from the mach-o section data.
59
60 2012-02-20 Nick Clifton <nickc@redhat.com>
61
62 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
63 local symbols.
64
65 2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
66
67 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
68 any local symbol used as an indirect.
69
70 2012-02-10 Iain Sandoe <idsandoe@googlemail.com>
71
72 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
73 stub size when provided. (obj_mach_o_section): Flag that stub-size
74 has been provided.
75
76 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
77
78 * config/tc-i386.c (HLE_PREFIX): New.
79 (check_hle): Likewise.
80 (_i386_insn): Add have_hle.
81 (cpu_arch): Add .hle and .rtm.
82 (md_assemble): Call check_hle if i.have_hle isn't zero.
83 (parse_insn): Set i.have_hle to 1 for HLE prefix.
84 (output_jump): Support up to 2 byte opcode.
85
86 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
87
88 2012-02-02 Tristan Gingold <gingold@adacore.com>
89
90 * config/obj-macho.c (obj_mach_o_zerofill): Silent
91 uninitialized variable warning.
92
93 2012-02-02 Nick Clifton <nickc@redhat.com>
94
95 PR gas/13224
96 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
97 to 'is_clone' to avoid shadowing a gloabl.
98 (obj_elf_section): Likewise.
99
100 2012-01-31 Paul Brook <paul@codesourcery.com>
101
102 * doc/c-tic6x.c: Fix typo.
103
104 2012-01-26 Alexey Makhalov <makhaloff@gmail.com>
105
106 PR gas/13624
107 * app.c (app_push): Set 'add_newlines' to zero after saving.
108
109 2012-01-24 DJ Delorie <dj@redhat.com>
110
111 * config/rl78-parse.y (NOT1): Add.
112
113 2012-01-23 Roland McGrath <mcgrathr@google.com>
114
115 * configure.tgt (i386-*-nacl*): Match it.
116 * config/te-nacl.h: New file.
117 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
118 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
119 Use TE_GNU et al case for TE_NACL too.
120
121 2012-01-20 H.J. Lu <hongjiu.lu@intel.com>
122
123 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
124 disp_encoding.
125 (md_assemble): Updated.
126 (output_branch): Likewise.
127 (parse_insn): Support .d8 suffix.
128 (build_modrm_byte): Fake zero displacement for .d8 and .d32
129 suffixes.
130
131 * doc/c-i386.texi: Document .d8 suffix.
132
133 2012-01-17 Andrew Burgess <aburgess@broadcom.com>
134
135 * write.c (fix_new_internal): Don't mark used parameter as unused.
136
137 2012-01-17 Alan Modra <amodra@gmail.com>
138
139 * as.c (parse_args): Update copyright message year.
140
141 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
142
143 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
144
145 * doc/c-i386.texi: Document vmfunc.
146
147 2012-01-13 Tristan Gingold <gingold@adacore.com>
148
149 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
150 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
151 (obj_mach_o_reorder_section_relocs): Declare.
152
153 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
154
155 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
156 absolute indirect symbols.
157
158 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
159
160 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
161 (obj_mach_o_set_section_vma): New.
162 (obj_mach_o_post_relax_hook): New.
163 * config/obj-macho.h (md_post_relax_hook): Define.
164 (obj_mach_o_post_relax_hook): Declare.
165
166 2012-01-12 Iain Sandoe <idsandoe@googlemail.com>
167
168 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
169 lazy when the symbol is private_extern.
170 (obj_mach_o_indirect_sym): New type.
171 (obj_mach_o_indirect_symbol): New.
172 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
173 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
174 (obj_macho_frob_label): Likewise. Adjust external and comm
175 symbol tests.
176 (obj_mach_o_set_indirect_symbols): New.
177 (obj_mach_o_frob_file_after_relocs): New.
178 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
179 (obj_mach_o_frob_file_after_relocs): Declare.
180
181 2012-01-12 Tristan Gingold <gingold@adacore.com>
182
183 PR gas/13591
184 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
185
186 2012-01-10 Tristan Gingold <gingold@adacore.com>
187
188 * struc-symbol.h (struct symbol_flags): New struct, created from...
189 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
190 (struct local_symbol): Replace lsy_marker field by lsy_flags.
191 Adjust comment.
192 (local_symbol_resolved_p): Adjust.
193 (local_symbol_mark_resolved): Likewise.
194 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
195 (local_symbol_make, local_symbol_convert, colon)
196 (symbol_clone_if_forward_ref, verify_symbol_chain)
197 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
198 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
199 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
200 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
201 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
202 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
203 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
204 (symbol_mark_mri_common, symbol_clear_mri_common)
205 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
206 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
207 (symbol_equated_reloc_p, dot_symbol_init)
208 (print_symbol_value_1): Adjust.
209
210 2012-01-09 Iain Sandoe <idsandoe@googlemail.com>
211
212 * config/obj-macho.c (obj_mach_o_weak): Remove.
213 (obj_mach_o_common_parse): Set symbol qualifiers.
214 (LAZY, REFE): New macros.
215 (obj_mach_o_symbol_type): New enum.
216 (obj_mach_o_set_symbol_qualifier): New.
217 (obj_mach_o_sym_qual): New.
218 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
219 a dummy function.
220 (obj_mach_o_type_for_symbol): New.
221 (obj_macho_frob_label): New.
222 (obj_macho_frob_symbol): New.
223 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
224 (obj_frob_label, obj_macho_frob_label): Declare.
225 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
226
227 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
228
229 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
230
231 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
232 Richard Sandiford <rdsandiford@googlemail.com>
233
234 * config/tc-mips.c (mips_move_labels): Take the list of labels and
235 textness as parameters.
236 (mips_move_text_labels): New function.
237 (append_insn): Use it instead of mips_move_labels.
238 (mips_emit_delays, start_noreorder): Likewise.
239 (mips_align): Take the labels rather than just one label.
240 Move all labels to after the .align.
241 (s_align): Change the last argument to mips_align.
242 (s_cons): Likewise.
243 (s_float_cons): Likewise.
244 (s_gpword): Likewise.
245 (s_gpdword): Likewise.
246
247 2012-01-06 Tristan Gingold <gingold@adacore.com>
248
249 * config/tc-i386.c: Update copyright year.
250 (lex_got): Also defined for Mach-O.
251 Add a guard for non-ELF configuration.
252 (md_longopts): Also handle -64 for Mach-O.
253 (md_parse_option): Likewise.
254 (i386_target_format): Adjust for x86_64-darwin.
255
256 2012-01-04 Iain Sandoe <idsandoe@googlemail.com>
257
258 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
259 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
260 (obj_mach_o_make_or_get_sect): Likewise.
261 (obj_mach_o_section): Split out the functionality shared with zerofill.
262 (obj_mach_o_zerofill): New.
263 (obj_mach_o_common_parse): Ensure whitespace is skipped.
264 (mach_o_pseudo_table): Add .zerofill.
265
266 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
267
268 * config/obj-macho.c (obj_macho_process_stab): New.
269 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
270 (obj_macho_process_stab): Declare.
271
272 For older changes see ChangeLog-2011
273 \f
274 Local Variables:
275 mode: change-log
276 left-margin: 8
277 fill-column: 74
278 version-control: never
279 End:
This page took 0.034809 seconds and 4 git commands to generate.