Add m32c-*-rtems* and m32r-*-rtems* configuration targets.
[deliverable/binutils-gdb.git] / gas / ChangeLog
... / ...
CommitLineData
12008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
2
3 * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
4
52008-11-04 Sterling Augustine <sterling@tensilica.com>
6
7 * config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
8 writes to the same register.
9
102008-11-04 Sterling Augustine <sterling@tensilica.com>
11
12 * config/tc-xtensa.c (xtensa_j_opcode): New.
13 (xg_instruction_matches_option_term): Handle "FREEREG" option.
14 (xg_build_to_insn): Likewise. Update renamed tls_reloc reference.
15 (md_begin): Initialize xtensa_j_opcode.
16 (md_assemble): Update renamed tls_reloc reference. Handle "j.l".
17 (xg_assemble_vliw_tokens): Save free_reg info in the frag.
18 (tinsn_immed_from_frag): Get free_reg info back out of the frag.
19 (vinsn_to_insnbuf): Update renamed tls_reloc references.
20 Distinguish extra argument for "FREEREG" from extra TLS argument.
21 * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
22 * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
23 field to extra_arg.
24 * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
25 (build_transition): Handle "FREEREG" operand.
26 * config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
27
282008-10-31 Alan Modra <amodra@bigpond.net.au>
29
30 * po/id.po: Update.
31
322008-10-24 Maciej W. Rozycki <macro@linux-mips.org>
33
34 * config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2
35 comment so that Broadcom SB-1 cores are in the MIPS64 section.
36
372008-10-21 Alan Modra <amodra@bigpond.net.au>
38
39 * config/tc-bfin.c (gencode, allocate): Remove unnecessary cast.
40 * config/tc-ns32k.c (bit_fix_new): Likewise.
41 * config/tc-m68k.c (md_begin): Likewise.
42 * hash.c (hash_insert, hash_jam): Likewise.
43 * symbols.c (symbol_create, local_symbol_make): Likewise.
44 * frags.c (frag_alloc): Likewise.
45
462008-10-20 Jay Krell <jay.krell@cornell.edu>
47
48 * config/bfin-parse.y: Use C style comments.
49 * config/tc-bfin.c: Likewise.
50 * config/tc-m68k.c: Likewise.
51 * config/tc-mips.c: Likewise.
52
532008-10-12 H.J. Lu <hongjiu.lu@intel.com>
54
55 * config/tc-i386.c (processor_type): Moved to tc-i386.h.
56 (cpu_arch_tune): Make it global.
57 (cpu_arch_isa): Likewise.
58 (cpu_arch_isa_flags): Likewise.
59 (i386_align_code): Check fragP->tc_frag_data.isa,
60 fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of
61 cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune,
62 respectively.
63
64 * config/tc-i386.h (processor_type): Moved from tc-i386.c.
65 (cpu_arch_tune): New.
66 (cpu_arch_isa): Likewise.
67 (cpu_arch_isa_flags): Likewise.
68 (i386_tc_frag_data): Likewise.
69 (TC_FRAG_TYPE): Likewise.
70 (TC_FRAG_INIT): Likewise.
71
722008-10-09 Bob Wilson <bob.wilson@acm.org>
73
74 * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.
75 (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128):
76 Moved into alphabetical order.
77
782008-10-09 Bob Wilson <bob.wilson@acm.org>
79
80 * doc/as.texinfo (Dot): Expand no-space-dir conditional to include
81 a complete sentence.
82 (Pseudo Ops): Put conditionals around Skip and Space menu entries.
83 (Line): Remove conditional declaration of Ln node and section here.
84 Put aout-bout description inside the no-line-dir conditional.
85 (Skip, Space): Use a separate conditional for each node.
86
872008-10-09 Bob Wilson <bob.wilson@acm.org>
88
89 * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional around
90 menu entry for File; remove version-specific .file operands from menu
91 description. Replace "LNS directives" menu entry with new entries
92 for "Loc" and "Loc_mark_labels".
93 (LNS directives): Split into separate nodes for each directive.
94 (Loc): New node for .loc directive. Mention that this directive
95 is for DWARF2 and add a missing article.
96 (Loc_mark_labels): Likewise for .loc_mark_labels.
97 (File): Change this node to describe both the default version and
98 the DWARF2 version of .file. Move the no-file-dir conditional to
99 include only the default version.
100
1012008-10-09 Eric Botcazou <ebotcazou@adacore.com>
102
103 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
104 * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
105 (i386_solaris_fix_up_eh_frame): Declare.
106 * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
107
1082008-10-09 Nick Clifton <nickc@redhat.com>
109
110 PR 6944
111 * doc/as.texinfo (Dollar Local Labels): Correct description of
112 dollar local labels to show that the colon suffix is still
113 needed.
114
1152008-10-08 Nick Clifton <nickc@redhat.com>
116
117 * configure.in (ALL_LINGUAS): Add "id".
118 * configure: Regenerate.
119 * po/id.po: New Indonesian translation.
120
1212008-10-07 H.J. Lu <hongjiu.lu@intel.com>
122
123 * read.c (pseudo_set): Don't allow global register symbol only
124 if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined.
125 * symbols.c (S_SET_EXTERNAL): Likewise.
126
127 * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined.
128
129 * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
130
1312008-10-06 Bob Wilson <bob.wilson@acm.org>
132
133 * doc/as.texinfo (Local): New description of ELF .local directive.
134
1352008-10-06 Nick Clifton <nickc@redhat.com>
136
137 PR 6926
138 * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
139 (_find_end_of_line): Add extra parameter indicating if the line is
140 inside a macro. If it is then do not allow the @ character to be
141 treated as a line separator character.
142 (read_a_source): Update use of _find_end_of_line.
143 (find_end_of_line): Likewise.
144 (s_irp): Update use of get_line_sb.
145 (s_macro): Likewise.
146 (do_repeat): Likewise.
147 (get_line_sb): New function. Like the old version of get_line_sb
148 except that it takes an extra parameter indicating whether the
149 line is inside a macro.
150 (get_macro_line_sb): New function.
151
1522008-10-04 Hans-Peter Nilsson <hp@axis.com>
153
154 * config/tc-cris.c: Update all comments regarding explicit relocations
155 to, besides PIC, also imply TLS or to say "relocation specifier" or
156 similar.
157 (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers.
158 (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all
159 callers. Also handle TLS relocs.
160 (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
161 Change all callers. Also handle TLS relocs.
162 (tls): New constant.
163 (cris_process_instruction): Check for non-PIC TLS relocations and
164 adjust message when emitting error message about relocation not
165 fitting.
166 (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
167 when tls is true.
168 (get_3op_or_dip_prefix_op): Ditto.
169 (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
170
1712008-10-03 Kazu Hirata <kazu@codesourcery.com>
172
173 * listing.c (buffer_line): Open the source file with FOPEN_RB.
174 Manually process line ends.
175
1762008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
177 Nick Clifton <nickc@redhat.com>
178
179 * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
180 S_SET_STORAGE_CLASS.
181
1822008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
183 Nick Clifton <nickc@redhat.com>
184
185 * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
186 do not match it class and if necessary update the class.
187 (null_error_handler): New function. Suppresses the generation of
188 bfd error messages.
189 * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
190
1912008-09-30 Alan Modra <amodra@bigpond.net.au>
192
193 * Makefile.am: Run "make dep-am".
194 * Makefile.in: Regenerate.
195
1962008-09-29 Nick Clifton <nickc@redhat.com>
197
198 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
199 tc_cfi_emit_pcrel_expr macro.
200
2012008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
202 Steve Ellcey <sje@cup.hp.com>
203
204 * configure: Regenerate for new libtool.
205 * aclocal.m4: Ditto.
206 * Makefile.in: Ditto.
207 * doc/Makefile.in: Ditto.
208
2092008-09-29 Nick Clifton <nickc@redhat.com>
210
211 PR 6878
212 * app.c (do_scrub_chars): Only issue warnings about tick
213 characters detected in symbol strings if hex ticks are supported.
214
2152008-09-29 Nick Clifton <nickc@redhat.com>
216
217 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
218 tc_cfi_emit_pcrel_expr macro.
219
2202008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
221
222 * NEWS: Mention .cfi_val_encoded_addr.
223
2242008-09-26 Eric Botcazou <ebotcazou@adacore.com>
225
226 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
227 * Makefile.in (TARG_ENV_HFILES): Likewise.
228 * configure.tgt (Solaris targets): Set em=solaris.
229 * config/te-solaris.h: New file.
230
2312008-09-26 Jie Zhang <jie.zhang@analog.com>
232
233 * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
234
2352008-09-24 Richard Henderson <rth@redhat.com>
236
237 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
238 (struct cfi_insn_data): Add ea member.
239 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
240 (output_cfi_insn): Handle CFI_val_encoded_addr.
241 (select_cie_for_fde): Don't match CFI_val_encoded_addr.
242 * doc/as.texinfo (.cfi_val_encoded_addr): Document.
243
2442008-09-25 Alan Modra <amodra@bigpond.net.au>
245
246 PR 6913
247 * listing.c (print_options): Don't call fprintf without format string.
248
2492008-09-19 Alan Modra <amodra@bigpond.net.au>
250
251 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
252 (TC_VALIDATE_FIX_SUB): Likewise.
253 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
254 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
255 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
256 * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
257 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
258 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
259 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
260 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
261 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
262
263 * write.c (md_register_arithmetic): Define.
264 (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
265 Modify error message when registers involved.
266 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
267 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
268
2692008-09-15 Alan Modra <amodra@bigpond.net.au>
270
271 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
272
2732008-09-15 Alan Modra <amodra@bigpond.net.au>
274
275 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
276 relocs with no symbol.
277 * config/tc-mmix.c (md_assemble): Mark fake symbol on
278 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
279 (mmix_md_end): Likewise mark mmix reg contents section symbol.
280
2812008-09-14 Chris Smith <chris@zxdesign.info>
282
283 * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
284 broken, as the opcode of ld a,(de) was being emitted for both.
285
2862008-09-12 Sterling Augustine <sterling@tensilica.com>
287
288 * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
289 operands equal to MAX_INSN_ARGS.
290
2912008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
292
293 * configure.in: Call AC_SYS_LARGEFILE.
294 * config.in: Regenerate.
295 * configure: Regenerate.
296
2972008-09-09 Peter Bergner <bergner@vnet.ibm.com>
298
299 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
300 Remove POWER5 and POWER6 tests.
301
3022008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
303
304 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
305 number support for 32-bit targets.
306
3072008-09-08 Tristan Gingold <gingold@adacore.com>
308
309 * NEWS: Add a marker for the 2.19 features.
310
3112008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
312
313 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
314 comment regarding use of difference expressions.
315 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
316
317 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
318 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
319 (dot_cfi_lsda, output_cie, output_fde): Likewise.
320 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
321
3222008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
323
324 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
325
3262008-09-03 Nick Clifton <nickc@redhat.com>
327
328 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
329 alignment field of the .lcomm directive to be optional.
330 (pe_lcomm): New function. Pass pe_lcomm_internal to
331 s_comm_internal.
332 (md_pseudo_table): Implement .lcomm directive for COFF based
333 targets.
334 * doc/c-i386.texi (i386-Directives): New node. Used to document
335 the .lcomm directive.
336
3372008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
338
339 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
340 and NetBSD.
341
3422008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
343
344 * config/tc-avr.c (mcu_types): Add atmega16u4.
345 * doc/c-avr.texi: Likewise.
346
3472008-08-28 H.J. Lu <hongjiu.lu@intel.com>
348
349 * config/tc-ia64.c (CR_IIB0): New.
350 (CR_IIB1): Likewise.
351 (cr): Add cr.iib0 and cr.iib1.
352 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
353
3542008-08-28 Jan Beulich <jbeulich@novell.com>
355
356 * config/tc-i386.c (md_assemble): Force number of displacement
357 operands to zero when processing string instruction.
358 (i386_index_check): Special-case string instruction operands. Don't
359 fudge address prefix if there already was a memory operand. Fix
360 error message to correctly reflect the addressing mode used.
361 (i386_att_operand): Fix comment.
362 (i386_intel_operand): Snapshot, clear, and restore base and index
363 reg for each operand processed. Increment count of memory operands
364 later.
365
3662008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
367
368 * config/tc-hppa.c (is_SB_relative): New macro.
369 (fix_new_hppa): Remove $segrel$ marker.
370 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
371 segment relative.
372 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
373
3742008-08-27 Jan Beulich <jbeulich@novell.com>
375
376 * config/tc-i386.c (check_string): Use register_prefix for error
377 message.
378 (process_operands): Likewise.
379
3802008-08-26 Mark Mitchell <mark@codesourcery.com>
381
382 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
383
3842008-08-26 Jie Zhang <jie.zhang@analog.com>
385
386 * config/bfin-parse.y (check_macfunc_option): Fix instruction
387 mode checking.
388 (asm_1): Check mode for 16-bit multiply instructions.
389
3902008-08-24 Alan Modra <amodra@bigpond.net.au>
391
392 * configure.in: Update a number of obsolete autoconf macros.
393 * configure: Regenerate.
394 * aclocal.m4: Regenerate.
395
3962008-08-22 Nick Clifton <nickc@redhat.com>
397
398 * config/tc-mcore.c (md_assemble): Increase length of name array
399 to include terminating NUL.
400
4012008-08-22 Jie Zhang <jie.zhang@analog.com>
402
403 * config/bfin-lex.l (NUMBER): Protect special `.'.
404
4052008-08-22 Alan Modra <amodra@bigpond.net.au>
406
407 * symbols.c (symbol_clone): Ensure clones are not external.
408
4092008-08-22 Alan Modra <amodra@bigpond.net.au>
410
411 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
412
4132008-08-21 Richard Henderson <rth@redhat.com>
414
415 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
416 (output_cie, output_fde): Use it.
417 (DWARF2_EH_FRAME_READ_ONLY): New.
418 (cfi_finish): Use it.
419
420 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
421 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
422 (DWARF2_EH_FRAME_READ_ONLY): New.
423 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
424 from the results of DIFF_EXPR_OK manipulation.
425
4262008-08-21 Sterling Augustine <sterling@tensilica.com>
427
428 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
429
4302008-08-20 Bob Wilson <bob.wilson@acm.org>
431
432 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
433 (O_tpoff, O_dtpoff): Define.
434 (suffix_relocs): Add entries for TLS suffixes.
435 (xtensa_elf_cons): Check for invalid use of TLS relocations.
436 (map_operator_to_reloc): Add is_literal parameter and use it to
437 control translating TLS instruction relocations to the corresponding
438 literal relocations.
439 (xg_valid_literal_expression): Allow TLS operators.
440 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
441 operands to generated literals.
442 (xg_assemble_literal): Handle TLS operators. Update call to
443 map_operator_to_reloc.
444 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
445 (md_apply_fix): Handle TLS relocations.
446 (emit_single_op): Handle TLS operators.
447 (convert_frag_immed): Update call to map_operator_to_reloc.
448 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
449 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
450 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
451 to initialize the op_data field of the BuildOp.
452 (build_transition): Use it here to record the source operand
453 corresponding to a generated literal.
454 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
455
4562008-08-20 H.J. Lu <hongjiu.lu@intel.com>
457
458 AVX Programming Reference (August, 2008)
459 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
460 (CPU_FLAGS_AVX_MATCH): Likewise.
461 (CPU_FLAGS_32BIT_MATCH): Updated.
462 (cpu_flags_match): Likewise.
463
4642008-08-20 Alan Modra <amodra@bigpond.net.au>
465
466 PR 6848
467 * write.c (install_reloc): Check that reloc symbols have been
468 written.
469 (set_symtab): Mark symbols with BSF_KEEP.
470
4712008-08-18 H.J. Lu <hongjiu.lu@intel.com>
472
473 * config/tc-i386.c (i386_align_code): Fix a comment typo.
474
4752008-08-15 Alan Modra <amodra@bigpond.net.au>
476
477 PR 6526
478 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
479 * Makefile.in: Regenerate.
480 * aclocal.m4: Regenerate.
481 * config.in: Regenerate.
482 * configure: Regenerate.
483 * doc/Makefile.in: Regenerate.
484
4852008-08-14 Alan Modra <amodra@bigpond.net.au>
486
487 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
488
4892008-08-13 Ben Elliston <bje@au.ibm.com>
490
491 * doc/as.texinfo (Align): Document the PowerPC behaviour.
492
4932008-08-13 Alan Modra <amodra@bigpond.net.au>
494
495 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
496 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
497 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
498 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
499 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
500 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
501 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
502 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
503 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
504 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
505
5062008-08-12 Alan Modra <amodra@bigpond.net.au>
507
508 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
509 * config/tc-ia64.c (dot_rot): Likewise.
510
5112008-08-11 Alan Modra <amodra@bigpond.net.au>
512
513 PR 6575
514 * hash.c: Expand PTR to void *.
515 (hash_delete): Add "freeme" parameter. Call obstack_free.
516 * hash.h: Expand PTR to void *.
517 (hash_delete): Update prototype.
518 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
519 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
520 call.
521 (subsym_substitute): Likewise.
522 * doc/internals.texi (hash_delete): Update.
523
5242008-08-08 Anatoly Sokolov <aesok@post.ru>
525
526 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
527 architectures. Reorganize list to put mcu types in correct
528 architectures and to order list same as in GCC. Use new ISA
529 definitions in include/opcode/avr.h.
530 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
531 descriptions. Reorganize descriptions to put mcu types in correct
532 architectures and to order lists same as in GCC.
533
5342008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
535 Daniel Jacobowitz <dan@codesourcery.com>
536
537 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
538 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
539 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
540 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
541 (md_longopts): Add -call_nonpic.
542 (md_parse_option): Handle OPTION_CALL_NONPIC.
543 (md_show_usage): Add -call_nonpic.
544
5452008-08-08 Sterling Augustine <sterling@tensilica.com>
546
547 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
548 (xtensa_create_property_segments): Use it.
549 (xtensa_create_xproperty_segments): Likewise.
550
5512008-08-08 Alan Modra <amodra@bigpond.net.au>
552
553 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
554
5552008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
556
557 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
558 (lo16_reloc_p): New functions.
559 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
560 generalize relocation checks.
561 (matching_lo_reloc): New function.
562 (fixup_has_matching_lo_p): Use it.
563 (mips16_mark_labels): Don't clobber a symbol's visibility.
564 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
565 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
566 (md_apply_fix): Likewise.
567 (mips16_percent_op): Add %got and %call16.
568 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
569 Use matching_lo_reloc.
570 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
571 generalize relocation checks.
572 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
573 checks.
574
5752008-08-06 DJ Delorie <dj@redhat.com>
576
577 * NEWS: Mention these changes.
578
579 * config/tc-h8300.h (H_TICK_HEX): Define.
580 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
581 (md_longopts): Add "-h-tick-hex".
582 (md_parse_option): Support it.
583 * doc/c-h8300.texi (H8/300 Options): Document it.
584 * doc/as.texinfo (Overview): Likewise.
585
586 * config/tc-sh.h (H_TICK_HEX): Define.
587 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
588 (md_longopts): Add "-h-tick-hex".
589 (md_parse_option): Support it.
590 * doc/c-sh.texi (SH Options): Document it.
591 * doc/c-sh64.texi (SH64 Options): Document it.
592 * doc/as.texinfo (Overview): Likewise.
593
5942008-08-05 Alan Modra <amodra@bigpond.net.au>
595
596 PR gas/6656
597 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
598 debug info if we see compiler generated debug info.
599 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
600
6012008-08-04 Alan Modra <amodra@bigpond.net.au>
602
603 * dwarf2dbg.c: Remove superfluous forward function declarations.
604 (DWARF2_FORMAT): Add section arg.
605 (out_header): New function, split out from..
606 (out_debug_line): ..here.
607 (out_debug_aranges): Use out_header.
608 (out_debug_abbrev): Add info_seg and line_seg args. Use
609 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
610 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
611 if line_seg is 64-bit.
612 (dwarf2_finish): Adjust out_debug_abbrev call.
613 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
614 * config/tc-mips.c (mips_dwarf2_format): Likewise.
615
6162008-08-04 Alan Modra <amodra@bigpond.net.au>
617
618 * Makefile.am (POTFILES.in): Set LC_ALL=C.
619 * Makefile.in: Regenerate.
620 * po/POTFILES.in: Regenerate.
621
6222008-08-01 Peter Bergner <bergner@vnet.ibm.com>
623
624 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
625 Handle -mvsx and -mpower7.
626 (md_show_usage): Document -mpower7 and -mvsx.
627 * doc/as.texinfo (Target PowerPC): Document -mvsx.
628 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
629
6302008-07-31 Peter Bergner <bergner@vnet.ibm.com>
631
632 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
633 <cell>: Likewise.
634
6352008-07-30 Michael J. Eager <eager@eagercon.com>
636
637 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
638 (md_show_usage): Likewise.
639
6402008-07-30 Alan Modra <amodra@bigpond.net.au>
641
642 * messages.c, symbols.c, write.c: Silence gcc warnings.
643
6442008-07-28 Ineiev <ineiev@yahoo.co.uk>
645
646 * config/tc-i386.c (operand_type_check): Warning fix.
647
6482008-07-26 Michael Eager <eager@eagercon.com>
649
650 * doc/as.texinfo: Add description of single-precision attribute.
651
6522008-07-24 Jie Zhang <jie.zhang@analog.com>
653
654 * config/bfin-parse.y (asm_1): Error if plain symbol is used
655 as load/store offset.
656
6572008-07-22 Chao-ying Fu <fu@mips.com>
658
659 * config/tc-mips.c (mips_ip): Reset s to argsStart.
660
6612008-07-22 Jie Zhang <jie.zhang@analog.com>
662
663 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
664
6652008-07-21 DJ Delorie <dj@redhat.com>
666
667 * config/tc-h8300.c (fix_operand_size): Use the default size
668 specified by the .lbranch/.sbranch pseudos.
669
6702008-07-18 DJ Delorie <dj@redhat.com>
671
672 * config/tc-m32c.h (H_TICK_HEX): Define.
673 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
674 (md_longopts): Add support for it.
675 (md_parse_option): Likewise.
676 * doc/as.texinfo (Overview): Add new m32c options.
677 * doc/c-m32c.texi (M32C-Modifiers): Likewise
678
679 * as.h: (enable_h_tick_hex): New.
680 * app.c (enable_h_tick_hex): New.
681 (LEX_IS_H): New.
682 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
683 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
684 style hex constants and convert the input stream to 0x00 style.
685 (do_scrub_chars): If a 'X style character constant is found after
686 a symbol character (like you're or X'00), warn the user.
687
6882008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
689
690 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
691 (mips_fix_adjustable): Likewise.
692 (mips_frob_file_after_relocs): Likewise.
693
6942008-07-08 Nathan Sidwell <nathan@codesourcery.com>
695
696 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
697 about overriding an earlier setting.
698
6992008-07-07 Adam Nemet <anemet@caviumnetworks.com>
700
701 * config/tc-mips.c (NO_ISA_COP): New macro.
702 (COP_INSN): New macro.
703 (is_opcode_valid): Use them.
704 (macro) <ld_st>: Use them. Don't accept coprocessor load store
705 insns based on the ISA if CPU is NO_ISA_COP.
706 <copz>: Likewise for coprocessor operations.
707
7082008-07-07 Paul Brook <paul@codesourcery.com>
709
710 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
711 relocations.
712
7132008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
714
715 * configure.tgt: Add bfin-*-rtems*.
716
7172008-07-04 Alan Modra <amodra@bigpond.net.au>
718
719 * config/tc-spu.c (md_apply_fix): Handle fully resolved
720 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
721
7222008-06-25 Peter Bergner <bergner@vnet.ibm.com>
723
724 * config/tc-ppc.c (parse_cpu): Handle -m464.
725 (md_show_usage): Likewise.
726
7272008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
728
729 Add support for ATtiny13A.
730 * config/tc-avr.c (mcu_types): Add attiny13a.
731 * doc/c-avr.texi: Likewise.
732
7332008-06-24 Bob Wilson <bob.wilson@acm.org>
734 Alan Modra <amodra@bigpond.net.au>
735
736 * write.c (relax_segment <rs_org>): Include current stretch
737 value when calculating whether .org is backwards.
738
7392008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
740
741 * configure: Regenerate.
742
7432008-06-17 Nick Clifton <nickc@redhat.com>
744
745 * app.c (do_scrub_chars): Do not UNGET an EOF value.
746
7472008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
748
749 PR gas/6607
750 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
751 text_section. Do the "stepping backwards" test for text_section
752 using unsigned operands.
753
7542008-06-13 Peter Bergner <bergner@vnet.ibm.com>
755
756 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
757 (ppc_insert_operand): Likewise.
758 (ppc_machine): Likewise.
759 * config/tc-ppc.h: #include "opcode/ppc.h"
760 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
761 (ppc_cpu): Update extern decl.
762
7632008-06-12 Adam Nemet <anemet@caviumnetworks.com>
764
765 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
766 +x, +X, +p, +P, +s, +S.
767 (mips_ip): Likewise.
768
769 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
770 (mips_ip): Likewise.
771 (macro_build): Likewise.
772 (CPU_HAS_SEQ): New macro.
773 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
774
7752008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
776
777 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
778 * doc/c-avr.texi: Likewise.
779
7802008-06-04 Nick Clifton <nickc@redhat.com>
781
782 * app.c (do_scrub_chars): Do not UNGET an EOF value.
783
7842008-06-03 H.J. Lu <hongjiu.lu@intel.com>
785
786 * config/tc-i386.c (set_sse_check): New.
787 (md_pseudo_table): Add "sse_check".
788
7892008-06-03 Paul Brook <paul@codesourcery.com>
790
791 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
792
7932008-05-30 Nick Clifton <nickc@redhat.com>
794
795 PR 5523
796 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
797 relocs here.
798
7992008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
800
801 * config/tc-mips.c (mips_cpu_info_table): Move records for
802 ST Loongson-2E/2F processors to a better place.
803
8042008-05-23 H.J. Lu <hongjiu.lu@intel.com>
805
806 PR gas/6518
807 * config/tc-i386.c (match_template): Report ambiguous operand
808 size, not invalid suffix when there is no match in Intel
809 syntax.
810
8112008-05-22 Paul Brook <paul@codesourcery.com>
812
813 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
814
8152008-05-21 I-Jui Sung <ijsung@gmail.com>
816
817 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
818 compatible cores: fa526, fa626, fa626te, fa726te.
819 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
820 fa726te} options.
821
8222008-05-14 Alan Modra <amodra@bigpond.net.au>
823
824 * Makefile.am: Run "make dep-am".
825 * Makefile.in: Regenerate.
826 * doc/Makefile.in: Regenerate.
827 * po/POTFILES.in: Regenerate.
828
8292008-05-09 Catherine Moore <clm@codesourcery.com>
830
831 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
832 with non-MIPS16 relocs.
833
8342008-05-09 Chao-ying Fu <fu@mips.com>
835
836 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
837 case that some characters append at the end of the name.
838 (mips_ip): Likewise.
839 (s_change_sec): Likewise.
840 (md_section_align): Likewise.
841
8422008-05-07 Bob Wilson <bob.wilson@acm.org>
843
844 * config/tc-xtensa.c (xtensa_create_property_segments): Use
845 xtensa_make_property_section instead of xtensa_get_property_section.
846 (xtensa_create_xproperty_segments): Likewise.
847
8482008-05-02 H.J. Lu <hongjiu.lu@intel.com>
849
850 * NEWS: Mention XSAVE, EPT and MOVBE.
851
852 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
853 (md_show_usage): Add .movbe and .ept.
854
855 * doc/c-i386.texi: Add movbe and ept to -march=. Document
856 .movbe and .ept.
857
8582008-04-29 David S. Miller <davem@davemloft.net>
859
860 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
861
8622008-04-28 Adam Nemet <anemet@caviumnetworks.com>
863
864 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
865 New statics.
866 (OPTION_ELF_BASE): Make room for new option macros.
867 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
868 OPTION_DOUBLE_FLOAT): New option macros.
869 (md_longopts): Add msoft-float, mhard-float, msingle-float and
870 mdouble-float.
871 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
872 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
873 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
874 and -mdouble-float.
875 (struct mips_set_options): New fields soft_float and single_float.
876 (mips_opts): Initialized them. Add comment for each field
877 initializer.
878 (mips_after_parse_args): Set them based on file_mips_soft_float
879 and file_mips_single_float.
880 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
881 `.set singlefloat' and `.set doublefloat'.
882 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
883 Handle single-float and soft-float instructions here.
884 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
885 (is_opcode_valid_16): New function.
886 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
887 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
888 M_S_DOB>: Remove special-casing of r4650.
889 * doc/c-mips.texi (-march=): Add Octeon.
890 (MIPS Opts): Document -msoft-float and -mhard-float. Document
891 -msingle-float and -mdouble-float.
892 (MIPS floating-point): New section. Document `.set softfloat' and
893 `.set hardfloat'. Document `.set singlefloat' and `.set
894 doublefloat'.
895
8962008-04-25 David S. Miller <davem@davemloft.net>
897
898 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
899 %asr aliases.
900
901 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
902 rather than occaisionally 'levels'. Consistently refer to Sun's
903 UNIX variant as SunOS, every version of Solaris is also SunOS.
904 Document new 'softint_clear' and 'softint_set' aliases. Clarify
905 which architecture versions support '%dcr', '%cq', and '%gl'. Add
906 section on 32-bit/64-bit opcode translations.
907
9082008-04-23 Mike Frysinger <vapier@gentoo.org>
909
910 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
911 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
912 (obj-fdpicelf.o): Define.
913 * Makefile.in: Regenerate.
914 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
915 (bfin-*-*): Delete.
916 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
917 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
918 * config/obj-fdpicelf.c: New.
919 * config/obj-fdpicelf.h: Likewise.
920 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
921 the OBJ_FDPIC_ELF define.
922 (OPTION_NOPIC): Define.
923 (md_longopts): Add mnopic and mno-fdpic.
924 (md_parse_option): Handle OPTION_NOPIC.
925
9262008-04-23 Paolo Bonzini <bonzini@gnu.org>
927
928 * aclocal.m4: Regenerate.
929 * configure: Regenerate.
930
9312008-04-23 David S. Miller <davem@davemloft.net>
932
933 * config/tc-sparc.c (v9a_asr_table): Add missing
934 'stick' and 'stick_cmpr', and document ordering rules
935 of table.
936 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
937 BFD_RELOC_SPARC_PC10.
938 * doc/c-sparc.texi: New section on Sparc constants.
939 Add documentation for %stick and %stick_cmpr.
940
9412008-04-22 David S. Miller <davem@davemloft.net>
942
943 * config/obj-elf.c (obj_elf_section_type): Add prototype
944 before obj_elf_section_word and add 'warn' arg.
945 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
946 is matched, try checking for #SECTION_TYPE.
947 (obj_elf_section): Adjust for new args.
948 (obj_elf_type_name): New function.
949 (obj_elf_type): Call it, and accept STT_foo number strings
950 in .type statements as output by SunPRO compiler.
951
9522008-04-22 H.J. Lu <hongjiu.lu@intel.com>
953
954 * config/tc-i386.c (md_assemble): Don't check SSE instructions
955 if noavx is 0.
956
9572008-04-18 David S. Miller <davem@davemloft.net>
958
959 * doc/c-sparc.texi: Add syntax section.
960
9612008-04-18 H.J. Lu <hongjiu.lu@intel.com>
962
963 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
964 REG and NDS for instructions with immediate operand.
965
9662008-04-18 H.J. Lu <hongjiu.lu@intel.com>
967
968 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
969 FMA.
970
9712008-04-16 David S. Miller <davem@davemloft.net>
972
973 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
974 and relocation generation.
975 (tc_gen_reloc): Likewise.
976
9772008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
978
979 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
980 relocations are properly aligned, and not negative.
981
9822008-04-15 Khem Raj <kraj@mvista.com>
983
984 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
985
9862008-04-14 Edmar Wienskoski <edmar@freescale.com>
987
988 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
989 accept e500mc instructions.
990 (md_show_usage): Document -me500mc.
991
9922008-04-11 Nick Clifton <nickc@redhat.com>
993
994 * listing.c (print_timestamp): Use localtime rather than
995 localtime_r since not all build environments provide the latter.
996
9972008-04-10 H.J. Lu <hongjiu.lu@intel.com>
998
999 * NEWS: Mention -msse-check=[none|error|warning].
1000
1001 * config/tc-i386.c (sse_check): New.
1002 (OPTION_MSSE_CHECK): Likewise.
1003 (md_assemble): Check SSE instructions if needed.
1004 (md_longopts): Add -msse-check.
1005 (md_parse_option): Handle OPTION_MSSE_CHECK.
1006 (md_show_usage): Show -msse-check=[none|error|warning].
1007
1008 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
1009