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