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