gas/
[external/binutils.git] / gas / ChangeLog
1 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
2
3         * config/tc-mips.c (append_insn): Always clear the history after an
4         unconditional branch.
5
6 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
7
8         * config/tc-mips.c (find_altered_mips16_opcode): New function.
9         (append_insn): Use it.
10
11 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
12
13         * config/tc-mips.c (insn_uses_reg): Delete.
14         (gpr_read_mask, gpr_write_mask): New functions.
15         (fpr_read_mask, fpr_write_mask): Likewise.
16         (insns_between, nops_for_vr4130, append_insn): Use them.
17
18 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
19
20         * config/tc-mips.c (md_mips_end): Call mips_emit_delays.
21
22 2011-06-29  Dave Martin  <dave.martin@linaro.org>
23
24         PR gas/12931
25         * config/tc-arm.c (mapping_state): When changing to ARM or THUMB
26         state set the minimum required alignment of the section.
27
28 2011-06-29  Tristan Gingold  <gingold@adacore.com>
29
30         * config/tc-i386.c (i386_mach): Convert to ISO-C.
31         (md_begin, pe_directive_secrel, md_estimate_size_before_relax): Ditto.
32         (md_convert_frag, md_apply_fix, md_undefined_symbol): Ditto.
33         (md_section_align, tc_gen_reloc): Ditto.
34
35 2011-06-28  Tristan Gingold  <gingold@adacore.com>
36
37         * config/tc-alpha.c (s_alpha_pdesc): Fix indentation. Do not
38         generate dummy fix.
39
40 2011-06-28  Tristan Gingold  <gingold@adacore.com>
41
42         * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc.
43         (emit_jsrjmp): Ditto.
44         (tc_gen_reloc): Ditto.
45
46 2011-06-28  Tristan Gingold  <gingold@adacore.com>
47
48         * config/tc-alpha.c (alpha_evax_proc_hash): Remove.
49         (alpha_evax_proc_data): New variable.
50         (s_alpha_ent): Prevent nested function.  Remove has_insert call.
51         (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of
52         error.  Do not search in the hash table.  Check if match with .ent.
53         (s_alpha_name): Remove unused variable.
54         (md_begin): Remove initialization of alpha_evax_proc_hash.
55
56 2011-06-27  Tristan Gingold  <gingold@adacore.com>
57
58         * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter.
59         Locally declare basesym.  Add comments.  Do not set literal_pool_size.
60         (load_expression): Adjust call to add_to_link_pool.
61         (s_alpha_pdesc): Define pdesc symbol using dot.
62         Do not set literal_pool_size.
63         (s_alpha_end): Use NULL instead of 0.
64
65 2011-06-27  Tristan Gingold  <gingold@adacore.com>
66
67         * config/obj-evax.c (evax_frob_file_before_adjust): Add comments.
68         Fix style.
69         * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg
70         field.  Add comments.
71         (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
72
73 2011-06-26  Richard Sandiford  <rdsandiford@googlemail.com>
74
75         * config/tc-mips.c (fix_24k_record_store_info): If the previous
76         instruction was a store, and the next instructions are unknown,
77         assume the worst.
78
79 2011-06-25  Richard Sandiford  <rdsandiford@googlemail.com>
80
81         PR gas/12915
82         * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn)
83         (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters.
84         (mips_emit_delays, start_noreorder): Update accordingly.
85         (append_insn): Likewise.  Revert original fix for this PR
86         and use the ignore parameter instead.
87
88 2011-06-24  Tristan Gingold  <gingold@adacore.com>
89
90         PR gas/11625
91         * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
92
93 2011-06-24  Tristan Gingold  <gingold@adacore.com>
94
95         * config/tc-alpha.c (add_to_link_pool): Remove useless offset
96         variable.  Fix style.
97
98 2011-06-23  Richard Sandiford  <rdsandiford@googlemail.com>
99
100         PR gas/12915
101         * config/tc-mips.c (append_insn): Only consider hazards between the
102         pre-noreorder block and ip.
103
104 2011-06-21  Sameera Deshpande  <sameera.deshpande@arm.com>
105
106         * config/tc-arm.c (vfp_conv): Add check on range of immediate operand
107         in vcvt instruction between floating-point and fixed-point.
108         (operand_parse_code): Add "OP_oI32z".
109         (parse_operands): OP_oI32z case added.
110
111 2011-06-20  H.J. Lu  <hongjiu.lu@intel.com>
112
113         * configure.tgt: Revert x32 change.
114
115 2011-06-20  Nick Clifton  <nickc@redhat.com>
116
117         * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi.
118         * doc/Makefile.in: Regenerate.
119         * doc/all.texi: Set XSTORMY16.
120         * doc/c-xstormy16.texi: New file.
121
122 2011-06-19  H.J. Lu  <hongjiu.lu@intel.com>
123
124         * configure.tgt: Support x32.
125
126 2011-06-15  Nick Clifton  <nickc@redhat.com>
127
128         * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
129
130 2011-06-14  Tristan Gingold  <gingold@adacore.com>
131
132         * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
133         (tc_new_dot_label): Define.
134         (ppc_new_dot_label): Declare.
135         * config/tc-ppc.c (ppc_frob_label): Set within target field.
136         (ppc_fix_adjustable): Use this field to adjust the reloc.
137         (ppc_new_dot_label): New function.
138
139 2011-06-14  Alan Modra  <amodra@gmail.com>
140
141         * po/POTFILES.in: Regenerate.
142
143 2011-06-13  Walter Lee  <walt@tilera.com>
144
145         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
146         config/tc-tilepro.c.
147         (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
148         config/tc-tilepro.h.
149         * Makefile.in: Regenerate.
150         * configure.tgt (tilepro-*-*): New.
151         (tilegx-*-*): Likewise.
152         * config/tc-tilegx.c: New file.
153         * config/tc-tilegx.h: Likewise.
154         * config/tc-tilepro.h: Likewise.
155         * config/tc-tilepro.c: Likewise.
156         * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
157         c-tilepro.texi.
158         * doc/Makefile.in: Regenerate.
159         * doc/all.texi (TILEGX): Define.
160         (TILEPRO): Define.
161         * doc/as.texinfo: Add Tile-Gx and TILEPro documentation.  Include
162         c-tilegx.texi and c-tilepro.texi.
163         * doc/c-tilegx.texi: New.
164         * doc/c-tilepro.texi: New.
165
166 2011-06-13  Nick Clifton  <nickc@redhat.com>
167
168         PR gas/12854
169         * config/tc-arm.c (do_shift): Do not allow shift operations at the
170         end of a register based shift insn.
171         (do_t_shift): Likewise.
172
173 2011-06-13  Nick Clifton  <nickc@redhat.com>
174
175         * config/tc-score.c (s3_my_get_expression): Delete unused local
176         variable 'seg'.
177         (s3_do_ldst_insn): Delete unused local variable 'strbak'.
178         (s3_do16_ldst_insn): Delete unused local variable 'temp'.
179         (s3_do_macro_bcmp): Zero inst_expand array.
180         (s3_do_macro_bcmpz): Likewise.
181         (s3_s_score_end): Delete unused local variable 'dot'.
182         (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
183         * config/tc-score7.c (s7_my_get_expression): Delete unused local
184         variable 'seg'.
185         (s7_do_ldst_insn): Delete unused local variable 'strbak'.
186         (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
187         'r_new'.
188         (s7_s_score_end): Delete unused local variable 'dot'.
189         (s7_relax_frag): Delete unused local variable 'relax_size'.
190         (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
191
192 2011-06-10  H.J. Lu  <hongjiu.lu@intel.com>
193
194         AVX Programming Reference (June, 2011)
195         * config/tc-i386.c (i386_error): Add invalid_vsib_address and
196         unsupported_vector_index_register.
197         (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
198         (check_VecOperands): New.
199         (match_template): Call check_VecOperands.  Handle
200         invalid_vsib_address and unsupported_vector_index_register.
201         (build_modrm_byte): Support VecSIB.  Check register-only source
202         operand when two source operands are swapped.
203         (i386_index_check): Allow Xmm/Ymm index registers.
204
205         * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
206         and invpcid./invpcid.
207
208 2011-06-09  Nick Clifton  <nickc@redhat.com>
209
210         PR gas/12861
211         * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
212         code.
213         (check_cinv_options): Remove unused local variables.  Make
214         function void.
215         (md_assemble): Remove unused local variable.
216
217 2011-06-09  James Greenhalgh  <james.greenhalgh@arm.com>
218
219         * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
220
221 2011-06-03  Arnaud Patard  <arnaud.patard@rtp-net.org>
222
223         PR gas/12698
224         * config/tc-arm.c (parse_psr): Set m_profile to false when
225         assembling for any architecture.
226
227 2011-06-02  Jie Zhang jie@codesourcery.com
228             Nathan Sidwell nathan@codesourcery.com
229
230         * config/tc-arm.c (parse_address_main): Handle -0 offsets.
231         (encode_arm_addr_mode_2): Set default sign of zero here ...
232         (encode_arm_addr_mode_3): ... and here.
233         (encode_arm_cp_address): ... and here.
234         (md_apply_fix): Use default sign of zero here.
235
236 2011-06-02  Nick Clifton  <nickc@redhat.com>
237
238         * as.c: Fix spelling typo.
239         * read.c: Likewise.
240         * config/tc-ppc.c: Likewise.
241         * po/gas.pit: Regenerate.
242
243 2011-05-31  Paul Brook  <paul@codesourcery.com>
244
245         * config/tc-arm.c (arm_cpus): Add Cortex-R5.
246         (arm_extensions): Allow idiv on ARMv7-R.
247         * doc/c-arm.text: Update idiv extension restrictions.
248
249 2011-05-31  Paul Brook  <paul@codesourcery.com>
250
251         * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
252         loads.
253
254 2011-05-31  Paul Brook  <paul@codesourcery.com>
255
256         * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
257         addresses.
258
259 2011-05-31  Paul Brook  <paul@codesourcery.com>
260         Nathan Sidwell  <nathan@codesourcery.com>
261
262         * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
263         pc-relative fixes to constants.
264         * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
265
266 2011-05-27  Nick Clifton  <nickc@redhat.com>
267
268         * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
269
270 2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
271
272         * config/tc-s390.c (md_gather_operands): Fix check for floating
273         register pair operands.
274
275 2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
276
277         * config/tc-s390.c (md_gather_operands): Emit an error for odd
278         numbered registers used as register pair operand.
279
280 2011-05-23  Nick Clifton  <nickc@redhat.com>
281
282         * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
283
284 2011-05-20  Bernd Schmidt  <bernds@codesourcery.com>
285
286         * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
287         (tic6x_parse_name): Handle it.
288         (tic6x_fix_new_exp): Handle O_pcr_offset.
289         (tic6x_fix_adjustable): Return 0 for the new relocs.
290         (md_apply_fix): Handle them.
291         (tc_gen_reloc): Likewise.
292         * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
293
294 2011-05-18  Nick Clifton  <nickc@redhat.com>
295
296         PR gas/12754
297         * config/tc-tic30.c (ordinal_names): Allow translation of the
298         ordinal names.
299
300 2011-05-18  Nick Clifton  <nickc@redhat.com>
301
302         * config/tc-arm.c (s_unreq): Reword warning message to make it
303         easier to translate.
304         * config/tc-ia64.c (md_show_usage): Add note for translators.
305         * configure.in (ALL_LINGUAS): Add "fi".
306         * configure: Regenerate.
307
308 2011-05-18  Tristan Gingold  <gingold@adacore.com>
309
310         * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
311         Put size into an union with dw.
312         (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
313         (ppc_xcoff_end): Declare.
314         (md_end): Define.
315         * config/tc-ppc.c: Add includes for xcoff.
316         (ppc_dwsect): New function.
317         (md_pseudo_table): Add dwsect.
318         (struct dw_subsection): New.
319         (dw_sections): New.
320         (ppc_change_debug_section): New function.
321         (ppc_xcoff_end): Ditto.
322         (ppc_function): Adjust for ppc_tc_sy.
323         (ppc_symbol_new_hook): Ditto.
324         (ppc_frob_symbol): Ditto.
325         (ppc_frob_section): Do not set vma for debug sections.
326         (ppc_fix_adjustable): Return true for debug sections.
327         * config/obj-coff.c: Add includes for xcoff.
328         (coff_frob_section): Handle dwarf section.
329
330 2011-05-17  Nick Clifton  <nickc@redhat.com>
331
332         * po/fi.po: New Finnish translation.
333         * po/fr.po: Updated French translation.
334
335         * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
336         * config/tc-mt.c (md_assemble): Fix typos in warning messages.
337         * cond.c (s_else): Fix typos in error messages.
338         * config/tc-pj.c (md_assemble): Fix typo in error message.
339
340 2011-05-16  Hans-Peter Nilsson  <hp@axis.com>
341
342         * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
343         emitting ELF object.
344         (md_show_usage): Only mention --pic if the assembler can generate
345         ELF objects.
346         * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
347         prerequisite for --pic being a valid option.
348
349 2011-05-13  Frederic Marchal  <fmarchal@perso.be>
350
351         PR gas/12755
352         * config/tc-v850.c (parse_register_list): Correct error string.
353
354 2011-05-12  Quentin Neill  <quentin.neill@amd.com>
355
356         * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
357         (i386_align_code): Ditto
358
359 2011-05-12  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
360
361         PR gas/12715
362         * config/tc-arm.c (parse_big_immediate):  Fix parsing of 64-bit
363         immediates on 32-bit hosts.
364
365 2011-05-10  Quentin Neill  <quentin.neill@amd.com>
366
367         * config/tc-i386.c (cpu_arch): Add bdver2 and rename
368         PROCESSOR_BDVER1 to PROCESSOR_BDVER.
369         (i386_align_code): Rename PROCESSOR_BDVER1.
370         (processor_type): Ditto.
371         * doc/c-i386.texi: Add bdver2.
372
373 2011-05-10  Alan Modra  <amodra@gmail.com>
374
375         * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
376
377 2011-05-09  Paul Brook  <paul@codesourcery.com>
378
379         * config/tc-tic6x.c (streq): Define.
380         (tic6x_get_unwind): New.
381         (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
382         s_tic6x_personalityindex, s_tic6x_personality): New functions.
383         (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
384         "personality" and "cantunwind".
385         (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
386         tic6x_start_unwind_section, tic6x_unwind_frame_regs,
387         tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
388         tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
389         tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
390         tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
391         tic6x_cfi_endproc): New.
392         * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
393         (tic6x_unwind_info): New.
394         (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
395         text_unwind.
396         (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
397         tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
398         DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
399         tc_cfi_section_name): Define.
400         * doc/c-tic6x.texi: Document new unwinding directives.
401         * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
402         definitions.
403         (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
404         CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
405         Move to dw2gencfi.h.
406         (CFI_EMIT_target): Define.
407         (dot_cfi_sections): Check tc_cfi_section_name.
408         (dot_cfi_startproc): Use tc_cfi_startproc.
409         (dot_cfi_endproc): Use tc_cfi_endproc.
410         * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
411         CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
412         CFI_val_encoded_addr):  Move to here from dw2gencfi.c.
413
414 2011-05-07  Alan Modra  <amodra@gmail.com>
415
416         * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
417         Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
418         (struct fde_entry): Rename cseg to cur_seg.
419         (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
420         (get_cfi_seg): Likewise.  Use if (SUPPORT_FRAME_LINKONCE) rather
421         that #if SUPPORT_FRAME_LINKONCE.
422         (cfi_finish): Likewise.
423
424 2011-05-06  Tristan Gingold  <gingold@adacore.com>
425
426         * read.c (s_comm_internal): Remove code for OBJ_VMS.
427         (s_data): Ditto.
428         (s_text): Ditto.
429         * write.c (write_object_file): Ditto.
430         * symbols.c (define_sym_at_dot): Ditto.
431         (colon): Ditto.
432
433 2011-05-05  Alan Modra  <amodra@gmail.com>
434
435         * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define.  Use throughout
436         file to conditionally compile code added 2011-04-26.
437         (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
438         when SUPPORT_FRAME_LINKONCE.
439         (get_cfi_seg): Likewise.  Reintroduce old code for when not
440         SUPPORT_FRAME_LINKONCE.
441         (cfi_finish): Move get_cfi_seg calls out of loop when not
442         SUPPORT_FRAME_LINKONCE.  Avoid unused var warning.
443
444 2011-05-03  Paul Brook  <paul@codesourcery.com>
445
446         * config/tc-tic6x.c (s_ehtype): New function.
447         (md_pseudo_table): Add "ehtype".
448         (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
449         * doc/c-tic6x.texi: Document .ehtype directive.
450
451 2011-04-26  Kai Tietz  <ktietz@redhat.com>
452
453         * dw2gencfi.c (dwcfi_seg_list): New struct.
454         (dwcfi_hash): New static hash variable.
455         (get_debugseg_name): New.
456         (alloc_debugseg_item): New.
457         (make_debug_seg): New.
458         (dwcfi_hash_insert): New.
459         (dwcfi_hash_find): New.
460         (dwcfi_hash_find_or_make): New.
461         (cfi_insn_data): New member cur_seg.
462         (cie_entry): Likewise.
463         (fde_entry): New cseg and handled members.
464         (alloc_fde_entry): Initialize cseg member.
465         (alloc_cfi_insn_data): Initialize cur_seg member.
466         (dot_cfi_sections): Compare for beginning of
467         section names via strncmp.
468         (get_cfi_seg): New.
469         (cfi_finish): Treat link-once sections.
470         (is_now_linkonce_segment): New local helper.
471         (output_cie): Ignore cie entries not member of current
472         segment.
473         (output_fde): Likewise.
474         (select_cie_for_fde): Likewise.
475         (cfi_change_reg_numbers): Add new argument for current segment
476         and ignore insn elements, if not part of current segment.
477         * ehopt.c (get_cie_info): Use strncmp for
478         section name matching.
479         (heck_eh_frame): Likewise.
480
481 2011-04-20  Catherine Moore  <clm@codesourcery.com>
482             David Ung <davidu@mips.com>
483
484         * config/mips.c (mips_cl_insn): Add new field complete_p.
485         (create_insn): Initialize complete_p to zero.
486         (BASE_REG_EQ): New.
487         (fix_24k_align_to): New.
488         (fix_24k_store_info): Declare.
489         (fix_24k_sort): New.
490         (fix_24k_record_store_info): New.
491         (nops_for_24k): New.
492         (nops_for_insn): Call nops_for_24k.
493         (append_insn): Move O_constant expression handling.
494
495 2011-04-20  Alan Modra  <amodra@gmail.com>
496
497         * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
498         (hash_new_sized): New function, split out from..
499         (hash_new): ..here.
500
501 2011-04-19  Nick Clifton  <nickc@redhat.com>
502
503         * config/tc-arm.c (v7m_psrs): Revert previous delta.
504
505 2011-04-18  Julian Brown  <julian@codesourcery.com>
506             Nick Clifton  <nickc@redhat.com>
507
508         * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
509         detect M-profile targets.
510         (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
511         (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
512
513 2011-04-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
514
515         * config/tc-s390.c (s390_machine): New prototype.
516         (md_pseudo_table): New pseudo-op .machine.
517         (s390_opcode_hash): Initialize to NULL.
518         (s390_parse_cpu): New function.
519         (md_parse_option): Use s390_parse_cpu.
520         (s390_setup_opcodes): New function.
521         (md_begin): Use s390_setup_opcodes.
522         (s390_machine): New hook handling the new .machine pseudo.
523
524         * doc/c-s390.texi: Document the new pseudo op .machine.
525
526 2011-04-12  H.J. Lu  <hongjiu.lu@intel.com>
527
528         * config/tc-i386.c (i386_mach): Start error message with lower
529         case.
530         (md_begin): Likewise.
531         (md_parse_option): Likewise.
532         (i386_target_format): Likewise.
533         (check_byte_reg): Likewise.
534         (check_long_reg): Likewise.
535         (check_qword_reg): Likewise.
536         (check_word_reg): Likewise.
537
538 2011-04-12  Nick Clifton  <nickc@redhat.com>
539
540         PR gas/12532
541         * config/tc-arm.c (relax_branch): Do not relax branches to
542         preemptable global symbols.
543
544 2011-04-11  Julian Brown  <julian@codesourcery.com>
545
546         * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
547         for *APSR bitmasks.
548         (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
549         Remove OP_RVC_PSR.
550         (parse_operands): Likewise.
551         (do_mrs): Tweak error message for constraint.
552         (do_t_mrs): Update constraints for changes to APSR support.
553         (do_t_msr): Likewise. Don't set PSR_f flag here.
554         (psrs): Remove "g", "nzcvq", "nzcvqg".
555         (insns): Tweak entries for msr and mrs instructions.
556
557 2011-04-11  Kai Tietz  <ktietz@redhat.com>
558
559         * config/tc-i386.c (x86_cons): Initialize adjust with zero.
560
561 2011-04-11  Nick Clifton  <nickc@redhat.com>
562
563         * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
564         * config/tc-i386.h (x86_cons): Always prototype.
565
566         * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
567         in order to avoid a compile time warning.
568         (getprocreg_image): Likewise.
569
570 2011-04-11  Alan Modra  <amodra@gmail.com>
571
572         * config/tc-cr16.c (getprocreg_image): Correct range check.
573         (getprocregp_image): Likewise.
574
575 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
576
577         * configure.tgt (strongarm*be, strongarm*b, strongarm*,
578         xscale*be|xscale*b, xscale*): Remove architectures.
579         (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
580         thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
581
582 2011-04-01  Tristan Gingold  <gingold@adacore.com>
583
584         * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
585
586 2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
587
588         * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
589         static variables.
590         (md_begin): Initialize them.
591         (s_tic6x_scomm): New static function.
592         (md_pseudo_table): Add "scomm".
593         (tc_gen_reloc): Really undo all adjustments made by
594         bfd_install_relocation.
595         * doc/c-tic6x.texi: Document the .scomm directive.
596
597 2011-03-31  Tristan Gingold  <gingold@adacore.com>
598
599         * dwarf2dbg.c (DWARF2_VERSION): Define.
600         (out_debug_line): Use it.
601         (out_debug_aranges): Ditto.
602         (out_debug_info): Ditto.
603         * config/tc-ia64.h (DWARF2_VERSION): Override it.
604
605 2011-03-30  Michael Snyder  <msnyder@vmware.com>
606
607         * obj-elf.c (obj_elf_section): Free malloced name.
608         * macro.c (get_any_string): Free malloced br_buf.
609         (do_formals): Free 'formal'.
610
611 2011-03-30  Tristan Gingold  <gingold@adacore.com>
612
613         * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
614         to offset only if within is set.
615         (ppc_stabx): Reformat.  For stsym stabs, add a check and set
616         within only for symbols.
617
618 2011-03-29  Richard Henderson  <rth@redhat.com>
619
620         PR 12610
621         * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
622         label; zap alpha_insn_label.
623
624 2011-03-29  H.J. Lu  <hongjiu.lu@intel.com>
625
626         * config/tc-i386.c (handle_quad): Properly handle multiple
627         operands.
628
629 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
630
631         * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
632         reg $2 is the same as dest reg $4.
633
634 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
635
636         * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
637         reg $2 is the same as dest reg $4.
638
639 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
640
641         * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
642         reg $2 is the same as dest reg $4.
643
644 2011-03-28  Mike Frysinger  <vapier@gentoo.org>
645
646         * config/bfin-parse.y (16bit acc add): Return yyerror when dest
647         reg $1 is the same as dest reg $7.
648
649 2011-03-28  H.J. Lu  <hongjiu.lu@intel.com>
650
651         * config/tc-i386.c (handle_quad): New.
652         (md_pseudo_table): Add "quad".
653
654 2011-03-26  John Marino  <binutils@marino.st>
655
656         * configure.tgt: Fix support for *-*-dragonfly*.
657         * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
658         * config/te-dragonfly.h: New file.
659
660 2011-03-24  Eric B. Weddington  <eric.weddington@atmel.com>
661
662         * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
663         atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
664         at90pwm161.
665         * doc/c-avr.texi: Document new device names.
666
667 2011-03-24  Mike Frysinger  <vapier@gentoo.org>
668
669         * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
670         reg $1 is the same as dest reg $7.
671         (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
672         dest reg $7.
673
674 2011-03-24  Mike Frysinger  <vapier@gentoo.org>
675
676         * config/bfin-parse.y (check_macfuncs): Clarify error message when
677         P is mismatched.  Check destination regno are off by one when P is
678         set, or are equal when P is not set.
679
680 2011-03-23  Mike Frysinger  <vapier@gentoo.org>
681
682         * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
683         the same as dest reg $4.
684         (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
685
686 2011-03-23  Eric B. Weddington  <eric.weddington@atmel.com>
687
688         * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
689         atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
690         * doc/c-avr.texi: Document new device names.
691
692 2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
693
694         * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
695         (AVR_INSN): Change definition to match.
696         (avr_opcodes): Likewise, change to match.
697         (mcu_types): Add XMEGA architecture names and new XMEGA device names.
698         (md_show_usage): Add XMEGA architecture names.
699         (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
700         Add support for SPM Z+ instruction.
701         * doc/c-avr.texi: Add documentation for XMEGA architectures and
702         devices.
703
704 2011-03-21  Eric B. Weddington  <eric.weddington@atmel.com>
705
706         * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
707
708 2011-03-18  Alan Modra  <amodra@gmail.com>
709
710         * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
711         on .size expression errors rather than symbols in the size expression.
712
713 2011-03-18  Alan Modra  <amodra@gmail.com>
714
715         * input-scrub.c (line_numberT): Delete.
716         (input_scrub_close): Reset line counters.
717         * messages.c (as_show_where): Don't print invalid line number.
718         (as_warn_internal, as_bad_internal): Likewise.
719
720 2011-03-18  Alan Modra  <amodra@gmail.com>
721
722         * read.c (read_a_source_file): Remove md_after_pass_hook.
723         Move "quit" label before set of dot_symbol.
724         * config/tc-d10v.h (md_after_pass_hook): Don't define.
725         * config/tc-d30v.h (md_after_pass_hook): Likewise.
726         * config/tc-m32r.h (md_after_pass_hook): Likewise.
727         (md_cleanup): Define to call m32r_fill_insn.
728
729 2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
730
731         * config/tc-s390.c (md_parse_option): Add -march=all option which
732         switches to the highest available CPU.
733
734 2011-03-17  Alan Modra  <amodra@gmail.com>
735
736         PR 12569
737         * expr.c (operand): Correct passing of "mode" to expr.
738         * read.c (do_org): Allow expr_section.
739         (get_known_segmented_expression): Don't assert anything about the
740         segment.
741
742 2011-03-16  H.J. Lu  <hongjiu.lu@intel.com>
743
744         * as.c (show_usage): Add --size-check=.
745         (parse_args): Add and handle OPTION_SIZE_CHECK.
746
747         * as.h (flag_size_check): New.
748
749         * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
750         bad .size directive only for --size-check=error.
751
752         * doc/as.texinfo: Document --size-check=.
753
754 2011-03-14  Mike Frysinger  <vapier@gentoo.org>
755
756         * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
757         bf542/bf544/bf547/bf548/bf549.
758
759 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
760
761         * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
762         determine whether a relocation is needed.
763         (md_apply_fix, arm_apply_sym_value): Likewise.
764
765 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
766
767         * config/tc-arm.c (arm_adjust_symtab): Set the branch type
768         for Thumb symbols.
769
770 2011-03-11  Nick Clifton  <nickc@redhat.com>
771
772         * remap.c (remap_debug_filename): Always allocate a buffer for the
773         returned pointer.
774         * stabs.c (stabs_generate_asm_file): Free the pointer returned by
775         remap_debug_filename.
776
777 2011-03-10  Michael Snyder  <msnyder@vmware.com>
778
779         Revert the following change:
780         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
781         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
782
783 2011-03-10  Alan Modra  <amodra@gmail.com>
784
785         * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
786         TARGET_SYMBOL_FIELDS): Don't define.
787         * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
788
789 2011-03-09  Michael Snyder  <msnyder@vmware.com>
790
791         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
792         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
793         (emit_fixed_inc_line_addr): Assign instead of conditional in
794         assert.
795
796 2011-03-05  H.J. Lu  <hongjiu.lu@intel.com>
797
798         * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
799         non-constant .size expression.
800
801 2011-03-02  Nick Clifton  <nickc@redhat.com>
802
803         * ecoff.c: Incldue filenames.h
804
805 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
806
807         * depend.c (register_dependency): Use filename_(n)cmp.
808         * dwarf2dbg.c (get_filenum): Likewise.
809         * ecoff.c (add_file): Likewise.
810         (ecoff_generate_asm_lineno): Likewise.
811         * input-scrub.c (new_logical_line_flags): Likewise.
812         * listing.c (file_info): Likewise.
813         (listing_newline): Likewise.
814         * remap.c (remap_debug_filename): Likewise.
815         * stabs.c (generate_asm_file): Likewise.
816         (stabs_generate_asm_lineno): Likewise.
817
818 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
819
820         * config/tc-mips.c (append_insn): Disable branch relaxation for
821         DSP instructions.
822
823 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
824
825         * config/tc-mips.c (macro): Handle M_PREF_AB.
826
827 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
828
829         * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
830         register to use.
831         (RELAX_BRANCH_UNCOND): Adjust accordingly.
832         (RELAX_BRANCH_LIKELY): Likewise.
833         (RELAX_BRANCH_LINK): Likewise.
834         (RELAX_BRANCH_TOOFAR): Likewise.
835         (RELAX_BRANCH_AT): New macro.
836         (append_insn): Encode the temporary register to use in standard
837         MIPS branch relaxation.
838         (relaxed_branch_length): Update according to changes to
839         RELAX_BRANCH_ENCODE.
840         (md_convert_frag): Use the encoded register as the temporary.
841
842 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
843
844         * config/tc-mips.c (mips_fix_adjustable): On REL targets also
845         reject PC-relative relocations.
846
847 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
848
849         * config/tc-mips.c (md_convert_frag): Correct message
850         capitalization.
851
852 2011-02-28  Alan Modra  <amodra@gmail.com>
853
854         * symbols.c (report_op_error): Remove unnecessary forward declaration.
855         Add "op" parameter.  Report operator and operand segments in error
856         message, not operand symbols.
857         (resolve_symbol_value): Always set segment for equated symbols, not
858         just when finalizing.  Adjust report_op_error calls.
859
860 2011-02-25  H.J. Lu  <hongjiu.lu@intel.com>
861
862         * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
863         if 64bit relocations aren't allowed.
864
865 2011-02-25  Alan Modra  <amodra@gmail.com>
866
867         PR gas/12519
868         * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
869
870 2011-02-21  Maciej W. Rozycki  <macro@codesourcery.com>
871
872         * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
873         initialization of offset_reloc.
874
875 2011-02-15  Richard Henderson  <rth@redhat.com>
876
877         * dw2gencfi.c (dot_cfi_dummy): New.
878         (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
879         * read.c (pobegin): Unconditionally call cfi_pop_insert.
880
881 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
882
883         * configure: Regenerate.
884
885 2011-02-13  Mike Frysinger  <vapier@gentoo.org>
886
887         * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
888         * config/bfin-parse.y (BYTEOP2M): Delete token.
889         (asm_1): Remove BYTEOP2M insn matching.
890
891 2011-02-12  Mike Frysinger  <vapier@gentoo.org>
892
893         * config/bfin-defs.h: Include opcode/bfin.h.
894         (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
895
896 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
897
898         * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
899         (Modify Registers): Fix subtracted typo.
900         (.byte2): Extend and swap descriptions with .byte4.
901         (.byte4): Extend and swap descriptions with .byte2.
902         (.db, .dw, .dd): Document behavior.
903
904 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
905
906         * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
907
908 2011-02-11  Alan Modra  <amodra@gmail.com>
909
910         * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
911
912 2011-02-10  Alan Modra  <amodra@gmail.com>
913
914         * doc/as.texinfo (Overview): Add missing markup around Blackfin
915         and PowerPC options.
916
917 2011-02-10  Alan Modra  <amodra@gmail.com>
918
919         * config/tc-ppc.c (md_show_usage): Remove -l and -b.  Add -K PIC.
920         * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
921         (Overview <Target PowerPC options>): Add a number of missing options.
922         * doc/c-ppc.texi: Likewise.  Add markup for use in manpage generation.
923
924 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
925
926         PR gas/6957
927         * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
928         for i686.
929
930 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
931
932         * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
933         for ISA extensions.
934         (md_parse_option): Likewise.
935
936 2011-02-04  Bernd Schmidt  <bernds@codesourcery.com>
937
938         * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
939         * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
940         (TIC6X Options): Don't mention "-matomic".
941         * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
942         (md_longopts): Remove corresponding entries.
943         (md_parse_option): Don't handle them.
944         (md_show_usage): Don't document them.
945         (tic6x_atomic): Delete variable.
946         (tic6x_update_features): Always copy tic6x_arch_enable to
947         tic6x_features.
948         (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
949         (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
950         (md_pseudo_table): Remove ".atomic" and ".noatomic".
951
952 2011-01-31  Nick Clifton  <nickc@redhat.com>
953
954         * write.c (write_contents): Include output file name and bfd error
955         value when reporting the inability to write to the output file.
956         * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
957         frag that has a non-zero fill value.
958
959 2011-01-27  DJ Delorie  <dj@redhat.com>
960
961         * config/tc-rx.c (md_convert_frag): If we can't compute the target
962         address, zero out the values stored in the object file to make
963         objdump's output consistent.
964
965 2011-01-26  Kai Tietz  <kai.tietz@onevision.com>
966
967         * config/tc-i386.c (md_begin): Set for x64 windows COFF target
968         x86_dwarf2_return_column to 32.
969
970 2011-01-20  Nick Clifton  <nickc@redhat.com>
971
972         PR gas/12384
973         * config/tc-h8300.c (constant_fits_width_p): Use correct type for
974         comparison.
975
976 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
977
978         * write.c (compress_debug): Return if section size is smaller
979         than 32 bytes.
980
981 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
982
983         PR gas/12409
984         * write.c (compress_debug): Return if section size is 0.
985
986 2011-01-18  Mingfeng Wu  <mingfeng@faraday-tech.com>
987
988         * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
989         cores: fa606te, fa616te, fmp626.  Modify the VFP of fa626te.
990         * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
991         fmp626} options.
992
993 2011-01-18  Nick Clifton  <nickc@redhat.com>
994
995         PR gas/12390
996         * doc/all.texi: Add NS32K
997         * doc/as.texinfo: Remove target specific details of which
998         characters act as comment initiators and statement separators into
999         individual target specific files.
1000         * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
1001         the hash character at the start of a line.
1002         * doc/c-arm.texi (ARM-Chars): Likewise.
1003         * doc/c-avr.texi (AVR-Chars): Likewise.
1004         * doc/c-d10v.texi (D10V-Chars): Likewise.
1005         * doc/c-d30v.texi (D30V-Chars): Likewise.
1006         * doc/c-mmix.texi (MMIX-Chars): Likewise.
1007         * doc/c-s390.texi (s390 characters): Likewise.
1008         * doc/c-sh.texi (SH-Chars): Likewise.
1009         * doc/c-sh64.texi (SH64-Chars): Likewise.
1010         * doc/c-sparc.texi (SPARC-Chars): Likewise.
1011         * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
1012         * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
1013         * doc/c-z80.texi (Z80-Chars): Likewise.
1014         * doc/c-z8k.texi (Z8000-Chars): Likewise.
1015         * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
1016         * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
1017         * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
1018         line separator characters.
1019         * doc/c-cr16.texi (CR16 Syntax): Likewise.
1020         * doc/c-i386.texi (i386-Chars): Likewise.
1021         * doc/c-i860.texi (i860-Chars): Likewise.
1022         * doc/c-i960.texi (i960-Chars): Likewise.
1023         * doc/c-ip2k.texi (IP2K-Chars): Likewise.
1024         * doc/c-lm32.texi (LM32-Chars): likewise.
1025         * doc/c-m32c.texi (M32C-Chars): Likewise.
1026         * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
1027         * doc/c-m68k.texi (M68K-Chars): Likewise.
1028         * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
1029         * doc/c-msp430.texi (MSP430-Chars): Likewise.
1030         * doc/c-mt.texi (MT-Chars): Likewise.
1031         * doc/c-ns32k.texi (NS32K-Chars): Likewise.
1032         * doc/c-pj.texi (PJ-Chars): Likewise.
1033         * doc/c-ppc.texi (PowerPC-Chars): Likewise.
1034         * doc/c-rx.texi (RX-Chars): Likewise.
1035         * doc/c-score.texi (SCORE-Chars): Likewise.
1036         * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
1037         * doc/c-v850.texi (V850-Chars): Likewise.
1038         * doc/c-vax.texi (VAX-Chars): Likewise.
1039         * doc/c-xc16x.texi (xc16x-Chars): Likewise.
1040
1041 2011-01-17  Quentin Neill  <quentin.neill@amd.com>
1042
1043         * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
1044
1045         * doc/c-i386.texi (i386-TBM): New section.
1046
1047 2011-01-16  H.J. Lu  <hongjiu.lu@intel.com>
1048
1049         * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
1050         (disallow_64bit_reloc): This.
1051         (md_assemble): Don't check movabs for x32 mode here.
1052         (i386_target_format): Updated.
1053         (tc_gen_reloc): Check if 64bit relocations are allowed.
1054
1055 2011-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1056
1057         * config/tc-i386.c (disallow_64bit_disp): New.
1058         (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
1059         X86_64_ABI/X86_64_X32_ABI.
1060         (md_assemble): Don't allow movabs with relocation in x32 mode.
1061         (i386_target_format): Updated.
1062
1063 2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1064
1065         * config/tc-i386.c (OPTION_N32): Renamed to ...
1066         (OPTION_X32): This.
1067         (md_longopts): Replace n32 with x32.
1068         (md_parse_option): Updated.
1069         (md_show_usage): Likewise.
1070
1071         * doc/c-i386.texi: Replace --n32 with --x32.
1072
1073 2011-01-11  Mingjie Xing  <mingjie.xing@gmail.com>
1074
1075         * config/tc-mips.c (mips_ip): Update error messages.  Take an
1076         unadjusted offset for "+c" argument.
1077
1078 2011-01-10  Nick Clifton  <nickc@redhat.com>
1079
1080         * config/tc-i386.c (x86_elf_abi): Only define for targets that use
1081         it.
1082
1083 2011-01-10  Nick Clifton  <nickc@redhat.com>
1084
1085         * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
1086         part of the file.
1087
1088 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
1089             Glauber de Oliveira Costa  <glommer@gmail.com>
1090
1091         * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
1092         .tlsdescseq directive.
1093         * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
1094         following a symbol.
1095         (s_arm_tls_descseq): New directive.
1096         (md_pseudo_table): Add it.
1097         (encode_branch): Allow TLS_CALL relocs too.
1098         (do_t_blx, do_t_branch23): Use encode_branch.
1099         (reloc_names): Add tlsdesc and tlscall.
1100         (md_apply_fix): Process tls desc relocations.
1101         (tc_gen_reloc): Likewise.
1102         (arm_fix_adjustable): Likewise.
1103
1104 2011-01-07  Quentin Neill  <quentin.neill@amd.com>
1105
1106         * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
1107
1108         * doc/c-i386.texi (i386-BMI): New section.
1109
1110 2011-01-06  Paul Koning  <ni1d@arrl.net>
1111
1112         * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
1113         references to absolute addresses.
1114
1115 2011-01-05  DJ Delorie  <dj@redhat.com>
1116
1117         * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
1118         instead of an RH_NEG32 one.
1119
1120 2011-01-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1121
1122         * doc/c-i386.texi: Clarify --n32.
1123
1124 2011-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1125
1126         * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
1127         integer registers in VEX.vvvv.  Check register-only source
1128         operand when two source operands are swapped.  Properly update
1129         destination when two source operands are swapped.
1130
1131 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
1132
1133         * gas.c (parse_args): Update copyright to 2011.
1134
1135 For older changes see ChangeLog-2010
1136 \f
1137 Local Variables:
1138 mode: change-log
1139 left-margin: 8
1140 fill-column: 74
1141 version-control: never
1142 End: