* config/tc-mips.c (NO_ISA_COP): New macro.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
b19e8a9b
AN
12008-07-07 Adam Nemet <anemet@caviumnetworks.com>
2
3 * config/tc-mips.c (NO_ISA_COP): New macro.
4 (COP_INSN): New macro.
5 (is_opcode_valid): Use them.
6 (macro) <ld_st>: Use them. Don't accept coprocessor load store
7 insns based on the ISA if CPU is NO_ISA_COP.
8 <copz>: Likewise for coprocessor operations.
9
79947c54
CD
102008-07-07 Paul Brook <paul@codesourcery.com>
11
12 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
13 relocations.
14
9990da1d
NC
152008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
16
17 * configure.tgt: Add bfin-*-rtems*.
18
d62f07d0
AM
192008-07-04 Alan Modra <amodra@bigpond.net.au>
20
21 * config/tc-spu.c (md_apply_fix): Handle fully resolved
22 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
23
c8187e15
PB
242008-06-25 Peter Bergner <bergner@vnet.ibm.com>
25
26 * config/tc-ppc.c (parse_cpu): Handle -m464.
27 (md_show_usage): Likewise.
28
3bb06f78
EW
292008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
30
31 Add support for ATtiny13A.
32 * config/tc-avr.c (mcu_types): Add attiny13a.
33 * doc/c-avr.texi: Likewise.
34
6afe8e98
AM
352008-06-24 Bob Wilson <bob.wilson@acm.org>
36 Alan Modra <amodra@bigpond.net.au>
37
38 * write.c (relax_segment <rs_org>): Include current stretch
39 value when calculating whether .org is backwards.
40
7a283e07
RW
412008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
42
43 * configure: Regenerate.
44
0146fc9d
NC
452008-06-17 Nick Clifton <nickc@redhat.com>
46
47 * app.c (do_scrub_chars): Do not UNGET an EOF value.
48
1afc8def
HPN
492008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
50
51 PR gas/6607
52 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
53 text_section. Do the "stepping backwards" test for text_section
54 using unsigned operands.
55
fa452fa6
PB
562008-06-13 Peter Bergner <bergner@vnet.ibm.com>
57
58 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
59 (ppc_insert_operand): Likewise.
60 (ppc_machine): Likewise.
61 * config/tc-ppc.h: #include "opcode/ppc.h"
62 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
63 (ppc_cpu): Update extern decl.
64
bb35fb24
NC
652008-06-12 Adam Nemet <anemet@caviumnetworks.com>
66
67 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
68 +x, +X, +p, +P, +s, +S.
69 (mips_ip): Likewise.
70
dd3cbb7e
NC
71 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
72 (mips_ip): Likewise.
73 (macro_build): Likewise.
74 (CPU_HAS_SEQ): New macro.
75 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
76
e8568f6c
EW
772008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
78
79 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
80 * doc/c-avr.texi: Likewise.
81
83bd7402
NC
822008-06-04 Nick Clifton <nickc@redhat.com>
83
84 * app.c (do_scrub_chars): Do not UNGET an EOF value.
85
cb19c032
L
862008-06-03 H.J. Lu <hongjiu.lu@intel.com>
87
88 * config/tc-i386.c (set_sse_check): New.
89 (md_pseudo_table): Add "sse_check".
90
4ecab7d4
PB
912008-06-03 Paul Brook <paul@codesourcery.com>
92
93 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
94
0a903bab
NC
952008-05-30 Nick Clifton <nickc@redhat.com>
96
97 PR 5523
98 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
99 relocs here.
100
b15591bb
AN
1012008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
102
103 * config/tc-mips.c (mips_cpu_info_table): Move records for
104 ST Loongson-2E/2F processors to a better place.
105
95f283e8
L
1062008-05-23 H.J. Lu <hongjiu.lu@intel.com>
107
108 PR gas/6518
109 * config/tc-i386.c (match_template): Report ambiguous operand
110 size, not invalid suffix when there is no match in Intel
111 syntax.
112
c462b453
PB
1132008-05-22 Paul Brook <paul@codesourcery.com>
114
115 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
116
7fac0536
NC
1172008-05-21 I-Jui Sung <ijsung@gmail.com>
118
119 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
120 compatible cores: fa526, fa626, fa626te, fa726te.
121 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
122 fa726te} options.
123
8944f3c2
AM
1242008-05-14 Alan Modra <amodra@bigpond.net.au>
125
126 * Makefile.am: Run "make dep-am".
127 * Makefile.in: Regenerate.
128 * doc/Makefile.in: Regenerate.
129 * po/POTFILES.in: Regenerate.
130
35903be0
CM
1312008-05-09 Catherine Moore <clm@codesourcery.com>
132
133 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
134 with non-MIPS16 relocs.
135
c41e87e3
CF
1362008-05-09 Chao-ying Fu <fu@mips.com>
137
138 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
139 case that some characters append at the end of the name.
140 (mips_ip): Likewise.
141 (s_change_sec): Likewise.
142 (md_section_align): Likewise.
143
51c8ebc1
BW
1442008-05-07 Bob Wilson <bob.wilson@acm.org>
145
146 * config/tc-xtensa.c (xtensa_create_property_segments): Use
147 xtensa_make_property_section instead of xtensa_get_property_section.
148 (xtensa_create_xproperty_segments): Likewise.
149
f1f8f695
L
1502008-05-02 H.J. Lu <hongjiu.lu@intel.com>
151
152 * NEWS: Mention XSAVE, EPT and MOVBE.
153
154 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
155 (md_show_usage): Add .movbe and .ept.
156
157 * doc/c-i386.texi: Add movbe and ept to -march=. Document
158 .movbe and .ept.
159
2b661f3d
DM
1602008-04-29 David S. Miller <davem@davemloft.net>
161
162 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
163
037b32b9
AN
1642008-04-28 Adam Nemet <anemet@caviumnetworks.com>
165
166 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
167 New statics.
168 (OPTION_ELF_BASE): Make room for new option macros.
169 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
170 OPTION_DOUBLE_FLOAT): New option macros.
171 (md_longopts): Add msoft-float, mhard-float, msingle-float and
172 mdouble-float.
173 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
174 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
175 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
176 and -mdouble-float.
177 (struct mips_set_options): New fields soft_float and single_float.
178 (mips_opts): Initialized them. Add comment for each field
179 initializer.
180 (mips_after_parse_args): Set them based on file_mips_soft_float
181 and file_mips_single_float.
182 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
183 `.set singlefloat' and `.set doublefloat'.
184 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
185 Handle single-float and soft-float instructions here.
186 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
187 (is_opcode_valid_16): New function.
188 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
189 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
190 M_S_DOB>: Remove special-casing of r4650.
191 * doc/c-mips.texi (-march=): Add Octeon.
192 (MIPS Opts): Document -msoft-float and -mhard-float. Document
193 -msingle-float and -mdouble-float.
194 (MIPS floating-point): New section. Document `.set softfloat' and
195 `.set hardfloat'. Document `.set singlefloat' and `.set
196 doublefloat'.
197
f04d18b7
DM
1982008-04-25 David S. Miller <davem@davemloft.net>
199
200 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
201 %asr aliases.
202
203 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
204 rather than occaisionally 'levels'. Consistently refer to Sun's
205 UNIX variant as SunOS, every version of Solaris is also SunOS.
206 Document new 'softint_clear' and 'softint_set' aliases. Clarify
207 which architecture versions support '%dcr', '%cq', and '%gl'. Add
208 section on 32-bit/64-bit opcode translations.
209
fe4fa32c
MF
2102008-04-23 Mike Frysinger <vapier@gentoo.org>
211
212 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
213 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
214 (obj-fdpicelf.o): Define.
215 * Makefile.in: Regenerate.
216 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
217 (bfin-*-*): Delete.
218 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
219 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
220 * config/obj-fdpicelf.c: New.
221 * config/obj-fdpicelf.h: Likewise.
222 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
223 the OBJ_FDPIC_ELF define.
224 (OPTION_NOPIC): Define.
225 (md_longopts): Add mnopic and mno-fdpic.
226 (md_parse_option): Handle OPTION_NOPIC.
227
6194aaab
L
2282008-04-23 Paolo Bonzini <bonzini@gnu.org>
229
230 * aclocal.m4: Regenerate.
231 * configure: Regenerate.
232
1a6b486f
DM
2332008-04-23 David S. Miller <davem@davemloft.net>
234
235 * config/tc-sparc.c (v9a_asr_table): Add missing
236 'stick' and 'stick_cmpr', and document ordering rules
237 of table.
238 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
239 BFD_RELOC_SPARC_PC10.
240 * doc/c-sparc.texi: New section on Sparc constants.
241 Add documentation for %stick and %stick_cmpr.
242
879d3736
NC
2432008-04-22 David S. Miller <davem@davemloft.net>
244
245 * config/obj-elf.c (obj_elf_section_type): Add prototype
246 before obj_elf_section_word and add 'warn' arg.
247 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
248 is matched, try checking for #SECTION_TYPE.
249 (obj_elf_section): Adjust for new args.
250 (obj_elf_type_name): New function.
251 (obj_elf_type): Call it, and accept STT_foo number strings
252 in .type statements as output by SunPRO compiler.
253
81f8a913
L
2542008-04-22 H.J. Lu <hongjiu.lu@intel.com>
255
256 * config/tc-i386.c (md_assemble): Don't check SSE instructions
257 if noavx is 0.
258
c15295d5
DM
2592008-04-18 David S. Miller <davem@davemloft.net>
260
261 * doc/c-sparc.texi: Add syntax section.
262
eff014d9
L
2632008-04-18 H.J. Lu <hongjiu.lu@intel.com>
264
265 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
266 REG and NDS for instructions with immediate operand.
267
dae39acc
L
2682008-04-18 H.J. Lu <hongjiu.lu@intel.com>
269
270 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
271 FMA.
272
739f7f82
DM
2732008-04-16 David S. Miller <davem@davemloft.net>
274
275 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
276 and relocation generation.
277 (tc_gen_reloc): Likewise.
278
52b5ca5b
AS
2792008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
280
281 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
282 relocations are properly aligned, and not negative.
283
a5f245b5
NC
2842008-04-15 Khem Raj <kraj@mvista.com>
285
286 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
287
19a6653c
AM
2882008-04-14 Edmar Wienskoski <edmar@freescale.com>
289
290 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
291 accept e500mc instructions.
292 (md_show_usage): Document -me500mc.
293
d5a35a55
NC
2942008-04-11 Nick Clifton <nickc@redhat.com>
295
296 * listing.c (print_timestamp): Use localtime rather than
297 localtime_r since not all build environments provide the latter.
298
daf50ae7
L
2992008-04-10 H.J. Lu <hongjiu.lu@intel.com>
300
301 * NEWS: Mention -msse-check=[none|error|warning].
302
303 * config/tc-i386.c (sse_check): New.
304 (OPTION_MSSE_CHECK): Likewise.
305 (md_assemble): Check SSE instructions if needed.
306 (md_longopts): Add -msse-check.
307 (md_parse_option): Handle OPTION_MSSE_CHECK.
308 (md_show_usage): Show -msse-check=[none|error|warning].
309
310 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
311