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