daily update
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
7b21ac3f
EW
12008-08-08 Anatoly Sokolov <aesok@post.ru>
2
3 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
4 architectures. Reorganize list to put mcu types in correct architectures
5 and to order list same as in GCC. Use new ISA definitions in
6 include/opcode/avr.h.
7 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
8 descriptions. Reorganize descriptions to put mcu types in correct
9 architectures and to order lists same as in GCC.
10
861fb55a
DJ
112008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
12 Daniel Jacobowitz <dan@codesourcery.com>
13
14 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
15 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
16 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
17 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
18 (md_longopts): Add -call_nonpic.
19 (md_parse_option): Handle OPTION_CALL_NONPIC.
20 (md_show_usage): Add -call_nonpic.
21
532f93bd
BW
222008-08-08 Sterling Augustine <sterling@tensilica.com>
23
24 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
25 (xtensa_create_property_segments): Use it.
26 (xtensa_create_xproperty_segments): Likewise.
27
c3c36456
AM
282008-08-08 Alan Modra <amodra@bigpond.net.au>
29
30 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
31
738e5348
RS
322008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
33
34 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
35 (lo16_reloc_p): New functions.
36 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
37 generalize relocation checks.
38 (matching_lo_reloc): New function.
39 (fixup_has_matching_lo_p): Use it.
40 (mips16_mark_labels): Don't clobber a symbol's visibility.
41 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
42 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
43 (md_apply_fix): Likewise.
44 (mips16_percent_op): Add %got and %call16.
45 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
46 Use matching_lo_reloc.
47 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
48 generalize relocation checks.
49 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
50 checks.
51
6fd4f6cc
DD
522008-08-06 DJ Delorie <dj@redhat.com>
53
54 * NEWS: Mention these changes.
55
56 * config/tc-h8300.h (H_TICK_HEX): Define.
57 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
58 (md_longopts): Add "-h-tick-hex".
59 (md_parse_option): Support it.
60 * doc/c-h8300.texi (H8/300 Options): Document it.
61 * doc/as.texinfo (Overview): Likewise.
62
63 * config/tc-sh.h (H_TICK_HEX): Define.
64 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
65 (md_longopts): Add "-h-tick-hex".
66 (md_parse_option): Support it.
67 * doc/c-sh.texi (SH Options): Document it.
68 * doc/c-sh64.texi (SH64 Options): Document it.
69 * doc/as.texinfo (Overview): Likewise.
70
7cadeb2c
AM
712008-08-05 Alan Modra <amodra@bigpond.net.au>
72
73 PR gas/6656
74 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
75 debug info if we see compiler generated debug info.
76 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
77
413a266c
AM
782008-08-04 Alan Modra <amodra@bigpond.net.au>
79
80 * dwarf2dbg.c: Remove superfluous forward function declarations.
81 (DWARF2_FORMAT): Add section arg.
82 (out_header): New function, split out from..
83 (out_debug_line): ..here.
84 (out_debug_aranges): Use out_header.
85 (out_debug_abbrev): Add info_seg and line_seg args. Use
86 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
87 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
88 if line_seg is 64-bit.
89 (dwarf2_finish): Adjust out_debug_abbrev call.
90 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
91 * config/tc-mips.c (mips_dwarf2_format): Likewise.
92
323ee3f4
AM
932008-08-04 Alan Modra <amodra@bigpond.net.au>
94
95 * Makefile.am (POTFILES.in): Set LC_ALL=C.
96 * Makefile.in: Regenerate.
97 * po/POTFILES.in: Regenerate.
98
9b4e5766
PB
992008-08-01 Peter Bergner <bergner@vnet.ibm.com>
100
101 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
102 Handle -mvsx and -mpower7.
103 (md_show_usage): Document -mpower7 and -mvsx.
104 * doc/as.texinfo (Target PowerPC): Document -mvsx.
105 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
106
38233209
PB
1072008-07-31 Peter Bergner <bergner@vnet.ibm.com>
108
109 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
110 <cell>: Likewise.
111
081ba1b3
AM
1122008-07-30 Michael J. Eager <eager@eagercon.com>
113
114 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
115 (md_show_usage): Likewise.
116
0af1713e
AM
1172008-07-30 Alan Modra <amodra@bigpond.net.au>
118
119 * messages.c, symbols.c, write.c: Silence gcc warnings.
120
2cfe26b6
AM
1212008-07-28 Ineiev <ineiev@yahoo.co.uk>
122
123 * config/tc-i386.c (operand_type_check): Warning fix.
124
3c7b9897
AM
1252008-07-26 Michael Eager <eager@eagercon.com>
126
127 * doc/as.texinfo: Add description of single-precision attribute.
128
81fd73ed
JZ
1292008-07-24 Jie Zhang <jie.zhang@analog.com>
130
131 * config/bfin-parse.y (asm_1): Error if plain symbol is used
132 as load/store offset.
133
570de991
NC
1342008-07-22 Chao-ying Fu <fu@mips.com>
135
136 * config/tc-mips.c (mips_ip): Reset s to argsStart.
137
b4f42c96
JZ
1382008-07-22 Jie Zhang <jie.zhang@analog.com>
139
140 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
141
cc189afc
DD
1422008-07-21 DJ Delorie <dj@redhat.com>
143
144 * config/tc-h8300.c (fix_operand_size): Use the default size
145 specified by the .lbranch/.sbranch pseudos.
146
c54b5932
DD
1472008-07-18 DJ Delorie <dj@redhat.com>
148
149 * config/tc-m32c.h (H_TICK_HEX): Define.
150 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
151 (md_longopts): Add support for it.
152 (md_parse_option): Likewise.
153 * doc/as.texinfo (Overview): Add new m32c options.
154 * doc/c-m32c.texi (M32C-Modifiers): Likewise
155
156 * as.h: (enable_h_tick_hex): New.
157 * app.c (enable_h_tick_hex): New.
158 (LEX_IS_H): New.
159 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
160 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
161 style hex constants and convert the input stream to 0x00 style.
162 (do_scrub_chars): If a 'X style character constant is found after
163 a symbol character (like you're or X'00), warn the user.
164
30c09090
RS
1652008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
166
167 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
168 (mips_fix_adjustable): Likewise.
169 (mips_frob_file_after_relocs): Likewise.
170
bfbba8e4
NS
1712008-07-08 Nathan Sidwell <nathan@codesourcery.com>
172
173 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
174 about overriding an earlier setting.
175
b19e8a9b
AN
1762008-07-07 Adam Nemet <anemet@caviumnetworks.com>
177
178 * config/tc-mips.c (NO_ISA_COP): New macro.
179 (COP_INSN): New macro.
180 (is_opcode_valid): Use them.
181 (macro) <ld_st>: Use them. Don't accept coprocessor load store
182 insns based on the ISA if CPU is NO_ISA_COP.
183 <copz>: Likewise for coprocessor operations.
184
79947c54
CD
1852008-07-07 Paul Brook <paul@codesourcery.com>
186
187 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
2cfe26b6 188 relocations.
79947c54 189
9990da1d
NC
1902008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
191
192 * configure.tgt: Add bfin-*-rtems*.
193
d62f07d0
AM
1942008-07-04 Alan Modra <amodra@bigpond.net.au>
195
196 * config/tc-spu.c (md_apply_fix): Handle fully resolved
197 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
198
c8187e15
PB
1992008-06-25 Peter Bergner <bergner@vnet.ibm.com>
200
201 * config/tc-ppc.c (parse_cpu): Handle -m464.
202 (md_show_usage): Likewise.
203
3bb06f78
EW
2042008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
205
206 Add support for ATtiny13A.
207 * config/tc-avr.c (mcu_types): Add attiny13a.
208 * doc/c-avr.texi: Likewise.
209
6afe8e98
AM
2102008-06-24 Bob Wilson <bob.wilson@acm.org>
211 Alan Modra <amodra@bigpond.net.au>
212
213 * write.c (relax_segment <rs_org>): Include current stretch
214 value when calculating whether .org is backwards.
215
7a283e07
RW
2162008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
217
218 * configure: Regenerate.
219
0146fc9d
NC
2202008-06-17 Nick Clifton <nickc@redhat.com>
221
222 * app.c (do_scrub_chars): Do not UNGET an EOF value.
223
1afc8def
HPN
2242008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
225
226 PR gas/6607
227 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
228 text_section. Do the "stepping backwards" test for text_section
229 using unsigned operands.
230
fa452fa6
PB
2312008-06-13 Peter Bergner <bergner@vnet.ibm.com>
232
233 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
234 (ppc_insert_operand): Likewise.
235 (ppc_machine): Likewise.
236 * config/tc-ppc.h: #include "opcode/ppc.h"
237 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
238 (ppc_cpu): Update extern decl.
239
bb35fb24
NC
2402008-06-12 Adam Nemet <anemet@caviumnetworks.com>
241
242 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
243 +x, +X, +p, +P, +s, +S.
244 (mips_ip): Likewise.
245
dd3cbb7e
NC
246 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
247 (mips_ip): Likewise.
248 (macro_build): Likewise.
249 (CPU_HAS_SEQ): New macro.
250 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
251
e8568f6c
EW
2522008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
253
254 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
255 * doc/c-avr.texi: Likewise.
256
83bd7402
NC
2572008-06-04 Nick Clifton <nickc@redhat.com>
258
259 * app.c (do_scrub_chars): Do not UNGET an EOF value.
260
cb19c032
L
2612008-06-03 H.J. Lu <hongjiu.lu@intel.com>
262
263 * config/tc-i386.c (set_sse_check): New.
264 (md_pseudo_table): Add "sse_check".
265
4ecab7d4
PB
2662008-06-03 Paul Brook <paul@codesourcery.com>
267
268 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
269
0a903bab
NC
2702008-05-30 Nick Clifton <nickc@redhat.com>
271
272 PR 5523
273 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
274 relocs here.
275
b15591bb
AN
2762008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
277
278 * config/tc-mips.c (mips_cpu_info_table): Move records for
279 ST Loongson-2E/2F processors to a better place.
280
95f283e8
L
2812008-05-23 H.J. Lu <hongjiu.lu@intel.com>
282
283 PR gas/6518
284 * config/tc-i386.c (match_template): Report ambiguous operand
285 size, not invalid suffix when there is no match in Intel
286 syntax.
287
c462b453
PB
2882008-05-22 Paul Brook <paul@codesourcery.com>
289
290 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
291
7fac0536
NC
2922008-05-21 I-Jui Sung <ijsung@gmail.com>
293
294 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
295 compatible cores: fa526, fa626, fa626te, fa726te.
296 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
297 fa726te} options.
298
8944f3c2
AM
2992008-05-14 Alan Modra <amodra@bigpond.net.au>
300
301 * Makefile.am: Run "make dep-am".
302 * Makefile.in: Regenerate.
303 * doc/Makefile.in: Regenerate.
304 * po/POTFILES.in: Regenerate.
305
35903be0
CM
3062008-05-09 Catherine Moore <clm@codesourcery.com>
307
308 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
309 with non-MIPS16 relocs.
310
c41e87e3
CF
3112008-05-09 Chao-ying Fu <fu@mips.com>
312
313 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
314 case that some characters append at the end of the name.
315 (mips_ip): Likewise.
316 (s_change_sec): Likewise.
317 (md_section_align): Likewise.
318
51c8ebc1
BW
3192008-05-07 Bob Wilson <bob.wilson@acm.org>
320
321 * config/tc-xtensa.c (xtensa_create_property_segments): Use
322 xtensa_make_property_section instead of xtensa_get_property_section.
323 (xtensa_create_xproperty_segments): Likewise.
324
f1f8f695
L
3252008-05-02 H.J. Lu <hongjiu.lu@intel.com>
326
327 * NEWS: Mention XSAVE, EPT and MOVBE.
328
329 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
330 (md_show_usage): Add .movbe and .ept.
331
332 * doc/c-i386.texi: Add movbe and ept to -march=. Document
333 .movbe and .ept.
334
2b661f3d
DM
3352008-04-29 David S. Miller <davem@davemloft.net>
336
337 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
338
037b32b9
AN
3392008-04-28 Adam Nemet <anemet@caviumnetworks.com>
340
341 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
342 New statics.
343 (OPTION_ELF_BASE): Make room for new option macros.
344 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
345 OPTION_DOUBLE_FLOAT): New option macros.
346 (md_longopts): Add msoft-float, mhard-float, msingle-float and
347 mdouble-float.
348 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
349 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
350 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
351 and -mdouble-float.
352 (struct mips_set_options): New fields soft_float and single_float.
353 (mips_opts): Initialized them. Add comment for each field
354 initializer.
355 (mips_after_parse_args): Set them based on file_mips_soft_float
356 and file_mips_single_float.
357 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
358 `.set singlefloat' and `.set doublefloat'.
359 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
360 Handle single-float and soft-float instructions here.
361 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
362 (is_opcode_valid_16): New function.
363 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
364 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
365 M_S_DOB>: Remove special-casing of r4650.
366 * doc/c-mips.texi (-march=): Add Octeon.
367 (MIPS Opts): Document -msoft-float and -mhard-float. Document
368 -msingle-float and -mdouble-float.
369 (MIPS floating-point): New section. Document `.set softfloat' and
370 `.set hardfloat'. Document `.set singlefloat' and `.set
371 doublefloat'.
372
f04d18b7
DM
3732008-04-25 David S. Miller <davem@davemloft.net>
374
375 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
376 %asr aliases.
377
378 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
379 rather than occaisionally 'levels'. Consistently refer to Sun's
380 UNIX variant as SunOS, every version of Solaris is also SunOS.
381 Document new 'softint_clear' and 'softint_set' aliases. Clarify
382 which architecture versions support '%dcr', '%cq', and '%gl'. Add
383 section on 32-bit/64-bit opcode translations.
384
fe4fa32c
MF
3852008-04-23 Mike Frysinger <vapier@gentoo.org>
386
387 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
388 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
389 (obj-fdpicelf.o): Define.
390 * Makefile.in: Regenerate.
391 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
392 (bfin-*-*): Delete.
393 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
394 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
395 * config/obj-fdpicelf.c: New.
396 * config/obj-fdpicelf.h: Likewise.
397 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
398 the OBJ_FDPIC_ELF define.
399 (OPTION_NOPIC): Define.
400 (md_longopts): Add mnopic and mno-fdpic.
401 (md_parse_option): Handle OPTION_NOPIC.
402
6194aaab
L
4032008-04-23 Paolo Bonzini <bonzini@gnu.org>
404
405 * aclocal.m4: Regenerate.
406 * configure: Regenerate.
407
1a6b486f
DM
4082008-04-23 David S. Miller <davem@davemloft.net>
409
410 * config/tc-sparc.c (v9a_asr_table): Add missing
411 'stick' and 'stick_cmpr', and document ordering rules
412 of table.
413 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
414 BFD_RELOC_SPARC_PC10.
415 * doc/c-sparc.texi: New section on Sparc constants.
416 Add documentation for %stick and %stick_cmpr.
417
879d3736
NC
4182008-04-22 David S. Miller <davem@davemloft.net>
419
420 * config/obj-elf.c (obj_elf_section_type): Add prototype
421 before obj_elf_section_word and add 'warn' arg.
422 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
423 is matched, try checking for #SECTION_TYPE.
424 (obj_elf_section): Adjust for new args.
425 (obj_elf_type_name): New function.
426 (obj_elf_type): Call it, and accept STT_foo number strings
427 in .type statements as output by SunPRO compiler.
428
81f8a913
L
4292008-04-22 H.J. Lu <hongjiu.lu@intel.com>
430
431 * config/tc-i386.c (md_assemble): Don't check SSE instructions
432 if noavx is 0.
433
c15295d5
DM
4342008-04-18 David S. Miller <davem@davemloft.net>
435
436 * doc/c-sparc.texi: Add syntax section.
437
eff014d9
L
4382008-04-18 H.J. Lu <hongjiu.lu@intel.com>
439
440 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
441 REG and NDS for instructions with immediate operand.
442
dae39acc
L
4432008-04-18 H.J. Lu <hongjiu.lu@intel.com>
444
445 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
446 FMA.
447
739f7f82
DM
4482008-04-16 David S. Miller <davem@davemloft.net>
449
450 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
451 and relocation generation.
452 (tc_gen_reloc): Likewise.
453
52b5ca5b
AS
4542008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
455
456 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
457 relocations are properly aligned, and not negative.
458
a5f245b5
NC
4592008-04-15 Khem Raj <kraj@mvista.com>
460
461 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
462
19a6653c
AM
4632008-04-14 Edmar Wienskoski <edmar@freescale.com>
464
465 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
466 accept e500mc instructions.
467 (md_show_usage): Document -me500mc.
468
d5a35a55
NC
4692008-04-11 Nick Clifton <nickc@redhat.com>
470
471 * listing.c (print_timestamp): Use localtime rather than
472 localtime_r since not all build environments provide the latter.
473
daf50ae7
L
4742008-04-10 H.J. Lu <hongjiu.lu@intel.com>
475
476 * NEWS: Mention -msse-check=[none|error|warning].
477
478 * config/tc-i386.c (sse_check): New.
479 (OPTION_MSSE_CHECK): Likewise.
480 (md_assemble): Check SSE instructions if needed.
481 (md_longopts): Add -msse-check.
482 (md_parse_option): Handle OPTION_MSSE_CHECK.
483 (md_show_usage): Show -msse-check=[none|error|warning].
484
485 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
486