OSDN Git Service

3ae1eafff34c4e2457d949fa552c7b503c727d4d
[pf3gnuchains/pf3gnuchains4x.git] / gas / ChangeLog
1 2011-08-10  Maciej W. Rozycki  <macro@codesourcery.com>
2
3         * config/tc-mips.c (can_swap_branch_p): Update the comment on
4         MIPS16 fixups.
5
6 2011-08-09  Chao-ying Fu  <fu@mips.com>
7             Daniel Jacobowitz  <dan@codesourcery.com>
8
9         * config/tc-mips.c (mips_cpu_info_table): Add "m14k" and
10         "m14kc".
11         * doc/c-mips.texi (MIPS architecture options): Add "m14k" and
12         "m14kc" to the list of -march options.
13
14 2011-08-09  Chao-ying Fu  <fu@mips.com>
15             Maciej W. Rozycki  <macro@codesourcery.com>
16
17         * config/tc-mips.c (mips_set_options): Add ase_mcu.
18         (mips_opts): Initialise ase_mcu to -1.
19         (ISA_SUPPORTS_MCU_ASE): New macro.
20         (MIPS_CPU_ASE_MCU): Likewise.
21         (is_opcode_valid): Handle MCU.
22         (macro_build, macro): Likewise.
23         (validate_mips_insn, validate_micromips_insn): Likewise.
24         (mips_ip): Likewise.
25         (options): Add OPTION_MCU and OPTION_NO_MCU.
26         (md_longopts): Add mmcu and mno-mcu.
27         (md_parse_option): Handle OPTION_MCU and OPTION_NO_MCU.
28         (mips_after_parse_args): Handle MCU.
29         (s_mipsset): Likewise.
30         (md_show_usage): Handle MCU options.
31
32         * doc/as.texinfo: Document -mmcu and -mno-mcu options.
33         * doc/c-mips.texi: Likewise, and document ".set mcu" and
34         ".set nomcu" directives.
35
36 2011-08-09  Maciej W. Rozycki  <macro@codesourcery.com>
37
38         * config/tc-mips.c (gpr_mod_mask): Remove INSN2_MOD_GPR_MB,
39         INSN2_MOD_GPR_MC, INSN2_MOD_GPR_ME, INSN2_MOD_GPR_MG,
40         INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MM,
41         INSN2_MOD_GPR_MN, INSN2_MOD_GPR_MP and INSN2_MOD_GPR_MQ opcode
42         register use checks.
43         (gpr_read_mask): Add INSN2_READ_GPR_MC, INSN2_READ_GPR_ME
44         INSN2_READ_GPR_MG, INSN2_READ_GPR_MJ, INSN2_READ_GPR_MMN,
45         INSN2_READ_GPR_MP and INSN2_READ_GPR_MQ opcode register use
46         checks.
47         (gpr_write_mask): Replace INSN2_WRITE_GPR_S opcode register
48         use flag with INSN_WRITE_GPR_S.  Add INSN2_WRITE_GPR_MB,
49         INSN2_WRITE_GPR_MHI, INSN2_WRITE_GPR_MJ and INSN2_WRITE_GPR_MP
50         opcode register use checks.
51         (can_swap_branch_p): Enable microMIPS branch swapping.
52         (append_insn): Likewise.
53
54 2011-08-09  Maciej W. Rozycki  <macro@codesourcery.com>
55
56         * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Remove forced 16-bit
57         branch size information.
58         (RELAX_MICROMIPS_U16BIT): Remove macro.
59         (RELAX_MICROMIPS_UNCOND): Adjust accordingly.
60         (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise.
61         (RELAX_MICROMIPS_RELAX32): Likewise.
62         (RELAX_MICROMIPS_TOOFAR16): Likewise.
63         (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise.
64         (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise.
65         (RELAX_MICROMIPS_TOOFAR32): Likewise.
66         (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise.
67         (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise.
68         (append_insn): Always check forced_insn_length for microMIPS
69         relaxation.  Adjust code for the removal of
70         RELAX_MICROMIPS_U16BIT.
71         (mips_ip) <'D', 'E'>: If forced_insn_length, then emit the
72         relocation straight away.
73         (relaxed_micromips_16bit_branch_length): Adjust code for the
74         removal of RELAX_MICROMIPS_U16BIT.
75
76 2011-08-08  Tristan Gingold  <gingold@adacore.com>
77
78         * config/obj-macho.c (obj_mach_o_section): New function.
79         (struct known_section): New type.
80         (known_sections): Declare.
81         (obj_mach_o_known_section): New function.
82         (obj_mach_o_common_parse): Ditto.
83         (obj_mach_o_comm): Ditto.
84         (obj_mach_o_subsections_via_symbols): Ditto.
85         (mach_o_pseudo_table): Add new pseudos.
86
87 2011-08-06  Richard Henderson  <rth@redhat.com>
88
89         * dw2gencfi.c (all_fde_data): Export.
90         * dw2gencfi.h (all_fde_data): Declare.
91         * config/tc-alpha.c (alpha_elf_md_end): Don't convert legacy unwind
92         info to cfi unwind info if the user already has supplied some.
93
94 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
95
96         * config/tc-mips.c (emit_nop): Delete.
97         (get_delay_slot_nop): New function.
98         (nops_for_insn_or_target): Use it.
99         (append_insn): Likewise.  When avoiding hazards, call add_fixed_insn
100         and insert_into_history directly.
101
102 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
103
104         * config/tc-mips.c (delayed_branch_p, compact_branch_p)
105         (uncond_branch_p, branch_likely_p): New functions.
106         (insns_between, nops_for_insn_or_target, append_insn)
107         (macro_start): Use them.
108         (get_append_method): Likewise.  Remove redundant test.
109
110 2011-08-05  David S. Miller  <davem@davemloft.net>
111
112         * config/tc-sparc.c (v9a_asr_table): Add "cps".
113         (sparc_ip): Handle '4', '5' and '(' format codes.
114
115 2011-08-04  H.J. Lu  <hongjiu.lu@intel.com>
116
117         PR gas/13056
118         * output-file.c (output_file_close): Call bfd_cache_close_all
119         on error.
120
121         * write.c (write_object_file): Revert the last change.
122
123 2011-08-04  Alan Modra  <amodra@gmail.com>
124
125         * write.c (write_object_file): Call set_symtab even if we had
126         errors.
127
128 2011-08-04  Tristan Gingold  <gingold@adacore.com>
129
130         * config/obj-elf.c (obj_elf_section): Do not free name.
131
132 2011-08-03  James Greenhalgh  <james.greenhalgh@arm.com>
133
134         * config/tc-arm.c (do_t_strexbh): New.
135         (insns): Update accordingly.
136
137 2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>
138
139         PR ld/13048
140         * config/tc-i386.c (handle_quad): Removed.
141         (md_pseudo_table): Remove "quad".
142         (tc_gen_reloc): Don't check BFD_RELOC_64 for disallow_64bit_reloc.
143         (x86_dwarf2_addr_size): New.
144
145         * config/tc-i386.h (x86_dwarf2_addr_size): New.
146         (DWARF2_ADDR_SIZE): Likewise.
147
148 2011-08-01  Nick Clifton  <nickc@redhat.com>
149
150         PR ld/12974
151         * config/tc-arm.c (literal_pool): Add locs field.
152         (add_to_lit_pool): Initialise the locs entry for the new literal.
153         (s_ltorg): Generate a DWARF2 line number entry for each emitted
154         literal pool entry.
155
156 2011-08-01  Tristan Gingold  <gingold@adacore.com>
157
158         * write.c (write_relocs): Fix -Wshadow in DEBUG3 and DEBUG4.
159
160 2011-08-01  Tristan Gingold  <gingold@adacore.com>
161
162         * frags.c (frag_grow): Simplify the code.
163
164 2011-07-30  Richard Sandiford  <rdsandiford@googlemail.com>
165
166         * config/tc-mips.c (nops_for_vr4130): Revert previous commit.
167
168 2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
169
170         * config/tc-mips.c: Adjust comments throughout.
171         (reglist_lookup): Reshape code.
172         (jmp_reloc_p, jalr_reloc_p): Reformat.
173         (got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS
174         relocations.
175         (gpr_mod_mask): Remove unused variable.
176         (gpr_read_mask, gpr_write_mask): Reshape code.
177         (fpr_read_mask, fpr_write_mask): Likewise.
178         (nops_for_vr4130): Ensure non-microMIPS mode.
179         (can_swap_branch_p): Correct pinfo2 reference.  Reshape code.
180         (append_insn): Skip Loongson 2F workaround in MIPS16 mode.  Use
181         the outermost operator of a compound relocation to determines
182         the relocated field.  Fix formatting.
183         (md_convert_frag): Reshape code.
184
185 2011-07-29  Tristan Gingold  <gingold@adacore.com>
186
187         * frags.c (frag_var_init): New function.
188         (frag_var): Call frag_var_init to initialize.
189         (frag_variant): Ditto.
190
191 2011-07-27  Nathan Sidwell  <nathan@codesourcery.com>
192
193         * dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a
194         warning.
195         * doc/as.texinfo (Offset): Document .offset directive.
196
197 2011-07-27  Tristan Gingold  <gingold@adacore.com>
198
199         * frags.c (frag_grow): Revert previous patch.
200
201 2011-07-26  Kazuhiro Inaoka  <kazuhiro.inaoka.ud@renesas.com>
202
203         * config/tc-rx.c (md_convert_frag): Fix encoding of beq.a
204         synthetic instruction.
205
206 2011-07-25  Tristan Gingold  <gingold@adacore.com>
207
208         * frags.c (frag_grow): Simplify the code.
209
210 2011-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
211             Chao-ying Fu  <fu@mips.com>
212             Richard Sandiford  <rdsandiford@googlemail.com>
213
214         * config/tc-mips.h (mips_segment_info): Add one bit for
215         microMIPS.
216         (TC_LABEL_IS_LOCAL): New macro.
217         (mips_label_is_local): New prototype.
218         * config/tc-mips.c (S0, S7): New macros.
219         (emit_branch_likely_macro): New variable.
220         (mips_set_options): Add micromips.
221         (mips_opts): Initialise micromips to -1.
222         (file_ase_micromips): New variable.
223         (CPU_HAS_MICROMIPS): New macro.
224         (hilo_interlocks): Set for microMIPS too.
225         (gpr_interlocks): Likewise.
226         (cop_interlocks): Likewise.
227         (cop_mem_interlocks): Likewise.
228         (HAVE_CODE_COMPRESSION): New macro.
229         (micromips_op_hash): New variable.
230         (micromips_nop16_insn, micromips_nop32_insn): New variables.
231         (NOP_INSN): Handle microMIPS ASE.
232         (mips32_to_micromips_reg_b_map): New macro.
233         (mips32_to_micromips_reg_c_map): Likewise.
234         (mips32_to_micromips_reg_d_map): Likewise.
235         (mips32_to_micromips_reg_e_map): Likewise.
236         (mips32_to_micromips_reg_f_map): Likewise.
237         (mips32_to_micromips_reg_g_map): Likewise.
238         (mips32_to_micromips_reg_l_map): Likewise.
239         (mips32_to_micromips_reg_n_map): Likewise.
240         (mips32_to_micromips_reg_h_map): New variable.
241         (mips32_to_micromips_reg_m_map): Likewise.
242         (mips32_to_micromips_reg_q_map): Likewise.
243         (micromips_to_32_reg_h_map): New variable.
244         (micromips_to_32_reg_i_map): Likewise.
245         (micromips_to_32_reg_m_map): Likewise.
246         (micromips_to_32_reg_q_map): Likewise.
247         (micromips_to_32_reg_b_map): New macro.
248         (micromips_to_32_reg_c_map): Likewise.
249         (micromips_to_32_reg_d_map): Likewise.
250         (micromips_to_32_reg_e_map): Likewise.
251         (micromips_to_32_reg_f_map): Likewise.
252         (micromips_to_32_reg_g_map): Likewise.
253         (micromips_to_32_reg_l_map): Likewise.
254         (micromips_to_32_reg_n_map): Likewise.
255         (micromips_imm_b_map, micromips_imm_c_map): New macros.
256         (RELAX_DELAY_SLOT_16BIT): New macro.
257         (RELAX_DELAY_SLOT_SIZE_FIRST): Likewise.
258         (RELAX_DELAY_SLOT_SIZE_SECOND): Likewise.
259         (RELAX_MICROMIPS_ENCODE, RELAX_MICROMIPS_P): New macros.
260         (RELAX_MICROMIPS_TYPE, RELAX_MICROMIPS_AT): Likewise.
261         (RELAX_MICROMIPS_U16BIT, RELAX_MICROMIPS_UNCOND): Likewise.
262         (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise.
263         (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16): Likewise.
264         (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise.
265         (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise.
266         (RELAX_MICROMIPS_TOOFAR32): Likewise.
267         (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise.
268         (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise.
269         (INSERT_OPERAND, EXTRACT_OPERAND): Handle microMIPS ASE.
270         (mips_macro_warning): Add delay_slot_16bit_p, delay_slot_32bit_p,
271         fsize and insns.
272         (mips_mark_labels): New function.
273         (mips16_small, mips16_ext): Remove variables, replacing with...
274         (forced_insn_size): ... this.
275         (append_insn, mips16_ip): Update accordingly.
276         (micromips_insn_length): New function.
277         (insn_length): Return the length of microMIPS instructions.
278         (mips_record_mips16_mode): Rename to...
279         (mips_record_compressed_mode): ... this.  Handle microMIPS ASE.
280         (install_insn): Handle microMIPS ASE.
281         (reglist_lookup): New function.
282         (is_size_valid, is_delay_slot_valid): Likewise.
283         (md_begin): Handle microMIPS ASE.
284         (md_assemble): Likewise.  Update for append_insn interface change.
285         (micromips_reloc_p): New function.
286         (got16_reloc_p): Handle microMIPS ASE.
287         (hi16_reloc_p): Likewise.
288         (lo16_reloc_p): Likewise.
289         (jmp_reloc_p): New function.
290         (jalr_reloc_p): Likewise.
291         (matching_lo_reloc): Handle microMIPS ASE.
292         (insn_uses_reg, reg_needs_delay): Likewise.
293         (mips_move_labels): Likewise.
294         (mips16_mark_labels): Rename to...
295         (mips_compressed_mark_labels): ... this.  Handle microMIPS ASE.
296         (gpr_mod_mask): New function.
297         (gpr_read_mask, gpr_write_mask): Handle microMIPS ASE.
298         (fpr_read_mask, fpr_write_mask): Likewise.
299         (insns_between, nops_for_vr4130, nops_for_insn): Likewise.
300         (fix_loongson2f_nop, fix_loongson2f_jump): Likewise.
301         (MICROMIPS_LABEL_CHAR): New macro.
302         (micromips_target_label, micromips_target_name): New variables.
303         (micromips_label_name, micromips_label_expr): New functions.
304         (micromips_label_inc, micromips_add_label): Likewise.
305         (mips_label_is_local): Likewise.
306         (micromips_map_reloc): Likewise.
307         (can_swap_branch_p): Handle microMIPS ASE.
308         (append_insn): Add expansionp argument.  Handle microMIPS ASE.
309         (start_noreorder, end_noreorder): Handle microMIPS ASE.
310         (macro_start, macro_warning, macro_end): Likewise.
311         (brk_fmt, cop12_fmt, jalr_fmt, lui_fmt): New variables.
312         (mem12_fmt, mfhl_fmt, shft_fmt, trap_fmt): Likewise.
313         (BRK_FMT, COP12_FMT, JALR_FMT, LUI_FMT): New macros.
314         (MEM12_FMT, MFHL_FMT, SHFT_FMT, TRAP_FMT): Likewise.
315         (macro_build): Handle microMIPS ASE.  Update for append_insn
316         interface change.
317         (mips16_macro_build): Update for append_insn interface change.
318         (macro_build_jalr): Handle microMIPS ASE.
319         (macro_build_lui): Likewise.  Simplify.
320         (load_register): Handle microMIPS ASE.
321         (load_address): Likewise.
322         (move_register): Likewise.
323         (macro_build_branch_likely): New function.
324         (macro_build_branch_ccl): Likewise.
325         (macro_build_branch_rs): Likewise.
326         (macro_build_branch_rsrt): Likewise.
327         (macro): Handle microMIPS ASE.
328         (validate_micromips_insn): New function.
329         (expr_const_in_range): Likewise.
330         (mips_ip): Handle microMIPS ASE.
331         (options): Add OPTION_MICROMIPS and OPTION_NO_MICROMIPS.
332         (md_longopts): Add mmicromips and mno-micromips.
333         (md_parse_option): Handle OPTION_MICROMIPS and
334         OPTION_NO_MICROMIPS.
335         (mips_after_parse_args): Handle microMIPS ASE.
336         (md_pcrel_from): Handle microMIPS relocations.
337         (mips_force_relocation): Likewise.
338         (md_apply_fix): Likewise.
339         (mips_align): Handle microMIPS ASE.
340         (s_mipsset): Likewise.
341         (s_cpload, s_cpsetup, s_cpreturn): Use relocation wrappers.
342         (s_dtprel_internal): Likewise.
343         (s_gpword, s_gpdword): Likewise.
344         (s_insn): Handle microMIPS ASE.
345         (s_mips_stab): Likewise.
346         (relaxed_micromips_32bit_branch_length): New function.
347         (relaxed_micromips_16bit_branch_length): New function.
348         (md_estimate_size_before_relax): Handle microMIPS ASE.
349         (mips_fix_adjustable): Likewise.
350         (tc_gen_reloc): Handle microMIPS relocations.
351         (mips_relax_frag): Handle microMIPS ASE.
352         (md_convert_frag): Likewise.
353         (mips_frob_file_after_relocs): Likewise.
354         (mips_elf_final_processing): Likewise.
355         (mips_nop_opcode): Likewise.
356         (mips_handle_align): Likewise.
357         (md_show_usage): Handle microMIPS options.
358         * symbols.c (TC_LABEL_IS_LOCAL): New macro.
359         (S_IS_LOCAL): Add a TC_LABEL_IS_LOCAL check.
360
361         * doc/as.texinfo (Target MIPS options): Add -mmicromips and
362         -mno-micromips.
363         (-mmicromips, -mno-micromips): New options.
364         * doc/c-mips.texi (-mmicromips, -mno-micromips): New options.
365         (MIPS ISA): Document .set micromips and .set nomicromips.
366         (MIPS insn): Update for microMIPS support.
367
368 2011-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
369
370         * config/tc-mips.c (mips_ip): Make a copy of the instruction's
371         mnemonic and use it for further processing.
372
373 2011-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
374
375         * config/tc-mips.c (can_swap_branch_p): Adjust for the rename of
376         INSN_TRAP to INSN_NO_DELAY_SLOT.  Remove the check for INSN_SYNC
377         as well as explicit checks for ERET and DERET when scheduling
378         branch delay slots.
379
380 2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>
381
382         * config/tc-i386.c (cpu_arch): Add k1om.
383         (i386_align_code): Handle PROCESSOR_K1OM.
384         (check_cpu_arch_compatible): Check EM_K1OM.
385         (i386_arch): Handle Intel K1OM.
386         (i386_mach): Return bfd_mach_k1om for Intel K1OM.
387         (i386_target_format): Return ELF_TARGET_K1OM_FORMAT for Intel
388         K1OM.
389
390         * config/tc-i386.h (ELF_TARGET_K1OM_FORMAT): New.
391         (processor_type): Add PROCESSOR_K1OM.
392
393         * doc/c-i386.texi: Document k1om.
394
395 2011-07-18  H.J. Lu  <hongjiu.lu@intel.com>
396
397         * doc/c-i386.texi: Fix a typo.
398
399 2011-07-06  Aurelien Jarno  <aurelien@aurel32.net>
400
401         * config/tc-mips.c (append_insn): delete prev_pinfo2 and pinfo2.
402
403 2011-07-04  Richard Sandiford  <rdsandiford@googlemail.com>
404
405         * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Fix handling
406         of register 0.
407
408 2011-07-04  Maciej W. Rozycki  <macro@codesourcery.com>
409
410         * config/tc-mips.c (append_insn): Make sure DWARF-2 location
411         information is properly adjusted for branches that get swapped.
412
413 2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
414             Thomas Schwinge  <thomas@schwinge.name>
415
416         PR binutils/12913
417         * config/obj-elf.c (obj_elf_type): Use ELFOSABI_GNU name instead of
418         ELFOSABI_LINUX alias.
419         * config/tc-ia64.c: Likewise.
420
421 2011-06-30  Paul Carroll  <pcarroll@codesourcery.com>
422
423         * config/tc-arm.c (do_t_add_sub): Only allow LSL shifts of less
424         than 4 in Thumb mode.
425
426 2011-06-30  Nick Clifton  <nickc@redhat.com>
427
428         PR gas/12848
429         * config/tc-arm.c (BAD_RANGE): New error message define.
430         (md_apply_fix): Use it.
431         Fix range check for thumb branch instructions.
432
433 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
434
435         * config/tc-mips.c (append_method): New enum.
436         (can_swap_branch_p, get_append_method): New functions.
437         (append_insn): Use get_append_method to decide how the instruction
438         should be added.
439
440 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
441
442         * config/tc-mips.c (append_insn): Remove bogus goto.
443
444 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
445
446         * config/tc-mips.c (append_insn): Always clear the history after an
447         unconditional branch.
448
449 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
450
451         * config/tc-mips.c (find_altered_mips16_opcode): New function.
452         (append_insn): Use it.
453
454 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
455
456         * config/tc-mips.c (insn_uses_reg): Delete.
457         (gpr_read_mask, gpr_write_mask): New functions.
458         (fpr_read_mask, fpr_write_mask): Likewise.
459         (insns_between, nops_for_vr4130, append_insn): Use them.
460
461 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
462
463         * config/tc-mips.c (md_mips_end): Call mips_emit_delays.
464
465 2011-06-29  Dave Martin  <dave.martin@linaro.org>
466
467         PR gas/12931
468         * config/tc-arm.c (mapping_state): When changing to ARM or THUMB
469         state set the minimum required alignment of the section.
470
471 2011-06-29  Tristan Gingold  <gingold@adacore.com>
472
473         * config/tc-i386.c (i386_mach): Convert to ISO-C.
474         (md_begin, pe_directive_secrel, md_estimate_size_before_relax): Ditto.
475         (md_convert_frag, md_apply_fix, md_undefined_symbol): Ditto.
476         (md_section_align, tc_gen_reloc): Ditto.
477
478 2011-06-28  Tristan Gingold  <gingold@adacore.com>
479
480         * config/tc-alpha.c (s_alpha_pdesc): Fix indentation. Do not
481         generate dummy fix.
482
483 2011-06-28  Tristan Gingold  <gingold@adacore.com>
484
485         * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc.
486         (emit_jsrjmp): Ditto.
487         (tc_gen_reloc): Ditto.
488
489 2011-06-28  Tristan Gingold  <gingold@adacore.com>
490
491         * config/tc-alpha.c (alpha_evax_proc_hash): Remove.
492         (alpha_evax_proc_data): New variable.
493         (s_alpha_ent): Prevent nested function.  Remove has_insert call.
494         (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of
495         error.  Do not search in the hash table.  Check if match with .ent.
496         (s_alpha_name): Remove unused variable.
497         (md_begin): Remove initialization of alpha_evax_proc_hash.
498
499 2011-06-27  Tristan Gingold  <gingold@adacore.com>
500
501         * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter.
502         Locally declare basesym.  Add comments.  Do not set literal_pool_size.
503         (load_expression): Adjust call to add_to_link_pool.
504         (s_alpha_pdesc): Define pdesc symbol using dot.
505         Do not set literal_pool_size.
506         (s_alpha_end): Use NULL instead of 0.
507
508 2011-06-27  Tristan Gingold  <gingold@adacore.com>
509
510         * config/obj-evax.c (evax_frob_file_before_adjust): Add comments.
511         Fix style.
512         * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg
513         field.  Add comments.
514         (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
515
516 2011-06-26  Richard Sandiford  <rdsandiford@googlemail.com>
517
518         * config/tc-mips.c (fix_24k_record_store_info): If the previous
519         instruction was a store, and the next instructions are unknown,
520         assume the worst.
521
522 2011-06-25  Richard Sandiford  <rdsandiford@googlemail.com>
523
524         PR gas/12915
525         * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn)
526         (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters.
527         (mips_emit_delays, start_noreorder): Update accordingly.
528         (append_insn): Likewise.  Revert original fix for this PR
529         and use the ignore parameter instead.
530
531 2011-06-24  Tristan Gingold  <gingold@adacore.com>
532
533         PR gas/11625
534         * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
535
536 2011-06-24  Tristan Gingold  <gingold@adacore.com>
537
538         * config/tc-alpha.c (add_to_link_pool): Remove useless offset
539         variable.  Fix style.
540
541 2011-06-23  Richard Sandiford  <rdsandiford@googlemail.com>
542
543         PR gas/12915
544         * config/tc-mips.c (append_insn): Only consider hazards between the
545         pre-noreorder block and ip.
546
547 2011-06-21  Sameera Deshpande  <sameera.deshpande@arm.com>
548
549         * config/tc-arm.c (vfp_conv): Add check on range of immediate operand
550         in vcvt instruction between floating-point and fixed-point.
551         (operand_parse_code): Add "OP_oI32z".
552         (parse_operands): OP_oI32z case added.
553
554 2011-06-20  H.J. Lu  <hongjiu.lu@intel.com>
555
556         * configure.tgt: Revert x32 change.
557
558 2011-06-20  Nick Clifton  <nickc@redhat.com>
559
560         * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi.
561         * doc/Makefile.in: Regenerate.
562         * doc/all.texi: Set XSTORMY16.
563         * doc/c-xstormy16.texi: New file.
564
565 2011-06-19  H.J. Lu  <hongjiu.lu@intel.com>
566
567         * configure.tgt: Support x32.
568
569 2011-06-15  Nick Clifton  <nickc@redhat.com>
570
571         * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
572
573 2011-06-14  Tristan Gingold  <gingold@adacore.com>
574
575         * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
576         (tc_new_dot_label): Define.
577         (ppc_new_dot_label): Declare.
578         * config/tc-ppc.c (ppc_frob_label): Set within target field.
579         (ppc_fix_adjustable): Use this field to adjust the reloc.
580         (ppc_new_dot_label): New function.
581
582 2011-06-14  Alan Modra  <amodra@gmail.com>
583
584         * po/POTFILES.in: Regenerate.
585
586 2011-06-13  Walter Lee  <walt@tilera.com>
587
588         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
589         config/tc-tilepro.c.
590         (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
591         config/tc-tilepro.h.
592         * Makefile.in: Regenerate.
593         * configure.tgt (tilepro-*-*): New.
594         (tilegx-*-*): Likewise.
595         * config/tc-tilegx.c: New file.
596         * config/tc-tilegx.h: Likewise.
597         * config/tc-tilepro.h: Likewise.
598         * config/tc-tilepro.c: Likewise.
599         * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
600         c-tilepro.texi.
601         * doc/Makefile.in: Regenerate.
602         * doc/all.texi (TILEGX): Define.
603         (TILEPRO): Define.
604         * doc/as.texinfo: Add Tile-Gx and TILEPro documentation.  Include
605         c-tilegx.texi and c-tilepro.texi.
606         * doc/c-tilegx.texi: New.
607         * doc/c-tilepro.texi: New.
608
609 2011-06-13  Nick Clifton  <nickc@redhat.com>
610
611         PR gas/12854
612         * config/tc-arm.c (do_shift): Do not allow shift operations at the
613         end of a register based shift insn.
614         (do_t_shift): Likewise.
615
616 2011-06-13  Nick Clifton  <nickc@redhat.com>
617
618         * config/tc-score.c (s3_my_get_expression): Delete unused local
619         variable 'seg'.
620         (s3_do_ldst_insn): Delete unused local variable 'strbak'.
621         (s3_do16_ldst_insn): Delete unused local variable 'temp'.
622         (s3_do_macro_bcmp): Zero inst_expand array.
623         (s3_do_macro_bcmpz): Likewise.
624         (s3_s_score_end): Delete unused local variable 'dot'.
625         (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
626         * config/tc-score7.c (s7_my_get_expression): Delete unused local
627         variable 'seg'.
628         (s7_do_ldst_insn): Delete unused local variable 'strbak'.
629         (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
630         'r_new'.
631         (s7_s_score_end): Delete unused local variable 'dot'.
632         (s7_relax_frag): Delete unused local variable 'relax_size'.
633         (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
634
635 2011-06-10  H.J. Lu  <hongjiu.lu@intel.com>
636
637         AVX Programming Reference (June, 2011)
638         * config/tc-i386.c (i386_error): Add invalid_vsib_address and
639         unsupported_vector_index_register.
640         (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
641         (check_VecOperands): New.
642         (match_template): Call check_VecOperands.  Handle
643         invalid_vsib_address and unsupported_vector_index_register.
644         (build_modrm_byte): Support VecSIB.  Check register-only source
645         operand when two source operands are swapped.
646         (i386_index_check): Allow Xmm/Ymm index registers.
647
648         * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
649         and invpcid./invpcid.
650
651 2011-06-09  Nick Clifton  <nickc@redhat.com>
652
653         PR gas/12861
654         * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
655         code.
656         (check_cinv_options): Remove unused local variables.  Make
657         function void.
658         (md_assemble): Remove unused local variable.
659
660 2011-06-09  James Greenhalgh  <james.greenhalgh@arm.com>
661
662         * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
663
664 2011-06-03  Arnaud Patard  <arnaud.patard@rtp-net.org>
665
666         PR gas/12698
667         * config/tc-arm.c (parse_psr): Set m_profile to false when
668         assembling for any architecture.
669
670 2011-06-02  Jie Zhang jie@codesourcery.com
671             Nathan Sidwell nathan@codesourcery.com
672
673         * config/tc-arm.c (parse_address_main): Handle -0 offsets.
674         (encode_arm_addr_mode_2): Set default sign of zero here ...
675         (encode_arm_addr_mode_3): ... and here.
676         (encode_arm_cp_address): ... and here.
677         (md_apply_fix): Use default sign of zero here.
678
679 2011-06-02  Nick Clifton  <nickc@redhat.com>
680
681         * as.c: Fix spelling typo.
682         * read.c: Likewise.
683         * config/tc-ppc.c: Likewise.
684         * po/gas.pit: Regenerate.
685
686 2011-05-31  Paul Brook  <paul@codesourcery.com>
687
688         * config/tc-arm.c (arm_cpus): Add Cortex-R5.
689         (arm_extensions): Allow idiv on ARMv7-R.
690         * doc/c-arm.text: Update idiv extension restrictions.
691
692 2011-05-31  Paul Brook  <paul@codesourcery.com>
693
694         * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
695         loads.
696
697 2011-05-31  Paul Brook  <paul@codesourcery.com>
698
699         * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
700         addresses.
701
702 2011-05-31  Paul Brook  <paul@codesourcery.com>
703         Nathan Sidwell  <nathan@codesourcery.com>
704
705         * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
706         pc-relative fixes to constants.
707         * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
708
709 2011-05-27  Nick Clifton  <nickc@redhat.com>
710
711         * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
712
713 2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
714
715         * config/tc-s390.c (md_gather_operands): Fix check for floating
716         register pair operands.
717
718 2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
719
720         * config/tc-s390.c (md_gather_operands): Emit an error for odd
721         numbered registers used as register pair operand.
722
723 2011-05-23  Nick Clifton  <nickc@redhat.com>
724
725         * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
726
727 2011-05-20  Bernd Schmidt  <bernds@codesourcery.com>
728
729         * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
730         (tic6x_parse_name): Handle it.
731         (tic6x_fix_new_exp): Handle O_pcr_offset.
732         (tic6x_fix_adjustable): Return 0 for the new relocs.
733         (md_apply_fix): Handle them.
734         (tc_gen_reloc): Likewise.
735         * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
736
737 2011-05-18  Nick Clifton  <nickc@redhat.com>
738
739         PR gas/12754
740         * config/tc-tic30.c (ordinal_names): Allow translation of the
741         ordinal names.
742
743 2011-05-18  Nick Clifton  <nickc@redhat.com>
744
745         * config/tc-arm.c (s_unreq): Reword warning message to make it
746         easier to translate.
747         * config/tc-ia64.c (md_show_usage): Add note for translators.
748         * configure.in (ALL_LINGUAS): Add "fi".
749         * configure: Regenerate.
750
751 2011-05-18  Tristan Gingold  <gingold@adacore.com>
752
753         * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
754         Put size into an union with dw.
755         (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
756         (ppc_xcoff_end): Declare.
757         (md_end): Define.
758         * config/tc-ppc.c: Add includes for xcoff.
759         (ppc_dwsect): New function.
760         (md_pseudo_table): Add dwsect.
761         (struct dw_subsection): New.
762         (dw_sections): New.
763         (ppc_change_debug_section): New function.
764         (ppc_xcoff_end): Ditto.
765         (ppc_function): Adjust for ppc_tc_sy.
766         (ppc_symbol_new_hook): Ditto.
767         (ppc_frob_symbol): Ditto.
768         (ppc_frob_section): Do not set vma for debug sections.
769         (ppc_fix_adjustable): Return true for debug sections.
770         * config/obj-coff.c: Add includes for xcoff.
771         (coff_frob_section): Handle dwarf section.
772
773 2011-05-17  Nick Clifton  <nickc@redhat.com>
774
775         * po/fi.po: New Finnish translation.
776         * po/fr.po: Updated French translation.
777
778         * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
779         * config/tc-mt.c (md_assemble): Fix typos in warning messages.
780         * cond.c (s_else): Fix typos in error messages.
781         * config/tc-pj.c (md_assemble): Fix typo in error message.
782
783 2011-05-16  Hans-Peter Nilsson  <hp@axis.com>
784
785         * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
786         emitting ELF object.
787         (md_show_usage): Only mention --pic if the assembler can generate
788         ELF objects.
789         * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
790         prerequisite for --pic being a valid option.
791
792 2011-05-13  Frederic Marchal  <fmarchal@perso.be>
793
794         PR gas/12755
795         * config/tc-v850.c (parse_register_list): Correct error string.
796
797 2011-05-12  Quentin Neill  <quentin.neill@amd.com>
798
799         * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
800         (i386_align_code): Ditto
801
802 2011-05-12  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
803
804         PR gas/12715
805         * config/tc-arm.c (parse_big_immediate):  Fix parsing of 64-bit
806         immediates on 32-bit hosts.
807
808 2011-05-10  Quentin Neill  <quentin.neill@amd.com>
809
810         * config/tc-i386.c (cpu_arch): Add bdver2 and rename
811         PROCESSOR_BDVER1 to PROCESSOR_BDVER.
812         (i386_align_code): Rename PROCESSOR_BDVER1.
813         (processor_type): Ditto.
814         * doc/c-i386.texi: Add bdver2.
815
816 2011-05-10  Alan Modra  <amodra@gmail.com>
817
818         * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
819
820 2011-05-09  Paul Brook  <paul@codesourcery.com>
821
822         * config/tc-tic6x.c (streq): Define.
823         (tic6x_get_unwind): New.
824         (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
825         s_tic6x_personalityindex, s_tic6x_personality): New functions.
826         (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
827         "personality" and "cantunwind".
828         (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
829         tic6x_start_unwind_section, tic6x_unwind_frame_regs,
830         tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
831         tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
832         tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
833         tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
834         tic6x_cfi_endproc): New.
835         * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
836         (tic6x_unwind_info): New.
837         (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
838         text_unwind.
839         (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
840         tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
841         DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
842         tc_cfi_section_name): Define.
843         * doc/c-tic6x.texi: Document new unwinding directives.
844         * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
845         definitions.
846         (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
847         CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
848         Move to dw2gencfi.h.
849         (CFI_EMIT_target): Define.
850         (dot_cfi_sections): Check tc_cfi_section_name.
851         (dot_cfi_startproc): Use tc_cfi_startproc.
852         (dot_cfi_endproc): Use tc_cfi_endproc.
853         * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
854         CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
855         CFI_val_encoded_addr):  Move to here from dw2gencfi.c.
856
857 2011-05-07  Alan Modra  <amodra@gmail.com>
858
859         * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
860         Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
861         (struct fde_entry): Rename cseg to cur_seg.
862         (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
863         (get_cfi_seg): Likewise.  Use if (SUPPORT_FRAME_LINKONCE) rather
864         that #if SUPPORT_FRAME_LINKONCE.
865         (cfi_finish): Likewise.
866
867 2011-05-06  Tristan Gingold  <gingold@adacore.com>
868
869         * read.c (s_comm_internal): Remove code for OBJ_VMS.
870         (s_data): Ditto.
871         (s_text): Ditto.
872         * write.c (write_object_file): Ditto.
873         * symbols.c (define_sym_at_dot): Ditto.
874         (colon): Ditto.
875
876 2011-05-05  Alan Modra  <amodra@gmail.com>
877
878         * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define.  Use throughout
879         file to conditionally compile code added 2011-04-26.
880         (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
881         when SUPPORT_FRAME_LINKONCE.
882         (get_cfi_seg): Likewise.  Reintroduce old code for when not
883         SUPPORT_FRAME_LINKONCE.
884         (cfi_finish): Move get_cfi_seg calls out of loop when not
885         SUPPORT_FRAME_LINKONCE.  Avoid unused var warning.
886
887 2011-05-03  Paul Brook  <paul@codesourcery.com>
888
889         * config/tc-tic6x.c (s_ehtype): New function.
890         (md_pseudo_table): Add "ehtype".
891         (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
892         * doc/c-tic6x.texi: Document .ehtype directive.
893
894 2011-04-26  Kai Tietz  <ktietz@redhat.com>
895
896         * dw2gencfi.c (dwcfi_seg_list): New struct.
897         (dwcfi_hash): New static hash variable.
898         (get_debugseg_name): New.
899         (alloc_debugseg_item): New.
900         (make_debug_seg): New.
901         (dwcfi_hash_insert): New.
902         (dwcfi_hash_find): New.
903         (dwcfi_hash_find_or_make): New.
904         (cfi_insn_data): New member cur_seg.
905         (cie_entry): Likewise.
906         (fde_entry): New cseg and handled members.
907         (alloc_fde_entry): Initialize cseg member.
908         (alloc_cfi_insn_data): Initialize cur_seg member.
909         (dot_cfi_sections): Compare for beginning of
910         section names via strncmp.
911         (get_cfi_seg): New.
912         (cfi_finish): Treat link-once sections.
913         (is_now_linkonce_segment): New local helper.
914         (output_cie): Ignore cie entries not member of current
915         segment.
916         (output_fde): Likewise.
917         (select_cie_for_fde): Likewise.
918         (cfi_change_reg_numbers): Add new argument for current segment
919         and ignore insn elements, if not part of current segment.
920         * ehopt.c (get_cie_info): Use strncmp for
921         section name matching.
922         (heck_eh_frame): Likewise.
923
924 2011-04-20  Catherine Moore  <clm@codesourcery.com>
925             David Ung <davidu@mips.com>
926
927         * config/mips.c (mips_cl_insn): Add new field complete_p.
928         (create_insn): Initialize complete_p to zero.
929         (BASE_REG_EQ): New.
930         (fix_24k_align_to): New.
931         (fix_24k_store_info): Declare.
932         (fix_24k_sort): New.
933         (fix_24k_record_store_info): New.
934         (nops_for_24k): New.
935         (nops_for_insn): Call nops_for_24k.
936         (append_insn): Move O_constant expression handling.
937
938 2011-04-20  Alan Modra  <amodra@gmail.com>
939
940         * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
941         (hash_new_sized): New function, split out from..
942         (hash_new): ..here.
943
944 2011-04-19  Nick Clifton  <nickc@redhat.com>
945
946         * config/tc-arm.c (v7m_psrs): Revert previous delta.
947
948 2011-04-18  Julian Brown  <julian@codesourcery.com>
949             Nick Clifton  <nickc@redhat.com>
950
951         * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
952         detect M-profile targets.
953         (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
954         (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
955
956 2011-04-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
957
958         * config/tc-s390.c (s390_machine): New prototype.
959         (md_pseudo_table): New pseudo-op .machine.
960         (s390_opcode_hash): Initialize to NULL.
961         (s390_parse_cpu): New function.
962         (md_parse_option): Use s390_parse_cpu.
963         (s390_setup_opcodes): New function.
964         (md_begin): Use s390_setup_opcodes.
965         (s390_machine): New hook handling the new .machine pseudo.
966
967         * doc/c-s390.texi: Document the new pseudo op .machine.
968
969 2011-04-12  H.J. Lu  <hongjiu.lu@intel.com>
970
971         * config/tc-i386.c (i386_mach): Start error message with lower
972         case.
973         (md_begin): Likewise.
974         (md_parse_option): Likewise.
975         (i386_target_format): Likewise.
976         (check_byte_reg): Likewise.
977         (check_long_reg): Likewise.
978         (check_qword_reg): Likewise.
979         (check_word_reg): Likewise.
980
981 2011-04-12  Nick Clifton  <nickc@redhat.com>
982
983         PR gas/12532
984         * config/tc-arm.c (relax_branch): Do not relax branches to
985         preemptable global symbols.
986
987 2011-04-11  Julian Brown  <julian@codesourcery.com>
988
989         * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
990         for *APSR bitmasks.
991         (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
992         Remove OP_RVC_PSR.
993         (parse_operands): Likewise.
994         (do_mrs): Tweak error message for constraint.
995         (do_t_mrs): Update constraints for changes to APSR support.
996         (do_t_msr): Likewise. Don't set PSR_f flag here.
997         (psrs): Remove "g", "nzcvq", "nzcvqg".
998         (insns): Tweak entries for msr and mrs instructions.
999
1000 2011-04-11  Kai Tietz  <ktietz@redhat.com>
1001
1002         * config/tc-i386.c (x86_cons): Initialize adjust with zero.
1003
1004 2011-04-11  Nick Clifton  <nickc@redhat.com>
1005
1006         * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
1007         * config/tc-i386.h (x86_cons): Always prototype.
1008
1009         * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
1010         in order to avoid a compile time warning.
1011         (getprocreg_image): Likewise.
1012
1013 2011-04-11  Alan Modra  <amodra@gmail.com>
1014
1015         * config/tc-cr16.c (getprocreg_image): Correct range check.
1016         (getprocregp_image): Likewise.
1017
1018 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
1019
1020         * configure.tgt (strongarm*be, strongarm*b, strongarm*,
1021         xscale*be|xscale*b, xscale*): Remove architectures.
1022         (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
1023         thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
1024
1025 2011-04-01  Tristan Gingold  <gingold@adacore.com>
1026
1027         * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
1028
1029 2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
1030
1031         * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
1032         static variables.
1033         (md_begin): Initialize them.
1034         (s_tic6x_scomm): New static function.
1035         (md_pseudo_table): Add "scomm".
1036         (tc_gen_reloc): Really undo all adjustments made by
1037         bfd_install_relocation.
1038         * doc/c-tic6x.texi: Document the .scomm directive.
1039
1040 2011-03-31  Tristan Gingold  <gingold@adacore.com>
1041
1042         * dwarf2dbg.c (DWARF2_VERSION): Define.
1043         (out_debug_line): Use it.
1044         (out_debug_aranges): Ditto.
1045         (out_debug_info): Ditto.
1046         * config/tc-ia64.h (DWARF2_VERSION): Override it.
1047
1048 2011-03-30  Michael Snyder  <msnyder@vmware.com>
1049
1050         * obj-elf.c (obj_elf_section): Free malloced name.
1051         * macro.c (get_any_string): Free malloced br_buf.
1052         (do_formals): Free 'formal'.
1053
1054 2011-03-30  Tristan Gingold  <gingold@adacore.com>
1055
1056         * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
1057         to offset only if within is set.
1058         (ppc_stabx): Reformat.  For stsym stabs, add a check and set
1059         within only for symbols.
1060
1061 2011-03-29  Richard Henderson  <rth@redhat.com>
1062
1063         PR 12610
1064         * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
1065         label; zap alpha_insn_label.
1066
1067 2011-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1068
1069         * config/tc-i386.c (handle_quad): Properly handle multiple
1070         operands.
1071
1072 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
1073
1074         * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
1075         reg $2 is the same as dest reg $4.
1076
1077 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
1078
1079         * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
1080         reg $2 is the same as dest reg $4.
1081
1082 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
1083
1084         * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
1085         reg $2 is the same as dest reg $4.
1086
1087 2011-03-28  Mike Frysinger  <vapier@gentoo.org>
1088
1089         * config/bfin-parse.y (16bit acc add): Return yyerror when dest
1090         reg $1 is the same as dest reg $7.
1091
1092 2011-03-28  H.J. Lu  <hongjiu.lu@intel.com>
1093
1094         * config/tc-i386.c (handle_quad): New.
1095         (md_pseudo_table): Add "quad".
1096
1097 2011-03-26  John Marino  <binutils@marino.st>
1098
1099         * configure.tgt: Fix support for *-*-dragonfly*.
1100         * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
1101         * config/te-dragonfly.h: New file.
1102
1103 2011-03-24  Eric B. Weddington  <eric.weddington@atmel.com>
1104
1105         * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
1106         atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
1107         at90pwm161.
1108         * doc/c-avr.texi: Document new device names.
1109
1110 2011-03-24  Mike Frysinger  <vapier@gentoo.org>
1111
1112         * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
1113         reg $1 is the same as dest reg $7.
1114         (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
1115         dest reg $7.
1116
1117 2011-03-24  Mike Frysinger  <vapier@gentoo.org>
1118
1119         * config/bfin-parse.y (check_macfuncs): Clarify error message when
1120         P is mismatched.  Check destination regno are off by one when P is
1121         set, or are equal when P is not set.
1122
1123 2011-03-23  Mike Frysinger  <vapier@gentoo.org>
1124
1125         * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
1126         the same as dest reg $4.
1127         (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
1128
1129 2011-03-23  Eric B. Weddington  <eric.weddington@atmel.com>
1130
1131         * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
1132         atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
1133         * doc/c-avr.texi: Document new device names.
1134
1135 2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
1136
1137         * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
1138         (AVR_INSN): Change definition to match.
1139         (avr_opcodes): Likewise, change to match.
1140         (mcu_types): Add XMEGA architecture names and new XMEGA device names.
1141         (md_show_usage): Add XMEGA architecture names.
1142         (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
1143         Add support for SPM Z+ instruction.
1144         * doc/c-avr.texi: Add documentation for XMEGA architectures and
1145         devices.
1146
1147 2011-03-21  Eric B. Weddington  <eric.weddington@atmel.com>
1148
1149         * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
1150
1151 2011-03-18  Alan Modra  <amodra@gmail.com>
1152
1153         * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
1154         on .size expression errors rather than symbols in the size expression.
1155
1156 2011-03-18  Alan Modra  <amodra@gmail.com>
1157
1158         * input-scrub.c (line_numberT): Delete.
1159         (input_scrub_close): Reset line counters.
1160         * messages.c (as_show_where): Don't print invalid line number.
1161         (as_warn_internal, as_bad_internal): Likewise.
1162
1163 2011-03-18  Alan Modra  <amodra@gmail.com>
1164
1165         * read.c (read_a_source_file): Remove md_after_pass_hook.
1166         Move "quit" label before set of dot_symbol.
1167         * config/tc-d10v.h (md_after_pass_hook): Don't define.
1168         * config/tc-d30v.h (md_after_pass_hook): Likewise.
1169         * config/tc-m32r.h (md_after_pass_hook): Likewise.
1170         (md_cleanup): Define to call m32r_fill_insn.
1171
1172 2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1173
1174         * config/tc-s390.c (md_parse_option): Add -march=all option which
1175         switches to the highest available CPU.
1176
1177 2011-03-17  Alan Modra  <amodra@gmail.com>
1178
1179         PR 12569
1180         * expr.c (operand): Correct passing of "mode" to expr.
1181         * read.c (do_org): Allow expr_section.
1182         (get_known_segmented_expression): Don't assert anything about the
1183         segment.
1184
1185 2011-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1186
1187         * as.c (show_usage): Add --size-check=.
1188         (parse_args): Add and handle OPTION_SIZE_CHECK.
1189
1190         * as.h (flag_size_check): New.
1191
1192         * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
1193         bad .size directive only for --size-check=error.
1194
1195         * doc/as.texinfo: Document --size-check=.
1196
1197 2011-03-14  Mike Frysinger  <vapier@gentoo.org>
1198
1199         * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
1200         bf542/bf544/bf547/bf548/bf549.
1201
1202 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
1203
1204         * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
1205         determine whether a relocation is needed.
1206         (md_apply_fix, arm_apply_sym_value): Likewise.
1207
1208 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
1209
1210         * config/tc-arm.c (arm_adjust_symtab): Set the branch type
1211         for Thumb symbols.
1212
1213 2011-03-11  Nick Clifton  <nickc@redhat.com>
1214
1215         * remap.c (remap_debug_filename): Always allocate a buffer for the
1216         returned pointer.
1217         * stabs.c (stabs_generate_asm_file): Free the pointer returned by
1218         remap_debug_filename.
1219
1220 2011-03-10  Michael Snyder  <msnyder@vmware.com>
1221
1222         Revert the following change:
1223         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
1224         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
1225
1226 2011-03-10  Alan Modra  <amodra@gmail.com>
1227
1228         * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
1229         TARGET_SYMBOL_FIELDS): Don't define.
1230         * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
1231
1232 2011-03-09  Michael Snyder  <msnyder@vmware.com>
1233
1234         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
1235         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
1236         (emit_fixed_inc_line_addr): Assign instead of conditional in
1237         assert.
1238
1239 2011-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1240
1241         * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
1242         non-constant .size expression.
1243
1244 2011-03-02  Nick Clifton  <nickc@redhat.com>
1245
1246         * ecoff.c: Incldue filenames.h
1247
1248 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
1249
1250         * depend.c (register_dependency): Use filename_(n)cmp.
1251         * dwarf2dbg.c (get_filenum): Likewise.
1252         * ecoff.c (add_file): Likewise.
1253         (ecoff_generate_asm_lineno): Likewise.
1254         * input-scrub.c (new_logical_line_flags): Likewise.
1255         * listing.c (file_info): Likewise.
1256         (listing_newline): Likewise.
1257         * remap.c (remap_debug_filename): Likewise.
1258         * stabs.c (generate_asm_file): Likewise.
1259         (stabs_generate_asm_lineno): Likewise.
1260
1261 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
1262
1263         * config/tc-mips.c (append_insn): Disable branch relaxation for
1264         DSP instructions.
1265
1266 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
1267
1268         * config/tc-mips.c (macro): Handle M_PREF_AB.
1269
1270 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
1271
1272         * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
1273         register to use.
1274         (RELAX_BRANCH_UNCOND): Adjust accordingly.
1275         (RELAX_BRANCH_LIKELY): Likewise.
1276         (RELAX_BRANCH_LINK): Likewise.
1277         (RELAX_BRANCH_TOOFAR): Likewise.
1278         (RELAX_BRANCH_AT): New macro.
1279         (append_insn): Encode the temporary register to use in standard
1280         MIPS branch relaxation.
1281         (relaxed_branch_length): Update according to changes to
1282         RELAX_BRANCH_ENCODE.
1283         (md_convert_frag): Use the encoded register as the temporary.
1284
1285 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
1286
1287         * config/tc-mips.c (mips_fix_adjustable): On REL targets also
1288         reject PC-relative relocations.
1289
1290 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
1291
1292         * config/tc-mips.c (md_convert_frag): Correct message
1293         capitalization.
1294
1295 2011-02-28  Alan Modra  <amodra@gmail.com>
1296
1297         * symbols.c (report_op_error): Remove unnecessary forward declaration.
1298         Add "op" parameter.  Report operator and operand segments in error
1299         message, not operand symbols.
1300         (resolve_symbol_value): Always set segment for equated symbols, not
1301         just when finalizing.  Adjust report_op_error calls.
1302
1303 2011-02-25  H.J. Lu  <hongjiu.lu@intel.com>
1304
1305         * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
1306         if 64bit relocations aren't allowed.
1307
1308 2011-02-25  Alan Modra  <amodra@gmail.com>
1309
1310         PR gas/12519
1311         * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
1312
1313 2011-02-21  Maciej W. Rozycki  <macro@codesourcery.com>
1314
1315         * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
1316         initialization of offset_reloc.
1317
1318 2011-02-15  Richard Henderson  <rth@redhat.com>
1319
1320         * dw2gencfi.c (dot_cfi_dummy): New.
1321         (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
1322         * read.c (pobegin): Unconditionally call cfi_pop_insert.
1323
1324 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1325
1326         * configure: Regenerate.
1327
1328 2011-02-13  Mike Frysinger  <vapier@gentoo.org>
1329
1330         * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
1331         * config/bfin-parse.y (BYTEOP2M): Delete token.
1332         (asm_1): Remove BYTEOP2M insn matching.
1333
1334 2011-02-12  Mike Frysinger  <vapier@gentoo.org>
1335
1336         * config/bfin-defs.h: Include opcode/bfin.h.
1337         (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
1338
1339 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
1340
1341         * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
1342         (Modify Registers): Fix subtracted typo.
1343         (.byte2): Extend and swap descriptions with .byte4.
1344         (.byte4): Extend and swap descriptions with .byte2.
1345         (.db, .dw, .dd): Document behavior.
1346
1347 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
1348
1349         * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
1350
1351 2011-02-11  Alan Modra  <amodra@gmail.com>
1352
1353         * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
1354
1355 2011-02-10  Alan Modra  <amodra@gmail.com>
1356
1357         * doc/as.texinfo (Overview): Add missing markup around Blackfin
1358         and PowerPC options.
1359
1360 2011-02-10  Alan Modra  <amodra@gmail.com>
1361
1362         * config/tc-ppc.c (md_show_usage): Remove -l and -b.  Add -K PIC.
1363         * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
1364         (Overview <Target PowerPC options>): Add a number of missing options.
1365         * doc/c-ppc.texi: Likewise.  Add markup for use in manpage generation.
1366
1367 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
1368
1369         PR gas/6957
1370         * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
1371         for i686.
1372
1373 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
1374
1375         * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
1376         for ISA extensions.
1377         (md_parse_option): Likewise.
1378
1379 2011-02-04  Bernd Schmidt  <bernds@codesourcery.com>
1380
1381         * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
1382         * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
1383         (TIC6X Options): Don't mention "-matomic".
1384         * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
1385         (md_longopts): Remove corresponding entries.
1386         (md_parse_option): Don't handle them.
1387         (md_show_usage): Don't document them.
1388         (tic6x_atomic): Delete variable.
1389         (tic6x_update_features): Always copy tic6x_arch_enable to
1390         tic6x_features.
1391         (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
1392         (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
1393         (md_pseudo_table): Remove ".atomic" and ".noatomic".
1394
1395 2011-01-31  Nick Clifton  <nickc@redhat.com>
1396
1397         * write.c (write_contents): Include output file name and bfd error
1398         value when reporting the inability to write to the output file.
1399         * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
1400         frag that has a non-zero fill value.
1401
1402 2011-01-27  DJ Delorie  <dj@redhat.com>
1403
1404         * config/tc-rx.c (md_convert_frag): If we can't compute the target
1405         address, zero out the values stored in the object file to make
1406         objdump's output consistent.
1407
1408 2011-01-26  Kai Tietz  <kai.tietz@onevision.com>
1409
1410         * config/tc-i386.c (md_begin): Set for x64 windows COFF target
1411         x86_dwarf2_return_column to 32.
1412
1413 2011-01-20  Nick Clifton  <nickc@redhat.com>
1414
1415         PR gas/12384
1416         * config/tc-h8300.c (constant_fits_width_p): Use correct type for
1417         comparison.
1418
1419 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
1420
1421         * write.c (compress_debug): Return if section size is smaller
1422         than 32 bytes.
1423
1424 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
1425
1426         PR gas/12409
1427         * write.c (compress_debug): Return if section size is 0.
1428
1429 2011-01-18  Mingfeng Wu  <mingfeng@faraday-tech.com>
1430
1431         * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
1432         cores: fa606te, fa616te, fmp626.  Modify the VFP of fa626te.
1433         * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
1434         fmp626} options.
1435
1436 2011-01-18  Nick Clifton  <nickc@redhat.com>
1437
1438         PR gas/12390
1439         * doc/all.texi: Add NS32K
1440         * doc/as.texinfo: Remove target specific details of which
1441         characters act as comment initiators and statement separators into
1442         individual target specific files.
1443         * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
1444         the hash character at the start of a line.
1445         * doc/c-arm.texi (ARM-Chars): Likewise.
1446         * doc/c-avr.texi (AVR-Chars): Likewise.
1447         * doc/c-d10v.texi (D10V-Chars): Likewise.
1448         * doc/c-d30v.texi (D30V-Chars): Likewise.
1449         * doc/c-mmix.texi (MMIX-Chars): Likewise.
1450         * doc/c-s390.texi (s390 characters): Likewise.
1451         * doc/c-sh.texi (SH-Chars): Likewise.
1452         * doc/c-sh64.texi (SH64-Chars): Likewise.
1453         * doc/c-sparc.texi (SPARC-Chars): Likewise.
1454         * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
1455         * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
1456         * doc/c-z80.texi (Z80-Chars): Likewise.
1457         * doc/c-z8k.texi (Z8000-Chars): Likewise.
1458         * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
1459         * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
1460         * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
1461         line separator characters.
1462         * doc/c-cr16.texi (CR16 Syntax): Likewise.
1463         * doc/c-i386.texi (i386-Chars): Likewise.
1464         * doc/c-i860.texi (i860-Chars): Likewise.
1465         * doc/c-i960.texi (i960-Chars): Likewise.
1466         * doc/c-ip2k.texi (IP2K-Chars): Likewise.
1467         * doc/c-lm32.texi (LM32-Chars): likewise.
1468         * doc/c-m32c.texi (M32C-Chars): Likewise.
1469         * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
1470         * doc/c-m68k.texi (M68K-Chars): Likewise.
1471         * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
1472         * doc/c-msp430.texi (MSP430-Chars): Likewise.
1473         * doc/c-mt.texi (MT-Chars): Likewise.
1474         * doc/c-ns32k.texi (NS32K-Chars): Likewise.
1475         * doc/c-pj.texi (PJ-Chars): Likewise.
1476         * doc/c-ppc.texi (PowerPC-Chars): Likewise.
1477         * doc/c-rx.texi (RX-Chars): Likewise.
1478         * doc/c-score.texi (SCORE-Chars): Likewise.
1479         * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
1480         * doc/c-v850.texi (V850-Chars): Likewise.
1481         * doc/c-vax.texi (VAX-Chars): Likewise.
1482         * doc/c-xc16x.texi (xc16x-Chars): Likewise.
1483
1484 2011-01-17  Quentin Neill  <quentin.neill@amd.com>
1485
1486         * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
1487
1488         * doc/c-i386.texi (i386-TBM): New section.
1489
1490 2011-01-16  H.J. Lu  <hongjiu.lu@intel.com>
1491
1492         * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
1493         (disallow_64bit_reloc): This.
1494         (md_assemble): Don't check movabs for x32 mode here.
1495         (i386_target_format): Updated.
1496         (tc_gen_reloc): Check if 64bit relocations are allowed.
1497
1498 2011-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1499
1500         * config/tc-i386.c (disallow_64bit_disp): New.
1501         (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
1502         X86_64_ABI/X86_64_X32_ABI.
1503         (md_assemble): Don't allow movabs with relocation in x32 mode.
1504         (i386_target_format): Updated.
1505
1506 2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1507
1508         * config/tc-i386.c (OPTION_N32): Renamed to ...
1509         (OPTION_X32): This.
1510         (md_longopts): Replace n32 with x32.
1511         (md_parse_option): Updated.
1512         (md_show_usage): Likewise.
1513
1514         * doc/c-i386.texi: Replace --n32 with --x32.
1515
1516 2011-01-11  Mingjie Xing  <mingjie.xing@gmail.com>
1517
1518         * config/tc-mips.c (mips_ip): Update error messages.  Take an
1519         unadjusted offset for "+c" argument.
1520
1521 2011-01-10  Nick Clifton  <nickc@redhat.com>
1522
1523         * config/tc-i386.c (x86_elf_abi): Only define for targets that use
1524         it.
1525
1526 2011-01-10  Nick Clifton  <nickc@redhat.com>
1527
1528         * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
1529         part of the file.
1530
1531 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
1532             Glauber de Oliveira Costa  <glommer@gmail.com>
1533
1534         * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
1535         .tlsdescseq directive.
1536         * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
1537         following a symbol.
1538         (s_arm_tls_descseq): New directive.
1539         (md_pseudo_table): Add it.
1540         (encode_branch): Allow TLS_CALL relocs too.
1541         (do_t_blx, do_t_branch23): Use encode_branch.
1542         (reloc_names): Add tlsdesc and tlscall.
1543         (md_apply_fix): Process tls desc relocations.
1544         (tc_gen_reloc): Likewise.
1545         (arm_fix_adjustable): Likewise.
1546
1547 2011-01-07  Quentin Neill  <quentin.neill@amd.com>
1548
1549         * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
1550
1551         * doc/c-i386.texi (i386-BMI): New section.
1552
1553 2011-01-06  Paul Koning  <ni1d@arrl.net>
1554
1555         * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
1556         references to absolute addresses.
1557
1558 2011-01-05  DJ Delorie  <dj@redhat.com>
1559
1560         * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
1561         instead of an RH_NEG32 one.
1562
1563 2011-01-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
1564
1565         * doc/c-i386.texi: Clarify --n32.
1566
1567 2011-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1568
1569         * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
1570         integer registers in VEX.vvvv.  Check register-only source
1571         operand when two source operands are swapped.  Properly update
1572         destination when two source operands are swapped.
1573
1574 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
1575
1576         * gas.c (parse_args): Update copyright to 2011.
1577
1578 For older changes see ChangeLog-2010
1579 \f
1580 Local Variables:
1581 mode: change-log
1582 left-margin: 8
1583 fill-column: 74
1584 version-control: never
1585 End: