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