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