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