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