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