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