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