PR gas/12854
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
94342ec3
NC
12011-06-13 Nick Clifton <nickc@redhat.com>
2
3 PR gas/12854
4 * config/tc-arm.c (do_shift): Do not allow shift operations at the
5 end of a register based shift insn.
6 (do_t_shift): Likewise.
7
f9e53abc
NC
82011-06-13 Nick Clifton <nickc@redhat.com>
9
10 * config/tc-score.c (s3_my_get_expression): Delete unused local
11 variable 'seg'.
12 (s3_do_ldst_insn): Delete unused local variable 'strbak'.
13 (s3_do16_ldst_insn): Delete unused local variable 'temp'.
14 (s3_do_macro_bcmp): Zero inst_expand array.
15 (s3_do_macro_bcmpz): Likewise.
16 (s3_s_score_end): Delete unused local variable 'dot'.
17 (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
18 * config/tc-score7.c (s7_my_get_expression): Delete unused local
19 variable 'seg'.
20 (s7_do_ldst_insn): Delete unused local variable 'strbak'.
21 (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
22 'r_new'.
23 (s7_s_score_end): Delete unused local variable 'dot'.
24 (s7_relax_frag): Delete unused local variable 'relax_size'.
25 (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
26
6c30d220
L
272011-06-10 H.J. Lu <hongjiu.lu@intel.com>
28
29 AVX Programming Reference (June, 2011)
30 * config/tc-i386.c (i386_error): Add invalid_vsib_address and
31 unsupported_vector_index_register.
32 (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
33 (check_VecOperands): New.
f9e53abc 34 (match_template): Call check_VecOperands. Handle
6c30d220
L
35 invalid_vsib_address and unsupported_vector_index_register.
36 (build_modrm_byte): Support VecSIB. Check register-only source
37 operand when two source operands are swapped.
38 (i386_index_check): Allow Xmm/Ymm index registers.
39
40 * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
41 and invpcid./invpcid.
42
fd596c16
NC
432011-06-09 Nick Clifton <nickc@redhat.com>
44
45 PR gas/12861
46 * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
47 code.
48 (check_cinv_options): Remove unused local variables. Make
49 function void.
50 (md_assemble): Remove unused local variable.
51
c56791bb
RE
522011-06-09 James Greenhalgh <james.greenhalgh@arm.com>
53
54 * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
55
331fe616 562011-06-03 Arnaud Patard <arnaud.patard@rtp-net.org>
a4482bb6
NC
57
58 PR gas/12698
59 * config/tc-arm.c (parse_psr): Set m_profile to false when
60 assembling for any architecture.
61
26d97720
NS
622011-06-02 Jie Zhang jie@codesourcery.com
63 Nathan Sidwell nathan@codesourcery.com
64
65 * config/tc-arm.c (parse_address_main): Handle -0 offsets.
66 (encode_arm_addr_mode_2): Set default sign of zero here ...
67 (encode_arm_addr_mode_3): ... and here.
68 (encode_arm_cp_address): ... and here.
69 (md_apply_fix): Use default sign of zero here.
70
cc643b88
NC
712011-06-02 Nick Clifton <nickc@redhat.com>
72
73 * as.c: Fix spelling typo.
74 * read.c: Likewise.
75 * config/tc-ppc.c: Likewise.
76 * po/gas.pit: Regenerate.
77
3b2f0793
PB
782011-05-31 Paul Brook <paul@codesourcery.com>
79
80 * config/tc-arm.c (arm_cpus): Add Cortex-R5.
81 (arm_extensions): Allow idiv on ARMv7-R.
82 * doc/c-arm.text: Update idiv extension restrictions.
83
b5884301
PB
842011-05-31 Paul Brook <paul@codesourcery.com>
85
86 * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
87 loads.
88
10960bfb
PB
892011-05-31 Paul Brook <paul@codesourcery.com>
90
91 * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
92 addresses.
93
6e7ce2cd
PB
942011-05-31 Paul Brook <paul@codesourcery.com>
95 Nathan Sidwell <nathan@codesourcery.com>
96
97 * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
98 pc-relative fixes to constants.
99 * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
cc643b88 100
8e1adb8d
NC
1012011-05-27 Nick Clifton <nickc@redhat.com>
102
103 * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
104
c8fa16ed
AK
1052011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
106
107 * config/tc-s390.c (md_gather_operands): Fix check for floating
108 register pair operands.
109
5e4b319c
AK
1102011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
111
112 * config/tc-s390.c (md_gather_operands): Emit an error for odd
113 numbered registers used as register pair operand.
114
56d0a8a1
NC
1152011-05-23 Nick Clifton <nickc@redhat.com>
116
117 * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
118
4a732032
BS
1192011-05-20 Bernd Schmidt <bernds@codesourcery.com>
120
121 * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
122 (tic6x_parse_name): Handle it.
123 (tic6x_fix_new_exp): Handle O_pcr_offset.
124 (tic6x_fix_adjustable): Return 0 for the new relocs.
125 (md_apply_fix): Handle them.
126 (tc_gen_reloc): Likewise.
127 * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
128
d0da06e2
NC
1292011-05-18 Nick Clifton <nickc@redhat.com>
130
131 PR gas/12754
132 * config/tc-tic30.c (ordinal_names): Allow translation of the
133 ordinal names.
134
a1727c1a
NC
1352011-05-18 Nick Clifton <nickc@redhat.com>
136
137 * config/tc-arm.c (s_unreq): Reword warning message to make it
138 easier to translate.
139 * config/tc-ia64.c (md_show_usage): Add note for translators.
140 * configure.in (ALL_LINGUAS): Add "fi".
141 * configure: Regenerate.
142
85645aed
TG
1432011-05-18 Tristan Gingold <gingold@adacore.com>
144
145 * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
146 Put size into an union with dw.
147 (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
148 (ppc_xcoff_end): Declare.
149 (md_end): Define.
150 * config/tc-ppc.c: Add includes for xcoff.
151 (ppc_dwsect): New function.
152 (md_pseudo_table): Add dwsect.
153 (struct dw_subsection): New.
154 (dw_sections): New.
155 (ppc_change_debug_section): New function.
156 (ppc_xcoff_end): Ditto.
157 (ppc_function): Adjust for ppc_tc_sy.
158 (ppc_symbol_new_hook): Ditto.
159 (ppc_frob_symbol): Ditto.
160 (ppc_frob_section): Do not set vma for debug sections.
161 (ppc_fix_adjustable): Return true for debug sections.
162 * config/obj-coff.c: Add includes for xcoff.
163 (coff_frob_section): Handle dwarf section.
164
9fd07943
NC
1652011-05-17 Nick Clifton <nickc@redhat.com>
166
4e511523
NC
167 * po/fi.po: New Finnish translation.
168 * po/fr.po: Updated French translation.
169
9fd07943
NC
170 * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
171 * config/tc-mt.c (md_assemble): Fix typos in warning messages.
172 * cond.c (s_else): Fix typos in error messages.
173 * config/tc-pj.c (md_assemble): Fix typo in error message.
174
0d7e0060
HPN
1752011-05-16 Hans-Peter Nilsson <hp@axis.com>
176
177 * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
178 emitting ELF object.
179 (md_show_usage): Only mention --pic if the assembler can generate
180 ELF objects.
181 * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
182 prerequisite for --pic being a valid option.
183
5648d7c7
AM
1842011-05-13 Frederic Marchal <fmarchal@perso.be>
185
186 PR gas/12755
187 * config/tc-v850.c (parse_register_list): Correct error string.
188
8aedb9fe
QN
1892011-05-12 Quentin Neill <quentin.neill@amd.com>
190
191 * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
192 (i386_align_code): Ditto
193
58ad575f
MGD
1942011-05-12 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
195
196 PR gas/12715
197 * config/tc-arm.c (parse_big_immediate): Fix parsing of 64-bit
198 immediates on 32-bit hosts.
199
af2f724e
QN
2002011-05-10 Quentin Neill <quentin.neill@amd.com>
201
202 * config/tc-i386.c (cpu_arch): Add bdver2 and rename
203 PROCESSOR_BDVER1 to PROCESSOR_BDVER.
204 (i386_align_code): Rename PROCESSOR_BDVER1.
205 (processor_type): Ditto.
206 * doc/c-i386.texi: Add bdver2.
207
6e789b26
AM
2082011-05-10 Alan Modra <amodra@gmail.com>
209
210 * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
211
1bce6bd8
PB
2122011-05-09 Paul Brook <paul@codesourcery.com>
213
214 * config/tc-tic6x.c (streq): Define.
215 (tic6x_get_unwind): New.
216 (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
217 s_tic6x_personalityindex, s_tic6x_personality): New functions.
218 (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
219 "personality" and "cantunwind".
220 (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
221 tic6x_start_unwind_section, tic6x_unwind_frame_regs,
222 tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
223 tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
224 tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
225 tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
226 tic6x_cfi_endproc): New.
227 * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
228 (tic6x_unwind_info): New.
229 (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
230 text_unwind.
231 (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
232 tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
233 DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
234 tc_cfi_section_name): Define.
235 * doc/c-tic6x.texi: Document new unwinding directives.
236 * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
237 definitions.
238 (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
239 CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
240 Move to dw2gencfi.h.
241 (CFI_EMIT_target): Define.
242 (dot_cfi_sections): Check tc_cfi_section_name.
243 (dot_cfi_startproc): Use tc_cfi_startproc.
244 (dot_cfi_endproc): Use tc_cfi_endproc.
245 * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
246 CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
247 CFI_val_encoded_addr): Move to here from dw2gencfi.c.
248
6303c4ae
AM
2492011-05-07 Alan Modra <amodra@gmail.com>
250
251 * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
252 Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
253 (struct fde_entry): Rename cseg to cur_seg.
254 (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
255 (get_cfi_seg): Likewise. Use if (SUPPORT_FRAME_LINKONCE) rather
256 that #if SUPPORT_FRAME_LINKONCE.
257 (cfi_finish): Likewise.
258
f3b574bf
TG
2592011-05-06 Tristan Gingold <gingold@adacore.com>
260
261 * read.c (s_comm_internal): Remove code for OBJ_VMS.
262 (s_data): Ditto.
263 (s_text): Ditto.
264 * write.c (write_object_file): Ditto.
265 * symbols.c (define_sym_at_dot): Ditto.
266 (colon): Ditto.
267
67ed7401
AM
2682011-05-05 Alan Modra <amodra@gmail.com>
269
270 * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout
271 file to conditionally compile code added 2011-04-26.
272 (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
273 when SUPPORT_FRAME_LINKONCE.
274 (get_cfi_seg): Likewise. Reintroduce old code for when not
275 SUPPORT_FRAME_LINKONCE.
276 (cfi_finish): Move get_cfi_seg calls out of loop when not
277 SUPPORT_FRAME_LINKONCE. Avoid unused var warning.
278
2fbb87f6
PB
2792011-05-03 Paul Brook <paul@codesourcery.com>
280
2fbb87f6
PB
281 * config/tc-tic6x.c (s_ehtype): New function.
282 (md_pseudo_table): Add "ehtype".
283 (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
284 * doc/c-tic6x.texi: Document .ehtype directive.
285
72b016b4
NC
2862011-04-26 Kai Tietz <ktietz@redhat.com>
287
288 * dw2gencfi.c (dwcfi_seg_list): New struct.
289 (dwcfi_hash): New static hash variable.
290 (get_debugseg_name): New.
291 (alloc_debugseg_item): New.
292 (make_debug_seg): New.
293 (dwcfi_hash_insert): New.
294 (dwcfi_hash_find): New.
295 (dwcfi_hash_find_or_make): New.
296 (cfi_insn_data): New member cur_seg.
297 (cie_entry): Likewise.
298 (fde_entry): New cseg and handled members.
299 (alloc_fde_entry): Initialize cseg member.
300 (alloc_cfi_insn_data): Initialize cur_seg member.
301 (dot_cfi_sections): Compare for beginning of
302 section names via strncmp.
303 (get_cfi_seg): New.
304 (cfi_finish): Treat link-once sections.
305 (is_now_linkonce_segment): New local helper.
306 (output_cie): Ignore cie entries not member of current
307 segment.
308 (output_fde): Likewise.
309 (select_cie_for_fde): Likewise.
310 (cfi_change_reg_numbers): Add new argument for current segment
311 and ignore insn elements, if not part of current segment.
312 * ehopt.c (get_cie_info): Use strncmp for
313 section name matching.
314 (heck_eh_frame): Likewise.
315
15be625d
CM
3162011-04-20 Catherine Moore <clm@codesourcery.com>
317 David Ung <davidu@mips.com>
318
319 * config/mips.c (mips_cl_insn): Add new field complete_p.
320 (create_insn): Initialize complete_p to zero.
321 (BASE_REG_EQ): New.
322 (fix_24k_align_to): New.
323 (fix_24k_store_info): Declare.
324 (fix_24k_sort): New.
325 (fix_24k_record_store_info): New.
326 (nops_for_24k): New.
327 (nops_for_insn): Call nops_for_24k.
328 (append_insn): Move O_constant expression handling.
72b016b4 329
8ad17b3a
AM
3302011-04-20 Alan Modra <amodra@gmail.com>
331
332 * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
333 (hash_new_sized): New function, split out from..
334 (hash_new): ..here.
335
00bbc0bd
NC
3362011-04-19 Nick Clifton <nickc@redhat.com>
337
338 * config/tc-arm.c (v7m_psrs): Revert previous delta.
339
ac7f631b
NC
3402011-04-18 Julian Brown <julian@codesourcery.com>
341 Nick Clifton <nickc@redhat.com>
342
343 * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
344 detect M-profile targets.
345 (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
346 (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
347
902cc293
AK
3482011-04-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
349
350 * config/tc-s390.c (s390_machine): New prototype.
351 (md_pseudo_table): New pseudo-op .machine.
352 (s390_opcode_hash): Initialize to NULL.
353 (s390_parse_cpu): New function.
354 (md_parse_option): Use s390_parse_cpu.
355 (s390_setup_opcodes): New function.
356 (md_begin): Use s390_setup_opcodes.
357 (s390_machine): New hook handling the new .machine pseudo.
358
359 * doc/c-s390.texi: Document the new pseudo op .machine.
360
2b5d6a91
L
3612011-04-12 H.J. Lu <hongjiu.lu@intel.com>
362
363 * config/tc-i386.c (i386_mach): Start error message with lower
364 case.
365 (md_begin): Likewise.
366 (md_parse_option): Likewise.
367 (i386_target_format): Likewise.
368 (check_byte_reg): Likewise.
369 (check_long_reg): Likewise.
370 (check_qword_reg): Likewise.
371 (check_word_reg): Likewise.
372
0d9b4b55
NC
3732011-04-12 Nick Clifton <nickc@redhat.com>
374
375 PR gas/12532
376 * config/tc-arm.c (relax_branch): Do not relax branches to
377 preemptable global symbols.
378
d2cd1205
JB
3792011-04-11 Julian Brown <julian@codesourcery.com>
380
381 * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
382 for *APSR bitmasks.
383 (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
384 Remove OP_RVC_PSR.
385 (parse_operands): Likewise.
386 (do_mrs): Tweak error message for constraint.
387 (do_t_mrs): Update constraints for changes to APSR support.
388 (do_t_msr): Likewise. Don't set PSR_f flag here.
389 (psrs): Remove "g", "nzcvq", "nzcvqg".
390 (insns): Tweak entries for msr and mrs instructions.
391
4a57f2cf
KT
3922011-04-11 Kai Tietz <ktietz@redhat.com>
393
394 * config/tc-i386.c (x86_cons): Initialize adjust with zero.
395
249c2423
NC
3962011-04-11 Nick Clifton <nickc@redhat.com>
397
4e4f7c87
NC
398 * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
399 * config/tc-i386.h (x86_cons): Always prototype.
400
249c2423
NC
401 * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
402 in order to avoid a compile time warning.
403 (getprocreg_image): Likewise.
404
d86fff44
AM
4052011-04-11 Alan Modra <amodra@gmail.com>
406
407 * config/tc-cr16.c (getprocreg_image): Correct range check.
408 (getprocregp_image): Likewise.
409
8c5fc800
JM
4102011-04-06 Joseph Myers <joseph@codesourcery.com>
411
412 * configure.tgt (strongarm*be, strongarm*b, strongarm*,
413 xscale*be|xscale*b, xscale*): Remove architectures.
414 (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
415 thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
416
592588f3
TG
4172011-04-01 Tristan Gingold <gingold@adacore.com>
418
419 * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
420
ac145307
BS
4212011-03-31 Bernd Schmidt <bernds@codesourcery.com>
422
423 * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
424 static variables.
425 (md_begin): Initialize them.
426 (s_tic6x_scomm): New static function.
427 (md_pseudo_table): Add "scomm".
428 (tc_gen_reloc): Really undo all adjustments made by
429 bfd_install_relocation.
430 * doc/c-tic6x.texi: Document the .scomm directive.
431
fc0eebac
TG
4322011-03-31 Tristan Gingold <gingold@adacore.com>
433
434 * dwarf2dbg.c (DWARF2_VERSION): Define.
435 (out_debug_line): Use it.
436 (out_debug_aranges): Ditto.
437 (out_debug_info): Ditto.
438 * config/tc-ia64.h (DWARF2_VERSION): Override it.
439
f956bf33
NC
4402011-03-30 Michael Snyder <msnyder@vmware.com>
441
442 * obj-elf.c (obj_elf_section): Free malloced name.
4ac14836
NC
443 * macro.c (get_any_string): Free malloced br_buf.
444 (do_formals): Free 'formal'.
f956bf33 445
c734e7e3
TG
4462011-03-30 Tristan Gingold <gingold@adacore.com>
447
448 * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
449 to offset only if within is set.
450 (ppc_stabx): Reformat. For stsym stabs, add a check and set
451 within only for symbols.
452
af3ecb4a
RH
4532011-03-29 Richard Henderson <rth@redhat.com>
454
455 PR 12610
456 * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
457 label; zap alpha_insn_label.
458
75c1c785
L
4592011-03-29 H.J. Lu <hongjiu.lu@intel.com>
460
461 * config/tc-i386.c (handle_quad): Properly handle multiple
462 operands.
463
fc99ebdc
MF
4642011-03-29 Mike Frysinger <vapier@gentoo.org>
465
466 * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
467 reg $2 is the same as dest reg $4.
468
3823a074
MF
4692011-03-29 Mike Frysinger <vapier@gentoo.org>
470
471 * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
472 reg $2 is the same as dest reg $4.
473
0be99d4b
MF
4742011-03-29 Mike Frysinger <vapier@gentoo.org>
475
476 * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
477 reg $2 is the same as dest reg $4.
478
f4a2f576
MF
4792011-03-28 Mike Frysinger <vapier@gentoo.org>
480
481 * config/bfin-parse.y (16bit acc add): Return yyerror when dest
482 reg $1 is the same as dest reg $7.
483
314a59d5
L
4842011-03-28 H.J. Lu <hongjiu.lu@intel.com>
485
486 * config/tc-i386.c (handle_quad): New.
487 (md_pseudo_table): Add "quad".
488
5b806d27
NC
4892011-03-26 John Marino <binutils@marino.st>
490
491 * configure.tgt: Fix support for *-*-dragonfly*.
492 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
493 * config/te-dragonfly.h: New file.
494
b8c610a7
EW
4952011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
496
497 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
498 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
499 at90pwm161.
500 * doc/c-avr.texi: Document new device names.
501
2dd0dc94
MF
5022011-03-24 Mike Frysinger <vapier@gentoo.org>
503
504 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
505 reg $1 is the same as dest reg $7.
506 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
507 dest reg $7.
508
a0bc8198
MF
5092011-03-24 Mike Frysinger <vapier@gentoo.org>
510
511 * config/bfin-parse.y (check_macfuncs): Clarify error message when
512 P is mismatched. Check destination regno are off by one when P is
513 set, or are equal when P is not set.
514
ba48c47b
MF
5152011-03-23 Mike Frysinger <vapier@gentoo.org>
516
517 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
518 the same as dest reg $4.
519 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
520
6f8a4444
EW
5212011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
522
523 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
524 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
525 * doc/c-avr.texi: Document new device names.
526
8cc66334
EW
5272011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
528
529 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
530 (AVR_INSN): Change definition to match.
531 (avr_opcodes): Likewise, change to match.
532 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
533 (md_show_usage): Add XMEGA architecture names.
534 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
535 Add support for SPM Z+ instruction.
536 * doc/c-avr.texi: Add documentation for XMEGA architectures and
537 devices.
538
4fb8d1c6
EW
5392011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
540
541 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
542
869fe6ea
AM
5432011-03-18 Alan Modra <amodra@gmail.com>
544
545 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
546 on .size expression errors rather than symbols in the size expression.
547
144886fa
AM
5482011-03-18 Alan Modra <amodra@gmail.com>
549
550 * input-scrub.c (line_numberT): Delete.
551 (input_scrub_close): Reset line counters.
552 * messages.c (as_show_where): Don't print invalid line number.
553 (as_warn_internal, as_bad_internal): Likewise.
554
04648e65
AM
5552011-03-18 Alan Modra <amodra@gmail.com>
556
557 * read.c (read_a_source_file): Remove md_after_pass_hook.
558 Move "quit" label before set of dot_symbol.
559 * config/tc-d10v.h (md_after_pass_hook): Don't define.
560 * config/tc-d30v.h (md_after_pass_hook): Likewise.
561 * config/tc-m32r.h (md_after_pass_hook): Likewise.
562 (md_cleanup): Define to call m32r_fill_insn.
563
db3a4e40
AK
5642011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
565
566 * config/tc-s390.c (md_parse_option): Add -march=all option which
567 switches to the highest available CPU.
568
259af69e
AM
5692011-03-17 Alan Modra <amodra@gmail.com>
570
571 PR 12569
572 * expr.c (operand): Correct passing of "mode" to expr.
573 * read.c (do_org): Allow expr_section.
574 (get_known_segmented_expression): Don't assert anything about the
575 segment.
576
21be61f5
L
5772011-03-16 H.J. Lu <hongjiu.lu@intel.com>
578
579 * as.c (show_usage): Add --size-check=.
580 (parse_args): Add and handle OPTION_SIZE_CHECK.
581
582 * as.h (flag_size_check): New.
583
584 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
585 bad .size directive only for --size-check=error.
586
587 * doc/as.texinfo: Document --size-check=.
588
7f35e991
MF
5892011-03-14 Mike Frysinger <vapier@gentoo.org>
590
591 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
592 bf542/bf544/bf547/bf548/bf549.
593
34e77a92
RS
5942011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
595
596 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
597 determine whether a relocation is needed.
598 (md_apply_fix, arm_apply_sym_value): Likewise.
599
35fc36a8
RS
6002011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
601
602 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
603 for Thumb symbols.
604
502df130
NC
6052011-03-11 Nick Clifton <nickc@redhat.com>
606
607 * remap.c (remap_debug_filename): Always allocate a buffer for the
608 returned pointer.
609 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
610 remap_debug_filename.
611
5652b491
MS
6122011-03-10 Michael Snyder <msnyder@vmware.com>
613
614 Revert the following change:
615 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
616 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
617
293855c8
AM
6182011-03-10 Alan Modra <amodra@gmail.com>
619
620 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
621 TARGET_SYMBOL_FIELDS): Don't define.
622 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
623
9f6db0d3
MS
6242011-03-09 Michael Snyder <msnyder@vmware.com>
625
626 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
627 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
5652b491
MS
628 (emit_fixed_inc_line_addr): Assign instead of conditional in
629 assert.
9f6db0d3 630
49002d7f
L
6312011-03-05 H.J. Lu <hongjiu.lu@intel.com>
632
633 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
634 non-constant .size expression.
635
14aa5a8b
NC
6362011-03-02 Nick Clifton <nickc@redhat.com>
637
638 * ecoff.c: Incldue filenames.h
639
8b6efd89
KT
6402011-02-28 Kai Tietz <kai.tietz@onevision.com>
641
642 * depend.c (register_dependency): Use filename_(n)cmp.
643 * dwarf2dbg.c (get_filenum): Likewise.
644 * ecoff.c (add_file): Likewise.
645 (ecoff_generate_asm_lineno): Likewise.
646 * input-scrub.c (new_logical_line_flags): Likewise.
647 * listing.c (file_info): Likewise.
648 (listing_newline): Likewise.
649 * remap.c (remap_debug_filename): Likewise.
650 * stabs.c (generate_asm_file): Likewise.
651 (stabs_generate_asm_lineno): Likewise.
652
d455268f
MR
6532011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
654
655 * config/tc-mips.c (append_insn): Disable branch relaxation for
656 DSP instructions.
657
3eebd5eb
MR
6582011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
659
660 * config/tc-mips.c (macro): Handle M_PREF_AB.
661
66b3e8da
MR
6622011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
663
664 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
665 register to use.
666 (RELAX_BRANCH_UNCOND): Adjust accordingly.
667 (RELAX_BRANCH_LIKELY): Likewise.
668 (RELAX_BRANCH_LINK): Likewise.
669 (RELAX_BRANCH_TOOFAR): Likewise.
670 (RELAX_BRANCH_AT): New macro.
671 (append_insn): Encode the temporary register to use in standard
672 MIPS branch relaxation.
673 (relaxed_branch_length): Update according to changes to
674 RELAX_BRANCH_ENCODE.
675 (md_convert_frag): Use the encoded register as the temporary.
676
ce70d90a
MR
6772011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
678
679 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
680 reject PC-relative relocations.
681
5c4f07ba
MR
6822011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
683
684 * config/tc-mips.c (md_convert_frag): Correct message
685 capitalization.
686
5a0ade8b
AM
6872011-02-28 Alan Modra <amodra@gmail.com>
688
689 * symbols.c (report_op_error): Remove unnecessary forward declaration.
690 Add "op" parameter. Report operator and operand segments in error
691 message, not operand symbols.
692 (resolve_symbol_value): Always set segment for equated symbols, not
693 just when finalizing. Adjust report_op_error calls.
694
f2d8a97c
L
6952011-02-25 H.J. Lu <hongjiu.lu@intel.com>
696
7f648587
L
697 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
698 if 64bit relocations aren't allowed.
f2d8a97c 699
e1e90034
AM
7002011-02-25 Alan Modra <amodra@gmail.com>
701
702 PR gas/12519
703 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
704
dfa58db1
MR
7052011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
706
707 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
708 initialization of offset_reloc.
709
d58a1929
RH
7102011-02-15 Richard Henderson <rth@redhat.com>
711
712 * dw2gencfi.c (dot_cfi_dummy): New.
713 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
714 * read.c (pobegin): Unconditionally call cfi_pop_insert.
715
822ce8ee
RW
7162011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
717
718 * configure: Regenerate.
719
36f44611
MF
7202011-02-13 Mike Frysinger <vapier@gentoo.org>
721
722 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
723 * config/bfin-parse.y (BYTEOP2M): Delete token.
724 (asm_1): Remove BYTEOP2M insn matching.
725
26bb3ddd
MF
7262011-02-12 Mike Frysinger <vapier@gentoo.org>
727
728 * config/bfin-defs.h: Include opcode/bfin.h.
729 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
730
347d120a
MF
7312011-02-11 Mike Frysinger <vapier@gentoo.org>
732
733 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
734 (Modify Registers): Fix subtracted typo.
735 (.byte2): Extend and swap descriptions with .byte4.
736 (.byte4): Extend and swap descriptions with .byte2.
737 (.db, .dw, .dd): Document behavior.
738
5f956293
MF
7392011-02-11 Mike Frysinger <vapier@gentoo.org>
740
741 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
742
c0e524fe
AM
7432011-02-11 Alan Modra <amodra@gmail.com>
744
745 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
746
635fb38d
AM
7472011-02-10 Alan Modra <amodra@gmail.com>
748
749 * doc/as.texinfo (Overview): Add missing markup around Blackfin
750 and PowerPC options.
751
b8b738ac
AM
7522011-02-10 Alan Modra <amodra@gmail.com>
753
754 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
755 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
756 (Overview <Target PowerPC options>): Add a number of missing options.
757 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
758
2dde1948
L
7592011-02-08 H.J. Lu <hongjiu.lu@intel.com>
760
761 PR gas/6957
762 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
763 for i686.
764
a586129e
L
7652011-02-08 H.J. Lu <hongjiu.lu@intel.com>
766
767 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
768 for ISA extensions.
769 (md_parse_option): Likewise.
770
98d23bef
BS
7712011-02-04 Bernd Schmidt <bernds@codesourcery.com>
772
773 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
774 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
775 (TIC6X Options): Don't mention "-matomic".
776 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
777 (md_longopts): Remove corresponding entries.
778 (md_parse_option): Don't handle them.
779 (md_show_usage): Don't document them.
780 (tic6x_atomic): Delete variable.
781 (tic6x_update_features): Always copy tic6x_arch_enable to
782 tic6x_features.
783 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
784 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
785 (md_pseudo_table): Remove ".atomic" and ".noatomic".
786
a22429b9
NC
7872011-01-31 Nick Clifton <nickc@redhat.com>
788
789 * write.c (write_contents): Include output file name and bfd error
790 value when reporting the inability to write to the output file.
791 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
792 frag that has a non-zero fill value.
793
eb6fae19
DD
7942011-01-27 DJ Delorie <dj@redhat.com>
795
796 * config/tc-rx.c (md_convert_frag): If we can't compute the target
797 address, zero out the values stored in the object file to make
798 objdump's output consistent.
799
ca19b261
KT
8002011-01-26 Kai Tietz <kai.tietz@onevision.com>
801
802 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
803 x86_dwarf2_return_column to 32.
804
b37a4e79
NC
8052011-01-20 Nick Clifton <nickc@redhat.com>
806
807 PR gas/12384
808 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
809 comparison.
810
6ac88ef3
L
8112011-01-18 H.J. Lu <hongjiu.lu@intel.com>
812
813 * write.c (compress_debug): Return if section size is smaller
814 than 32 bytes.
815
24a2d04d
L
8162011-01-18 H.J. Lu <hongjiu.lu@intel.com>
817
818 PR gas/12409
819 * write.c (compress_debug): Return if section size is 0.
820
4a58c4bd
NC
8212011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
822
823 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
824 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
825 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
826 fmp626} options.
827
7c31ae13
NC
8282011-01-18 Nick Clifton <nickc@redhat.com>
829
830 PR gas/12390
831 * doc/all.texi: Add NS32K
832 * doc/as.texinfo: Remove target specific details of which
833 characters act as comment initiators and statement separators into
834 individual target specific files.
835 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
836 the hash character at the start of a line.
837 * doc/c-arm.texi (ARM-Chars): Likewise.
838 * doc/c-avr.texi (AVR-Chars): Likewise.
839 * doc/c-d10v.texi (D10V-Chars): Likewise.
840 * doc/c-d30v.texi (D30V-Chars): Likewise.
841 * doc/c-mmix.texi (MMIX-Chars): Likewise.
842 * doc/c-s390.texi (s390 characters): Likewise.
843 * doc/c-sh.texi (SH-Chars): Likewise.
844 * doc/c-sh64.texi (SH64-Chars): Likewise.
845 * doc/c-sparc.texi (SPARC-Chars): Likewise.
846 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
847 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
848 * doc/c-z80.texi (Z80-Chars): Likewise.
849 * doc/c-z8k.texi (Z8000-Chars): Likewise.
850 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
851 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
852 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
853 line separator characters.
854 * doc/c-cr16.texi (CR16 Syntax): Likewise.
855 * doc/c-i386.texi (i386-Chars): Likewise.
856 * doc/c-i860.texi (i860-Chars): Likewise.
857 * doc/c-i960.texi (i960-Chars): Likewise.
858 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
859 * doc/c-lm32.texi (LM32-Chars): likewise.
860 * doc/c-m32c.texi (M32C-Chars): Likewise.
861 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
862 * doc/c-m68k.texi (M68K-Chars): Likewise.
863 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
864 * doc/c-msp430.texi (MSP430-Chars): Likewise.
865 * doc/c-mt.texi (MT-Chars): Likewise.
866 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
867 * doc/c-pj.texi (PJ-Chars): Likewise.
868 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
869 * doc/c-rx.texi (RX-Chars): Likewise.
870 * doc/c-score.texi (SCORE-Chars): Likewise.
871 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
872 * doc/c-v850.texi (V850-Chars): Likewise.
873 * doc/c-vax.texi (VAX-Chars): Likewise.
874 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
875
2a2a0f38
QN
8762011-01-17 Quentin Neill <quentin.neill@amd.com>
877
878 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
879
880 * doc/c-i386.texi (i386-TBM): New section.
881
862be3fb
L
8822011-01-16 H.J. Lu <hongjiu.lu@intel.com>
883
884 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
885 (disallow_64bit_reloc): This.
886 (md_assemble): Don't check movabs for x32 mode here.
887 (i386_target_format): Updated.
888 (tc_gen_reloc): Check if 64bit relocations are allowed.
889
7f56bc95
L
8902011-01-15 H.J. Lu <hongjiu.lu@intel.com>
891
892 * config/tc-i386.c (disallow_64bit_disp): New.
893 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
894 X86_64_ABI/X86_64_X32_ABI.
895 (md_assemble): Don't allow movabs with relocation in x32 mode.
896 (i386_target_format): Updated.
897
570561f7
L
8982011-01-14 H.J. Lu <hongjiu.lu@intel.com>
899
900 * config/tc-i386.c (OPTION_N32): Renamed to ...
901 (OPTION_X32): This.
902 (md_longopts): Replace n32 with x32.
903 (md_parse_option): Updated.
904 (md_show_usage): Likewise.
905
4a22cb7c 906 * doc/c-i386.texi: Replace --n32 with --x32.
570561f7 907
c95354ed
MX
9082011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
909
910 * config/tc-mips.c (mips_ip): Update error messages. Take an
911 unadjusted offset for "+c" argument.
912
7af8ed2d
NC
9132011-01-10 Nick Clifton <nickc@redhat.com>
914
915 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
916 it.
917
cdf9ccec
NC
9182011-01-10 Nick Clifton <nickc@redhat.com>
919
920 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
921 part of the file.
922
0855e32b
NS
9232011-01-10 Nathan Sidwell <nathan@codesourcery.com>
924 Glauber de Oliveira Costa <glommer@gmail.com>
925
926 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
927 .tlsdescseq directive.
928 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
929 following a symbol.
930 (s_arm_tls_descseq): New directive.
931 (md_pseudo_table): Add it.
932 (encode_branch): Allow TLS_CALL relocs too.
933 (do_t_blx, do_t_branch23): Use encode_branch.
934 (reloc_names): Add tlsdesc and tlscall.
935 (md_apply_fix): Process tls desc relocations.
936 (tc_gen_reloc): Likewise.
937 (arm_fix_adjustable): Likewise.
938
87973e9f
QN
9392011-01-07 Quentin Neill <quentin.neill@amd.com>
940
941 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
942
943 * doc/c-i386.texi (i386-BMI): New section.
944
12505806
PK
9452011-01-06 Paul Koning <ni1d@arrl.net>
946
947 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
948 references to absolute addresses.
949
9689e3a3
DD
9502011-01-05 DJ Delorie <dj@redhat.com>
951
952 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
953 instead of an RH_NEG32 one.
954
35cc6a0b
L
9552011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
956
957 * doc/c-i386.texi: Clarify --n32.
958
f12dc422
L
9592011-01-04 H.J. Lu <hongjiu.lu@intel.com>
960
961 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
962 integer registers in VEX.vvvv. Check register-only source
963 operand when two source operands are swapped. Properly update
964 destination when two source operands are swapped.
965
0db46eb4
L
9662011-01-01 H.J. Lu <hongjiu.lu@intel.com>
967
968 * gas.c (parse_args): Update copyright to 2011.
969
5b326c3e 970For older changes see ChangeLog-2010
08d56133
NC
971\f
972Local Variables:
973mode: change-log
974left-margin: 8
975fill-column: 74
976version-control: never
977End:
This page took 0.522761 seconds and 4 git commands to generate.