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