Add mingw I64 support for printing long and long long values
[platform/upstream/binutils.git] / gas / ChangeLog
1 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
2
3         * read.c: (emit_expr): Correct for mingw use of printf size 
4         specifier.
5
6 2008-01-24  Bob Wilson  <bob.wilson@acm.org>
7         
8         * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
9         can only be encoded in FLIX instructions but are not specified as such.
10         (Xtensa Automatic Alignment): Remove obsolete comment about debugging
11         labels.
12         
13 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
14
15         * NEWS: Mention new command line options for x86 targets.
16
17 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18
19         * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
20
21 2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>
22
23         * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
24
25 2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26
27         * config/tc-i386.c (md_show_usage): Show more processors for
28         -march=/-mtune=.
29
30 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
31
32         * config/tc-i386.c (i386_target_format): Remove cpummx2.
33
34 2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
35
36         * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
37         (XXX_MNEM_SUFFIX): Likewise.
38         (END_OF_INSN): Likewise.
39         (templates): Likewise.
40         (modrm_byte): Likewise.
41         (rex_byte): Likewise.
42         (DREX_XXX): Likewise.
43         (drex_byte): Likewise.
44         (sib_byte): Likewise.
45         (processor_type): Likewise.
46         (arch_entry): Likewise.
47         (cpu_sub_arch_name): Remove const.
48         (cpu_arch): Add .vmx and .smx.
49         (set_cpu_arch): Append cpu_sub_arch_name.
50         (md_parse_option): Support -march=CPU[,+EXTENSION...].
51         (md_show_usage): Updated.
52
53         * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
54         (XXX_MNEM_SUFFIX): Likewise.
55         (END_OF_INSN): Likewise.
56         (templates): Likewise.
57         (modrm_byte): Likewise.
58         (rex_byte): Likewise.
59         (DREX_XXX): Likewise.
60         (drex_byte): Likewise.
61         (sib_byte): Likewise.
62         (processor_type): Likewise.
63         (arch_entry): Likewise.
64
65         * doc/as.texinfo: Update i386 -march option.
66
67         * doc/c-i386.texi: Update -march= for ISA.
68
69 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
70         
71         * config/tc-xtensa.c (xtensa_leb128): New function.
72         (md_pseudo_table): Use it for sleb128 and uleb128.
73         (is_leb128_expr): New internal flag.
74         (xtensa_symbol_new_hook): Check new flag.
75         
76 2008-01-16  Eric B. Weddington  <eric.weddington@atmel.com>
77
78         * config/tc-avr.c (mcu_types): Change opcode set for avr3,
79         at90usb82, at90usb162.
80         * doc/c-avr.texi: Change architecture grouping for at90usb82, 
81         at90usb162.
82         These changes support the new avr35 architecture group in gcc.
83
84 2008-01-15  H.J. Lu  <hongjiu.lu@intel.com>
85
86         * config/tc-i386.c (md_assemble): Also zap movzx and movsx
87         suffix for AT&T syntax.
88
89 2008-01-14  H.J. Lu  <hongjiu.lu@intel.com>
90
91         * config/tc-i386.c (match_reg_size): New.
92         (match_mem_size): Likewise.
93         (operand_size_match): Likewise.
94         (operand_type_match): Also clear all size fields.
95         (match_template): Skip Intel syntax when in AT&T syntax.
96         Call operand_size_match to check operand size.
97         (i386_att_operand): Set the mem field to 1 for memory
98         operand.
99         (i386_intel_operand): Likewise.
100
101 2008-01-12  H.J. Lu  <hongjiu.lu@intel.com>
102
103         PR gas/5534
104         * config/tc-i386.c (_i386_insn): Update comment.
105         (operand_type_match): Also clear unspecified.
106         (operand_type_register_match): Likewise.
107         (parse_operands): Initialize unspecified.
108         (i386_intel_operand): Likewise.
109         (match_template): Check memory and accumulator operand size.
110         (i386_att_operand): Clear unspecified on register operand.
111         (intel_e11): Likewise.
112         (intel_e09): Set operand size and clean unspecified for
113         "XXX PTR".
114
115 2008-01-11  Andreas Schwab  <schwab@suse.de>
116
117         * read.c (s_space): Declare `repeat' as offsetT.
118
119 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
120
121         * config/tc-i386.c (match_template): Check processor support
122         first.
123
124 2008-01-10  H.J. Lu  <hongjiu.lu@intel.com>
125
126         * config/tc-i386.c (match_template): Continue if processor
127         doesn't match.
128
129 2008-01-09  Alexandre Oliva  <aoliva@redhat.com>
130
131         * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
132         unwind personality function address.
133
134 2008-01-09  Bob Wilson  <bob.wilson@acm.org>
135         
136         * dwarf2dbg.c (out_sleb128): Delete.
137         (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
138         (out_fixed_inc_line_addr): Delete.
139         (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
140         size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
141         (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
142         (process_entries): Remove calls to out_fixed_inc_line_addr.  When
143         DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
144         * read.h (emit_expr_fix): New prototype.
145         * read.c (emit_expr): Move code to emit_expr_fix and use it here.
146         (emit_expr_fix): New.
147         
148 2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>
149
150         * config/tc-i386.c (match_template): Check register size
151         only when size of operands can be encoded the canonical way.
152
153 2008-01-08  H.J. Lu  <hongjiu.lu@intel.com>
154
155         * config/tc-i386.c (i386_operand): Renamed to ...
156         (i386_att_operand): This.
157         (parse_operands): Updated.
158
159 2008-01-05  H.J. Lu  <hongjiu.lu@intel.com>
160
161         * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
162
163         * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
164         only.
165         (md_assemble): Remove Intel mode workaround.
166         (match_template): Check support for old gcc, AT&T mnemonic
167         and Intel Syntax.
168         (md_parse_option): Don't set intel_mnemonic to 0 for
169         OPTION_MOLD_GCC.
170
171 2008-01-04  H.J. Lu  <hongjiu.lu@intel.com>
172
173         * config/tc-i386.h: Update copyright to 2008.
174
175 2008-01-04  Nick Clifton  <nickc@redhat.com>
176
177         * config/tc-ppc.c (parse_cpu): Preserve the settings of the
178         PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
179
180 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
181
182         * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
183         of SYSV386_COMPAT.
184
185 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
186
187         * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
188         (cpu_flags_not): Likewise.
189         (cpu_flags_match): Updated to check 64bit and arch.
190         (set_code_flag): Remove cpu_arch_flags_not.
191         (set_16bit_gcc_code_flag): Likewise.
192         (set_cpu_arch): Likewise.
193         (md_begin): Likewise.
194         (parse_insn): Call cpu_flags_match to check 64bit and arch.
195         (match_template): Likewise.
196
197 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
198
199         * config/tc-i386.c (process_drex): Initialize modrm_reg and
200         modrm_regmem to 0 instead of None.
201
202 2008-01-03  H.J. Lu  <hongjiu.lu@intel.com>
203
204         * config/tc-i386.c (match_template): Use the xmmword field
205         instead of no_xsuf.
206
207 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
208
209         * config/tc-i386.c (process_suffix): Fix a typo.
210
211 2008-01-02  H.J. Lu  <hongjiu.lu@intel.com>
212
213         PR gas/5534
214         * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
215         Check memory size in Intel mode.
216         (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
217         (intel_e09): Likewise.
218
219         * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
220
221 2008-01-02  Catherine Moore  <clm@codesourcery.com>
222
223         * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
224
225 For older changes see ChangeLog-2007
226 \f
227 Local Variables:
228 mode: change-log
229 left-margin: 8
230 fill-column: 74
231 version-control: never
232 End: