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