* ChangeLog: Fix date of last entry.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
4ef2cf8b
NC
12009-01-02 Matthias Klose <doko@ubuntu.com>
2
3 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
4 behaviour.
5
84e94c90
NC
62008-12-23 Jon Beniston <jon@beniston.com>
7
8 * NEWS: Record that support for LM32 has been added.
9 * Makefile.am: Add LM32 object files and dependencies.
10 * Makefile.in: Regenerate.
11 * configure.in: Indicate LM32 uses cgen.
12 * configure: Regenerate.
13 * configure.tgt: Add LM32 target.
14 * config/tc-lm32.c: New file.
15 * config/tc-lm32.h: New file.
16 * doc/Makefile.am: Add c-lm32.texi to CPU_DOCS.
17 * doc/Makefile.in: Regenerate.
18 * doc/all.texi: Add LM32 as CPU of interest.
19 * doc/as.texinfo: Add LM32 dependent features link.
20 * doc/c-lm32.texi: New file.
21
fa99fab2
L
222008-12-23 H.J. Lu <hongjiu.lu@intel.com>
23
24 * config/tc-i386.c (match_template): Changed to return
25 const template *. Handle i.swap_operand for 3 operands.
26 (build_vex_prefix): Take const template *. Swap operand for
27 2-byte VEX prefix if possible.
28 (md_assemble): Updated.
29 (build_modrm_byte): Handle RegMem bit for SSE2AVX.
30
2b02f87c
NC
312008-12-23 Anatoly Sokolov <aesok@post.ru>
32
fa99fab2
L
33 * config/tc-avr.c (mcu_types): Add attiny87, attiny327, atmega4hvd,
34 atmega8hvd, atmega16hvb, atmega32hvb, atmega64c1, atmega16m1,
35 atmega64m1, atmega32u6, atmega128rfa1, at90pwm81, at90scr100,
36 m3000f, m3000s and m3001b devices.
37 * doc/c-avr.texi: Likewise.
2b02f87c 38
0f88be7a
NC
392008-12-23 Nick Clifton <nickc@redhat.com>
40
41 * NEWS :Remove mention of STT_IFUNC support.
42 * config/obj-elf.c (obj_elf_type): Remove STT_IFUNC support.
43 * doc/as.texinfo: Remove mention of STT_IFUNC support.
44
d2b52762
HPN
452008-12-21 Hans-Peter Nilsson <hp@axis.com>
46
47 * config/tc-cris.c (s_cris_dtpoff): New function.
48 (md_pseudo_table): Add "dtpoffd".
49
30a55f88
L
502008-12-20 H.J. Lu <hongjiu.lu@intel.com>
51
52 * config/tc-i386.c (parse_insn): Optimize ".s" handling.
53
b6169b20
L
542008-12-20 H.J. Lu <hongjiu.lu@intel.com>
55
56 * config/tc-i386.c (_i386_insn): Add swap_operand.
57 (parse_insn): Handle ".s".
58 (match_template): Handle swap_operand.
59
60 * doc/c-i386.texi: Document .s suffix.
61
5a00ea25
HPN
622008-12-20 Hans-Peter Nilsson <hp@axis.com>
63
64 * config/tc-cris.c (cris_process_instruction): Handle
65 BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits.
66 (get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the
67 "double indirect" addressing mode.
68 (cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE.
69 (cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.
70
22e8c8e0
RW
712008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
72
73 * configure: Regenerate.
74
9bb97f00
L
752008-12-08 H.J. Lu <hongjiu.lu@intel.com>
76
77 * config/tc-i386.c (build_modrm_byte): Remove an extra blank
78 line.
79
2f3bb96a
BE
802008-12-04 Ben Elliston <bje@au.ibm.com>
81
82 * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update
83 usage strings.
84 (ppc_setup_opcodes): Likewise, remove booke64 support.
85 * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64.
86 * doc/as.texinfo (Overview): Likewise.
87
4357ad34
NC
882008-12-04 Nick Clifton <nickc@redhat.com>
89
90 * doc/as.texinfo (Type): Reword description of STT_IFUNC type.
91
e7c33416
NC
922008-12-03 Nick Clifton <nickc@redhat.com>
93
94 * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type.
95 * doc/as.texinfo: Document new feature.
96 * NEWS: Mention new feature.
97
b01ee69d
KT
982008-11-29 Kai Tietz <kai.tietz@onevision.com>
99
100 * config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP
101 use "pe-i386" for 32-bit.
102
395e8345
JJ
1032008-11-28 Jakub Jelinek <jakub@redhat.com>
104
105 * Makefile.am (ehopt.o): Add struc-symbol.h.
106 * Makefile.in: Regenerated.
107 * ehopt.c: Include struc-symbol.h.
108 (check_eh_frame): For very small O_constant DW_CFA_advance_loc4
109 create correct DW_CFA_advance_loc. Handle O_subtract only
110 for code alignment factor 1, otherwise handle O_divide or
111 O_right_shift of O_subtract and O_constant.
112 (eh_frame_estimate_size_before_relax): Always divide by ca.
113 (eh_frame_convert_frag): Likewise.
114
1152008-11-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
116
117 * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1,
118 DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs.
119
3aa3176b
TS
1202008-11-28 Joshua Kinard <kumba@gentoo.org>
121
122 * config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000.
123 (mips_cpu_info_table): Add r14000, r16000.
124 * doc/c-mips.texi: Add entries for 14000, 16000.
125
0b9e228a
SR
1262008-11-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
127
128 * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
129 * config/tc-cr16.c (md_pseudo_table): Add "4byte" directive to
130 md_pseudo_table and accept @c prefix, same as long directive.
131 (cr16_cons_fix_new): Initialize rtype to BFD_RELOC_UNUSED.
132 (tc_gen_reloc): Declare a variable of type bfd_reloc_code_real_type
133 and set it for GOT related relocations.
134 (md_undefined_symbol): Defined
135 (process_label_constant): Added checks for GOT/got and cGOT/cGOT
136 prefixes with constant label and set the appropriate relocation type.
137 * doc/c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.
138
801fb795
DD
1392008-11-26 DJ Delorie <dj@redhat.com>
140
141 * config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.
142
911c9c13
DD
1432008-11-25 DJ Delorie <dj@redhat.com>
144
145 * config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.
146
1fa3cd83
SA
1472008-11-21 Sterling Augustine <sterling@tensilica.com>
148
149 * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call
150 xtensa_state_is_shared_or to allow multiple opcodes within a
151 single FLIX bundle to write to these special states.
152
63cb8e5f
HPN
1532008-11-19 Hans-Peter Nilsson <hp@axis.com>
154
155 * config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCAL
156 on symbols in TLS relocs.
157
793c5807
NC
1582008-11-19 Nick Clifton <nickc@redhat.com>
159
160 * doc/fdl.texi: Update to v1.3
161 * doc/as.texinfo: Change license to v1.3.
162
8e79c3df
CM
1632008-11-18 Catherine Moore <clm@cm00re.com>
164
165 * config/tc-arm.c (neon_type_mask): Renumber.
166 (type_chk_of_el_type): Handle F_F16.
167 (neon_cvt_flavour): Recognize half-precision conversions.
168 (do_neon_cvt): New shapes NS_QD and
169 NS_DQ. Encode half-precision conversions.
170 (do_neon_cvtt): Encode the T bit.
171 (asm_opcode_insns): vcvt, vcvtt support.
172 (arm_option_cpu_value): Add neon-fp16 support.
173
764c62eb
NC
1742008-11-17 Nick Clifton <nickc@redhat.com>
175
176 * as.c (parse_args): Update copyright year.
177
4bc25101
NC
1782008-11-14 Mat Hostetter <mat@lcs.mit.edu>
179
180 * read.c (emit_expr): Grow frag before filling it so that
181 dot_value remains valid.
182
9b7132d3
NC
1832008-11-14 Peter Jansen <pwjansen@yahoo.com>
184
185 PR 7026
186 * config/tc-arm.c: Ensure that all uses of as_bad have a
187 formatting string.
188
18d7868b
HPN
1892008-11-12 Hans-Peter Nilsson <hp@axis.com>
190
bfa1b75c
HPN
191 * config/tc-cris.c (cris_number_to_imm): Except for
192 BFD_RELOC_NONE, always set contents. Where previously this was
193 skipped, set contents to 0.
194
cb26feec
HPN
195 PR gas/7025
196 * input-scrub.c (input_scrub_include_sb): Make the position
197 after the input have defined contents, a 0 character.
198
f6ce267c
HPN
199 * config/tc-cris.c (cris_relax_frag): Add missing case for
200 ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
201
edba0af5 202 PR gas/7020
18d7868b
HPN
203 * read.c (read_a_source_file): Rearrange evaluation order when
204 looking for '=' to avoid conditional on undefined contents of
205 input_line_pointer[1].
206
a242dc0d
AN
2072008-11-06 Adam Nemet <anemet@caviumnetworks.com>
208
209 * config/tc-mips.c (COP_INSN): Change logic to always return false
210 for FP instructions.
211
620edafd
CF
2122008-11-06 Chao-ying Fu <fu@mips.com>
213
214 * config/tc-mips.c (validate_mips_insn): Add case '1'.
215 (mips_ip): Add case '1' to process sync type.
216
8a2a2dbb
NC
2172008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
218
219 * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
220
6dc6b655
BW
2212008-11-04 Sterling Augustine <sterling@tensilica.com>
222
223 * config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
224 writes to the same register.
225
19e8f41a
BW
2262008-11-04 Sterling Augustine <sterling@tensilica.com>
227
228 * config/tc-xtensa.c (xtensa_j_opcode): New.
229 (xg_instruction_matches_option_term): Handle "FREEREG" option.
230 (xg_build_to_insn): Likewise. Update renamed tls_reloc reference.
231 (md_begin): Initialize xtensa_j_opcode.
232 (md_assemble): Update renamed tls_reloc reference. Handle "j.l".
233 (xg_assemble_vliw_tokens): Save free_reg info in the frag.
234 (tinsn_immed_from_frag): Get free_reg info back out of the frag.
235 (vinsn_to_insnbuf): Update renamed tls_reloc references.
236 Distinguish extra argument for "FREEREG" from extra TLS argument.
237 * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
238 * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
239 field to extra_arg.
240 * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
241 (build_transition): Handle "FREEREG" operand.
242 * config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
243
9447ff6d
AM
2442008-10-31 Alan Modra <amodra@bigpond.net.au>
245
246 * po/id.po: Update.
247
ed163775
MR
2482008-10-24 Maciej W. Rozycki <macro@linux-mips.org>
249
250 * config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2
251 comment so that Broadcom SB-1 cores are in the MIPS64 section.
252
570685ad
AM
2532008-10-21 Alan Modra <amodra@bigpond.net.au>
254
255 * config/tc-bfin.c (gencode, allocate): Remove unnecessary cast.
256 * config/tc-ns32k.c (bit_fix_new): Likewise.
257 * config/tc-m68k.c (md_begin): Likewise.
258 * hash.c (hash_insert, hash_jam): Likewise.
259 * symbols.c (symbol_create, local_symbol_make): Likewise.
260 * frags.c (frag_alloc): Likewise.
261
8fc4ee9b
AM
2622008-10-20 Jay Krell <jay.krell@cornell.edu>
263
264 * config/bfin-parse.y: Use C style comments.
265 * config/tc-bfin.c: Likewise.
266 * config/tc-m68k.c: Likewise.
267 * config/tc-mips.c: Likewise.
268
fbf3f584
L
2692008-10-12 H.J. Lu <hongjiu.lu@intel.com>
270
271 * config/tc-i386.c (processor_type): Moved to tc-i386.h.
272 (cpu_arch_tune): Make it global.
273 (cpu_arch_isa): Likewise.
274 (cpu_arch_isa_flags): Likewise.
275 (i386_align_code): Check fragP->tc_frag_data.isa,
276 fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of
277 cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune,
278 respectively.
279
280 * config/tc-i386.h (processor_type): Moved from tc-i386.c.
281 (cpu_arch_tune): New.
282 (cpu_arch_isa): Likewise.
283 (cpu_arch_isa_flags): Likewise.
284 (i386_tc_frag_data): Likewise.
285 (TC_FRAG_TYPE): Likewise.
286 (TC_FRAG_INIT): Likewise.
287
ccf8a69b
BW
2882008-10-09 Bob Wilson <bob.wilson@acm.org>
289
290 * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.
291 (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128):
292 Moved into alphabetical order.
293
14082c76 2942008-10-09 Bob Wilson <bob.wilson@acm.org>
884f0d36
BW
295
296 * doc/as.texinfo (Dot): Expand no-space-dir conditional to include
297 a complete sentence.
298 (Pseudo Ops): Put conditionals around Skip and Space menu entries.
299 (Line): Remove conditional declaration of Ln node and section here.
300 Put aout-bout description inside the no-line-dir conditional.
301 (Skip, Space): Use a separate conditional for each node.
302
3032008-10-09 Bob Wilson <bob.wilson@acm.org>
304
14082c76
BW
305 * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional around
306 menu entry for File; remove version-specific .file operands from menu
307 description. Replace "LNS directives" menu entry with new entries
308 for "Loc" and "Loc_mark_labels".
309 (LNS directives): Split into separate nodes for each directive.
310 (Loc): New node for .loc directive. Mention that this directive
311 is for DWARF2 and add a missing article.
312 (Loc_mark_labels): Likewise for .loc_mark_labels.
313 (File): Change this node to describe both the default version and
314 the DWARF2 version of .file. Move the no-file-dir conditional to
315 include only the default version.
884f0d36 316
ad5fec3b
EB
3172008-10-09 Eric Botcazou <ebotcazou@adacore.com>
318
319 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
320 * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
321 (i386_solaris_fix_up_eh_frame): Declare.
322 * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
323
77cca80f
NC
3242008-10-09 Nick Clifton <nickc@redhat.com>
325
326 PR 6944
327 * doc/as.texinfo (Dollar Local Labels): Correct description of
328 dollar local labels to show that the colon suffix is still
329 needed.
330
8cc9115f
NC
3312008-10-08 Nick Clifton <nickc@redhat.com>
332
333 * configure.in (ALL_LINGUAS): Add "id".
334 * configure: Regenerate.
335 * po/id.po: New Indonesian translation.
336
97c4f2d9
L
3372008-10-07 H.J. Lu <hongjiu.lu@intel.com>
338
339 * read.c (pseudo_set): Don't allow global register symbol only
340 if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined.
341 * symbols.c (S_SET_EXTERNAL): Likewise.
342
343 * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined.
344
345 * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
346
4d4175af
BW
3472008-10-06 Bob Wilson <bob.wilson@acm.org>
348
349 * doc/as.texinfo (Local): New description of ELF .local directive.
350
7592cfd7
NC
3512008-10-06 Nick Clifton <nickc@redhat.com>
352
353 PR 6926
354 * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
355 (_find_end_of_line): Add extra parameter indicating if the line is
356 inside a macro. If it is then do not allow the @ character to be
357 treated as a line separator character.
358 (read_a_source): Update use of _find_end_of_line.
359 (find_end_of_line): Likewise.
360 (s_irp): Update use of get_line_sb.
361 (s_macro): Likewise.
362 (do_repeat): Likewise.
363 (get_line_sb): New function. Like the old version of get_line_sb
364 except that it takes an extra parameter indicating whether the
365 line is inside a macro.
366 (get_macro_line_sb): New function.
367
cc99daad
HPN
3682008-10-04 Hans-Peter Nilsson <hp@axis.com>
369
370 * config/tc-cris.c: Update all comments regarding explicit relocations
371 to, besides PIC, also imply TLS or to say "relocation specifier" or
372 similar.
373 (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers.
374 (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all
375 callers. Also handle TLS relocs.
376 (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
377 Change all callers. Also handle TLS relocs.
378 (tls): New constant.
379 (cris_process_instruction): Check for non-PIC TLS relocations and
380 adjust message when emitting error message about relocation not
381 fitting.
382 (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
383 when tls is true.
384 (get_3op_or_dip_prefix_op): Ditto.
385 (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
386
7e66d8ac
KH
3872008-10-03 Kazu Hirata <kazu@codesourcery.com>
388
389 * listing.c (buffer_line): Open the source file with FOPEN_RB.
390 Manually process line ends.
391
e144674a
NC
3922008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
393 Nick Clifton <nickc@redhat.com>
394
395 * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
396 S_SET_STORAGE_CLASS.
397
3982008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
399 Nick Clifton <nickc@redhat.com>
400
401 * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
402 do not match it class and if necessary update the class.
403 (null_error_handler): New function. Suppresses the generation of
404 bfd error messages.
405 * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
406
782e11fd
AM
4072008-09-30 Alan Modra <amodra@bigpond.net.au>
408
409 * Makefile.am: Run "make dep-am".
410 * Makefile.in: Regenerate.
411
c0cf08ad
AM
4122008-09-29 Nick Clifton <nickc@redhat.com>
413
414 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
415 tc_cfi_emit_pcrel_expr macro.
416
718a6fd8
SE
4172008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
418 Steve Ellcey <sje@cup.hp.com>
419
420 * configure: Regenerate for new libtool.
421 * aclocal.m4: Ditto.
422 * Makefile.in: Ditto.
423 * doc/Makefile.in: Ditto.
424
c0a139c7
NC
4252008-09-29 Nick Clifton <nickc@redhat.com>
426
427 PR 6878
428 * app.c (do_scrub_chars): Only issue warnings about tick
429 characters detected in symbol strings if hex ticks are supported.
430
4312008-09-29 Nick Clifton <nickc@redhat.com>
432
433 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
434 tc_cfi_emit_pcrel_expr macro.
435
4f6d9c90
DJ
4362008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
437
438 * NEWS: Mention .cfi_val_encoded_addr.
439
2774199c
EB
4402008-09-26 Eric Botcazou <ebotcazou@adacore.com>
441
442 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
443 * Makefile.in (TARG_ENV_HFILES): Likewise.
444 * configure.tgt (Solaris targets): Set em=solaris.
445 * config/te-solaris.h: New file.
446
37b32935
JZ
4472008-09-26 Jie Zhang <jie.zhang@analog.com>
448
449 * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
450
f1c4cc75
RH
4512008-09-24 Richard Henderson <rth@redhat.com>
452
453 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
454 (struct cfi_insn_data): Add ea member.
455 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
456 (output_cfi_insn): Handle CFI_val_encoded_addr.
457 (select_cie_for_fde): Don't match CFI_val_encoded_addr.
458 * doc/as.texinfo (.cfi_val_encoded_addr): Document.
459
ead47374
AM
4602008-09-25 Alan Modra <amodra@bigpond.net.au>
461
462 PR 6913
463 * listing.c (print_options): Don't call fprintf without format string.
464
9a97a5d7
AM
4652008-09-19 Alan Modra <amodra@bigpond.net.au>
466
5db484ff
AM
467 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
468 (TC_VALIDATE_FIX_SUB): Likewise.
469 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
470 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
471 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
472 * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
473 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
474 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
475 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
476 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
477 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
478
9a97a5d7
AM
479 * write.c (md_register_arithmetic): Define.
480 (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
481 Modify error message when registers involved.
482 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
483 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
484
55f8b826
AM
4852008-09-15 Alan Modra <amodra@bigpond.net.au>
486
487 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
488
455bde50
AM
4892008-09-15 Alan Modra <amodra@bigpond.net.au>
490
491 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
492 relocs with no symbol.
493 * config/tc-mmix.c (md_assemble): Mark fake symbol on
494 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
495 (mmix_md_end): Likewise mark mmix reg contents section symbol.
496
2cf402d6
AM
4972008-09-14 Chris Smith <chris@zxdesign.info>
498
499 * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
500 broken, as the opcode of ld a,(de) was being emitted for both.
501
51add5c3
BW
5022008-09-12 Sterling Augustine <sterling@tensilica.com>
503
504 * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
505 operands equal to MAX_INSN_ARGS.
506
d053aef8
JK
5072008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
508
509 * configure.in: Call AC_SYS_LARGEFILE.
510 * config.in: Regenerate.
511 * configure: Regenerate.
512
a08f0c75
PB
5132008-09-09 Peter Bergner <bergner@vnet.ibm.com>
514
515 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
516 Remove POWER5 and POWER6 tests.
517
2b489661
DA
5182008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
519
520 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
521 number support for 32-bit targets.
522
6e33da12
TG
5232008-09-08 Tristan Gingold <gingold@adacore.com>
524
525 * NEWS: Add a marker for the 2.19 features.
526
3dd24306
DA
5272008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
528
ded49c3e
DA
529 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
530 comment regarding use of difference expressions.
531 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
532
3dd24306
DA
533 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
534 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
535 (dot_cfi_lsda, output_cie, output_fde): Likewise.
536 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
537
a79558d9
RS
5382008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
539
540 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
541
a6c24e68
NC
5422008-09-03 Nick Clifton <nickc@redhat.com>
543
544 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
545 alignment field of the .lcomm directive to be optional.
546 (pe_lcomm): New function. Pass pe_lcomm_internal to
547 s_comm_internal.
548 (md_pseudo_table): Implement .lcomm directive for COFF based
549 targets.
550 * doc/c-i386.texi (i386-Directives): New node. Used to document
551 the .lcomm directive.
552
5ead15d9
DA
5532008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
554
555 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
556 and NetBSD.
557
c879dfc5
NC
5582008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
559
560 * config/tc-avr.c (mcu_types): Add atmega16u4.
561 * doc/c-avr.texi: Likewise.
562
1ca35711
L
5632008-08-28 H.J. Lu <hongjiu.lu@intel.com>
564
565 * config/tc-ia64.c (CR_IIB0): New.
566 (CR_IIB1): Likewise.
567 (cr): Add cr.iib0 and cr.iib1.
568 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
569
fc0763e6
JB
5702008-08-28 Jan Beulich <jbeulich@novell.com>
571
572 * config/tc-i386.c (md_assemble): Force number of displacement
573 operands to zero when processing string instruction.
574 (i386_index_check): Special-case string instruction operands. Don't
575 fudge address prefix if there already was a memory operand. Fix
576 error message to correctly reflect the addressing mode used.
577 (i386_att_operand): Fix comment.
578 (i386_intel_operand): Snapshot, clear, and restore base and index
579 reg for each operand processed. Increment count of memory operands
580 later.
581
6bba1048
DA
5822008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
583
584 * config/tc-hppa.c (is_SB_relative): New macro.
585 (fix_new_hppa): Remove $segrel$ marker.
586 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
587 segment relative.
588 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
589
a87af027
JB
5902008-08-27 Jan Beulich <jbeulich@novell.com>
591
592 * config/tc-i386.c (check_string): Use register_prefix for error
593 message.
594 (process_operands): Likewise.
595
7da4f750
MM
5962008-08-26 Mark Mitchell <mark@codesourcery.com>
597
598 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
599
6429b084
JZ
6002008-08-26 Jie Zhang <jie.zhang@analog.com>
601
602 * config/bfin-parse.y (check_macfunc_option): Fix instruction
603 mode checking.
604 (asm_1): Check mode for 16-bit multiply instructions.
605
da594c4a
AM
6062008-08-24 Alan Modra <amodra@bigpond.net.au>
607
608 * configure.in: Update a number of obsolete autoconf macros.
609 * configure: Regenerate.
610 * aclocal.m4: Regenerate.
611
34857dd6
NC
6122008-08-22 Nick Clifton <nickc@redhat.com>
613
614 * config/tc-mcore.c (md_assemble): Increase length of name array
615 to include terminating NUL.
616
fec82760
JZ
6172008-08-22 Jie Zhang <jie.zhang@analog.com>
618
619 * config/bfin-lex.l (NUMBER): Protect special `.'.
620
73e24c68
AM
6212008-08-22 Alan Modra <amodra@bigpond.net.au>
622
623 * symbols.c (symbol_clone): Ensure clones are not external.
624
4e3b43ed
AM
6252008-08-22 Alan Modra <amodra@bigpond.net.au>
626
627 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
628
8c9b70b1
RH
6292008-08-21 Richard Henderson <rth@redhat.com>
630
631 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
632 (output_cie, output_fde): Use it.
633 (DWARF2_EH_FRAME_READ_ONLY): New.
634 (cfi_finish): Use it.
635
636 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
637 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
638 (DWARF2_EH_FRAME_READ_ONLY): New.
639 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
640 from the results of DIFF_EXPR_OK manipulation.
641
c22a967f
BW
6422008-08-21 Sterling Augustine <sterling@tensilica.com>
643
644 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
645
28dbbc02
BW
6462008-08-20 Bob Wilson <bob.wilson@acm.org>
647
648 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
649 (O_tpoff, O_dtpoff): Define.
650 (suffix_relocs): Add entries for TLS suffixes.
651 (xtensa_elf_cons): Check for invalid use of TLS relocations.
652 (map_operator_to_reloc): Add is_literal parameter and use it to
653 control translating TLS instruction relocations to the corresponding
654 literal relocations.
655 (xg_valid_literal_expression): Allow TLS operators.
656 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
657 operands to generated literals.
658 (xg_assemble_literal): Handle TLS operators. Update call to
659 map_operator_to_reloc.
660 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
661 (md_apply_fix): Handle TLS relocations.
662 (emit_single_op): Handle TLS operators.
663 (convert_frag_immed): Update call to map_operator_to_reloc.
664 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
665 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
666 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
667 to initialize the op_data field of the BuildOp.
668 (build_transition): Use it here to record the source operand
669 corresponding to a generated literal.
670 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
4e3b43ed 671
41a7d9f3
L
6722008-08-20 H.J. Lu <hongjiu.lu@intel.com>
673
674 AVX Programming Reference (August, 2008)
675 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
676 (CPU_FLAGS_AVX_MATCH): Likewise.
677 (CPU_FLAGS_32BIT_MATCH): Updated.
678 (cpu_flags_match): Likewise.
679
76d12939
AM
6802008-08-20 Alan Modra <amodra@bigpond.net.au>
681
682 PR 6848
683 * write.c (install_reloc): Check that reloc symbols have been
684 written.
685 (set_symtab): Mark symbols with BSF_KEEP.
686
e6a14101
L
6872008-08-18 H.J. Lu <hongjiu.lu@intel.com>
688
689 * config/tc-i386.c (i386_align_code): Fix a comment typo.
690
7357c5b6
AM
6912008-08-15 Alan Modra <amodra@bigpond.net.au>
692
693 PR 6526
694 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
695 * Makefile.in: Regenerate.
696 * aclocal.m4: Regenerate.
697 * config.in: Regenerate.
698 * configure: Regenerate.
699 * doc/Makefile.in: Regenerate.
700
4e96a12e
AM
7012008-08-14 Alan Modra <amodra@bigpond.net.au>
702
703 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
704
9e9a9798
BE
7052008-08-13 Ben Elliston <bje@au.ibm.com>
706
707 * doc/as.texinfo (Align): Document the PowerPC behaviour.
708
5a49b8ac
AM
7092008-08-13 Alan Modra <amodra@bigpond.net.au>
710
711 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
712 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
713 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
714 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
715 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
716 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
717 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
718 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
719 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
720 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
721
db0bc284
AM
7222008-08-12 Alan Modra <amodra@bigpond.net.au>
723
724 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
725 * config/tc-ia64.c (dot_rot): Likewise.
726
818236e5
AM
7272008-08-11 Alan Modra <amodra@bigpond.net.au>
728
729 PR 6575
730 * hash.c: Expand PTR to void *.
731 (hash_delete): Add "freeme" parameter. Call obstack_free.
732 * hash.h: Expand PTR to void *.
733 (hash_delete): Update prototype.
734 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
735 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
736 call.
737 (subsym_substitute): Likewise.
738 * doc/internals.texi (hash_delete): Update.
739
7b21ac3f
EW
7402008-08-08 Anatoly Sokolov <aesok@post.ru>
741
742 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
818236e5
AM
743 architectures. Reorganize list to put mcu types in correct
744 architectures and to order list same as in GCC. Use new ISA
745 definitions in include/opcode/avr.h.
7b21ac3f
EW
746 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
747 descriptions. Reorganize descriptions to put mcu types in correct
748 architectures and to order lists same as in GCC.
749
861fb55a
DJ
7502008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
751 Daniel Jacobowitz <dan@codesourcery.com>
752
753 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
754 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
755 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
756 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
757 (md_longopts): Add -call_nonpic.
758 (md_parse_option): Handle OPTION_CALL_NONPIC.
759 (md_show_usage): Add -call_nonpic.
760
532f93bd 7612008-08-08 Sterling Augustine <sterling@tensilica.com>
818236e5 762
532f93bd
BW
763 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
764 (xtensa_create_property_segments): Use it.
765 (xtensa_create_xproperty_segments): Likewise.
818236e5 766
c3c36456
AM
7672008-08-08 Alan Modra <amodra@bigpond.net.au>
768
769 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
770
738e5348
RS
7712008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
772
773 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
774 (lo16_reloc_p): New functions.
775 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
776 generalize relocation checks.
777 (matching_lo_reloc): New function.
778 (fixup_has_matching_lo_p): Use it.
779 (mips16_mark_labels): Don't clobber a symbol's visibility.
780 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
781 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
782 (md_apply_fix): Likewise.
783 (mips16_percent_op): Add %got and %call16.
784 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
785 Use matching_lo_reloc.
786 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
787 generalize relocation checks.
788 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
789 checks.
790
6fd4f6cc
DD
7912008-08-06 DJ Delorie <dj@redhat.com>
792
793 * NEWS: Mention these changes.
794
795 * config/tc-h8300.h (H_TICK_HEX): Define.
796 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
797 (md_longopts): Add "-h-tick-hex".
798 (md_parse_option): Support it.
799 * doc/c-h8300.texi (H8/300 Options): Document it.
800 * doc/as.texinfo (Overview): Likewise.
818236e5 801
6fd4f6cc
DD
802 * config/tc-sh.h (H_TICK_HEX): Define.
803 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
804 (md_longopts): Add "-h-tick-hex".
805 (md_parse_option): Support it.
806 * doc/c-sh.texi (SH Options): Document it.
807 * doc/c-sh64.texi (SH64 Options): Document it.
808 * doc/as.texinfo (Overview): Likewise.
809
7cadeb2c
AM
8102008-08-05 Alan Modra <amodra@bigpond.net.au>
811
812 PR gas/6656
813 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
814 debug info if we see compiler generated debug info.
815 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
816
413a266c
AM
8172008-08-04 Alan Modra <amodra@bigpond.net.au>
818
819 * dwarf2dbg.c: Remove superfluous forward function declarations.
820 (DWARF2_FORMAT): Add section arg.
821 (out_header): New function, split out from..
822 (out_debug_line): ..here.
823 (out_debug_aranges): Use out_header.
824 (out_debug_abbrev): Add info_seg and line_seg args. Use
825 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
826 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
827 if line_seg is 64-bit.
828 (dwarf2_finish): Adjust out_debug_abbrev call.
829 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
830 * config/tc-mips.c (mips_dwarf2_format): Likewise.
831
323ee3f4
AM
8322008-08-04 Alan Modra <amodra@bigpond.net.au>
833
834 * Makefile.am (POTFILES.in): Set LC_ALL=C.
835 * Makefile.in: Regenerate.
836 * po/POTFILES.in: Regenerate.
837
9b4e5766
PB
8382008-08-01 Peter Bergner <bergner@vnet.ibm.com>
839
840 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
841 Handle -mvsx and -mpower7.
842 (md_show_usage): Document -mpower7 and -mvsx.
843 * doc/as.texinfo (Target PowerPC): Document -mvsx.
844 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
845
38233209
PB
8462008-07-31 Peter Bergner <bergner@vnet.ibm.com>
847
848 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
849 <cell>: Likewise.
850
081ba1b3
AM
8512008-07-30 Michael J. Eager <eager@eagercon.com>
852
853 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
854 (md_show_usage): Likewise.
855
0af1713e
AM
8562008-07-30 Alan Modra <amodra@bigpond.net.au>
857
858 * messages.c, symbols.c, write.c: Silence gcc warnings.
859
2cfe26b6
AM
8602008-07-28 Ineiev <ineiev@yahoo.co.uk>
861
862 * config/tc-i386.c (operand_type_check): Warning fix.
863
3c7b9897
AM
8642008-07-26 Michael Eager <eager@eagercon.com>
865
866 * doc/as.texinfo: Add description of single-precision attribute.
867
81fd73ed
JZ
8682008-07-24 Jie Zhang <jie.zhang@analog.com>
869
870 * config/bfin-parse.y (asm_1): Error if plain symbol is used
871 as load/store offset.
872
570de991
NC
8732008-07-22 Chao-ying Fu <fu@mips.com>
874
875 * config/tc-mips.c (mips_ip): Reset s to argsStart.
876
b4f42c96
JZ
8772008-07-22 Jie Zhang <jie.zhang@analog.com>
878
879 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
880
cc189afc
DD
8812008-07-21 DJ Delorie <dj@redhat.com>
882
883 * config/tc-h8300.c (fix_operand_size): Use the default size
884 specified by the .lbranch/.sbranch pseudos.
885
c54b5932
DD
8862008-07-18 DJ Delorie <dj@redhat.com>
887
888 * config/tc-m32c.h (H_TICK_HEX): Define.
889 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
890 (md_longopts): Add support for it.
891 (md_parse_option): Likewise.
892 * doc/as.texinfo (Overview): Add new m32c options.
893 * doc/c-m32c.texi (M32C-Modifiers): Likewise
894
895 * as.h: (enable_h_tick_hex): New.
896 * app.c (enable_h_tick_hex): New.
897 (LEX_IS_H): New.
898 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
899 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
900 style hex constants and convert the input stream to 0x00 style.
901 (do_scrub_chars): If a 'X style character constant is found after
902 a symbol character (like you're or X'00), warn the user.
903
30c09090
RS
9042008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
905
906 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
907 (mips_fix_adjustable): Likewise.
908 (mips_frob_file_after_relocs): Likewise.
909
bfbba8e4
NS
9102008-07-08 Nathan Sidwell <nathan@codesourcery.com>
911
912 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
913 about overriding an earlier setting.
914
b19e8a9b
AN
9152008-07-07 Adam Nemet <anemet@caviumnetworks.com>
916
917 * config/tc-mips.c (NO_ISA_COP): New macro.
918 (COP_INSN): New macro.
919 (is_opcode_valid): Use them.
920 (macro) <ld_st>: Use them. Don't accept coprocessor load store
921 insns based on the ISA if CPU is NO_ISA_COP.
922 <copz>: Likewise for coprocessor operations.
923
79947c54
CD
9242008-07-07 Paul Brook <paul@codesourcery.com>
925
926 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
2cfe26b6 927 relocations.
79947c54 928
9990da1d
NC
9292008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
930
931 * configure.tgt: Add bfin-*-rtems*.
932
d62f07d0
AM
9332008-07-04 Alan Modra <amodra@bigpond.net.au>
934
935 * config/tc-spu.c (md_apply_fix): Handle fully resolved
936 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
937
c8187e15
PB
9382008-06-25 Peter Bergner <bergner@vnet.ibm.com>
939
940 * config/tc-ppc.c (parse_cpu): Handle -m464.
941 (md_show_usage): Likewise.
942
3bb06f78
EW
9432008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
944
945 Add support for ATtiny13A.
946 * config/tc-avr.c (mcu_types): Add attiny13a.
947 * doc/c-avr.texi: Likewise.
948
6afe8e98
AM
9492008-06-24 Bob Wilson <bob.wilson@acm.org>
950 Alan Modra <amodra@bigpond.net.au>
951
952 * write.c (relax_segment <rs_org>): Include current stretch
953 value when calculating whether .org is backwards.
954
7a283e07
RW
9552008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
956
957 * configure: Regenerate.
958
0146fc9d
NC
9592008-06-17 Nick Clifton <nickc@redhat.com>
960
961 * app.c (do_scrub_chars): Do not UNGET an EOF value.
962
1afc8def
HPN
9632008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
964
965 PR gas/6607
966 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
967 text_section. Do the "stepping backwards" test for text_section
968 using unsigned operands.
969
fa452fa6
PB
9702008-06-13 Peter Bergner <bergner@vnet.ibm.com>
971
972 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
973 (ppc_insert_operand): Likewise.
974 (ppc_machine): Likewise.
975 * config/tc-ppc.h: #include "opcode/ppc.h"
976 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
977 (ppc_cpu): Update extern decl.
978
bb35fb24
NC
9792008-06-12 Adam Nemet <anemet@caviumnetworks.com>
980
981 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
982 +x, +X, +p, +P, +s, +S.
983 (mips_ip): Likewise.
984
dd3cbb7e
NC
985 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
986 (mips_ip): Likewise.
987 (macro_build): Likewise.
988 (CPU_HAS_SEQ): New macro.
989 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
990
e8568f6c
EW
9912008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
992
993 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
994 * doc/c-avr.texi: Likewise.
995
83bd7402
NC
9962008-06-04 Nick Clifton <nickc@redhat.com>
997
998 * app.c (do_scrub_chars): Do not UNGET an EOF value.
999
cb19c032
L
10002008-06-03 H.J. Lu <hongjiu.lu@intel.com>
1001
1002 * config/tc-i386.c (set_sse_check): New.
1003 (md_pseudo_table): Add "sse_check".
1004
4ecab7d4
PB
10052008-06-03 Paul Brook <paul@codesourcery.com>
1006
1007 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
1008
0a903bab
NC
10092008-05-30 Nick Clifton <nickc@redhat.com>
1010
1011 PR 5523
1012 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
1013 relocs here.
1014
b15591bb
AN
10152008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
1016
1017 * config/tc-mips.c (mips_cpu_info_table): Move records for
1018 ST Loongson-2E/2F processors to a better place.
1019
95f283e8
L
10202008-05-23 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 PR gas/6518
1023 * config/tc-i386.c (match_template): Report ambiguous operand
1024 size, not invalid suffix when there is no match in Intel
1025 syntax.
1026
c462b453
PB
10272008-05-22 Paul Brook <paul@codesourcery.com>
1028
1029 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
1030
7fac0536
NC
10312008-05-21 I-Jui Sung <ijsung@gmail.com>
1032
1033 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
1034 compatible cores: fa526, fa626, fa626te, fa726te.
1035 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
1036 fa726te} options.
1037
8944f3c2
AM
10382008-05-14 Alan Modra <amodra@bigpond.net.au>
1039
1040 * Makefile.am: Run "make dep-am".
1041 * Makefile.in: Regenerate.
1042 * doc/Makefile.in: Regenerate.
1043 * po/POTFILES.in: Regenerate.
1044
35903be0
CM
10452008-05-09 Catherine Moore <clm@codesourcery.com>
1046
1047 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
1048 with non-MIPS16 relocs.
1049
c41e87e3
CF
10502008-05-09 Chao-ying Fu <fu@mips.com>
1051
1052 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
1053 case that some characters append at the end of the name.
1054 (mips_ip): Likewise.
1055 (s_change_sec): Likewise.
1056 (md_section_align): Likewise.
1057
51c8ebc1
BW
10582008-05-07 Bob Wilson <bob.wilson@acm.org>
1059
1060 * config/tc-xtensa.c (xtensa_create_property_segments): Use
1061 xtensa_make_property_section instead of xtensa_get_property_section.
1062 (xtensa_create_xproperty_segments): Likewise.
1063
f1f8f695
L
10642008-05-02 H.J. Lu <hongjiu.lu@intel.com>
1065
1066 * NEWS: Mention XSAVE, EPT and MOVBE.
1067
1068 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
1069 (md_show_usage): Add .movbe and .ept.
1070
1071 * doc/c-i386.texi: Add movbe and ept to -march=. Document
1072 .movbe and .ept.
1073
2b661f3d
DM
10742008-04-29 David S. Miller <davem@davemloft.net>
1075
1076 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
1077
037b32b9
AN
10782008-04-28 Adam Nemet <anemet@caviumnetworks.com>
1079
1080 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
1081 New statics.
1082 (OPTION_ELF_BASE): Make room for new option macros.
1083 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
1084 OPTION_DOUBLE_FLOAT): New option macros.
1085 (md_longopts): Add msoft-float, mhard-float, msingle-float and
1086 mdouble-float.
1087 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
1088 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
1089 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
1090 and -mdouble-float.
1091 (struct mips_set_options): New fields soft_float and single_float.
1092 (mips_opts): Initialized them. Add comment for each field
1093 initializer.
1094 (mips_after_parse_args): Set them based on file_mips_soft_float
1095 and file_mips_single_float.
1096 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
1097 `.set singlefloat' and `.set doublefloat'.
1098 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
1099 Handle single-float and soft-float instructions here.
1100 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
1101 (is_opcode_valid_16): New function.
1102 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
1103 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
1104 M_S_DOB>: Remove special-casing of r4650.
1105 * doc/c-mips.texi (-march=): Add Octeon.
1106 (MIPS Opts): Document -msoft-float and -mhard-float. Document
1107 -msingle-float and -mdouble-float.
1108 (MIPS floating-point): New section. Document `.set softfloat' and
1109 `.set hardfloat'. Document `.set singlefloat' and `.set
1110 doublefloat'.
1111
f04d18b7
DM
11122008-04-25 David S. Miller <davem@davemloft.net>
1113
1114 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
1115 %asr aliases.
1116
1117 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
1118 rather than occaisionally 'levels'. Consistently refer to Sun's
1119 UNIX variant as SunOS, every version of Solaris is also SunOS.
1120 Document new 'softint_clear' and 'softint_set' aliases. Clarify
1121 which architecture versions support '%dcr', '%cq', and '%gl'. Add
1122 section on 32-bit/64-bit opcode translations.
1123
fe4fa32c
MF
11242008-04-23 Mike Frysinger <vapier@gentoo.org>
1125
1126 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
1127 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
1128 (obj-fdpicelf.o): Define.
1129 * Makefile.in: Regenerate.
1130 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
1131 (bfin-*-*): Delete.
1132 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
1133 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
1134 * config/obj-fdpicelf.c: New.
1135 * config/obj-fdpicelf.h: Likewise.
1136 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
1137 the OBJ_FDPIC_ELF define.
1138 (OPTION_NOPIC): Define.
1139 (md_longopts): Add mnopic and mno-fdpic.
1140 (md_parse_option): Handle OPTION_NOPIC.
1141
6194aaab
L
11422008-04-23 Paolo Bonzini <bonzini@gnu.org>
1143
1144 * aclocal.m4: Regenerate.
1145 * configure: Regenerate.
1146
1a6b486f
DM
11472008-04-23 David S. Miller <davem@davemloft.net>
1148
1149 * config/tc-sparc.c (v9a_asr_table): Add missing
1150 'stick' and 'stick_cmpr', and document ordering rules
1151 of table.
1152 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
1153 BFD_RELOC_SPARC_PC10.
1154 * doc/c-sparc.texi: New section on Sparc constants.
1155 Add documentation for %stick and %stick_cmpr.
1156
879d3736
NC
11572008-04-22 David S. Miller <davem@davemloft.net>
1158
1159 * config/obj-elf.c (obj_elf_section_type): Add prototype
1160 before obj_elf_section_word and add 'warn' arg.
1161 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
1162 is matched, try checking for #SECTION_TYPE.
1163 (obj_elf_section): Adjust for new args.
1164 (obj_elf_type_name): New function.
1165 (obj_elf_type): Call it, and accept STT_foo number strings
1166 in .type statements as output by SunPRO compiler.
1167
81f8a913
L
11682008-04-22 H.J. Lu <hongjiu.lu@intel.com>
1169
1170 * config/tc-i386.c (md_assemble): Don't check SSE instructions
1171 if noavx is 0.
1172
c15295d5
DM
11732008-04-18 David S. Miller <davem@davemloft.net>
1174
1175 * doc/c-sparc.texi: Add syntax section.
1176
eff014d9
L
11772008-04-18 H.J. Lu <hongjiu.lu@intel.com>
1178
1179 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
1180 REG and NDS for instructions with immediate operand.
1181
dae39acc
L
11822008-04-18 H.J. Lu <hongjiu.lu@intel.com>
1183
1184 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
1185 FMA.
1186
739f7f82
DM
11872008-04-16 David S. Miller <davem@davemloft.net>
1188
1189 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
1190 and relocation generation.
1191 (tc_gen_reloc): Likewise.
1192
52b5ca5b
AS
11932008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
1194
1195 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
1196 relocations are properly aligned, and not negative.
1197
a5f245b5
NC
11982008-04-15 Khem Raj <kraj@mvista.com>
1199
1200 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
1201
19a6653c
AM
12022008-04-14 Edmar Wienskoski <edmar@freescale.com>
1203
1204 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
1205 accept e500mc instructions.
1206 (md_show_usage): Document -me500mc.
1207
d5a35a55
NC
12082008-04-11 Nick Clifton <nickc@redhat.com>
1209
1210 * listing.c (print_timestamp): Use localtime rather than
1211 localtime_r since not all build environments provide the latter.
1212
daf50ae7
L
12132008-04-10 H.J. Lu <hongjiu.lu@intel.com>
1214
1215 * NEWS: Mention -msse-check=[none|error|warning].
1216
1217 * config/tc-i386.c (sse_check): New.
1218 (OPTION_MSSE_CHECK): Likewise.
1219 (md_assemble): Check SSE instructions if needed.
1220 (md_longopts): Add -msse-check.
1221 (md_parse_option): Handle OPTION_MSSE_CHECK.
1222 (md_show_usage): Show -msse-check=[none|error|warning].
1223
1224 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
1225