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