* dwarf2read.c (partial_read_comp_unit_head): Set header->offset,
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
00ce9deb
AM
12011-10-12 Alan Modra <amodra@gmail.com>
2
3 * symbols.c (local_symbol_make): Make global.
4 * symbols.h (local_symbol_make): Declare.
5 * as.c (main): Define __GAS_VERSION__.
6
d5698657
NC
72011-10-10 Nick Clifton <nickc@redhat.com>
8
9 * po/es.po: Updated Spanish translation.
10 * po/fi.po: Updated Finnish translation.
11 * po/fr.po: Updated French translation.
12
d4cb0ea0
NC
132011-10-05 DJ Delorie <dj@redhat.com>
14 Nick Clifton <nickc@redhat.com>
15
16 * config/rx-defs.h (rx_pid_register): New.
17 (rx_gp_register): New.
18 * config/rx-parse.y (rx_lex): Add support for %gpreg and %pidreg.
19 (displacement): Add PID support.
20 * config/tc-rx.c (rx_pid_mode): New.
21 (rx_num_int_regs): New.
22 (rx_pid_register): New.
23 (rx_gp_register): New.
24 (options): Add -mpid and -mint-register= options.
25 (md_longopts): Likewise.
26 (md_parse_option): Likewise.
27 (md_show_usage): Likewise.
28 (rx_pid_symbol): New.
29 (rx_pidreg_symbol): New.
30 (rx_gpreg_symbol): New.
31 (md_begin): Support PID.
32 (rx_validate_fix_sub): Support PID.
33 (tc_gen_reloc): Support PID.
34 * doc/c-rx.texi: Document PID support.
35
c3489828
KT
362011-09-27 Kai Tietz <ktietz@redhat.com>
37
38 * config/obj-coff.c (obj_coff_section): Add 'e' as specifier
39 for marking section SEC_EXCLUDE.
40
a7142d94
TG
412011-09-22 Tristan Gingold <gingold@adacore.com>
42
43 * NEWS: Add marker for 2.22.
44
4bafe00e
DM
452011-09-21 David S. Miller <davem@davemloft.net>
46
47 * config/tc-sparc.c (hwcap_allowed): New.
48 (struct sparc_arch): New field 'hwcap_allowed' containing a bitmask
49 of F_FOO flags which are enabled by the particular arch setting.
50 Add new options that provide explicit access to new instructions.
51 (md_parse_option): Only bump max_architecture if the requested one
52 is larger, or this is the first explicit request.
53 (get_hwcap_name): New function.
54 (sparc_ip): Validate that hwcaps used by an instruction have actually
55 been enabled.
56 * doc/c-sparc.texi: Document new sparc options.
57
9e8c70f9
DM
582011-09-21 David S. Miller <davem@davemloft.net>
59
60 * config/tc-sparc.c (hwcap_seen): New bitmask, defined when
61 not TE_SOLARIS.
62 (sparc_ip): When not TE_SOLARIS, accumulate hwcap bits from
63 sparc_opcode->flags of instruction into hwcap_seen.
64 (sparc_md_end): Create Tag_GNU_Sparc_HWCAPS attribute if
65 hwcap_seen is non-zero and not TE_SOLARIS.
66
a06413e3
TG
672011-09-19 Tristan Gingold <gingold@adacore.com>
68
69 * config/tc-alpha.c (insert_operand): Call as_bad_value_out_of_range
70 instead of as_warn_out_of_range.
71
f124dd4f
DM
722011-09-08 Mark Fortescue <mark@mtfhpc.demon.co.uk>
73
74 * config/tc-sparc.c (sparc_ip): Handle 'i' + r<0..31>
75 in addition to 'i' + [goli]<0..7>.
76
32425e36
NC
772011-09-08 Joern Rennecke <joern.rennecke@embecosm.com>
78
79 * cgen.c (gas_cgen_pcrel_r_type): New function.
80 (gas_cgen_tc_gen_reloc): Check for GAS_CGEN_PCREL_R_TYPE.
81 * cgen.h (gas_cgen_pcrel_r_type): Declare.
82
48b07401
RS
832011-09-08 Richard Sandiford <rdsandiford@googlemail.com>
84
85 PR gas/13167
86 * dwarf2dbg.c (dwarf2_flush_pending_lines): Use symbol_temp_new_now.
87
5045d766
RS
882011-09-05 Richard Sandiford <rdsandiford@googlemail.com>
89
90 PR gas/13024
91 * dwarf2dbg.c (pending_lines, pending_lines_tail): New variables.
92 (dwarf2_gen_line_info_1): Delete.
93 (dwarf2_push_line, dwarf2_flush_pending_lines): New functions.
94 (dwarf2_gen_line_info, dwarf2_emit_label): Use them.
95 (dwarf2_consume_line_info): Call dwarf2_flush_pending_lines.
96 (dwarf2_directive_loc): Push previous .locs instead of generating
97 them immediately.
98
7cf80422
NC
992011-08-26 Nick Clifton <nickc@redhat.com>
100
101 * po/es.po: Updated Spanish translation.
102
0ac5db19
TG
1032011-08-26 Tristan Gingold <gingold@adacore.com>
104
105 * config/tc-alpha.c (s_alpha_linkage): Simplify. Add comments.
106
1072011-08-26 Tristan Gingold <gingold@adacore.com>
108
109 * config/tc-alpha.c (add_to_link_pool): Improve comment.
110 (s_alpha_fp_save): Fix indentation.
111
6753e72f
NC
1122011-08-19 Nick Clifton <nickc@redhat.com>
113
114 * doc/as.texinfo: Include c-xstormy16.texi.
115
7230378d
AM
1162011-08-18 Alan Modra <amodra@gmail.com>
117
118 * write.c (resolve_reloc_expr_symbols): Convert local symbols
119 on relocs to section+offset.
120 (get_frag_for_reloc): New function.
121 (write_relocs): Merge sort fixup relocs with those from .reloc
122 directives.
123
87333bb7
MR
1242011-08-10 Maciej W. Rozycki <macro@codesourcery.com>
125
126 * config/tc-mips.c (can_swap_branch_p): Update the comment on
127 MIPS16 fixups.
128
b5503c7b
MR
1292011-08-09 Chao-ying Fu <fu@mips.com>
130 Daniel Jacobowitz <dan@codesourcery.com>
131
132 * config/tc-mips.c (mips_cpu_info_table): Add "m14k" and
133 "m14kc".
134 * doc/c-mips.texi (MIPS architecture options): Add "m14k" and
135 "m14kc" to the list of -march options.
136
dec0624d
MR
1372011-08-09 Chao-ying Fu <fu@mips.com>
138 Maciej W. Rozycki <macro@codesourcery.com>
139
140 * config/tc-mips.c (mips_set_options): Add ase_mcu.
141 (mips_opts): Initialise ase_mcu to -1.
142 (ISA_SUPPORTS_MCU_ASE): New macro.
143 (MIPS_CPU_ASE_MCU): Likewise.
144 (is_opcode_valid): Handle MCU.
145 (macro_build, macro): Likewise.
146 (validate_mips_insn, validate_micromips_insn): Likewise.
147 (mips_ip): Likewise.
148 (options): Add OPTION_MCU and OPTION_NO_MCU.
149 (md_longopts): Add mmcu and mno-mcu.
150 (md_parse_option): Handle OPTION_MCU and OPTION_NO_MCU.
151 (mips_after_parse_args): Handle MCU.
152 (s_mipsset): Likewise.
153 (md_show_usage): Handle MCU options.
154
155 * doc/as.texinfo: Document -mmcu and -mno-mcu options.
156 * doc/c-mips.texi: Likewise, and document ".set mcu" and
157 ".set nomcu" directives.
158
2b0c8b40
MR
1592011-08-09 Maciej W. Rozycki <macro@codesourcery.com>
160
161 * config/tc-mips.c (gpr_mod_mask): Remove INSN2_MOD_GPR_MB,
162 INSN2_MOD_GPR_MC, INSN2_MOD_GPR_ME, INSN2_MOD_GPR_MG,
163 INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MM,
164 INSN2_MOD_GPR_MN, INSN2_MOD_GPR_MP and INSN2_MOD_GPR_MQ opcode
165 register use checks.
166 (gpr_read_mask): Add INSN2_READ_GPR_MC, INSN2_READ_GPR_ME
167 INSN2_READ_GPR_MG, INSN2_READ_GPR_MJ, INSN2_READ_GPR_MMN,
168 INSN2_READ_GPR_MP and INSN2_READ_GPR_MQ opcode register use
169 checks.
170 (gpr_write_mask): Replace INSN2_WRITE_GPR_S opcode register
171 use flag with INSN_WRITE_GPR_S. Add INSN2_WRITE_GPR_MB,
172 INSN2_WRITE_GPR_MHI, INSN2_WRITE_GPR_MJ and INSN2_WRITE_GPR_MP
173 opcode register use checks.
174 (can_swap_branch_p): Enable microMIPS branch swapping.
175 (append_insn): Likewise.
176
40209cad
MR
1772011-08-09 Maciej W. Rozycki <macro@codesourcery.com>
178
179 * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Remove forced 16-bit
180 branch size information.
181 (RELAX_MICROMIPS_U16BIT): Remove macro.
182 (RELAX_MICROMIPS_UNCOND): Adjust accordingly.
183 (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise.
184 (RELAX_MICROMIPS_RELAX32): Likewise.
185 (RELAX_MICROMIPS_TOOFAR16): Likewise.
186 (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise.
187 (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise.
188 (RELAX_MICROMIPS_TOOFAR32): Likewise.
189 (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise.
190 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise.
191 (append_insn): Always check forced_insn_length for microMIPS
192 relaxation. Adjust code for the removal of
193 RELAX_MICROMIPS_U16BIT.
194 (mips_ip) <'D', 'E'>: If forced_insn_length, then emit the
195 relocation straight away.
196 (relaxed_micromips_16bit_branch_length): Adjust code for the
197 removal of RELAX_MICROMIPS_U16BIT.
198
74a6005f
TG
1992011-08-08 Tristan Gingold <gingold@adacore.com>
200
201 * config/obj-macho.c (obj_mach_o_section): New function.
202 (struct known_section): New type.
203 (known_sections): Declare.
204 (obj_mach_o_known_section): New function.
205 (obj_mach_o_common_parse): Ditto.
206 (obj_mach_o_comm): Ditto.
207 (obj_mach_o_subsections_via_symbols): Ditto.
208 (mach_o_pseudo_table): Add new pseudos.
209
af385746
RH
2102011-08-06 Richard Henderson <rth@redhat.com>
211
212 * dw2gencfi.c (all_fde_data): Export.
213 * dw2gencfi.h (all_fde_data): Declare.
214 * config/tc-alpha.c (alpha_elf_md_end): Don't convert legacy unwind
215 info to cfi unwind info if the user already has supplied some.
216
14fe068b
RS
2172011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
218
219 * config/tc-mips.c (emit_nop): Delete.
220 (get_delay_slot_nop): New function.
221 (nops_for_insn_or_target): Use it.
222 (append_insn): Likewise. When avoiding hazards, call add_fixed_insn
223 and insert_into_history directly.
224
11625dd8
RS
2252011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
226
227 * config/tc-mips.c (delayed_branch_p, compact_branch_p)
228 (uncond_branch_p, branch_likely_p): New functions.
229 (insns_between, nops_for_insn_or_target, append_insn)
230 (macro_start): Use them.
231 (get_append_method): Likewise. Remove redundant test.
232
ea783ef3
DM
2332011-08-05 David S. Miller <davem@davemloft.net>
234
235 * config/tc-sparc.c (v9a_asr_table): Add "cps".
236 (sparc_ip): Handle '4', '5' and '(' format codes.
237
2ae08483
L
2382011-08-04 H.J. Lu <hongjiu.lu@intel.com>
239
240 PR gas/13056
241 * output-file.c (output_file_close): Call bfd_cache_close_all
242 on error.
243
244 * write.c (write_object_file): Revert the last change.
245
5e9f6467
AM
2462011-08-04 Alan Modra <amodra@gmail.com>
247
248 * write.c (write_object_file): Call set_symtab even if we had
249 errors.
250
249a777b
TG
2512011-08-04 Tristan Gingold <gingold@adacore.com>
252
253 * config/obj-elf.c (obj_elf_section): Do not free name.
254
877807f8
NC
2552011-08-03 James Greenhalgh <james.greenhalgh@arm.com>
256
257 * config/tc-arm.c (do_t_strexbh): New.
258 (insns): Update accordingly.
259
d7921315
L
2602011-08-01 H.J. Lu <hongjiu.lu@intel.com>
261
262 PR ld/13048
263 * config/tc-i386.c (handle_quad): Removed.
264 (md_pseudo_table): Remove "quad".
265 (tc_gen_reloc): Don't check BFD_RELOC_64 for disallow_64bit_reloc.
266 (x86_dwarf2_addr_size): New.
267
268 * config/tc-i386.h (x86_dwarf2_addr_size): New.
269 (DWARF2_ADDR_SIZE): Likewise.
270
a8040cf2
NC
2712011-08-01 Nick Clifton <nickc@redhat.com>
272
273 PR ld/12974
274 * config/tc-arm.c (literal_pool): Add locs field.
275 (add_to_lit_pool): Initialise the locs entry for the new literal.
276 (s_ltorg): Generate a DWARF2 line number entry for each emitted
277 literal pool entry.
278
1596988d
TG
2792011-08-01 Tristan Gingold <gingold@adacore.com>
280
281 * write.c (write_relocs): Fix -Wshadow in DEBUG3 and DEBUG4.
282
8d8385cf
TG
2832011-08-01 Tristan Gingold <gingold@adacore.com>
284
285 * frags.c (frag_grow): Simplify the code.
286
c3109199
RS
2872011-07-30 Richard Sandiford <rdsandiford@googlemail.com>
288
289 * config/tc-mips.c (nops_for_vr4130): Revert previous commit.
290
2309ddf2
MR
2912011-07-29 Maciej W. Rozycki <macro@codesourcery.com>
292
293 * config/tc-mips.c: Adjust comments throughout.
294 (reglist_lookup): Reshape code.
295 (jmp_reloc_p, jalr_reloc_p): Reformat.
296 (got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS
297 relocations.
298 (gpr_mod_mask): Remove unused variable.
299 (gpr_read_mask, gpr_write_mask): Reshape code.
300 (fpr_read_mask, fpr_write_mask): Likewise.
301 (nops_for_vr4130): Ensure non-microMIPS mode.
302 (can_swap_branch_p): Correct pinfo2 reference. Reshape code.
303 (append_insn): Skip Loongson 2F workaround in MIPS16 mode. Use
304 the outermost operator of a compound relocation to determines
305 the relocated field. Fix formatting.
306 (md_convert_frag): Reshape code.
307
69b1d605
TG
3082011-07-29 Tristan Gingold <gingold@adacore.com>
309
310 * frags.c (frag_var_init): New function.
311 (frag_var): Call frag_var_init to initialize.
312 (frag_variant): Ditto.
313
9aec2026
NC
3142011-07-27 Nathan Sidwell <nathan@codesourcery.com>
315
316 * dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a
317 warning.
318 * doc/as.texinfo (Offset): Document .offset directive.
319
088b3cd0
TG
3202011-07-27 Tristan Gingold <gingold@adacore.com>
321
322 * frags.c (frag_grow): Revert previous patch.
323
53d780c9
NC
3242011-07-26 Kazuhiro Inaoka <kazuhiro.inaoka.ud@renesas.com>
325
326 * config/tc-rx.c (md_convert_frag): Fix encoding of beq.a
327 synthetic instruction.
328
179809c0
TG
3292011-07-25 Tristan Gingold <gingold@adacore.com>
330
331 * frags.c (frag_grow): Simplify the code.
332
df58fc94
RS
3332011-07-24 Maciej W. Rozycki <macro@codesourcery.com>
334 Chao-ying Fu <fu@mips.com>
335 Richard Sandiford <rdsandiford@googlemail.com>
336
337 * config/tc-mips.h (mips_segment_info): Add one bit for
338 microMIPS.
339 (TC_LABEL_IS_LOCAL): New macro.
340 (mips_label_is_local): New prototype.
341 * config/tc-mips.c (S0, S7): New macros.
342 (emit_branch_likely_macro): New variable.
343 (mips_set_options): Add micromips.
344 (mips_opts): Initialise micromips to -1.
345 (file_ase_micromips): New variable.
346 (CPU_HAS_MICROMIPS): New macro.
347 (hilo_interlocks): Set for microMIPS too.
348 (gpr_interlocks): Likewise.
349 (cop_interlocks): Likewise.
350 (cop_mem_interlocks): Likewise.
351 (HAVE_CODE_COMPRESSION): New macro.
352 (micromips_op_hash): New variable.
353 (micromips_nop16_insn, micromips_nop32_insn): New variables.
354 (NOP_INSN): Handle microMIPS ASE.
355 (mips32_to_micromips_reg_b_map): New macro.
356 (mips32_to_micromips_reg_c_map): Likewise.
357 (mips32_to_micromips_reg_d_map): Likewise.
358 (mips32_to_micromips_reg_e_map): Likewise.
359 (mips32_to_micromips_reg_f_map): Likewise.
360 (mips32_to_micromips_reg_g_map): Likewise.
361 (mips32_to_micromips_reg_l_map): Likewise.
362 (mips32_to_micromips_reg_n_map): Likewise.
363 (mips32_to_micromips_reg_h_map): New variable.
364 (mips32_to_micromips_reg_m_map): Likewise.
365 (mips32_to_micromips_reg_q_map): Likewise.
366 (micromips_to_32_reg_h_map): New variable.
367 (micromips_to_32_reg_i_map): Likewise.
368 (micromips_to_32_reg_m_map): Likewise.
369 (micromips_to_32_reg_q_map): Likewise.
370 (micromips_to_32_reg_b_map): New macro.
371 (micromips_to_32_reg_c_map): Likewise.
372 (micromips_to_32_reg_d_map): Likewise.
373 (micromips_to_32_reg_e_map): Likewise.
374 (micromips_to_32_reg_f_map): Likewise.
375 (micromips_to_32_reg_g_map): Likewise.
376 (micromips_to_32_reg_l_map): Likewise.
377 (micromips_to_32_reg_n_map): Likewise.
378 (micromips_imm_b_map, micromips_imm_c_map): New macros.
379 (RELAX_DELAY_SLOT_16BIT): New macro.
380 (RELAX_DELAY_SLOT_SIZE_FIRST): Likewise.
381 (RELAX_DELAY_SLOT_SIZE_SECOND): Likewise.
382 (RELAX_MICROMIPS_ENCODE, RELAX_MICROMIPS_P): New macros.
383 (RELAX_MICROMIPS_TYPE, RELAX_MICROMIPS_AT): Likewise.
384 (RELAX_MICROMIPS_U16BIT, RELAX_MICROMIPS_UNCOND): Likewise.
385 (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise.
386 (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16): Likewise.
387 (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise.
388 (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise.
389 (RELAX_MICROMIPS_TOOFAR32): Likewise.
390 (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise.
391 (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise.
392 (INSERT_OPERAND, EXTRACT_OPERAND): Handle microMIPS ASE.
393 (mips_macro_warning): Add delay_slot_16bit_p, delay_slot_32bit_p,
394 fsize and insns.
395 (mips_mark_labels): New function.
396 (mips16_small, mips16_ext): Remove variables, replacing with...
397 (forced_insn_size): ... this.
398 (append_insn, mips16_ip): Update accordingly.
399 (micromips_insn_length): New function.
400 (insn_length): Return the length of microMIPS instructions.
401 (mips_record_mips16_mode): Rename to...
402 (mips_record_compressed_mode): ... this. Handle microMIPS ASE.
403 (install_insn): Handle microMIPS ASE.
404 (reglist_lookup): New function.
405 (is_size_valid, is_delay_slot_valid): Likewise.
406 (md_begin): Handle microMIPS ASE.
407 (md_assemble): Likewise. Update for append_insn interface change.
408 (micromips_reloc_p): New function.
409 (got16_reloc_p): Handle microMIPS ASE.
410 (hi16_reloc_p): Likewise.
411 (lo16_reloc_p): Likewise.
412 (jmp_reloc_p): New function.
413 (jalr_reloc_p): Likewise.
414 (matching_lo_reloc): Handle microMIPS ASE.
415 (insn_uses_reg, reg_needs_delay): Likewise.
416 (mips_move_labels): Likewise.
417 (mips16_mark_labels): Rename to...
418 (mips_compressed_mark_labels): ... this. Handle microMIPS ASE.
419 (gpr_mod_mask): New function.
420 (gpr_read_mask, gpr_write_mask): Handle microMIPS ASE.
421 (fpr_read_mask, fpr_write_mask): Likewise.
422 (insns_between, nops_for_vr4130, nops_for_insn): Likewise.
423 (fix_loongson2f_nop, fix_loongson2f_jump): Likewise.
424 (MICROMIPS_LABEL_CHAR): New macro.
425 (micromips_target_label, micromips_target_name): New variables.
426 (micromips_label_name, micromips_label_expr): New functions.
427 (micromips_label_inc, micromips_add_label): Likewise.
428 (mips_label_is_local): Likewise.
429 (micromips_map_reloc): Likewise.
430 (can_swap_branch_p): Handle microMIPS ASE.
431 (append_insn): Add expansionp argument. Handle microMIPS ASE.
432 (start_noreorder, end_noreorder): Handle microMIPS ASE.
433 (macro_start, macro_warning, macro_end): Likewise.
434 (brk_fmt, cop12_fmt, jalr_fmt, lui_fmt): New variables.
435 (mem12_fmt, mfhl_fmt, shft_fmt, trap_fmt): Likewise.
436 (BRK_FMT, COP12_FMT, JALR_FMT, LUI_FMT): New macros.
437 (MEM12_FMT, MFHL_FMT, SHFT_FMT, TRAP_FMT): Likewise.
438 (macro_build): Handle microMIPS ASE. Update for append_insn
439 interface change.
440 (mips16_macro_build): Update for append_insn interface change.
441 (macro_build_jalr): Handle microMIPS ASE.
442 (macro_build_lui): Likewise. Simplify.
443 (load_register): Handle microMIPS ASE.
444 (load_address): Likewise.
445 (move_register): Likewise.
446 (macro_build_branch_likely): New function.
447 (macro_build_branch_ccl): Likewise.
448 (macro_build_branch_rs): Likewise.
449 (macro_build_branch_rsrt): Likewise.
450 (macro): Handle microMIPS ASE.
451 (validate_micromips_insn): New function.
452 (expr_const_in_range): Likewise.
453 (mips_ip): Handle microMIPS ASE.
454 (options): Add OPTION_MICROMIPS and OPTION_NO_MICROMIPS.
455 (md_longopts): Add mmicromips and mno-micromips.
456 (md_parse_option): Handle OPTION_MICROMIPS and
457 OPTION_NO_MICROMIPS.
458 (mips_after_parse_args): Handle microMIPS ASE.
459 (md_pcrel_from): Handle microMIPS relocations.
460 (mips_force_relocation): Likewise.
461 (md_apply_fix): Likewise.
462 (mips_align): Handle microMIPS ASE.
463 (s_mipsset): Likewise.
464 (s_cpload, s_cpsetup, s_cpreturn): Use relocation wrappers.
465 (s_dtprel_internal): Likewise.
466 (s_gpword, s_gpdword): Likewise.
467 (s_insn): Handle microMIPS ASE.
468 (s_mips_stab): Likewise.
469 (relaxed_micromips_32bit_branch_length): New function.
470 (relaxed_micromips_16bit_branch_length): New function.
471 (md_estimate_size_before_relax): Handle microMIPS ASE.
472 (mips_fix_adjustable): Likewise.
473 (tc_gen_reloc): Handle microMIPS relocations.
474 (mips_relax_frag): Handle microMIPS ASE.
475 (md_convert_frag): Likewise.
476 (mips_frob_file_after_relocs): Likewise.
477 (mips_elf_final_processing): Likewise.
478 (mips_nop_opcode): Likewise.
479 (mips_handle_align): Likewise.
480 (md_show_usage): Handle microMIPS options.
481 * symbols.c (TC_LABEL_IS_LOCAL): New macro.
482 (S_IS_LOCAL): Add a TC_LABEL_IS_LOCAL check.
483
484 * doc/as.texinfo (Target MIPS options): Add -mmicromips and
485 -mno-micromips.
486 (-mmicromips, -mno-micromips): New options.
487 * doc/c-mips.texi (-mmicromips, -mno-micromips): New options.
488 (MIPS ISA): Document .set micromips and .set nomicromips.
489 (MIPS insn): Update for microMIPS support.
490
a40bc9dd
RS
4912011-07-24 Maciej W. Rozycki <macro@codesourcery.com>
492
493 * config/tc-mips.c (mips_ip): Make a copy of the instruction's
494 mnemonic and use it for further processing.
495
bcd530a7
RS
4962011-07-24 Maciej W. Rozycki <macro@codesourcery.com>
497
498 * config/tc-mips.c (can_swap_branch_p): Adjust for the rename of
499 INSN_TRAP to INSN_NO_DELAY_SLOT. Remove the check for INSN_SYNC
500 as well as explicit checks for ERET and DERET when scheduling
501 branch delay slots.
502
7a9068fe
L
5032011-07-22 H.J. Lu <hongjiu.lu@intel.com>
504
505 * config/tc-i386.c (cpu_arch): Add k1om.
506 (i386_align_code): Handle PROCESSOR_K1OM.
507 (check_cpu_arch_compatible): Check EM_K1OM.
508 (i386_arch): Handle Intel K1OM.
509 (i386_mach): Return bfd_mach_k1om for Intel K1OM.
510 (i386_target_format): Return ELF_TARGET_K1OM_FORMAT for Intel
511 K1OM.
512
513 * config/tc-i386.h (ELF_TARGET_K1OM_FORMAT): New.
514 (processor_type): Add PROCESSOR_K1OM.
515
516 * doc/c-i386.texi: Document k1om.
517
2aab8acd
L
5182011-07-18 H.J. Lu <hongjiu.lu@intel.com>
519
520 * doc/c-i386.texi: Fix a typo.
521
01f372ca
RS
5222011-07-06 Aurelien Jarno <aurelien@aurel32.net>
523
524 * config/tc-mips.c (append_insn): delete prev_pinfo2 and pinfo2.
525
fe35f09f
RS
5262011-07-04 Richard Sandiford <rdsandiford@googlemail.com>
527
528 * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Fix handling
529 of register 0.
530
e3a82c8e
MR
5312011-07-04 Maciej W. Rozycki <macro@codesourcery.com>
532
533 * config/tc-mips.c (append_insn): Make sure DWARF-2 location
534 information is properly adjusted for branches that get swapped.
535
9c55345c
TS
5362011-07-03 Samuel Thibault <samuel.thibault@gnu.org>
537 Thomas Schwinge <thomas@schwinge.name>
538
2bb70ae0 539 PR binutils/12913
9c55345c
TS
540 * config/obj-elf.c (obj_elf_type): Use ELFOSABI_GNU name instead of
541 ELFOSABI_LINUX alias.
542 * config/tc-ia64.c: Likewise.
543
5f4cb198
NC
5442011-06-30 Paul Carroll <pcarroll@codesourcery.com>
545
546 * config/tc-arm.c (do_t_add_sub): Only allow LSL shifts of less
547 than 4 in Thumb mode.
548
08f10d51
NC
5492011-06-30 Nick Clifton <nickc@redhat.com>
550
551 PR gas/12848
552 * config/tc-arm.c (BAD_RANGE): New error message define.
553 (md_apply_fix): Use it.
554 Fix range check for thumb branch instructions.
555
a4e06468
RS
5562011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
557
558 * config/tc-mips.c (append_method): New enum.
559 (can_swap_branch_p, get_append_method): New functions.
560 (append_insn): Use get_append_method to decide how the instruction
561 should be added.
562
9fe77896
RS
5632011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
564
565 * config/tc-mips.c (append_insn): Remove bogus goto.
566
13408f1e
RS
5672011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
568
569 * config/tc-mips.c (append_insn): Always clear the history after an
570 unconditional branch.
571
ceb94aa5
RS
5722011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
573
574 * config/tc-mips.c (find_altered_mips16_opcode): New function.
575 (append_insn): Use it.
576
4c260379
RS
5772011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
578
579 * config/tc-mips.c (insn_uses_reg): Delete.
580 (gpr_read_mask, gpr_write_mask): New functions.
581 (fpr_read_mask, fpr_write_mask): Likewise.
582 (insns_between, nops_for_vr4130, append_insn): Use them.
583
02b1ab82
RS
5842011-06-29 Richard Sandiford <rdsandiford@googlemail.com>
585
586 * config/tc-mips.c (md_mips_end): Call mips_emit_delays.
587
49c62a33
NC
5882011-06-29 Dave Martin <dave.martin@linaro.org>
589
590 PR gas/12931
591 * config/tc-arm.c (mapping_state): When changing to ARM or THUMB
592 state set the minimum required alignment of the section.
593
7016a5d5
TG
5942011-06-29 Tristan Gingold <gingold@adacore.com>
595
596 * config/tc-i386.c (i386_mach): Convert to ISO-C.
597 (md_begin, pe_directive_secrel, md_estimate_size_before_relax): Ditto.
598 (md_convert_frag, md_apply_fix, md_undefined_symbol): Ditto.
599 (md_section_align, tc_gen_reloc): Ditto.
600
af24f60c
TG
6012011-06-28 Tristan Gingold <gingold@adacore.com>
602
603 * config/tc-alpha.c (s_alpha_pdesc): Fix indentation. Do not
604 generate dummy fix.
605
e1f4d6bd
TG
6062011-06-28 Tristan Gingold <gingold@adacore.com>
607
608 * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc.
609 (emit_jsrjmp): Ditto.
610 (tc_gen_reloc): Ditto.
611
4b1c4d2b
TG
6122011-06-28 Tristan Gingold <gingold@adacore.com>
613
614 * config/tc-alpha.c (alpha_evax_proc_hash): Remove.
615 (alpha_evax_proc_data): New variable.
616 (s_alpha_ent): Prevent nested function. Remove has_insert call.
617 (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of
618 error. Do not search in the hash table. Check if match with .ent.
619 (s_alpha_name): Remove unused variable.
620 (md_begin): Remove initialization of alpha_evax_proc_hash.
621
8aacb050
TG
6222011-06-27 Tristan Gingold <gingold@adacore.com>
623
624 * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter.
625 Locally declare basesym. Add comments. Do not set literal_pool_size.
626 (load_expression): Adjust call to add_to_link_pool.
627 (s_alpha_pdesc): Define pdesc symbol using dot.
628 Do not set literal_pool_size.
629 (s_alpha_end): Use NULL instead of 0.
630
bb1d4256
TG
6312011-06-27 Tristan Gingold <gingold@adacore.com>
632
633 * config/obj-evax.c (evax_frob_file_before_adjust): Add comments.
634 Fix style.
635 * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg
636 field. Add comments.
637 (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
638
ab9794cf
RS
6392011-06-26 Richard Sandiford <rdsandiford@googlemail.com>
640
641 * config/tc-mips.c (fix_24k_record_store_info): If the previous
642 instruction was a store, and the next instructions are unknown,
643 assume the worst.
644
932d1a1b
RS
6452011-06-25 Richard Sandiford <rdsandiford@googlemail.com>
646
647 PR gas/12915
648 * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn)
649 (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters.
650 (mips_emit_delays, start_noreorder): Update accordingly.
651 (append_insn): Likewise. Revert original fix for this PR
652 and use the ignore parameter instead.
653
e3a99401
TG
6542011-06-24 Tristan Gingold <gingold@adacore.com>
655
656 PR gas/11625
657 * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
658
576d3307
TG
6592011-06-24 Tristan Gingold <gingold@adacore.com>
660
661 * config/tc-alpha.c (add_to_link_pool): Remove useless offset
662 variable. Fix style.
663
f77ef3e2
RS
6642011-06-23 Richard Sandiford <rdsandiford@googlemail.com>
665
666 PR gas/12915
667 * config/tc-mips.c (append_insn): Only consider hazards between the
668 pre-noreorder block and ip.
669
5f1af56b
MGD
6702011-06-21 Sameera Deshpande <sameera.deshpande@arm.com>
671
672 * config/tc-arm.c (vfp_conv): Add check on range of immediate operand
673 in vcvt instruction between floating-point and fixed-point.
674 (operand_parse_code): Add "OP_oI32z".
675 (parse_operands): OP_oI32z case added.
676
ade78dba
L
6772011-06-20 H.J. Lu <hongjiu.lu@intel.com>
678
679 * configure.tgt: Revert x32 change.
680
b47d265e
NC
6812011-06-20 Nick Clifton <nickc@redhat.com>
682
683 * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi.
684 * doc/Makefile.in: Regenerate.
685 * doc/all.texi: Set XSTORMY16.
686 * doc/c-xstormy16.texi: New file.
687
8b778942
L
6882011-06-19 H.J. Lu <hongjiu.lu@intel.com>
689
690 * configure.tgt: Support x32.
691
90b3661c
NC
6922011-06-15 Nick Clifton <nickc@redhat.com>
693
694 * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
695
2fb4b302
TG
6962011-06-14 Tristan Gingold <gingold@adacore.com>
697
698 * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
699 (tc_new_dot_label): Define.
700 (ppc_new_dot_label): Declare.
701 * config/tc-ppc.c (ppc_frob_label): Set within target field.
702 (ppc_fix_adjustable): Use this field to adjust the reloc.
703 (ppc_new_dot_label): New function.
704
85b0f90c
AM
7052011-06-14 Alan Modra <amodra@gmail.com>
706
707 * po/POTFILES.in: Regenerate.
708
aa137e4d
NC
7092011-06-13 Walter Lee <walt@tilera.com>
710
711 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
712 config/tc-tilepro.c.
713 (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
714 config/tc-tilepro.h.
715 * Makefile.in: Regenerate.
716 * configure.tgt (tilepro-*-*): New.
717 (tilegx-*-*): Likewise.
718 * config/tc-tilegx.c: New file.
719 * config/tc-tilegx.h: Likewise.
720 * config/tc-tilepro.h: Likewise.
721 * config/tc-tilepro.c: Likewise.
722 * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
723 c-tilepro.texi.
724 * doc/Makefile.in: Regenerate.
725 * doc/all.texi (TILEGX): Define.
726 (TILEPRO): Define.
727 * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include
728 c-tilegx.texi and c-tilepro.texi.
729 * doc/c-tilegx.texi: New.
730 * doc/c-tilepro.texi: New.
731
94342ec3
NC
7322011-06-13 Nick Clifton <nickc@redhat.com>
733
734 PR gas/12854
735 * config/tc-arm.c (do_shift): Do not allow shift operations at the
736 end of a register based shift insn.
737 (do_t_shift): Likewise.
738
f9e53abc
NC
7392011-06-13 Nick Clifton <nickc@redhat.com>
740
741 * config/tc-score.c (s3_my_get_expression): Delete unused local
742 variable 'seg'.
743 (s3_do_ldst_insn): Delete unused local variable 'strbak'.
744 (s3_do16_ldst_insn): Delete unused local variable 'temp'.
745 (s3_do_macro_bcmp): Zero inst_expand array.
746 (s3_do_macro_bcmpz): Likewise.
747 (s3_s_score_end): Delete unused local variable 'dot'.
748 (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
749 * config/tc-score7.c (s7_my_get_expression): Delete unused local
750 variable 'seg'.
751 (s7_do_ldst_insn): Delete unused local variable 'strbak'.
752 (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
753 'r_new'.
754 (s7_s_score_end): Delete unused local variable 'dot'.
755 (s7_relax_frag): Delete unused local variable 'relax_size'.
756 (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
757
6c30d220
L
7582011-06-10 H.J. Lu <hongjiu.lu@intel.com>
759
760 AVX Programming Reference (June, 2011)
761 * config/tc-i386.c (i386_error): Add invalid_vsib_address and
762 unsupported_vector_index_register.
763 (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
764 (check_VecOperands): New.
f9e53abc 765 (match_template): Call check_VecOperands. Handle
6c30d220
L
766 invalid_vsib_address and unsupported_vector_index_register.
767 (build_modrm_byte): Support VecSIB. Check register-only source
768 operand when two source operands are swapped.
769 (i386_index_check): Allow Xmm/Ymm index registers.
770
771 * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
772 and invpcid./invpcid.
773
fd596c16
NC
7742011-06-09 Nick Clifton <nickc@redhat.com>
775
776 PR gas/12861
777 * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
778 code.
779 (check_cinv_options): Remove unused local variables. Make
780 function void.
781 (md_assemble): Remove unused local variable.
782
c56791bb
RE
7832011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
784
785 * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
786
331fe616 7872011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org>
a4482bb6
NC
788
789 PR gas/12698
790 * config/tc-arm.c (parse_psr): Set m_profile to false when
791 assembling for any architecture.
792
26d97720
NS
7932011-06-02 Jie Zhang jie@codesourcery.com
794 Nathan Sidwell nathan@codesourcery.com
795
796 * config/tc-arm.c (parse_address_main): Handle -0 offsets.
797 (encode_arm_addr_mode_2): Set default sign of zero here ...
798 (encode_arm_addr_mode_3): ... and here.
799 (encode_arm_cp_address): ... and here.
800 (md_apply_fix): Use default sign of zero here.
801
cc643b88
NC
8022011-06-02 Nick Clifton <nickc@redhat.com>
803
804 * as.c: Fix spelling typo.
805 * read.c: Likewise.
806 * config/tc-ppc.c: Likewise.
807 * po/gas.pit: Regenerate.
808
3b2f0793
PB
8092011-05-31 Paul Brook <paul@codesourcery.com>
810
811 * config/tc-arm.c (arm_cpus): Add Cortex-R5.
812 (arm_extensions): Allow idiv on ARMv7-R.
813 * doc/c-arm.text: Update idiv extension restrictions.
814
b5884301
PB
8152011-05-31 Paul Brook <paul@codesourcery.com>
816
817 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
818 loads.
819
10960bfb
PB
8202011-05-31 Paul Brook <paul@codesourcery.com>
821
822 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
823 addresses.
824
6e7ce2cd
PB
8252011-05-31 Paul Brook <paul@codesourcery.com>
826 Nathan Sidwell <nathan@codesourcery.com>
827
828 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
829 pc-relative fixes to constants.
830 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
cc643b88 831
8e1adb8d
NC
8322011-05-27 Nick Clifton <nickc@redhat.com>
833
834 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
835
c8fa16ed
AK
8362011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
837
838 * config/tc-s390.c (md_gather_operands): Fix check for floating
839 register pair operands.
840
5e4b319c
AK
8412011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
842
843 * config/tc-s390.c (md_gather_operands): Emit an error for odd
844 numbered registers used as register pair operand.
845
56d0a8a1
NC
8462011-05-23 Nick Clifton <nickc@redhat.com>
847
848 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
849
4a732032
BS
8502011-05-20 Bernd Schmidt <bernds@codesourcery.com>
851
852 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
853 (tic6x_parse_name): Handle it.
854 (tic6x_fix_new_exp): Handle O_pcr_offset.
855 (tic6x_fix_adjustable): Return 0 for the new relocs.
856 (md_apply_fix): Handle them.
857 (tc_gen_reloc): Likewise.
858 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
859
d0da06e2
NC
8602011-05-18 Nick Clifton <nickc@redhat.com>
861
862 PR gas/12754
863 * config/tc-tic30.c (ordinal_names): Allow translation of the
864 ordinal names.
865
a1727c1a
NC
8662011-05-18 Nick Clifton <nickc@redhat.com>
867
868 * config/tc-arm.c (s_unreq): Reword warning message to make it
869 easier to translate.
870 * config/tc-ia64.c (md_show_usage): Add note for translators.
871 * configure.in (ALL_LINGUAS): Add "fi".
872 * configure: Regenerate.
873
85645aed
TG
8742011-05-18 Tristan Gingold <gingold@adacore.com>
875
876 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
877 Put size into an union with dw.
878 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
879 (ppc_xcoff_end): Declare.
880 (md_end): Define.
881 * config/tc-ppc.c: Add includes for xcoff.
882 (ppc_dwsect): New function.
883 (md_pseudo_table): Add dwsect.
884 (struct dw_subsection): New.
885 (dw_sections): New.
886 (ppc_change_debug_section): New function.
887 (ppc_xcoff_end): Ditto.
888 (ppc_function): Adjust for ppc_tc_sy.
889 (ppc_symbol_new_hook): Ditto.
890 (ppc_frob_symbol): Ditto.
891 (ppc_frob_section): Do not set vma for debug sections.
892 (ppc_fix_adjustable): Return true for debug sections.
893 * config/obj-coff.c: Add includes for xcoff.
894 (coff_frob_section): Handle dwarf section.
895
9fd07943
NC
8962011-05-17 Nick Clifton <nickc@redhat.com>
897
4e511523
NC
898 * po/fi.po: New Finnish translation.
899 * po/fr.po: Updated French translation.
900
9fd07943
NC
901 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
902 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
903 * cond.c (s_else): Fix typos in error messages.
904 * config/tc-pj.c (md_assemble): Fix typo in error message.
905
0d7e0060
HPN
9062011-05-16 Hans-Peter Nilsson <hp@axis.com>
907
908 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
909 emitting ELF object.
910 (md_show_usage): Only mention --pic if the assembler can generate
911 ELF objects.
912 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
913 prerequisite for --pic being a valid option.
914
5648d7c7
AM
9152011-05-13 Frederic Marchal <fmarchal@perso.be>
916
917 PR gas/12755
918 * config/tc-v850.c (parse_register_list): Correct error string.
919
8aedb9fe
QN
9202011-05-12 Quentin Neill <quentin.neill@amd.com>
921
922 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
923 (i386_align_code): Ditto
924
58ad575f
MGD
9252011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
926
927 PR gas/12715
928 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
929 immediates on 32-bit hosts.
930
af2f724e
QN
9312011-05-10 Quentin Neill <quentin.neill@amd.com>
932
933 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
934 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
935 (i386_align_code): Rename PROCESSOR_BDVER1.
936 (processor_type): Ditto.
937 * doc/c-i386.texi: Add bdver2.
938
6e789b26
AM
9392011-05-10 Alan Modra <amodra@gmail.com>
940
941 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
942
1bce6bd8
PB
9432011-05-09 Paul Brook <paul@codesourcery.com>
944
945 * config/tc-tic6x.c (streq): Define.
946 (tic6x_get_unwind): New.
947 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
948 s_tic6x_personalityindex, s_tic6x_personality): New functions.
949 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
950 "personality" and "cantunwind".
951 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
952 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
953 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
954 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
955 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
956 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
957 tic6x_cfi_endproc): New.
958 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
959 (tic6x_unwind_info): New.
960 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
961 text_unwind.
962 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
963 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
964 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
965 tc_cfi_section_name): Define.
966 * doc/c-tic6x.texi: Document new unwinding directives.
967 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
968 definitions.
969 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
970 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
971 Move to dw2gencfi.h.
972 (CFI_EMIT_target): Define.
973 (dot_cfi_sections): Check tc_cfi_section_name.
974 (dot_cfi_startproc): Use tc_cfi_startproc.
975 (dot_cfi_endproc): Use tc_cfi_endproc.
976 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
977 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
978 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
979
6303c4ae
AM
9802011-05-07 Alan Modra <amodra@gmail.com>
981
982 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
983 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
984 (struct fde_entry): Rename cseg to cur_seg.
985 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
986 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
987 that #if SUPPORT_FRAME_LINKONCE.
988 (cfi_finish): Likewise.
989
f3b574bf
TG
9902011-05-06 Tristan Gingold <gingold@adacore.com>
991
992 * read.c (s_comm_internal): Remove code for OBJ_VMS.
993 (s_data): Ditto.
994 (s_text): Ditto.
995 * write.c (write_object_file): Ditto.
996 * symbols.c (define_sym_at_dot): Ditto.
997 (colon): Ditto.
998
67ed7401
AM
9992011-05-05 Alan Modra <amodra@gmail.com>
1000
1001 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
1002 file to conditionally compile code added 2011-04-26.
1003 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
1004 when SUPPORT_FRAME_LINKONCE.
1005 (get_cfi_seg): Likewise. Reintroduce old code for when not
1006 SUPPORT_FRAME_LINKONCE.
1007 (cfi_finish): Move get_cfi_seg calls out of loop when not
1008 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
1009
2fbb87f6
PB
10102011-05-03 Paul Brook <paul@codesourcery.com>
1011
2fbb87f6
PB
1012 * config/tc-tic6x.c (s_ehtype): New function.
1013 (md_pseudo_table): Add "ehtype".
1014 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
1015 * doc/c-tic6x.texi: Document .ehtype directive.
1016
72b016b4
NC
10172011-04-26 Kai Tietz <ktietz@redhat.com>
1018
1019 * dw2gencfi.c (dwcfi_seg_list): New struct.
1020 (dwcfi_hash): New static hash variable.
1021 (get_debugseg_name): New.
1022 (alloc_debugseg_item): New.
1023 (make_debug_seg): New.
1024 (dwcfi_hash_insert): New.
1025 (dwcfi_hash_find): New.
1026 (dwcfi_hash_find_or_make): New.
1027 (cfi_insn_data): New member cur_seg.
1028 (cie_entry): Likewise.
1029 (fde_entry): New cseg and handled members.
1030 (alloc_fde_entry): Initialize cseg member.
1031 (alloc_cfi_insn_data): Initialize cur_seg member.
1032 (dot_cfi_sections): Compare for beginning of
1033 section names via strncmp.
1034 (get_cfi_seg): New.
1035 (cfi_finish): Treat link-once sections.
1036 (is_now_linkonce_segment): New local helper.
1037 (output_cie): Ignore cie entries not member of current
1038 segment.
1039 (output_fde): Likewise.
1040 (select_cie_for_fde): Likewise.
1041 (cfi_change_reg_numbers): Add new argument for current segment
1042 and ignore insn elements, if not part of current segment.
1043 * ehopt.c (get_cie_info): Use strncmp for
1044 section name matching.
1045 (heck_eh_frame): Likewise.
1046
15be625d
CM
10472011-04-20 Catherine Moore <clm@codesourcery.com>
1048 David Ung <davidu@mips.com>
1049
1050 * config/mips.c (mips_cl_insn): Add new field complete_p.
1051 (create_insn): Initialize complete_p to zero.
1052 (BASE_REG_EQ): New.
1053 (fix_24k_align_to): New.
1054 (fix_24k_store_info): Declare.
1055 (fix_24k_sort): New.
1056 (fix_24k_record_store_info): New.
1057 (nops_for_24k): New.
1058 (nops_for_insn): Call nops_for_24k.
1059 (append_insn): Move O_constant expression handling.
72b016b4 1060
8ad17b3a
AM
10612011-04-20 Alan Modra <amodra@gmail.com>
1062
1063 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
1064 (hash_new_sized): New function, split out from..
1065 (hash_new): ..here.
1066
00bbc0bd
NC
10672011-04-19 Nick Clifton <nickc@redhat.com>
1068
1069 * config/tc-arm.c (v7m_psrs): Revert previous delta.
1070
ac7f631b
NC
10712011-04-18 Julian Brown <julian@codesourcery.com>
1072 Nick Clifton <nickc@redhat.com>
1073
1074 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
1075 detect M-profile targets.
1076 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
1077 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
1078
902cc293
AK
10792011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1080
1081 * config/tc-s390.c (s390_machine): New prototype.
1082 (md_pseudo_table): New pseudo-op .machine.
1083 (s390_opcode_hash): Initialize to NULL.
1084 (s390_parse_cpu): New function.
1085 (md_parse_option): Use s390_parse_cpu.
1086 (s390_setup_opcodes): New function.
1087 (md_begin): Use s390_setup_opcodes.
1088 (s390_machine): New hook handling the new .machine pseudo.
1089
1090 * doc/c-s390.texi: Document the new pseudo op .machine.
1091
2b5d6a91
L
10922011-04-12 H.J. Lu <hongjiu.lu@intel.com>
1093
1094 * config/tc-i386.c (i386_mach): Start error message with lower
1095 case.
1096 (md_begin): Likewise.
1097 (md_parse_option): Likewise.
1098 (i386_target_format): Likewise.
1099 (check_byte_reg): Likewise.
1100 (check_long_reg): Likewise.
1101 (check_qword_reg): Likewise.
1102 (check_word_reg): Likewise.
1103
0d9b4b55
NC
11042011-04-12 Nick Clifton <nickc@redhat.com>
1105
1106 PR gas/12532
1107 * config/tc-arm.c (relax_branch): Do not relax branches to
1108 preemptable global symbols.
1109
d2cd1205
JB
11102011-04-11 Julian Brown <julian@codesourcery.com>
1111
1112 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
1113 for *APSR bitmasks.
1114 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
1115 Remove OP_RVC_PSR.
1116 (parse_operands): Likewise.
1117 (do_mrs): Tweak error message for constraint.
1118 (do_t_mrs): Update constraints for changes to APSR support.
1119 (do_t_msr): Likewise. Don't set PSR_f flag here.
1120 (psrs): Remove "g", "nzcvq", "nzcvqg".
1121 (insns): Tweak entries for msr and mrs instructions.
1122
4a57f2cf
KT
11232011-04-11 Kai Tietz <ktietz@redhat.com>
1124
1125 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
1126
249c2423
NC
11272011-04-11 Nick Clifton <nickc@redhat.com>
1128
4e4f7c87
NC
1129 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
1130 * config/tc-i386.h (x86_cons): Always prototype.
1131
249c2423
NC
1132 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
1133 in order to avoid a compile time warning.
1134 (getprocreg_image): Likewise.
1135
d86fff44
AM
11362011-04-11 Alan Modra <amodra@gmail.com>
1137
1138 * config/tc-cr16.c (getprocreg_image): Correct range check.
1139 (getprocregp_image): Likewise.
1140
8c5fc800
JM
11412011-04-06 Joseph Myers <joseph@codesourcery.com>
1142
1143 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
1144 xscale*be|xscale*b, xscale*): Remove architectures.
1145 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
1146 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
1147
592588f3
TG
11482011-04-01 Tristan Gingold <gingold@adacore.com>
1149
1150 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
1151
ac145307
BS
11522011-03-31 Bernd Schmidt <bernds@codesourcery.com>
1153
1154 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
1155 static variables.
1156 (md_begin): Initialize them.
1157 (s_tic6x_scomm): New static function.
1158 (md_pseudo_table): Add "scomm".
1159 (tc_gen_reloc): Really undo all adjustments made by
1160 bfd_install_relocation.
1161 * doc/c-tic6x.texi: Document the .scomm directive.
1162
fc0eebac
TG
11632011-03-31 Tristan Gingold <gingold@adacore.com>
1164
1165 * dwarf2dbg.c (DWARF2_VERSION): Define.
1166 (out_debug_line): Use it.
1167 (out_debug_aranges): Ditto.
1168 (out_debug_info): Ditto.
1169 * config/tc-ia64.h (DWARF2_VERSION): Override it.
1170
f956bf33
NC
11712011-03-30 Michael Snyder <msnyder@vmware.com>
1172
1173 * obj-elf.c (obj_elf_section): Free malloced name.
4ac14836
NC
1174 * macro.c (get_any_string): Free malloced br_buf.
1175 (do_formals): Free 'formal'.
f956bf33 1176
c734e7e3
TG
11772011-03-30 Tristan Gingold <gingold@adacore.com>
1178
1179 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
1180 to offset only if within is set.
1181 (ppc_stabx): Reformat. For stsym stabs, add a check and set
1182 within only for symbols.
1183
af3ecb4a
RH
11842011-03-29 Richard Henderson <rth@redhat.com>
1185
1186 PR 12610
1187 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
1188 label; zap alpha_insn_label.
1189
75c1c785
L
11902011-03-29 H.J. Lu <hongjiu.lu@intel.com>
1191
1192 * config/tc-i386.c (handle_quad): Properly handle multiple
1193 operands.
1194
fc99ebdc
MF
11952011-03-29 Mike Frysinger <vapier@gentoo.org>
1196
1197 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
1198 reg $2 is the same as dest reg $4.
1199
3823a074
MF
12002011-03-29 Mike Frysinger <vapier@gentoo.org>
1201
1202 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
1203 reg $2 is the same as dest reg $4.
1204
0be99d4b
MF
12052011-03-29 Mike Frysinger <vapier@gentoo.org>
1206
1207 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
1208 reg $2 is the same as dest reg $4.
1209
f4a2f576
MF
12102011-03-28 Mike Frysinger <vapier@gentoo.org>
1211
1212 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
1213 reg $1 is the same as dest reg $7.
1214
314a59d5
L
12152011-03-28 H.J. Lu <hongjiu.lu@intel.com>
1216
1217 * config/tc-i386.c (handle_quad): New.
1218 (md_pseudo_table): Add "quad".
1219
5b806d27
NC
12202011-03-26 John Marino <binutils@marino.st>
1221
1222 * configure.tgt: Fix support for *-*-dragonfly*.
1223 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
1224 * config/te-dragonfly.h: New file.
1225
b8c610a7
EW
12262011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
1227
1228 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
1229 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
1230 at90pwm161.
1231 * doc/c-avr.texi: Document new device names.
1232
2dd0dc94
MF
12332011-03-24 Mike Frysinger <vapier@gentoo.org>
1234
1235 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
1236 reg $1 is the same as dest reg $7.
1237 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
1238 dest reg $7.
1239
a0bc8198
MF
12402011-03-24 Mike Frysinger <vapier@gentoo.org>
1241
1242 * config/bfin-parse.y (check_macfuncs): Clarify error message when
1243 P is mismatched. Check destination regno are off by one when P is
1244 set, or are equal when P is not set.
1245
ba48c47b
MF
12462011-03-23 Mike Frysinger <vapier@gentoo.org>
1247
1248 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
1249 the same as dest reg $4.
1250 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
1251
6f8a4444
EW
12522011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
1253
1254 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
1255 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
1256 * doc/c-avr.texi: Document new device names.
1257
8cc66334
EW
12582011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
1259
1260 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
1261 (AVR_INSN): Change definition to match.
1262 (avr_opcodes): Likewise, change to match.
1263 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
1264 (md_show_usage): Add XMEGA architecture names.
1265 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
1266 Add support for SPM Z+ instruction.
1267 * doc/c-avr.texi: Add documentation for XMEGA architectures and
1268 devices.
1269
4fb8d1c6
EW
12702011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
1271
1272 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
1273
869fe6ea
AM
12742011-03-18 Alan Modra <amodra@gmail.com>
1275
1276 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
1277 on .size expression errors rather than symbols in the size expression.
1278
144886fa
AM
12792011-03-18 Alan Modra <amodra@gmail.com>
1280
1281 * input-scrub.c (line_numberT): Delete.
1282 (input_scrub_close): Reset line counters.
1283 * messages.c (as_show_where): Don't print invalid line number.
1284 (as_warn_internal, as_bad_internal): Likewise.
1285
04648e65
AM
12862011-03-18 Alan Modra <amodra@gmail.com>
1287
1288 * read.c (read_a_source_file): Remove md_after_pass_hook.
1289 Move "quit" label before set of dot_symbol.
1290 * config/tc-d10v.h (md_after_pass_hook): Don't define.
1291 * config/tc-d30v.h (md_after_pass_hook): Likewise.
1292 * config/tc-m32r.h (md_after_pass_hook): Likewise.
1293 (md_cleanup): Define to call m32r_fill_insn.
1294
db3a4e40
AK
12952011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1296
1297 * config/tc-s390.c (md_parse_option): Add -march=all option which
1298 switches to the highest available CPU.
1299
259af69e
AM
13002011-03-17 Alan Modra <amodra@gmail.com>
1301
1302 PR 12569
1303 * expr.c (operand): Correct passing of "mode" to expr.
1304 * read.c (do_org): Allow expr_section.
1305 (get_known_segmented_expression): Don't assert anything about the
1306 segment.
1307
21be61f5
L
13082011-03-16 H.J. Lu <hongjiu.lu@intel.com>
1309
1310 * as.c (show_usage): Add --size-check=.
1311 (parse_args): Add and handle OPTION_SIZE_CHECK.
1312
1313 * as.h (flag_size_check): New.
1314
1315 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
1316 bad .size directive only for --size-check=error.
1317
1318 * doc/as.texinfo: Document --size-check=.
1319
7f35e991
MF
13202011-03-14 Mike Frysinger <vapier@gentoo.org>
1321
1322 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
1323 bf542/bf544/bf547/bf548/bf549.
1324
34e77a92
RS
13252011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
1326
1327 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
1328 determine whether a relocation is needed.
1329 (md_apply_fix, arm_apply_sym_value): Likewise.
1330
35fc36a8
RS
13312011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
1332
1333 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
1334 for Thumb symbols.
1335
502df130
NC
13362011-03-11 Nick Clifton <nickc@redhat.com>
1337
1338 * remap.c (remap_debug_filename): Always allocate a buffer for the
1339 returned pointer.
1340 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
1341 remap_debug_filename.
1342
5652b491
MS
13432011-03-10 Michael Snyder <msnyder@vmware.com>
1344
1345 Revert the following change:
1346 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
1347 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
1348
293855c8
AM
13492011-03-10 Alan Modra <amodra@gmail.com>
1350
1351 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
1352 TARGET_SYMBOL_FIELDS): Don't define.
1353 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
1354
9f6db0d3
MS
13552011-03-09 Michael Snyder <msnyder@vmware.com>
1356
1357 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
1358 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
5652b491
MS
1359 (emit_fixed_inc_line_addr): Assign instead of conditional in
1360 assert.
9f6db0d3 1361
49002d7f
L
13622011-03-05 H.J. Lu <hongjiu.lu@intel.com>
1363
1364 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
1365 non-constant .size expression.
1366
14aa5a8b
NC
13672011-03-02 Nick Clifton <nickc@redhat.com>
1368
1369 * ecoff.c: Incldue filenames.h
1370
8b6efd89
KT
13712011-02-28 Kai Tietz <kai.tietz@onevision.com>
1372
1373 * depend.c (register_dependency): Use filename_(n)cmp.
1374 * dwarf2dbg.c (get_filenum): Likewise.
1375 * ecoff.c (add_file): Likewise.
1376 (ecoff_generate_asm_lineno): Likewise.
1377 * input-scrub.c (new_logical_line_flags): Likewise.
1378 * listing.c (file_info): Likewise.
1379 (listing_newline): Likewise.
1380 * remap.c (remap_debug_filename): Likewise.
1381 * stabs.c (generate_asm_file): Likewise.
1382 (stabs_generate_asm_lineno): Likewise.
1383
d455268f
MR
13842011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1385
1386 * config/tc-mips.c (append_insn): Disable branch relaxation for
1387 DSP instructions.
1388
3eebd5eb
MR
13892011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1390
1391 * config/tc-mips.c (macro): Handle M_PREF_AB.
1392
66b3e8da
MR
13932011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1394
1395 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
1396 register to use.
1397 (RELAX_BRANCH_UNCOND): Adjust accordingly.
1398 (RELAX_BRANCH_LIKELY): Likewise.
1399 (RELAX_BRANCH_LINK): Likewise.
1400 (RELAX_BRANCH_TOOFAR): Likewise.
1401 (RELAX_BRANCH_AT): New macro.
1402 (append_insn): Encode the temporary register to use in standard
1403 MIPS branch relaxation.
1404 (relaxed_branch_length): Update according to changes to
1405 RELAX_BRANCH_ENCODE.
1406 (md_convert_frag): Use the encoded register as the temporary.
1407
ce70d90a
MR
14082011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1409
1410 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
1411 reject PC-relative relocations.
1412
5c4f07ba
MR
14132011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
1414
1415 * config/tc-mips.c (md_convert_frag): Correct message
1416 capitalization.
1417
5a0ade8b
AM
14182011-02-28 Alan Modra <amodra@gmail.com>
1419
1420 * symbols.c (report_op_error): Remove unnecessary forward declaration.
1421 Add "op" parameter. Report operator and operand segments in error
1422 message, not operand symbols.
1423 (resolve_symbol_value): Always set segment for equated symbols, not
1424 just when finalizing. Adjust report_op_error calls.
1425
f2d8a97c
L
14262011-02-25 H.J. Lu <hongjiu.lu@intel.com>
1427
7f648587
L
1428 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
1429 if 64bit relocations aren't allowed.
f2d8a97c 1430
e1e90034
AM
14312011-02-25 Alan Modra <amodra@gmail.com>
1432
1433 PR gas/12519
1434 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
1435
dfa58db1
MR
14362011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
1437
1438 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
1439 initialization of offset_reloc.
1440
d58a1929
RH
14412011-02-15 Richard Henderson <rth@redhat.com>
1442
1443 * dw2gencfi.c (dot_cfi_dummy): New.
1444 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
1445 * read.c (pobegin): Unconditionally call cfi_pop_insert.
1446
822ce8ee
RW
14472011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1448
1449 * configure: Regenerate.
1450
36f44611
MF
14512011-02-13 Mike Frysinger <vapier@gentoo.org>
1452
1453 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
1454 * config/bfin-parse.y (BYTEOP2M): Delete token.
1455 (asm_1): Remove BYTEOP2M insn matching.
1456
26bb3ddd
MF
14572011-02-12 Mike Frysinger <vapier@gentoo.org>
1458
1459 * config/bfin-defs.h: Include opcode/bfin.h.
1460 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
1461
347d120a
MF
14622011-02-11 Mike Frysinger <vapier@gentoo.org>
1463
1464 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
1465 (Modify Registers): Fix subtracted typo.
1466 (.byte2): Extend and swap descriptions with .byte4.
1467 (.byte4): Extend and swap descriptions with .byte2.
1468 (.db, .dw, .dd): Document behavior.
1469
5f956293
MF
14702011-02-11 Mike Frysinger <vapier@gentoo.org>
1471
1472 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
1473
c0e524fe
AM
14742011-02-11 Alan Modra <amodra@gmail.com>
1475
1476 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
1477
635fb38d
AM
14782011-02-10 Alan Modra <amodra@gmail.com>
1479
1480 * doc/as.texinfo (Overview): Add missing markup around Blackfin
1481 and PowerPC options.
1482
b8b738ac
AM
14832011-02-10 Alan Modra <amodra@gmail.com>
1484
1485 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
1486 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
1487 (Overview <Target PowerPC options>): Add a number of missing options.
1488 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
1489
2dde1948
L
14902011-02-08 H.J. Lu <hongjiu.lu@intel.com>
1491
1492 PR gas/6957
1493 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
1494 for i686.
1495
a586129e
L
14962011-02-08 H.J. Lu <hongjiu.lu@intel.com>
1497
1498 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
1499 for ISA extensions.
1500 (md_parse_option): Likewise.
1501
98d23bef
BS
15022011-02-04 Bernd Schmidt <bernds@codesourcery.com>
1503
1504 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
1505 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
1506 (TIC6X Options): Don't mention "-matomic".
1507 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
1508 (md_longopts): Remove corresponding entries.
1509 (md_parse_option): Don't handle them.
1510 (md_show_usage): Don't document them.
1511 (tic6x_atomic): Delete variable.
1512 (tic6x_update_features): Always copy tic6x_arch_enable to
1513 tic6x_features.
1514 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
1515 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
1516 (md_pseudo_table): Remove ".atomic" and ".noatomic".
1517
a22429b9
NC
15182011-01-31 Nick Clifton <nickc@redhat.com>
1519
1520 * write.c (write_contents): Include output file name and bfd error
1521 value when reporting the inability to write to the output file.
1522 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
1523 frag that has a non-zero fill value.
1524
eb6fae19
DD
15252011-01-27 DJ Delorie <dj@redhat.com>
1526
1527 * config/tc-rx.c (md_convert_frag): If we can't compute the target
1528 address, zero out the values stored in the object file to make
1529 objdump's output consistent.
1530
ca19b261
KT
15312011-01-26 Kai Tietz <kai.tietz@onevision.com>
1532
1533 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
1534 x86_dwarf2_return_column to 32.
1535
b37a4e79
NC
15362011-01-20 Nick Clifton <nickc@redhat.com>
1537
1538 PR gas/12384
1539 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
1540 comparison.
1541
6ac88ef3
L
15422011-01-18 H.J. Lu <hongjiu.lu@intel.com>
1543
1544 * write.c (compress_debug): Return if section size is smaller
1545 than 32 bytes.
1546
24a2d04d
L
15472011-01-18 H.J. Lu <hongjiu.lu@intel.com>
1548
1549 PR gas/12409
1550 * write.c (compress_debug): Return if section size is 0.
1551
4a58c4bd
NC
15522011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
1553
1554 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
1555 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
1556 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
1557 fmp626} options.
1558
7c31ae13
NC
15592011-01-18 Nick Clifton <nickc@redhat.com>
1560
1561 PR gas/12390
1562 * doc/all.texi: Add NS32K
1563 * doc/as.texinfo: Remove target specific details of which
1564 characters act as comment initiators and statement separators into
1565 individual target specific files.
1566 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
1567 the hash character at the start of a line.
1568 * doc/c-arm.texi (ARM-Chars): Likewise.
1569 * doc/c-avr.texi (AVR-Chars): Likewise.
1570 * doc/c-d10v.texi (D10V-Chars): Likewise.
1571 * doc/c-d30v.texi (D30V-Chars): Likewise.
1572 * doc/c-mmix.texi (MMIX-Chars): Likewise.
1573 * doc/c-s390.texi (s390 characters): Likewise.
1574 * doc/c-sh.texi (SH-Chars): Likewise.
1575 * doc/c-sh64.texi (SH64-Chars): Likewise.
1576 * doc/c-sparc.texi (SPARC-Chars): Likewise.
1577 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
1578 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
1579 * doc/c-z80.texi (Z80-Chars): Likewise.
1580 * doc/c-z8k.texi (Z8000-Chars): Likewise.
1581 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
1582 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
1583 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
1584 line separator characters.
1585 * doc/c-cr16.texi (CR16 Syntax): Likewise.
1586 * doc/c-i386.texi (i386-Chars): Likewise.
1587 * doc/c-i860.texi (i860-Chars): Likewise.
1588 * doc/c-i960.texi (i960-Chars): Likewise.
1589 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
1590 * doc/c-lm32.texi (LM32-Chars): likewise.
1591 * doc/c-m32c.texi (M32C-Chars): Likewise.
1592 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
1593 * doc/c-m68k.texi (M68K-Chars): Likewise.
1594 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
1595 * doc/c-msp430.texi (MSP430-Chars): Likewise.
1596 * doc/c-mt.texi (MT-Chars): Likewise.
1597 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
1598 * doc/c-pj.texi (PJ-Chars): Likewise.
1599 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
1600 * doc/c-rx.texi (RX-Chars): Likewise.
1601 * doc/c-score.texi (SCORE-Chars): Likewise.
1602 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
1603 * doc/c-v850.texi (V850-Chars): Likewise.
1604 * doc/c-vax.texi (VAX-Chars): Likewise.
1605 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
1606
2a2a0f38
QN
16072011-01-17 Quentin Neill <quentin.neill@amd.com>
1608
1609 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
1610
1611 * doc/c-i386.texi (i386-TBM): New section.
1612
862be3fb
L
16132011-01-16 H.J. Lu <hongjiu.lu@intel.com>
1614
1615 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
1616 (disallow_64bit_reloc): This.
1617 (md_assemble): Don't check movabs for x32 mode here.
1618 (i386_target_format): Updated.
1619 (tc_gen_reloc): Check if 64bit relocations are allowed.
1620
7f56bc95
L
16212011-01-15 H.J. Lu <hongjiu.lu@intel.com>
1622
1623 * config/tc-i386.c (disallow_64bit_disp): New.
1624 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
1625 X86_64_ABI/X86_64_X32_ABI.
1626 (md_assemble): Don't allow movabs with relocation in x32 mode.
1627 (i386_target_format): Updated.
1628
570561f7
L
16292011-01-14 H.J. Lu <hongjiu.lu@intel.com>
1630
1631 * config/tc-i386.c (OPTION_N32): Renamed to ...
1632 (OPTION_X32): This.
1633 (md_longopts): Replace n32 with x32.
1634 (md_parse_option): Updated.
1635 (md_show_usage): Likewise.
1636
4a22cb7c 1637 * doc/c-i386.texi: Replace --n32 with --x32.
570561f7 1638
c95354ed
MX
16392011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
1640
1641 * config/tc-mips.c (mips_ip): Update error messages. Take an
1642 unadjusted offset for "+c" argument.
1643
7af8ed2d
NC
16442011-01-10 Nick Clifton <nickc@redhat.com>
1645
1646 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
1647 it.
1648
cdf9ccec
NC
16492011-01-10 Nick Clifton <nickc@redhat.com>
1650
1651 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
1652 part of the file.
1653
0855e32b
NS
16542011-01-10 Nathan Sidwell <nathan@codesourcery.com>
1655 Glauber de Oliveira Costa <glommer@gmail.com>
1656
1657 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
1658 .tlsdescseq directive.
1659 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
1660 following a symbol.
1661 (s_arm_tls_descseq): New directive.
1662 (md_pseudo_table): Add it.
1663 (encode_branch): Allow TLS_CALL relocs too.
1664 (do_t_blx, do_t_branch23): Use encode_branch.
1665 (reloc_names): Add tlsdesc and tlscall.
1666 (md_apply_fix): Process tls desc relocations.
1667 (tc_gen_reloc): Likewise.
1668 (arm_fix_adjustable): Likewise.
1669
87973e9f
QN
16702011-01-07 Quentin Neill <quentin.neill@amd.com>
1671
1672 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
1673
1674 * doc/c-i386.texi (i386-BMI): New section.
1675
12505806
PK
16762011-01-06 Paul Koning <ni1d@arrl.net>
1677
1678 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
1679 references to absolute addresses.
1680
9689e3a3
DD
16812011-01-05 DJ Delorie <dj@redhat.com>
1682
1683 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
1684 instead of an RH_NEG32 one.
1685
35cc6a0b
L
16862011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1687
1688 * doc/c-i386.texi: Clarify --n32.
1689
f12dc422
L
16902011-01-04 H.J. Lu <hongjiu.lu@intel.com>
1691
1692 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
1693 integer registers in VEX.vvvv. Check register-only source
1694 operand when two source operands are swapped. Properly update
1695 destination when two source operands are swapped.
1696
0db46eb4
L
16972011-01-01 H.J. Lu <hongjiu.lu@intel.com>
1698
1699 * gas.c (parse_args): Update copyright to 2011.
1700
5b326c3e 1701For older changes see ChangeLog-2010
08d56133
NC
1702\f
1703Local Variables:
1704mode: change-log
1705left-margin: 8
1706fill-column: 74
1707version-control: never
1708End:
This page took 0.624451 seconds and 4 git commands to generate.