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