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