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