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