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