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