(set_lang_c): Delete.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
18d7868b
HPN
12008-11-12 Hans-Peter Nilsson <hp@axis.com>
2
bfa1b75c
HPN
3 * config/tc-cris.c (cris_number_to_imm): Except for
4 BFD_RELOC_NONE, always set contents. Where previously this was
5 skipped, set contents to 0.
6
cb26feec
HPN
7 PR gas/7025
8 * input-scrub.c (input_scrub_include_sb): Make the position
9 after the input have defined contents, a 0 character.
10
f6ce267c
HPN
11 * config/tc-cris.c (cris_relax_frag): Add missing case for
12 ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
13
edba0af5 14 PR gas/7020
18d7868b
HPN
15 * read.c (read_a_source_file): Rearrange evaluation order when
16 looking for '=' to avoid conditional on undefined contents of
17 input_line_pointer[1].
18
a242dc0d
AN
192008-11-06 Adam Nemet <anemet@caviumnetworks.com>
20
21 * config/tc-mips.c (COP_INSN): Change logic to always return false
22 for FP instructions.
23
620edafd
CF
242008-11-06 Chao-ying Fu <fu@mips.com>
25
26 * config/tc-mips.c (validate_mips_insn): Add case '1'.
27 (mips_ip): Add case '1' to process sync type.
28
8a2a2dbb
NC
292008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
30
31 * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
32
6dc6b655
BW
332008-11-04 Sterling Augustine <sterling@tensilica.com>
34
35 * config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
36 writes to the same register.
37
19e8f41a
BW
382008-11-04 Sterling Augustine <sterling@tensilica.com>
39
40 * config/tc-xtensa.c (xtensa_j_opcode): New.
41 (xg_instruction_matches_option_term): Handle "FREEREG" option.
42 (xg_build_to_insn): Likewise. Update renamed tls_reloc reference.
43 (md_begin): Initialize xtensa_j_opcode.
44 (md_assemble): Update renamed tls_reloc reference. Handle "j.l".
45 (xg_assemble_vliw_tokens): Save free_reg info in the frag.
46 (tinsn_immed_from_frag): Get free_reg info back out of the frag.
47 (vinsn_to_insnbuf): Update renamed tls_reloc references.
48 Distinguish extra argument for "FREEREG" from extra TLS argument.
49 * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
50 * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
51 field to extra_arg.
52 * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
53 (build_transition): Handle "FREEREG" operand.
54 * config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
55
9447ff6d
AM
562008-10-31 Alan Modra <amodra@bigpond.net.au>
57
58 * po/id.po: Update.
59
ed163775
MR
602008-10-24 Maciej W. Rozycki <macro@linux-mips.org>
61
62 * config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2
63 comment so that Broadcom SB-1 cores are in the MIPS64 section.
64
570685ad
AM
652008-10-21 Alan Modra <amodra@bigpond.net.au>
66
67 * config/tc-bfin.c (gencode, allocate): Remove unnecessary cast.
68 * config/tc-ns32k.c (bit_fix_new): Likewise.
69 * config/tc-m68k.c (md_begin): Likewise.
70 * hash.c (hash_insert, hash_jam): Likewise.
71 * symbols.c (symbol_create, local_symbol_make): Likewise.
72 * frags.c (frag_alloc): Likewise.
73
8fc4ee9b
AM
742008-10-20 Jay Krell <jay.krell@cornell.edu>
75
76 * config/bfin-parse.y: Use C style comments.
77 * config/tc-bfin.c: Likewise.
78 * config/tc-m68k.c: Likewise.
79 * config/tc-mips.c: Likewise.
80
fbf3f584
L
812008-10-12 H.J. Lu <hongjiu.lu@intel.com>
82
83 * config/tc-i386.c (processor_type): Moved to tc-i386.h.
84 (cpu_arch_tune): Make it global.
85 (cpu_arch_isa): Likewise.
86 (cpu_arch_isa_flags): Likewise.
87 (i386_align_code): Check fragP->tc_frag_data.isa,
88 fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of
89 cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune,
90 respectively.
91
92 * config/tc-i386.h (processor_type): Moved from tc-i386.c.
93 (cpu_arch_tune): New.
94 (cpu_arch_isa): Likewise.
95 (cpu_arch_isa_flags): Likewise.
96 (i386_tc_frag_data): Likewise.
97 (TC_FRAG_TYPE): Likewise.
98 (TC_FRAG_INIT): Likewise.
99
ccf8a69b
BW
1002008-10-09 Bob Wilson <bob.wilson@acm.org>
101
102 * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.
103 (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128):
104 Moved into alphabetical order.
105
14082c76 1062008-10-09 Bob Wilson <bob.wilson@acm.org>
884f0d36
BW
107
108 * doc/as.texinfo (Dot): Expand no-space-dir conditional to include
109 a complete sentence.
110 (Pseudo Ops): Put conditionals around Skip and Space menu entries.
111 (Line): Remove conditional declaration of Ln node and section here.
112 Put aout-bout description inside the no-line-dir conditional.
113 (Skip, Space): Use a separate conditional for each node.
114
1152008-10-09 Bob Wilson <bob.wilson@acm.org>
116
14082c76
BW
117 * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional around
118 menu entry for File; remove version-specific .file operands from menu
119 description. Replace "LNS directives" menu entry with new entries
120 for "Loc" and "Loc_mark_labels".
121 (LNS directives): Split into separate nodes for each directive.
122 (Loc): New node for .loc directive. Mention that this directive
123 is for DWARF2 and add a missing article.
124 (Loc_mark_labels): Likewise for .loc_mark_labels.
125 (File): Change this node to describe both the default version and
126 the DWARF2 version of .file. Move the no-file-dir conditional to
127 include only the default version.
884f0d36 128
ad5fec3b
EB
1292008-10-09 Eric Botcazou <ebotcazou@adacore.com>
130
131 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
132 * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
133 (i386_solaris_fix_up_eh_frame): Declare.
134 * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
135
77cca80f
NC
1362008-10-09 Nick Clifton <nickc@redhat.com>
137
138 PR 6944
139 * doc/as.texinfo (Dollar Local Labels): Correct description of
140 dollar local labels to show that the colon suffix is still
141 needed.
142
8cc9115f
NC
1432008-10-08 Nick Clifton <nickc@redhat.com>
144
145 * configure.in (ALL_LINGUAS): Add "id".
146 * configure: Regenerate.
147 * po/id.po: New Indonesian translation.
148
97c4f2d9
L
1492008-10-07 H.J. Lu <hongjiu.lu@intel.com>
150
151 * read.c (pseudo_set): Don't allow global register symbol only
152 if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined.
153 * symbols.c (S_SET_EXTERNAL): Likewise.
154
155 * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined.
156
157 * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
158
4d4175af
BW
1592008-10-06 Bob Wilson <bob.wilson@acm.org>
160
161 * doc/as.texinfo (Local): New description of ELF .local directive.
162
7592cfd7
NC
1632008-10-06 Nick Clifton <nickc@redhat.com>
164
165 PR 6926
166 * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
167 (_find_end_of_line): Add extra parameter indicating if the line is
168 inside a macro. If it is then do not allow the @ character to be
169 treated as a line separator character.
170 (read_a_source): Update use of _find_end_of_line.
171 (find_end_of_line): Likewise.
172 (s_irp): Update use of get_line_sb.
173 (s_macro): Likewise.
174 (do_repeat): Likewise.
175 (get_line_sb): New function. Like the old version of get_line_sb
176 except that it takes an extra parameter indicating whether the
177 line is inside a macro.
178 (get_macro_line_sb): New function.
179
cc99daad
HPN
1802008-10-04 Hans-Peter Nilsson <hp@axis.com>
181
182 * config/tc-cris.c: Update all comments regarding explicit relocations
183 to, besides PIC, also imply TLS or to say "relocation specifier" or
184 similar.
185 (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers.
186 (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all
187 callers. Also handle TLS relocs.
188 (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
189 Change all callers. Also handle TLS relocs.
190 (tls): New constant.
191 (cris_process_instruction): Check for non-PIC TLS relocations and
192 adjust message when emitting error message about relocation not
193 fitting.
194 (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
195 when tls is true.
196 (get_3op_or_dip_prefix_op): Ditto.
197 (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
198
7e66d8ac
KH
1992008-10-03 Kazu Hirata <kazu@codesourcery.com>
200
201 * listing.c (buffer_line): Open the source file with FOPEN_RB.
202 Manually process line ends.
203
e144674a
NC
2042008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
205 Nick Clifton <nickc@redhat.com>
206
207 * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
208 S_SET_STORAGE_CLASS.
209
2102008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
211 Nick Clifton <nickc@redhat.com>
212
213 * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
214 do not match it class and if necessary update the class.
215 (null_error_handler): New function. Suppresses the generation of
216 bfd error messages.
217 * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
218
782e11fd
AM
2192008-09-30 Alan Modra <amodra@bigpond.net.au>
220
221 * Makefile.am: Run "make dep-am".
222 * Makefile.in: Regenerate.
223
c0cf08ad
AM
2242008-09-29 Nick Clifton <nickc@redhat.com>
225
226 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
227 tc_cfi_emit_pcrel_expr macro.
228
718a6fd8
SE
2292008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
230 Steve Ellcey <sje@cup.hp.com>
231
232 * configure: Regenerate for new libtool.
233 * aclocal.m4: Ditto.
234 * Makefile.in: Ditto.
235 * doc/Makefile.in: Ditto.
236
c0a139c7
NC
2372008-09-29 Nick Clifton <nickc@redhat.com>
238
239 PR 6878
240 * app.c (do_scrub_chars): Only issue warnings about tick
241 characters detected in symbol strings if hex ticks are supported.
242
2432008-09-29 Nick Clifton <nickc@redhat.com>
244
245 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
246 tc_cfi_emit_pcrel_expr macro.
247
4f6d9c90
DJ
2482008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
249
250 * NEWS: Mention .cfi_val_encoded_addr.
251
2774199c
EB
2522008-09-26 Eric Botcazou <ebotcazou@adacore.com>
253
254 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
255 * Makefile.in (TARG_ENV_HFILES): Likewise.
256 * configure.tgt (Solaris targets): Set em=solaris.
257 * config/te-solaris.h: New file.
258
37b32935
JZ
2592008-09-26 Jie Zhang <jie.zhang@analog.com>
260
261 * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
262
f1c4cc75
RH
2632008-09-24 Richard Henderson <rth@redhat.com>
264
265 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
266 (struct cfi_insn_data): Add ea member.
267 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
268 (output_cfi_insn): Handle CFI_val_encoded_addr.
269 (select_cie_for_fde): Don't match CFI_val_encoded_addr.
270 * doc/as.texinfo (.cfi_val_encoded_addr): Document.
271
ead47374
AM
2722008-09-25 Alan Modra <amodra@bigpond.net.au>
273
274 PR 6913
275 * listing.c (print_options): Don't call fprintf without format string.
276
9a97a5d7
AM
2772008-09-19 Alan Modra <amodra@bigpond.net.au>
278
5db484ff
AM
279 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
280 (TC_VALIDATE_FIX_SUB): Likewise.
281 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
282 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
283 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
284 * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
285 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
286 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
287 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
288 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
289 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
290
9a97a5d7
AM
291 * write.c (md_register_arithmetic): Define.
292 (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
293 Modify error message when registers involved.
294 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
295 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
296
55f8b826
AM
2972008-09-15 Alan Modra <amodra@bigpond.net.au>
298
299 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
300
455bde50
AM
3012008-09-15 Alan Modra <amodra@bigpond.net.au>
302
303 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
304 relocs with no symbol.
305 * config/tc-mmix.c (md_assemble): Mark fake symbol on
306 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
307 (mmix_md_end): Likewise mark mmix reg contents section symbol.
308
2cf402d6
AM
3092008-09-14 Chris Smith <chris@zxdesign.info>
310
311 * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
312 broken, as the opcode of ld a,(de) was being emitted for both.
313
51add5c3
BW
3142008-09-12 Sterling Augustine <sterling@tensilica.com>
315
316 * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
317 operands equal to MAX_INSN_ARGS.
318
d053aef8
JK
3192008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
320
321 * configure.in: Call AC_SYS_LARGEFILE.
322 * config.in: Regenerate.
323 * configure: Regenerate.
324
a08f0c75
PB
3252008-09-09 Peter Bergner <bergner@vnet.ibm.com>
326
327 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
328 Remove POWER5 and POWER6 tests.
329
2b489661
DA
3302008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
331
332 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
333 number support for 32-bit targets.
334
6e33da12
TG
3352008-09-08 Tristan Gingold <gingold@adacore.com>
336
337 * NEWS: Add a marker for the 2.19 features.
338
3dd24306
DA
3392008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
340
ded49c3e
DA
341 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
342 comment regarding use of difference expressions.
343 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
344
3dd24306
DA
345 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
346 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
347 (dot_cfi_lsda, output_cie, output_fde): Likewise.
348 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
349
a79558d9
RS
3502008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
351
352 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
353
a6c24e68
NC
3542008-09-03 Nick Clifton <nickc@redhat.com>
355
356 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
357 alignment field of the .lcomm directive to be optional.
358 (pe_lcomm): New function. Pass pe_lcomm_internal to
359 s_comm_internal.
360 (md_pseudo_table): Implement .lcomm directive for COFF based
361 targets.
362 * doc/c-i386.texi (i386-Directives): New node. Used to document
363 the .lcomm directive.
364
5ead15d9
DA
3652008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
366
367 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
368 and NetBSD.
369
c879dfc5
NC
3702008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
371
372 * config/tc-avr.c (mcu_types): Add atmega16u4.
373 * doc/c-avr.texi: Likewise.
374
1ca35711
L
3752008-08-28 H.J. Lu <hongjiu.lu@intel.com>
376
377 * config/tc-ia64.c (CR_IIB0): New.
378 (CR_IIB1): Likewise.
379 (cr): Add cr.iib0 and cr.iib1.
380 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
381
fc0763e6
JB
3822008-08-28 Jan Beulich <jbeulich@novell.com>
383
384 * config/tc-i386.c (md_assemble): Force number of displacement
385 operands to zero when processing string instruction.
386 (i386_index_check): Special-case string instruction operands. Don't
387 fudge address prefix if there already was a memory operand. Fix
388 error message to correctly reflect the addressing mode used.
389 (i386_att_operand): Fix comment.
390 (i386_intel_operand): Snapshot, clear, and restore base and index
391 reg for each operand processed. Increment count of memory operands
392 later.
393
6bba1048
DA
3942008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
395
396 * config/tc-hppa.c (is_SB_relative): New macro.
397 (fix_new_hppa): Remove $segrel$ marker.
398 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
399 segment relative.
400 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
401
a87af027
JB
4022008-08-27 Jan Beulich <jbeulich@novell.com>
403
404 * config/tc-i386.c (check_string): Use register_prefix for error
405 message.
406 (process_operands): Likewise.
407
7da4f750
MM
4082008-08-26 Mark Mitchell <mark@codesourcery.com>
409
410 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
411
6429b084
JZ
4122008-08-26 Jie Zhang <jie.zhang@analog.com>
413
414 * config/bfin-parse.y (check_macfunc_option): Fix instruction
415 mode checking.
416 (asm_1): Check mode for 16-bit multiply instructions.
417
da594c4a
AM
4182008-08-24 Alan Modra <amodra@bigpond.net.au>
419
420 * configure.in: Update a number of obsolete autoconf macros.
421 * configure: Regenerate.
422 * aclocal.m4: Regenerate.
423
34857dd6
NC
4242008-08-22 Nick Clifton <nickc@redhat.com>
425
426 * config/tc-mcore.c (md_assemble): Increase length of name array
427 to include terminating NUL.
428
fec82760
JZ
4292008-08-22 Jie Zhang <jie.zhang@analog.com>
430
431 * config/bfin-lex.l (NUMBER): Protect special `.'.
432
73e24c68
AM
4332008-08-22 Alan Modra <amodra@bigpond.net.au>
434
435 * symbols.c (symbol_clone): Ensure clones are not external.
436
4e3b43ed
AM
4372008-08-22 Alan Modra <amodra@bigpond.net.au>
438
439 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
440
8c9b70b1
RH
4412008-08-21 Richard Henderson <rth@redhat.com>
442
443 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
444 (output_cie, output_fde): Use it.
445 (DWARF2_EH_FRAME_READ_ONLY): New.
446 (cfi_finish): Use it.
447
448 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
449 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
450 (DWARF2_EH_FRAME_READ_ONLY): New.
451 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
452 from the results of DIFF_EXPR_OK manipulation.
453
c22a967f
BW
4542008-08-21 Sterling Augustine <sterling@tensilica.com>
455
456 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
457
28dbbc02
BW
4582008-08-20 Bob Wilson <bob.wilson@acm.org>
459
460 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
461 (O_tpoff, O_dtpoff): Define.
462 (suffix_relocs): Add entries for TLS suffixes.
463 (xtensa_elf_cons): Check for invalid use of TLS relocations.
464 (map_operator_to_reloc): Add is_literal parameter and use it to
465 control translating TLS instruction relocations to the corresponding
466 literal relocations.
467 (xg_valid_literal_expression): Allow TLS operators.
468 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
469 operands to generated literals.
470 (xg_assemble_literal): Handle TLS operators. Update call to
471 map_operator_to_reloc.
472 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
473 (md_apply_fix): Handle TLS relocations.
474 (emit_single_op): Handle TLS operators.
475 (convert_frag_immed): Update call to map_operator_to_reloc.
476 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
477 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
478 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
479 to initialize the op_data field of the BuildOp.
480 (build_transition): Use it here to record the source operand
481 corresponding to a generated literal.
482 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
4e3b43ed 483
41a7d9f3
L
4842008-08-20 H.J. Lu <hongjiu.lu@intel.com>
485
486 AVX Programming Reference (August, 2008)
487 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
488 (CPU_FLAGS_AVX_MATCH): Likewise.
489 (CPU_FLAGS_32BIT_MATCH): Updated.
490 (cpu_flags_match): Likewise.
491
76d12939
AM
4922008-08-20 Alan Modra <amodra@bigpond.net.au>
493
494 PR 6848
495 * write.c (install_reloc): Check that reloc symbols have been
496 written.
497 (set_symtab): Mark symbols with BSF_KEEP.
498
e6a14101
L
4992008-08-18 H.J. Lu <hongjiu.lu@intel.com>
500
501 * config/tc-i386.c (i386_align_code): Fix a comment typo.
502
7357c5b6
AM
5032008-08-15 Alan Modra <amodra@bigpond.net.au>
504
505 PR 6526
506 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
507 * Makefile.in: Regenerate.
508 * aclocal.m4: Regenerate.
509 * config.in: Regenerate.
510 * configure: Regenerate.
511 * doc/Makefile.in: Regenerate.
512
4e96a12e
AM
5132008-08-14 Alan Modra <amodra@bigpond.net.au>
514
515 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
516
9e9a9798
BE
5172008-08-13 Ben Elliston <bje@au.ibm.com>
518
519 * doc/as.texinfo (Align): Document the PowerPC behaviour.
520
5a49b8ac
AM
5212008-08-13 Alan Modra <amodra@bigpond.net.au>
522
523 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
524 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
525 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
526 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
527 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
528 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
529 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
530 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
531 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
532 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
533
db0bc284
AM
5342008-08-12 Alan Modra <amodra@bigpond.net.au>
535
536 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
537 * config/tc-ia64.c (dot_rot): Likewise.
538
818236e5
AM
5392008-08-11 Alan Modra <amodra@bigpond.net.au>
540
541 PR 6575
542 * hash.c: Expand PTR to void *.
543 (hash_delete): Add "freeme" parameter. Call obstack_free.
544 * hash.h: Expand PTR to void *.
545 (hash_delete): Update prototype.
546 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
547 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
548 call.
549 (subsym_substitute): Likewise.
550 * doc/internals.texi (hash_delete): Update.
551
7b21ac3f
EW
5522008-08-08 Anatoly Sokolov <aesok@post.ru>
553
554 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
818236e5
AM
555 architectures. Reorganize list to put mcu types in correct
556 architectures and to order list same as in GCC. Use new ISA
557 definitions in include/opcode/avr.h.
7b21ac3f
EW
558 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
559 descriptions. Reorganize descriptions to put mcu types in correct
560 architectures and to order lists same as in GCC.
561
861fb55a
DJ
5622008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
563 Daniel Jacobowitz <dan@codesourcery.com>
564
565 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
566 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
567 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
568 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
569 (md_longopts): Add -call_nonpic.
570 (md_parse_option): Handle OPTION_CALL_NONPIC.
571 (md_show_usage): Add -call_nonpic.
572
532f93bd 5732008-08-08 Sterling Augustine <sterling@tensilica.com>
818236e5 574
532f93bd
BW
575 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
576 (xtensa_create_property_segments): Use it.
577 (xtensa_create_xproperty_segments): Likewise.
818236e5 578
c3c36456
AM
5792008-08-08 Alan Modra <amodra@bigpond.net.au>
580
581 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
582
738e5348
RS
5832008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
584
585 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
586 (lo16_reloc_p): New functions.
587 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
588 generalize relocation checks.
589 (matching_lo_reloc): New function.
590 (fixup_has_matching_lo_p): Use it.
591 (mips16_mark_labels): Don't clobber a symbol's visibility.
592 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
593 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
594 (md_apply_fix): Likewise.
595 (mips16_percent_op): Add %got and %call16.
596 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
597 Use matching_lo_reloc.
598 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
599 generalize relocation checks.
600 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
601 checks.
602
6fd4f6cc
DD
6032008-08-06 DJ Delorie <dj@redhat.com>
604
605 * NEWS: Mention these changes.
606
607 * config/tc-h8300.h (H_TICK_HEX): Define.
608 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
609 (md_longopts): Add "-h-tick-hex".
610 (md_parse_option): Support it.
611 * doc/c-h8300.texi (H8/300 Options): Document it.
612 * doc/as.texinfo (Overview): Likewise.
818236e5 613
6fd4f6cc
DD
614 * config/tc-sh.h (H_TICK_HEX): Define.
615 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
616 (md_longopts): Add "-h-tick-hex".
617 (md_parse_option): Support it.
618 * doc/c-sh.texi (SH Options): Document it.
619 * doc/c-sh64.texi (SH64 Options): Document it.
620 * doc/as.texinfo (Overview): Likewise.
621
7cadeb2c
AM
6222008-08-05 Alan Modra <amodra@bigpond.net.au>
623
624 PR gas/6656
625 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
626 debug info if we see compiler generated debug info.
627 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
628
413a266c
AM
6292008-08-04 Alan Modra <amodra@bigpond.net.au>
630
631 * dwarf2dbg.c: Remove superfluous forward function declarations.
632 (DWARF2_FORMAT): Add section arg.
633 (out_header): New function, split out from..
634 (out_debug_line): ..here.
635 (out_debug_aranges): Use out_header.
636 (out_debug_abbrev): Add info_seg and line_seg args. Use
637 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
638 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
639 if line_seg is 64-bit.
640 (dwarf2_finish): Adjust out_debug_abbrev call.
641 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
642 * config/tc-mips.c (mips_dwarf2_format): Likewise.
643
323ee3f4
AM
6442008-08-04 Alan Modra <amodra@bigpond.net.au>
645
646 * Makefile.am (POTFILES.in): Set LC_ALL=C.
647 * Makefile.in: Regenerate.
648 * po/POTFILES.in: Regenerate.
649
9b4e5766
PB
6502008-08-01 Peter Bergner <bergner@vnet.ibm.com>
651
652 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
653 Handle -mvsx and -mpower7.
654 (md_show_usage): Document -mpower7 and -mvsx.
655 * doc/as.texinfo (Target PowerPC): Document -mvsx.
656 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
657
38233209
PB
6582008-07-31 Peter Bergner <bergner@vnet.ibm.com>
659
660 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
661 <cell>: Likewise.
662
081ba1b3
AM
6632008-07-30 Michael J. Eager <eager@eagercon.com>
664
665 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
666 (md_show_usage): Likewise.
667
0af1713e
AM
6682008-07-30 Alan Modra <amodra@bigpond.net.au>
669
670 * messages.c, symbols.c, write.c: Silence gcc warnings.
671
2cfe26b6
AM
6722008-07-28 Ineiev <ineiev@yahoo.co.uk>
673
674 * config/tc-i386.c (operand_type_check): Warning fix.
675
3c7b9897
AM
6762008-07-26 Michael Eager <eager@eagercon.com>
677
678 * doc/as.texinfo: Add description of single-precision attribute.
679
81fd73ed
JZ
6802008-07-24 Jie Zhang <jie.zhang@analog.com>
681
682 * config/bfin-parse.y (asm_1): Error if plain symbol is used
683 as load/store offset.
684
570de991
NC
6852008-07-22 Chao-ying Fu <fu@mips.com>
686
687 * config/tc-mips.c (mips_ip): Reset s to argsStart.
688
b4f42c96
JZ
6892008-07-22 Jie Zhang <jie.zhang@analog.com>
690
691 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
692
cc189afc
DD
6932008-07-21 DJ Delorie <dj@redhat.com>
694
695 * config/tc-h8300.c (fix_operand_size): Use the default size
696 specified by the .lbranch/.sbranch pseudos.
697
c54b5932
DD
6982008-07-18 DJ Delorie <dj@redhat.com>
699
700 * config/tc-m32c.h (H_TICK_HEX): Define.
701 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
702 (md_longopts): Add support for it.
703 (md_parse_option): Likewise.
704 * doc/as.texinfo (Overview): Add new m32c options.
705 * doc/c-m32c.texi (M32C-Modifiers): Likewise
706
707 * as.h: (enable_h_tick_hex): New.
708 * app.c (enable_h_tick_hex): New.
709 (LEX_IS_H): New.
710 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
711 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
712 style hex constants and convert the input stream to 0x00 style.
713 (do_scrub_chars): If a 'X style character constant is found after
714 a symbol character (like you're or X'00), warn the user.
715
30c09090
RS
7162008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
717
718 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
719 (mips_fix_adjustable): Likewise.
720 (mips_frob_file_after_relocs): Likewise.
721
bfbba8e4
NS
7222008-07-08 Nathan Sidwell <nathan@codesourcery.com>
723
724 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
725 about overriding an earlier setting.
726
b19e8a9b
AN
7272008-07-07 Adam Nemet <anemet@caviumnetworks.com>
728
729 * config/tc-mips.c (NO_ISA_COP): New macro.
730 (COP_INSN): New macro.
731 (is_opcode_valid): Use them.
732 (macro) <ld_st>: Use them. Don't accept coprocessor load store
733 insns based on the ISA if CPU is NO_ISA_COP.
734 <copz>: Likewise for coprocessor operations.
735
79947c54
CD
7362008-07-07 Paul Brook <paul@codesourcery.com>
737
738 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
2cfe26b6 739 relocations.
79947c54 740
9990da1d
NC
7412008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
742
743 * configure.tgt: Add bfin-*-rtems*.
744
d62f07d0
AM
7452008-07-04 Alan Modra <amodra@bigpond.net.au>
746
747 * config/tc-spu.c (md_apply_fix): Handle fully resolved
748 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
749
c8187e15
PB
7502008-06-25 Peter Bergner <bergner@vnet.ibm.com>
751
752 * config/tc-ppc.c (parse_cpu): Handle -m464.
753 (md_show_usage): Likewise.
754
3bb06f78
EW
7552008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
756
757 Add support for ATtiny13A.
758 * config/tc-avr.c (mcu_types): Add attiny13a.
759 * doc/c-avr.texi: Likewise.
760
6afe8e98
AM
7612008-06-24 Bob Wilson <bob.wilson@acm.org>
762 Alan Modra <amodra@bigpond.net.au>
763
764 * write.c (relax_segment <rs_org>): Include current stretch
765 value when calculating whether .org is backwards.
766
7a283e07
RW
7672008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
768
769 * configure: Regenerate.
770
0146fc9d
NC
7712008-06-17 Nick Clifton <nickc@redhat.com>
772
773 * app.c (do_scrub_chars): Do not UNGET an EOF value.
774
1afc8def
HPN
7752008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
776
777 PR gas/6607
778 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
779 text_section. Do the "stepping backwards" test for text_section
780 using unsigned operands.
781
fa452fa6
PB
7822008-06-13 Peter Bergner <bergner@vnet.ibm.com>
783
784 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
785 (ppc_insert_operand): Likewise.
786 (ppc_machine): Likewise.
787 * config/tc-ppc.h: #include "opcode/ppc.h"
788 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
789 (ppc_cpu): Update extern decl.
790
bb35fb24
NC
7912008-06-12 Adam Nemet <anemet@caviumnetworks.com>
792
793 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
794 +x, +X, +p, +P, +s, +S.
795 (mips_ip): Likewise.
796
dd3cbb7e
NC
797 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
798 (mips_ip): Likewise.
799 (macro_build): Likewise.
800 (CPU_HAS_SEQ): New macro.
801 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
802
e8568f6c
EW
8032008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
804
805 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
806 * doc/c-avr.texi: Likewise.
807
83bd7402
NC
8082008-06-04 Nick Clifton <nickc@redhat.com>
809
810 * app.c (do_scrub_chars): Do not UNGET an EOF value.
811
cb19c032
L
8122008-06-03 H.J. Lu <hongjiu.lu@intel.com>
813
814 * config/tc-i386.c (set_sse_check): New.
815 (md_pseudo_table): Add "sse_check".
816
4ecab7d4
PB
8172008-06-03 Paul Brook <paul@codesourcery.com>
818
819 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
820
0a903bab
NC
8212008-05-30 Nick Clifton <nickc@redhat.com>
822
823 PR 5523
824 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
825 relocs here.
826
b15591bb
AN
8272008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
828
829 * config/tc-mips.c (mips_cpu_info_table): Move records for
830 ST Loongson-2E/2F processors to a better place.
831
95f283e8
L
8322008-05-23 H.J. Lu <hongjiu.lu@intel.com>
833
834 PR gas/6518
835 * config/tc-i386.c (match_template): Report ambiguous operand
836 size, not invalid suffix when there is no match in Intel
837 syntax.
838
c462b453
PB
8392008-05-22 Paul Brook <paul@codesourcery.com>
840
841 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
842
7fac0536
NC
8432008-05-21 I-Jui Sung <ijsung@gmail.com>
844
845 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
846 compatible cores: fa526, fa626, fa626te, fa726te.
847 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
848 fa726te} options.
849
8944f3c2
AM
8502008-05-14 Alan Modra <amodra@bigpond.net.au>
851
852 * Makefile.am: Run "make dep-am".
853 * Makefile.in: Regenerate.
854 * doc/Makefile.in: Regenerate.
855 * po/POTFILES.in: Regenerate.
856
35903be0
CM
8572008-05-09 Catherine Moore <clm@codesourcery.com>
858
859 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
860 with non-MIPS16 relocs.
861
c41e87e3
CF
8622008-05-09 Chao-ying Fu <fu@mips.com>
863
864 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
865 case that some characters append at the end of the name.
866 (mips_ip): Likewise.
867 (s_change_sec): Likewise.
868 (md_section_align): Likewise.
869
51c8ebc1
BW
8702008-05-07 Bob Wilson <bob.wilson@acm.org>
871
872 * config/tc-xtensa.c (xtensa_create_property_segments): Use
873 xtensa_make_property_section instead of xtensa_get_property_section.
874 (xtensa_create_xproperty_segments): Likewise.
875
f1f8f695
L
8762008-05-02 H.J. Lu <hongjiu.lu@intel.com>
877
878 * NEWS: Mention XSAVE, EPT and MOVBE.
879
880 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
881 (md_show_usage): Add .movbe and .ept.
882
883 * doc/c-i386.texi: Add movbe and ept to -march=. Document
884 .movbe and .ept.
885
2b661f3d
DM
8862008-04-29 David S. Miller <davem@davemloft.net>
887
888 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
889
037b32b9
AN
8902008-04-28 Adam Nemet <anemet@caviumnetworks.com>
891
892 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
893 New statics.
894 (OPTION_ELF_BASE): Make room for new option macros.
895 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
896 OPTION_DOUBLE_FLOAT): New option macros.
897 (md_longopts): Add msoft-float, mhard-float, msingle-float and
898 mdouble-float.
899 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
900 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
901 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
902 and -mdouble-float.
903 (struct mips_set_options): New fields soft_float and single_float.
904 (mips_opts): Initialized them. Add comment for each field
905 initializer.
906 (mips_after_parse_args): Set them based on file_mips_soft_float
907 and file_mips_single_float.
908 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
909 `.set singlefloat' and `.set doublefloat'.
910 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
911 Handle single-float and soft-float instructions here.
912 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
913 (is_opcode_valid_16): New function.
914 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
915 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
916 M_S_DOB>: Remove special-casing of r4650.
917 * doc/c-mips.texi (-march=): Add Octeon.
918 (MIPS Opts): Document -msoft-float and -mhard-float. Document
919 -msingle-float and -mdouble-float.
920 (MIPS floating-point): New section. Document `.set softfloat' and
921 `.set hardfloat'. Document `.set singlefloat' and `.set
922 doublefloat'.
923
f04d18b7
DM
9242008-04-25 David S. Miller <davem@davemloft.net>
925
926 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
927 %asr aliases.
928
929 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
930 rather than occaisionally 'levels'. Consistently refer to Sun's
931 UNIX variant as SunOS, every version of Solaris is also SunOS.
932 Document new 'softint_clear' and 'softint_set' aliases. Clarify
933 which architecture versions support '%dcr', '%cq', and '%gl'. Add
934 section on 32-bit/64-bit opcode translations.
935
fe4fa32c
MF
9362008-04-23 Mike Frysinger <vapier@gentoo.org>
937
938 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
939 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
940 (obj-fdpicelf.o): Define.
941 * Makefile.in: Regenerate.
942 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
943 (bfin-*-*): Delete.
944 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
945 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
946 * config/obj-fdpicelf.c: New.
947 * config/obj-fdpicelf.h: Likewise.
948 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
949 the OBJ_FDPIC_ELF define.
950 (OPTION_NOPIC): Define.
951 (md_longopts): Add mnopic and mno-fdpic.
952 (md_parse_option): Handle OPTION_NOPIC.
953
6194aaab
L
9542008-04-23 Paolo Bonzini <bonzini@gnu.org>
955
956 * aclocal.m4: Regenerate.
957 * configure: Regenerate.
958
1a6b486f
DM
9592008-04-23 David S. Miller <davem@davemloft.net>
960
961 * config/tc-sparc.c (v9a_asr_table): Add missing
962 'stick' and 'stick_cmpr', and document ordering rules
963 of table.
964 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
965 BFD_RELOC_SPARC_PC10.
966 * doc/c-sparc.texi: New section on Sparc constants.
967 Add documentation for %stick and %stick_cmpr.
968
879d3736
NC
9692008-04-22 David S. Miller <davem@davemloft.net>
970
971 * config/obj-elf.c (obj_elf_section_type): Add prototype
972 before obj_elf_section_word and add 'warn' arg.
973 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
974 is matched, try checking for #SECTION_TYPE.
975 (obj_elf_section): Adjust for new args.
976 (obj_elf_type_name): New function.
977 (obj_elf_type): Call it, and accept STT_foo number strings
978 in .type statements as output by SunPRO compiler.
979
81f8a913
L
9802008-04-22 H.J. Lu <hongjiu.lu@intel.com>
981
982 * config/tc-i386.c (md_assemble): Don't check SSE instructions
983 if noavx is 0.
984
c15295d5
DM
9852008-04-18 David S. Miller <davem@davemloft.net>
986
987 * doc/c-sparc.texi: Add syntax section.
988
eff014d9
L
9892008-04-18 H.J. Lu <hongjiu.lu@intel.com>
990
991 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
992 REG and NDS for instructions with immediate operand.
993
dae39acc
L
9942008-04-18 H.J. Lu <hongjiu.lu@intel.com>
995
996 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
997 FMA.
998
739f7f82
DM
9992008-04-16 David S. Miller <davem@davemloft.net>
1000
1001 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
1002 and relocation generation.
1003 (tc_gen_reloc): Likewise.
1004
52b5ca5b
AS
10052008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
1006
1007 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
1008 relocations are properly aligned, and not negative.
1009
a5f245b5
NC
10102008-04-15 Khem Raj <kraj@mvista.com>
1011
1012 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
1013
19a6653c
AM
10142008-04-14 Edmar Wienskoski <edmar@freescale.com>
1015
1016 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
1017 accept e500mc instructions.
1018 (md_show_usage): Document -me500mc.
1019
d5a35a55
NC
10202008-04-11 Nick Clifton <nickc@redhat.com>
1021
1022 * listing.c (print_timestamp): Use localtime rather than
1023 localtime_r since not all build environments provide the latter.
1024
daf50ae7
L
10252008-04-10 H.J. Lu <hongjiu.lu@intel.com>
1026
1027 * NEWS: Mention -msse-check=[none|error|warning].
1028
1029 * config/tc-i386.c (sse_check): New.
1030 (OPTION_MSSE_CHECK): Likewise.
1031 (md_assemble): Check SSE instructions if needed.
1032 (md_longopts): Add -msse-check.
1033 (md_parse_option): Handle OPTION_MSSE_CHECK.
1034 (md_show_usage): Show -msse-check=[none|error|warning].
1035
1036 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
1037