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