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