gas/
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
38233209
PB
12008-07-31 Peter Bergner <bergner@vnet.ibm.com>
2
3 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
4 <cell>: Likewise.
5
081ba1b3
AM
62008-07-30 Michael J. Eager <eager@eagercon.com>
7
8 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
9 (md_show_usage): Likewise.
10
0af1713e
AM
112008-07-30 Alan Modra <amodra@bigpond.net.au>
12
13 * messages.c, symbols.c, write.c: Silence gcc warnings.
14
2cfe26b6
AM
152008-07-28 Ineiev <ineiev@yahoo.co.uk>
16
17 * config/tc-i386.c (operand_type_check): Warning fix.
18
3c7b9897
AM
192008-07-26 Michael Eager <eager@eagercon.com>
20
21 * doc/as.texinfo: Add description of single-precision attribute.
22
81fd73ed
JZ
232008-07-24 Jie Zhang <jie.zhang@analog.com>
24
25 * config/bfin-parse.y (asm_1): Error if plain symbol is used
26 as load/store offset.
27
570de991
NC
282008-07-22 Chao-ying Fu <fu@mips.com>
29
30 * config/tc-mips.c (mips_ip): Reset s to argsStart.
31
b4f42c96
JZ
322008-07-22 Jie Zhang <jie.zhang@analog.com>
33
34 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
35
cc189afc
DD
362008-07-21 DJ Delorie <dj@redhat.com>
37
38 * config/tc-h8300.c (fix_operand_size): Use the default size
39 specified by the .lbranch/.sbranch pseudos.
40
c54b5932
DD
412008-07-18 DJ Delorie <dj@redhat.com>
42
43 * config/tc-m32c.h (H_TICK_HEX): Define.
44 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
45 (md_longopts): Add support for it.
46 (md_parse_option): Likewise.
47 * doc/as.texinfo (Overview): Add new m32c options.
48 * doc/c-m32c.texi (M32C-Modifiers): Likewise
49
50 * as.h: (enable_h_tick_hex): New.
51 * app.c (enable_h_tick_hex): New.
52 (LEX_IS_H): New.
53 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
54 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
55 style hex constants and convert the input stream to 0x00 style.
56 (do_scrub_chars): If a 'X style character constant is found after
57 a symbol character (like you're or X'00), warn the user.
58
30c09090
RS
592008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
60
61 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
62 (mips_fix_adjustable): Likewise.
63 (mips_frob_file_after_relocs): Likewise.
64
bfbba8e4
NS
652008-07-08 Nathan Sidwell <nathan@codesourcery.com>
66
67 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
68 about overriding an earlier setting.
69
b19e8a9b
AN
702008-07-07 Adam Nemet <anemet@caviumnetworks.com>
71
72 * config/tc-mips.c (NO_ISA_COP): New macro.
73 (COP_INSN): New macro.
74 (is_opcode_valid): Use them.
75 (macro) <ld_st>: Use them. Don't accept coprocessor load store
76 insns based on the ISA if CPU is NO_ISA_COP.
77 <copz>: Likewise for coprocessor operations.
78
79947c54
CD
792008-07-07 Paul Brook <paul@codesourcery.com>
80
81 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
2cfe26b6 82 relocations.
79947c54 83
9990da1d
NC
842008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
85
86 * configure.tgt: Add bfin-*-rtems*.
87
d62f07d0
AM
882008-07-04 Alan Modra <amodra@bigpond.net.au>
89
90 * config/tc-spu.c (md_apply_fix): Handle fully resolved
91 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
92
c8187e15
PB
932008-06-25 Peter Bergner <bergner@vnet.ibm.com>
94
95 * config/tc-ppc.c (parse_cpu): Handle -m464.
96 (md_show_usage): Likewise.
97
3bb06f78
EW
982008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
99
100 Add support for ATtiny13A.
101 * config/tc-avr.c (mcu_types): Add attiny13a.
102 * doc/c-avr.texi: Likewise.
103
6afe8e98
AM
1042008-06-24 Bob Wilson <bob.wilson@acm.org>
105 Alan Modra <amodra@bigpond.net.au>
106
107 * write.c (relax_segment <rs_org>): Include current stretch
108 value when calculating whether .org is backwards.
109
7a283e07
RW
1102008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
111
112 * configure: Regenerate.
113
0146fc9d
NC
1142008-06-17 Nick Clifton <nickc@redhat.com>
115
116 * app.c (do_scrub_chars): Do not UNGET an EOF value.
117
1afc8def
HPN
1182008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
119
120 PR gas/6607
121 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
122 text_section. Do the "stepping backwards" test for text_section
123 using unsigned operands.
124
fa452fa6
PB
1252008-06-13 Peter Bergner <bergner@vnet.ibm.com>
126
127 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
128 (ppc_insert_operand): Likewise.
129 (ppc_machine): Likewise.
130 * config/tc-ppc.h: #include "opcode/ppc.h"
131 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
132 (ppc_cpu): Update extern decl.
133
bb35fb24
NC
1342008-06-12 Adam Nemet <anemet@caviumnetworks.com>
135
136 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
137 +x, +X, +p, +P, +s, +S.
138 (mips_ip): Likewise.
139
dd3cbb7e
NC
140 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
141 (mips_ip): Likewise.
142 (macro_build): Likewise.
143 (CPU_HAS_SEQ): New macro.
144 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
145
e8568f6c
EW
1462008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
147
148 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
149 * doc/c-avr.texi: Likewise.
150
83bd7402
NC
1512008-06-04 Nick Clifton <nickc@redhat.com>
152
153 * app.c (do_scrub_chars): Do not UNGET an EOF value.
154
cb19c032
L
1552008-06-03 H.J. Lu <hongjiu.lu@intel.com>
156
157 * config/tc-i386.c (set_sse_check): New.
158 (md_pseudo_table): Add "sse_check".
159
4ecab7d4
PB
1602008-06-03 Paul Brook <paul@codesourcery.com>
161
162 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
163
0a903bab
NC
1642008-05-30 Nick Clifton <nickc@redhat.com>
165
166 PR 5523
167 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
168 relocs here.
169
b15591bb
AN
1702008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
171
172 * config/tc-mips.c (mips_cpu_info_table): Move records for
173 ST Loongson-2E/2F processors to a better place.
174
95f283e8
L
1752008-05-23 H.J. Lu <hongjiu.lu@intel.com>
176
177 PR gas/6518
178 * config/tc-i386.c (match_template): Report ambiguous operand
179 size, not invalid suffix when there is no match in Intel
180 syntax.
181
c462b453
PB
1822008-05-22 Paul Brook <paul@codesourcery.com>
183
184 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
185
7fac0536
NC
1862008-05-21 I-Jui Sung <ijsung@gmail.com>
187
188 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
189 compatible cores: fa526, fa626, fa626te, fa726te.
190 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
191 fa726te} options.
192
8944f3c2
AM
1932008-05-14 Alan Modra <amodra@bigpond.net.au>
194
195 * Makefile.am: Run "make dep-am".
196 * Makefile.in: Regenerate.
197 * doc/Makefile.in: Regenerate.
198 * po/POTFILES.in: Regenerate.
199
35903be0
CM
2002008-05-09 Catherine Moore <clm@codesourcery.com>
201
202 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
203 with non-MIPS16 relocs.
204
c41e87e3
CF
2052008-05-09 Chao-ying Fu <fu@mips.com>
206
207 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
208 case that some characters append at the end of the name.
209 (mips_ip): Likewise.
210 (s_change_sec): Likewise.
211 (md_section_align): Likewise.
212
51c8ebc1
BW
2132008-05-07 Bob Wilson <bob.wilson@acm.org>
214
215 * config/tc-xtensa.c (xtensa_create_property_segments): Use
216 xtensa_make_property_section instead of xtensa_get_property_section.
217 (xtensa_create_xproperty_segments): Likewise.
218
f1f8f695
L
2192008-05-02 H.J. Lu <hongjiu.lu@intel.com>
220
221 * NEWS: Mention XSAVE, EPT and MOVBE.
222
223 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
224 (md_show_usage): Add .movbe and .ept.
225
226 * doc/c-i386.texi: Add movbe and ept to -march=. Document
227 .movbe and .ept.
228
2b661f3d
DM
2292008-04-29 David S. Miller <davem@davemloft.net>
230
231 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
232
037b32b9
AN
2332008-04-28 Adam Nemet <anemet@caviumnetworks.com>
234
235 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
236 New statics.
237 (OPTION_ELF_BASE): Make room for new option macros.
238 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
239 OPTION_DOUBLE_FLOAT): New option macros.
240 (md_longopts): Add msoft-float, mhard-float, msingle-float and
241 mdouble-float.
242 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
243 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
244 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
245 and -mdouble-float.
246 (struct mips_set_options): New fields soft_float and single_float.
247 (mips_opts): Initialized them. Add comment for each field
248 initializer.
249 (mips_after_parse_args): Set them based on file_mips_soft_float
250 and file_mips_single_float.
251 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
252 `.set singlefloat' and `.set doublefloat'.
253 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
254 Handle single-float and soft-float instructions here.
255 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
256 (is_opcode_valid_16): New function.
257 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
258 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
259 M_S_DOB>: Remove special-casing of r4650.
260 * doc/c-mips.texi (-march=): Add Octeon.
261 (MIPS Opts): Document -msoft-float and -mhard-float. Document
262 -msingle-float and -mdouble-float.
263 (MIPS floating-point): New section. Document `.set softfloat' and
264 `.set hardfloat'. Document `.set singlefloat' and `.set
265 doublefloat'.
266
f04d18b7
DM
2672008-04-25 David S. Miller <davem@davemloft.net>
268
269 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
270 %asr aliases.
271
272 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
273 rather than occaisionally 'levels'. Consistently refer to Sun's
274 UNIX variant as SunOS, every version of Solaris is also SunOS.
275 Document new 'softint_clear' and 'softint_set' aliases. Clarify
276 which architecture versions support '%dcr', '%cq', and '%gl'. Add
277 section on 32-bit/64-bit opcode translations.
278
fe4fa32c
MF
2792008-04-23 Mike Frysinger <vapier@gentoo.org>
280
281 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
282 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
283 (obj-fdpicelf.o): Define.
284 * Makefile.in: Regenerate.
285 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
286 (bfin-*-*): Delete.
287 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
288 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
289 * config/obj-fdpicelf.c: New.
290 * config/obj-fdpicelf.h: Likewise.
291 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
292 the OBJ_FDPIC_ELF define.
293 (OPTION_NOPIC): Define.
294 (md_longopts): Add mnopic and mno-fdpic.
295 (md_parse_option): Handle OPTION_NOPIC.
296
6194aaab
L
2972008-04-23 Paolo Bonzini <bonzini@gnu.org>
298
299 * aclocal.m4: Regenerate.
300 * configure: Regenerate.
301
1a6b486f
DM
3022008-04-23 David S. Miller <davem@davemloft.net>
303
304 * config/tc-sparc.c (v9a_asr_table): Add missing
305 'stick' and 'stick_cmpr', and document ordering rules
306 of table.
307 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
308 BFD_RELOC_SPARC_PC10.
309 * doc/c-sparc.texi: New section on Sparc constants.
310 Add documentation for %stick and %stick_cmpr.
311
879d3736
NC
3122008-04-22 David S. Miller <davem@davemloft.net>
313
314 * config/obj-elf.c (obj_elf_section_type): Add prototype
315 before obj_elf_section_word and add 'warn' arg.
316 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
317 is matched, try checking for #SECTION_TYPE.
318 (obj_elf_section): Adjust for new args.
319 (obj_elf_type_name): New function.
320 (obj_elf_type): Call it, and accept STT_foo number strings
321 in .type statements as output by SunPRO compiler.
322
81f8a913
L
3232008-04-22 H.J. Lu <hongjiu.lu@intel.com>
324
325 * config/tc-i386.c (md_assemble): Don't check SSE instructions
326 if noavx is 0.
327
c15295d5
DM
3282008-04-18 David S. Miller <davem@davemloft.net>
329
330 * doc/c-sparc.texi: Add syntax section.
331
eff014d9
L
3322008-04-18 H.J. Lu <hongjiu.lu@intel.com>
333
334 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
335 REG and NDS for instructions with immediate operand.
336
dae39acc
L
3372008-04-18 H.J. Lu <hongjiu.lu@intel.com>
338
339 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
340 FMA.
341
739f7f82
DM
3422008-04-16 David S. Miller <davem@davemloft.net>
343
344 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
345 and relocation generation.
346 (tc_gen_reloc): Likewise.
347
52b5ca5b
AS
3482008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
349
350 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
351 relocations are properly aligned, and not negative.
352
a5f245b5
NC
3532008-04-15 Khem Raj <kraj@mvista.com>
354
355 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
356
19a6653c
AM
3572008-04-14 Edmar Wienskoski <edmar@freescale.com>
358
359 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
360 accept e500mc instructions.
361 (md_show_usage): Document -me500mc.
362
d5a35a55
NC
3632008-04-11 Nick Clifton <nickc@redhat.com>
364
365 * listing.c (print_timestamp): Use localtime rather than
366 localtime_r since not all build environments provide the latter.
367
daf50ae7
L
3682008-04-10 H.J. Lu <hongjiu.lu@intel.com>
369
370 * NEWS: Mention -msse-check=[none|error|warning].
371
372 * config/tc-i386.c (sse_check): New.
373 (OPTION_MSSE_CHECK): Likewise.
374 (md_assemble): Check SSE instructions if needed.
375 (md_longopts): Add -msse-check.
376 (md_parse_option): Handle OPTION_MSSE_CHECK.
377 (md_show_usage): Show -msse-check=[none|error|warning].
378
379 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
380