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