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