Replace "the the" with "the"
[deliverable/binutils-gdb.git] / gas / ChangeLog-2008
CommitLineData
0bfee649
L
12008-12-23 Jon Beniston <jon@beniston.com>
2
3 * NEWS: Record that support for LM32 has been added.
4 * Makefile.am: Add LM32 object files and dependencies.
5 * Makefile.in: Regenerate.
6 * configure.in: Indicate LM32 uses cgen.
7 * configure: Regenerate.
8 * configure.tgt: Add LM32 target.
9 * config/tc-lm32.c: New file.
10 * config/tc-lm32.h: New file.
11 * doc/Makefile.am: Add c-lm32.texi to CPU_DOCS.
12 * doc/Makefile.in: Regenerate.
13 * doc/all.texi: Add LM32 as CPU of interest.
14 * doc/as.texinfo: Add LM32 dependent features link.
15 * doc/c-lm32.texi: New file.
16
172008-12-23 H.J. Lu <hongjiu.lu@intel.com>
18
19 * config/tc-i386.c (match_template): Changed to return
20 const template *. Handle i.swap_operand for 3 operands.
21 (build_vex_prefix): Take const template *. Swap operand for
22 2-byte VEX prefix if possible.
23 (md_assemble): Updated.
24 (build_modrm_byte): Handle RegMem bit for SSE2AVX.
25
262008-12-23 Anatoly Sokolov <aesok@post.ru>
27
28 * config/tc-avr.c (mcu_types): Add attiny87, attiny327, atmega4hvd,
752937aa
NC
29 atmega8hvd, atmega16hvb, atmega32hvb, atmega64c1, atmega16m1,
30 atmega64m1, atmega32u6, atmega128rfa1, at90pwm81, at90scr100,
0bfee649
L
31 m3000f, m3000s and m3001b devices.
32 * doc/c-avr.texi: Likewise.
33
342008-12-23 Nick Clifton <nickc@redhat.com>
35
36 * NEWS :Remove mention of STT_IFUNC support.
37 * config/obj-elf.c (obj_elf_type): Remove STT_IFUNC support.
38 * doc/as.texinfo: Remove mention of STT_IFUNC support.
39
402008-12-21 Hans-Peter Nilsson <hp@axis.com>
41
42 * config/tc-cris.c (s_cris_dtpoff): New function.
43 (md_pseudo_table): Add "dtpoffd".
44
452008-12-20 H.J. Lu <hongjiu.lu@intel.com>
46
47 * config/tc-i386.c (parse_insn): Optimize ".s" handling.
48
492008-12-20 H.J. Lu <hongjiu.lu@intel.com>
50
51 * config/tc-i386.c (_i386_insn): Add swap_operand.
52 (parse_insn): Handle ".s".
53 (match_template): Handle swap_operand.
54
55 * doc/c-i386.texi: Document .s suffix.
56
572008-12-20 Hans-Peter Nilsson <hp@axis.com>
58
59 * config/tc-cris.c (cris_process_instruction): Handle
60 BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits.
61 (get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the
62 "double indirect" addressing mode.
63 (cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE.
64 (cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.
65
662008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
67
68 * configure: Regenerate.
69
702008-12-08 H.J. Lu <hongjiu.lu@intel.com>
71
72 * config/tc-i386.c (build_modrm_byte): Remove an extra blank
73 line.
74
752008-12-04 Ben Elliston <bje@au.ibm.com>
76
77 * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update
78 usage strings.
79 (ppc_setup_opcodes): Likewise, remove booke64 support.
80 * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64.
81 * doc/as.texinfo (Overview): Likewise.
82
832008-12-04 Nick Clifton <nickc@redhat.com>
84
85 * doc/as.texinfo (Type): Reword description of STT_IFUNC type.
86
872008-12-03 Nick Clifton <nickc@redhat.com>
88
89 * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type.
90 * doc/as.texinfo: Document new feature.
91 * NEWS: Mention new feature.
92
932008-11-29 Kai Tietz <kai.tietz@onevision.com>
94
95 * config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP
96 use "pe-i386" for 32-bit.
97
982008-11-28 Jakub Jelinek <jakub@redhat.com>
99
100 * Makefile.am (ehopt.o): Add struc-symbol.h.
101 * Makefile.in: Regenerated.
102 * ehopt.c: Include struc-symbol.h.
103 (check_eh_frame): For very small O_constant DW_CFA_advance_loc4
104 create correct DW_CFA_advance_loc. Handle O_subtract only
105 for code alignment factor 1, otherwise handle O_divide or
106 O_right_shift of O_subtract and O_constant.
107 (eh_frame_estimate_size_before_relax): Always divide by ca.
108 (eh_frame_convert_frag): Likewise.
109
1102008-11-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
111
112 * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1,
113 DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs.
114
1152008-11-28 Joshua Kinard <kumba@gentoo.org>
116
117 * config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000.
118 (mips_cpu_info_table): Add r14000, r16000.
119 * doc/c-mips.texi: Add entries for 14000, 16000.
120
1212008-11-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
122
123 * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
124 * config/tc-cr16.c (md_pseudo_table): Add "4byte" directive to
125 md_pseudo_table and accept @c prefix, same as long directive.
126 (cr16_cons_fix_new): Initialize rtype to BFD_RELOC_UNUSED.
127 (tc_gen_reloc): Declare a variable of type bfd_reloc_code_real_type
128 and set it for GOT related relocations.
129 (md_undefined_symbol): Defined
130 (process_label_constant): Added checks for GOT/got and cGOT/cGOT
131 prefixes with constant label and set the appropriate relocation type.
752937aa 132 * doc/c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.
0bfee649
L
133
1342008-11-26 DJ Delorie <dj@redhat.com>
135
136 * config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.
137
1382008-11-25 DJ Delorie <dj@redhat.com>
139
140 * config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.
141
1422008-11-21 Sterling Augustine <sterling@tensilica.com>
143
144 * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call
145 xtensa_state_is_shared_or to allow multiple opcodes within a
146 single FLIX bundle to write to these special states.
147
1482008-11-19 Hans-Peter Nilsson <hp@axis.com>
149
150 * config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCAL
151 on symbols in TLS relocs.
152
1532008-11-19 Nick Clifton <nickc@redhat.com>
154
155 * doc/fdl.texi: Update to v1.3
156 * doc/as.texinfo: Change license to v1.3.
157
1582008-11-18 Catherine Moore <clm@cm00re.com>
159
160 * config/tc-arm.c (neon_type_mask): Renumber.
161 (type_chk_of_el_type): Handle F_F16.
162 (neon_cvt_flavour): Recognize half-precision conversions.
163 (do_neon_cvt): New shapes NS_QD and
164 NS_DQ. Encode half-precision conversions.
165 (do_neon_cvtt): Encode the T bit.
166 (asm_opcode_insns): vcvt, vcvtt support.
167 (arm_option_cpu_value): Add neon-fp16 support.
168
1692008-11-17 Nick Clifton <nickc@redhat.com>
170
171 * as.c (parse_args): Update copyright year.
172
1732008-11-14 Mat Hostetter <mat@lcs.mit.edu>
174
175 * read.c (emit_expr): Grow frag before filling it so that
176 dot_value remains valid.
177
1782008-11-14 Peter Jansen <pwjansen@yahoo.com>
179
180 PR 7026
181 * config/tc-arm.c: Ensure that all uses of as_bad have a
182 formatting string.
183
1842008-11-12 Hans-Peter Nilsson <hp@axis.com>
185
186 * config/tc-cris.c (cris_number_to_imm): Except for
187 BFD_RELOC_NONE, always set contents. Where previously this was
188 skipped, set contents to 0.
189
190 PR gas/7025
191 * input-scrub.c (input_scrub_include_sb): Make the position
192 after the input have defined contents, a 0 character.
193
194 * config/tc-cris.c (cris_relax_frag): Add missing case for
195 ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
196
197 PR gas/7020
198 * read.c (read_a_source_file): Rearrange evaluation order when
199 looking for '=' to avoid conditional on undefined contents of
200 input_line_pointer[1].
201
2022008-11-06 Adam Nemet <anemet@caviumnetworks.com>
203
204 * config/tc-mips.c (COP_INSN): Change logic to always return false
205 for FP instructions.
206
2072008-11-06 Chao-ying Fu <fu@mips.com>
208
209 * config/tc-mips.c (validate_mips_insn): Add case '1'.
210 (mips_ip): Add case '1' to process sync type.
211
2122008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
213
214 * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
215
2162008-11-04 Sterling Augustine <sterling@tensilica.com>
752937aa 217
0bfee649
L
218 * config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
219 writes to the same register.
752937aa 220
0bfee649 2212008-11-04 Sterling Augustine <sterling@tensilica.com>
752937aa 222
0bfee649
L
223 * config/tc-xtensa.c (xtensa_j_opcode): New.
224 (xg_instruction_matches_option_term): Handle "FREEREG" option.
225 (xg_build_to_insn): Likewise. Update renamed tls_reloc reference.
226 (md_begin): Initialize xtensa_j_opcode.
227 (md_assemble): Update renamed tls_reloc reference. Handle "j.l".
228 (xg_assemble_vliw_tokens): Save free_reg info in the frag.
229 (tinsn_immed_from_frag): Get free_reg info back out of the frag.
230 (vinsn_to_insnbuf): Update renamed tls_reloc references.
231 Distinguish extra argument for "FREEREG" from extra TLS argument.
232 * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
233 * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
234 field to extra_arg.
235 * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
236 (build_transition): Handle "FREEREG" operand.
237 * config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
752937aa 238
0bfee649
L
2392008-10-31 Alan Modra <amodra@bigpond.net.au>
240
241 * po/id.po: Update.
242
2432008-10-24 Maciej W. Rozycki <macro@linux-mips.org>
244
245 * config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2
246 comment so that Broadcom SB-1 cores are in the MIPS64 section.
247
2482008-10-21 Alan Modra <amodra@bigpond.net.au>
249
250 * config/tc-bfin.c (gencode, allocate): Remove unnecessary cast.
251 * config/tc-ns32k.c (bit_fix_new): Likewise.
252 * config/tc-m68k.c (md_begin): Likewise.
253 * hash.c (hash_insert, hash_jam): Likewise.
254 * symbols.c (symbol_create, local_symbol_make): Likewise.
255 * frags.c (frag_alloc): Likewise.
256
2572008-10-20 Jay Krell <jay.krell@cornell.edu>
258
259 * config/bfin-parse.y: Use C style comments.
260 * config/tc-bfin.c: Likewise.
261 * config/tc-m68k.c: Likewise.
262 * config/tc-mips.c: Likewise.
263
2642008-10-12 H.J. Lu <hongjiu.lu@intel.com>
265
266 * config/tc-i386.c (processor_type): Moved to tc-i386.h.
267 (cpu_arch_tune): Make it global.
268 (cpu_arch_isa): Likewise.
269 (cpu_arch_isa_flags): Likewise.
270 (i386_align_code): Check fragP->tc_frag_data.isa,
271 fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of
272 cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune,
273 respectively.
274
275 * config/tc-i386.h (processor_type): Moved from tc-i386.c.
276 (cpu_arch_tune): New.
277 (cpu_arch_isa): Likewise.
278 (cpu_arch_isa_flags): Likewise.
279 (i386_tc_frag_data): Likewise.
280 (TC_FRAG_TYPE): Likewise.
281 (TC_FRAG_INIT): Likewise.
282
2832008-10-09 Bob Wilson <bob.wilson@acm.org>
284
285 * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.
286 (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128):
287 Moved into alphabetical order.
288
2892008-10-09 Bob Wilson <bob.wilson@acm.org>
290
291 * doc/as.texinfo (Dot): Expand no-space-dir conditional to include
292 a complete sentence.
293 (Pseudo Ops): Put conditionals around Skip and Space menu entries.
294 (Line): Remove conditional declaration of Ln node and section here.
295 Put aout-bout description inside the no-line-dir conditional.
296 (Skip, Space): Use a separate conditional for each node.
297
2982008-10-09 Bob Wilson <bob.wilson@acm.org>
299
300 * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional around
301 menu entry for File; remove version-specific .file operands from menu
302 description. Replace "LNS directives" menu entry with new entries
303 for "Loc" and "Loc_mark_labels".
304 (LNS directives): Split into separate nodes for each directive.
305 (Loc): New node for .loc directive. Mention that this directive
306 is for DWARF2 and add a missing article.
307 (Loc_mark_labels): Likewise for .loc_mark_labels.
308 (File): Change this node to describe both the default version and
309 the DWARF2 version of .file. Move the no-file-dir conditional to
310 include only the default version.
311
3122008-10-09 Eric Botcazou <ebotcazou@adacore.com>
313
314 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
315 * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
316 (i386_solaris_fix_up_eh_frame): Declare.
317 * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
318
3192008-10-09 Nick Clifton <nickc@redhat.com>
320
321 PR 6944
322 * doc/as.texinfo (Dollar Local Labels): Correct description of
323 dollar local labels to show that the colon suffix is still
324 needed.
325
3262008-10-08 Nick Clifton <nickc@redhat.com>
327
328 * configure.in (ALL_LINGUAS): Add "id".
329 * configure: Regenerate.
330 * po/id.po: New Indonesian translation.
331
3322008-10-07 H.J. Lu <hongjiu.lu@intel.com>
333
334 * read.c (pseudo_set): Don't allow global register symbol only
335 if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined.
336 * symbols.c (S_SET_EXTERNAL): Likewise.
337
338 * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined.
339
340 * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
341
3422008-10-06 Bob Wilson <bob.wilson@acm.org>
343
344 * doc/as.texinfo (Local): New description of ELF .local directive.
345
3462008-10-06 Nick Clifton <nickc@redhat.com>
347
348 PR 6926
349 * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
350 (_find_end_of_line): Add extra parameter indicating if the line is
351 inside a macro. If it is then do not allow the @ character to be
352 treated as a line separator character.
353 (read_a_source): Update use of _find_end_of_line.
354 (find_end_of_line): Likewise.
355 (s_irp): Update use of get_line_sb.
356 (s_macro): Likewise.
357 (do_repeat): Likewise.
358 (get_line_sb): New function. Like the old version of get_line_sb
359 except that it takes an extra parameter indicating whether the
360 line is inside a macro.
361 (get_macro_line_sb): New function.
362
3632008-10-04 Hans-Peter Nilsson <hp@axis.com>
364
365 * config/tc-cris.c: Update all comments regarding explicit relocations
366 to, besides PIC, also imply TLS or to say "relocation specifier" or
367 similar.
368 (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers.
369 (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all
370 callers. Also handle TLS relocs.
371 (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
372 Change all callers. Also handle TLS relocs.
373 (tls): New constant.
374 (cris_process_instruction): Check for non-PIC TLS relocations and
375 adjust message when emitting error message about relocation not
376 fitting.
377 (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
378 when tls is true.
379 (get_3op_or_dip_prefix_op): Ditto.
380 (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
381
3822008-10-03 Kazu Hirata <kazu@codesourcery.com>
383
384 * listing.c (buffer_line): Open the source file with FOPEN_RB.
385 Manually process line ends.
386
3872008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
388 Nick Clifton <nickc@redhat.com>
389
390 * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
391 S_SET_STORAGE_CLASS.
392
3932008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
394 Nick Clifton <nickc@redhat.com>
395
396 * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
397 do not match it class and if necessary update the class.
398 (null_error_handler): New function. Suppresses the generation of
399 bfd error messages.
400 * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
401
4022008-09-30 Alan Modra <amodra@bigpond.net.au>
403
404 * Makefile.am: Run "make dep-am".
405 * Makefile.in: Regenerate.
406
4072008-09-29 Nick Clifton <nickc@redhat.com>
408
409 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
410 tc_cfi_emit_pcrel_expr macro.
411
4122008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
413 Steve Ellcey <sje@cup.hp.com>
414
415 * configure: Regenerate for new libtool.
416 * aclocal.m4: Ditto.
417 * Makefile.in: Ditto.
418 * doc/Makefile.in: Ditto.
419
4202008-09-29 Nick Clifton <nickc@redhat.com>
421
422 PR 6878
423 * app.c (do_scrub_chars): Only issue warnings about tick
424 characters detected in symbol strings if hex ticks are supported.
425
4262008-09-29 Nick Clifton <nickc@redhat.com>
427
428 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
429 tc_cfi_emit_pcrel_expr macro.
430
4312008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
432
433 * NEWS: Mention .cfi_val_encoded_addr.
434
4352008-09-26 Eric Botcazou <ebotcazou@adacore.com>
436
437 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
438 * Makefile.in (TARG_ENV_HFILES): Likewise.
439 * configure.tgt (Solaris targets): Set em=solaris.
440 * config/te-solaris.h: New file.
441
4422008-09-26 Jie Zhang <jie.zhang@analog.com>
443
444 * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
445
4462008-09-24 Richard Henderson <rth@redhat.com>
447
448 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
449 (struct cfi_insn_data): Add ea member.
450 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
451 (output_cfi_insn): Handle CFI_val_encoded_addr.
452 (select_cie_for_fde): Don't match CFI_val_encoded_addr.
453 * doc/as.texinfo (.cfi_val_encoded_addr): Document.
454
4552008-09-25 Alan Modra <amodra@bigpond.net.au>
456
457 PR 6913
458 * listing.c (print_options): Don't call fprintf without format string.
459
4602008-09-19 Alan Modra <amodra@bigpond.net.au>
461
462 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
463 (TC_VALIDATE_FIX_SUB): Likewise.
464 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
465 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
466 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
467 * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
468 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
469 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
470 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
471 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
472 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
473
474 * write.c (md_register_arithmetic): Define.
475 (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
476 Modify error message when registers involved.
477 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
478 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
479
4802008-09-15 Alan Modra <amodra@bigpond.net.au>
481
482 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
483
4842008-09-15 Alan Modra <amodra@bigpond.net.au>
485
486 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
487 relocs with no symbol.
488 * config/tc-mmix.c (md_assemble): Mark fake symbol on
489 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
490 (mmix_md_end): Likewise mark mmix reg contents section symbol.
491
4922008-09-14 Chris Smith <chris@zxdesign.info>
493
494 * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
495 broken, as the opcode of ld a,(de) was being emitted for both.
496
4972008-09-12 Sterling Augustine <sterling@tensilica.com>
498
499 * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
500 operands equal to MAX_INSN_ARGS.
501
5022008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
503
504 * configure.in: Call AC_SYS_LARGEFILE.
505 * config.in: Regenerate.
506 * configure: Regenerate.
507
5082008-09-09 Peter Bergner <bergner@vnet.ibm.com>
509
510 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
511 Remove POWER5 and POWER6 tests.
512
5132008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
514
515 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
516 number support for 32-bit targets.
517
5182008-09-08 Tristan Gingold <gingold@adacore.com>
519
520 * NEWS: Add a marker for the 2.19 features.
521
5222008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
523
524 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
525 comment regarding use of difference expressions.
526 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
527
528 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
529 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
530 (dot_cfi_lsda, output_cie, output_fde): Likewise.
531 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
532
5332008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
534
535 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
536
5372008-09-03 Nick Clifton <nickc@redhat.com>
538
539 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
540 alignment field of the .lcomm directive to be optional.
541 (pe_lcomm): New function. Pass pe_lcomm_internal to
542 s_comm_internal.
543 (md_pseudo_table): Implement .lcomm directive for COFF based
544 targets.
545 * doc/c-i386.texi (i386-Directives): New node. Used to document
546 the .lcomm directive.
752937aa 547
0bfee649
L
5482008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
549
550 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
551 and NetBSD.
552
5532008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
554
555 * config/tc-avr.c (mcu_types): Add atmega16u4.
556 * doc/c-avr.texi: Likewise.
557
5582008-08-28 H.J. Lu <hongjiu.lu@intel.com>
559
560 * config/tc-ia64.c (CR_IIB0): New.
561 (CR_IIB1): Likewise.
562 (cr): Add cr.iib0 and cr.iib1.
563 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
564
5652008-08-28 Jan Beulich <jbeulich@novell.com>
566
567 * config/tc-i386.c (md_assemble): Force number of displacement
568 operands to zero when processing string instruction.
569 (i386_index_check): Special-case string instruction operands. Don't
570 fudge address prefix if there already was a memory operand. Fix
571 error message to correctly reflect the addressing mode used.
572 (i386_att_operand): Fix comment.
573 (i386_intel_operand): Snapshot, clear, and restore base and index
574 reg for each operand processed. Increment count of memory operands
575 later.
576
5772008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
578
579 * config/tc-hppa.c (is_SB_relative): New macro.
580 (fix_new_hppa): Remove $segrel$ marker.
581 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
582 segment relative.
583 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
584
5852008-08-27 Jan Beulich <jbeulich@novell.com>
586
587 * config/tc-i386.c (check_string): Use register_prefix for error
588 message.
589 (process_operands): Likewise.
590
5912008-08-26 Mark Mitchell <mark@codesourcery.com>
592
593 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
594
5952008-08-26 Jie Zhang <jie.zhang@analog.com>
596
597 * config/bfin-parse.y (check_macfunc_option): Fix instruction
598 mode checking.
599 (asm_1): Check mode for 16-bit multiply instructions.
600
6012008-08-24 Alan Modra <amodra@bigpond.net.au>
602
603 * configure.in: Update a number of obsolete autoconf macros.
604 * configure: Regenerate.
605 * aclocal.m4: Regenerate.
606
6072008-08-22 Nick Clifton <nickc@redhat.com>
608
609 * config/tc-mcore.c (md_assemble): Increase length of name array
610 to include terminating NUL.
611
6122008-08-22 Jie Zhang <jie.zhang@analog.com>
613
614 * config/bfin-lex.l (NUMBER): Protect special `.'.
615
6162008-08-22 Alan Modra <amodra@bigpond.net.au>
617
618 * symbols.c (symbol_clone): Ensure clones are not external.
619
6202008-08-22 Alan Modra <amodra@bigpond.net.au>
621
622 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
623
6242008-08-21 Richard Henderson <rth@redhat.com>
625
626 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
627 (output_cie, output_fde): Use it.
628 (DWARF2_EH_FRAME_READ_ONLY): New.
629 (cfi_finish): Use it.
630
631 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
632 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
633 (DWARF2_EH_FRAME_READ_ONLY): New.
634 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
635 from the results of DIFF_EXPR_OK manipulation.
636
6372008-08-21 Sterling Augustine <sterling@tensilica.com>
638
639 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
640
6412008-08-20 Bob Wilson <bob.wilson@acm.org>
642
643 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
644 (O_tpoff, O_dtpoff): Define.
645 (suffix_relocs): Add entries for TLS suffixes.
646 (xtensa_elf_cons): Check for invalid use of TLS relocations.
647 (map_operator_to_reloc): Add is_literal parameter and use it to
648 control translating TLS instruction relocations to the corresponding
649 literal relocations.
650 (xg_valid_literal_expression): Allow TLS operators.
651 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
652 operands to generated literals.
653 (xg_assemble_literal): Handle TLS operators. Update call to
654 map_operator_to_reloc.
655 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
656 (md_apply_fix): Handle TLS relocations.
657 (emit_single_op): Handle TLS operators.
658 (convert_frag_immed): Update call to map_operator_to_reloc.
659 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
660 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
661 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
662 to initialize the op_data field of the BuildOp.
663 (build_transition): Use it here to record the source operand
664 corresponding to a generated literal.
665 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
666
6672008-08-20 H.J. Lu <hongjiu.lu@intel.com>
668
669 AVX Programming Reference (August, 2008)
670 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
671 (CPU_FLAGS_AVX_MATCH): Likewise.
672 (CPU_FLAGS_32BIT_MATCH): Updated.
673 (cpu_flags_match): Likewise.
674
6752008-08-20 Alan Modra <amodra@bigpond.net.au>
676
677 PR 6848
678 * write.c (install_reloc): Check that reloc symbols have been
679 written.
680 (set_symtab): Mark symbols with BSF_KEEP.
681
6822008-08-18 H.J. Lu <hongjiu.lu@intel.com>
683
684 * config/tc-i386.c (i386_align_code): Fix a comment typo.
685
6862008-08-15 Alan Modra <amodra@bigpond.net.au>
687
688 PR 6526
689 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
690 * Makefile.in: Regenerate.
691 * aclocal.m4: Regenerate.
692 * config.in: Regenerate.
693 * configure: Regenerate.
694 * doc/Makefile.in: Regenerate.
695
6962008-08-14 Alan Modra <amodra@bigpond.net.au>
697
698 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
699
7002008-08-13 Ben Elliston <bje@au.ibm.com>
701
702 * doc/as.texinfo (Align): Document the PowerPC behaviour.
703
7042008-08-13 Alan Modra <amodra@bigpond.net.au>
705
706 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
707 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
708 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
709 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
710 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
711 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
712 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
713 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
714 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
715 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
716
7172008-08-12 Alan Modra <amodra@bigpond.net.au>
718
719 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
720 * config/tc-ia64.c (dot_rot): Likewise.
721
7222008-08-11 Alan Modra <amodra@bigpond.net.au>
723
724 PR 6575
725 * hash.c: Expand PTR to void *.
726 (hash_delete): Add "freeme" parameter. Call obstack_free.
727 * hash.h: Expand PTR to void *.
728 (hash_delete): Update prototype.
729 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
730 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
731 call.
732 (subsym_substitute): Likewise.
733 * doc/internals.texi (hash_delete): Update.
734
7352008-08-08 Anatoly Sokolov <aesok@post.ru>
736
737 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
738 architectures. Reorganize list to put mcu types in correct
739 architectures and to order list same as in GCC. Use new ISA
740 definitions in include/opcode/avr.h.
741 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
742 descriptions. Reorganize descriptions to put mcu types in correct
743 architectures and to order lists same as in GCC.
744
7452008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
746 Daniel Jacobowitz <dan@codesourcery.com>
747
748 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
749 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
750 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
751 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
752 (md_longopts): Add -call_nonpic.
753 (md_parse_option): Handle OPTION_CALL_NONPIC.
754 (md_show_usage): Add -call_nonpic.
755
7562008-08-08 Sterling Augustine <sterling@tensilica.com>
757
758 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
759 (xtensa_create_property_segments): Use it.
760 (xtensa_create_xproperty_segments): Likewise.
761
7622008-08-08 Alan Modra <amodra@bigpond.net.au>
763
764 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
765
7662008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
767
768 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
769 (lo16_reloc_p): New functions.
770 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
771 generalize relocation checks.
772 (matching_lo_reloc): New function.
773 (fixup_has_matching_lo_p): Use it.
774 (mips16_mark_labels): Don't clobber a symbol's visibility.
775 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
776 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
777 (md_apply_fix): Likewise.
778 (mips16_percent_op): Add %got and %call16.
779 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
780 Use matching_lo_reloc.
781 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
782 generalize relocation checks.
783 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
784 checks.
785
7862008-08-06 DJ Delorie <dj@redhat.com>
787
788 * NEWS: Mention these changes.
789
790 * config/tc-h8300.h (H_TICK_HEX): Define.
791 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
792 (md_longopts): Add "-h-tick-hex".
793 (md_parse_option): Support it.
794 * doc/c-h8300.texi (H8/300 Options): Document it.
795 * doc/as.texinfo (Overview): Likewise.
796
797 * config/tc-sh.h (H_TICK_HEX): Define.
798 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
799 (md_longopts): Add "-h-tick-hex".
800 (md_parse_option): Support it.
801 * doc/c-sh.texi (SH Options): Document it.
802 * doc/c-sh64.texi (SH64 Options): Document it.
803 * doc/as.texinfo (Overview): Likewise.
804
8052008-08-05 Alan Modra <amodra@bigpond.net.au>
806
807 PR gas/6656
808 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
809 debug info if we see compiler generated debug info.
810 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
811
8122008-08-04 Alan Modra <amodra@bigpond.net.au>
813
814 * dwarf2dbg.c: Remove superfluous forward function declarations.
815 (DWARF2_FORMAT): Add section arg.
816 (out_header): New function, split out from..
817 (out_debug_line): ..here.
818 (out_debug_aranges): Use out_header.
819 (out_debug_abbrev): Add info_seg and line_seg args. Use
820 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
821 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
822 if line_seg is 64-bit.
823 (dwarf2_finish): Adjust out_debug_abbrev call.
824 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
825 * config/tc-mips.c (mips_dwarf2_format): Likewise.
826
8272008-08-04 Alan Modra <amodra@bigpond.net.au>
828
829 * Makefile.am (POTFILES.in): Set LC_ALL=C.
830 * Makefile.in: Regenerate.
831 * po/POTFILES.in: Regenerate.
832
8332008-08-01 Peter Bergner <bergner@vnet.ibm.com>
834
835 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
836 Handle -mvsx and -mpower7.
837 (md_show_usage): Document -mpower7 and -mvsx.
838 * doc/as.texinfo (Target PowerPC): Document -mvsx.
839 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
840
8412008-07-31 Peter Bergner <bergner@vnet.ibm.com>
842
843 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
844 <cell>: Likewise.
845
8462008-07-30 Michael J. Eager <eager@eagercon.com>
847
848 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
849 (md_show_usage): Likewise.
850
8512008-07-30 Alan Modra <amodra@bigpond.net.au>
852
853 * messages.c, symbols.c, write.c: Silence gcc warnings.
854
8552008-07-28 Ineiev <ineiev@yahoo.co.uk>
856
857 * config/tc-i386.c (operand_type_check): Warning fix.
858
8592008-07-26 Michael Eager <eager@eagercon.com>
860
861 * doc/as.texinfo: Add description of single-precision attribute.
862
8632008-07-24 Jie Zhang <jie.zhang@analog.com>
864
865 * config/bfin-parse.y (asm_1): Error if plain symbol is used
866 as load/store offset.
867
8682008-07-22 Chao-ying Fu <fu@mips.com>
869
870 * config/tc-mips.c (mips_ip): Reset s to argsStart.
871
8722008-07-22 Jie Zhang <jie.zhang@analog.com>
873
874 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
875
8762008-07-21 DJ Delorie <dj@redhat.com>
877
878 * config/tc-h8300.c (fix_operand_size): Use the default size
879 specified by the .lbranch/.sbranch pseudos.
880
8812008-07-18 DJ Delorie <dj@redhat.com>
882
883 * config/tc-m32c.h (H_TICK_HEX): Define.
884 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
885 (md_longopts): Add support for it.
886 (md_parse_option): Likewise.
887 * doc/as.texinfo (Overview): Add new m32c options.
888 * doc/c-m32c.texi (M32C-Modifiers): Likewise
889
890 * as.h: (enable_h_tick_hex): New.
891 * app.c (enable_h_tick_hex): New.
892 (LEX_IS_H): New.
893 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
894 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
895 style hex constants and convert the input stream to 0x00 style.
896 (do_scrub_chars): If a 'X style character constant is found after
897 a symbol character (like you're or X'00), warn the user.
898
8992008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
900
901 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
902 (mips_fix_adjustable): Likewise.
903 (mips_frob_file_after_relocs): Likewise.
904
9052008-07-08 Nathan Sidwell <nathan@codesourcery.com>
906
907 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
908 about overriding an earlier setting.
909
9102008-07-07 Adam Nemet <anemet@caviumnetworks.com>
911
912 * config/tc-mips.c (NO_ISA_COP): New macro.
913 (COP_INSN): New macro.
914 (is_opcode_valid): Use them.
915 (macro) <ld_st>: Use them. Don't accept coprocessor load store
916 insns based on the ISA if CPU is NO_ISA_COP.
917 <copz>: Likewise for coprocessor operations.
918
9192008-07-07 Paul Brook <paul@codesourcery.com>
920
921 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
922 relocations.
923
9242008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
925
926 * configure.tgt: Add bfin-*-rtems*.
927
9282008-07-04 Alan Modra <amodra@bigpond.net.au>
929
930 * config/tc-spu.c (md_apply_fix): Handle fully resolved
931 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
932
9332008-06-25 Peter Bergner <bergner@vnet.ibm.com>
934
935 * config/tc-ppc.c (parse_cpu): Handle -m464.
936 (md_show_usage): Likewise.
937
9382008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
939
940 Add support for ATtiny13A.
941 * config/tc-avr.c (mcu_types): Add attiny13a.
942 * doc/c-avr.texi: Likewise.
943
9442008-06-24 Bob Wilson <bob.wilson@acm.org>
945 Alan Modra <amodra@bigpond.net.au>
946
947 * write.c (relax_segment <rs_org>): Include current stretch
948 value when calculating whether .org is backwards.
949
9502008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
951
952 * configure: Regenerate.
953
9542008-06-17 Nick Clifton <nickc@redhat.com>
955
956 * app.c (do_scrub_chars): Do not UNGET an EOF value.
957
9582008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
959
960 PR gas/6607
961 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
962 text_section. Do the "stepping backwards" test for text_section
963 using unsigned operands.
964
9652008-06-13 Peter Bergner <bergner@vnet.ibm.com>
966
967 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
968 (ppc_insert_operand): Likewise.
969 (ppc_machine): Likewise.
970 * config/tc-ppc.h: #include "opcode/ppc.h"
971 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
972 (ppc_cpu): Update extern decl.
973
9742008-06-12 Adam Nemet <anemet@caviumnetworks.com>
975
976 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
977 +x, +X, +p, +P, +s, +S.
978 (mips_ip): Likewise.
979
980 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
981 (mips_ip): Likewise.
982 (macro_build): Likewise.
983 (CPU_HAS_SEQ): New macro.
984 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
985
9862008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
987
988 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
989 * doc/c-avr.texi: Likewise.
990
9912008-06-04 Nick Clifton <nickc@redhat.com>
992
993 * app.c (do_scrub_chars): Do not UNGET an EOF value.
994
9952008-06-03 H.J. Lu <hongjiu.lu@intel.com>
996
997 * config/tc-i386.c (set_sse_check): New.
998 (md_pseudo_table): Add "sse_check".
999
10002008-06-03 Paul Brook <paul@codesourcery.com>
1001
1002 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
1003
10042008-05-30 Nick Clifton <nickc@redhat.com>
1005
1006 PR 5523
1007 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
1008 relocs here.
1009
10102008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
1011
1012 * config/tc-mips.c (mips_cpu_info_table): Move records for
1013 ST Loongson-2E/2F processors to a better place.
1014
10152008-05-23 H.J. Lu <hongjiu.lu@intel.com>
1016
1017 PR gas/6518
1018 * config/tc-i386.c (match_template): Report ambiguous operand
1019 size, not invalid suffix when there is no match in Intel
1020 syntax.
1021
10222008-05-22 Paul Brook <paul@codesourcery.com>
1023
1024 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
1025
10262008-05-21 I-Jui Sung <ijsung@gmail.com>
1027
1028 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
1029 compatible cores: fa526, fa626, fa626te, fa726te.
1030 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
1031 fa726te} options.
1032
10332008-05-14 Alan Modra <amodra@bigpond.net.au>
1034
1035 * Makefile.am: Run "make dep-am".
1036 * Makefile.in: Regenerate.
1037 * doc/Makefile.in: Regenerate.
1038 * po/POTFILES.in: Regenerate.
1039
10402008-05-09 Catherine Moore <clm@codesourcery.com>
1041
1042 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
1043 with non-MIPS16 relocs.
1044
10452008-05-09 Chao-ying Fu <fu@mips.com>
1046
1047 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
1048 case that some characters append at the end of the name.
1049 (mips_ip): Likewise.
1050 (s_change_sec): Likewise.
1051 (md_section_align): Likewise.
1052
10532008-05-07 Bob Wilson <bob.wilson@acm.org>
1054
1055 * config/tc-xtensa.c (xtensa_create_property_segments): Use
1056 xtensa_make_property_section instead of xtensa_get_property_section.
1057 (xtensa_create_xproperty_segments): Likewise.
1058
10592008-05-02 H.J. Lu <hongjiu.lu@intel.com>
1060
1061 * NEWS: Mention XSAVE, EPT and MOVBE.
1062
1063 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
1064 (md_show_usage): Add .movbe and .ept.
1065
1066 * doc/c-i386.texi: Add movbe and ept to -march=. Document
1067 .movbe and .ept.
1068
10692008-04-29 David S. Miller <davem@davemloft.net>
1070
1071 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
1072
10732008-04-28 Adam Nemet <anemet@caviumnetworks.com>
1074
1075 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
1076 New statics.
1077 (OPTION_ELF_BASE): Make room for new option macros.
1078 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
1079 OPTION_DOUBLE_FLOAT): New option macros.
1080 (md_longopts): Add msoft-float, mhard-float, msingle-float and
1081 mdouble-float.
1082 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
1083 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
1084 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
1085 and -mdouble-float.
1086 (struct mips_set_options): New fields soft_float and single_float.
1087 (mips_opts): Initialized them. Add comment for each field
1088 initializer.
1089 (mips_after_parse_args): Set them based on file_mips_soft_float
1090 and file_mips_single_float.
1091 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
1092 `.set singlefloat' and `.set doublefloat'.
1093 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
1094 Handle single-float and soft-float instructions here.
1095 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
1096 (is_opcode_valid_16): New function.
1097 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
1098 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
1099 M_S_DOB>: Remove special-casing of r4650.
1100 * doc/c-mips.texi (-march=): Add Octeon.
1101 (MIPS Opts): Document -msoft-float and -mhard-float. Document
1102 -msingle-float and -mdouble-float.
1103 (MIPS floating-point): New section. Document `.set softfloat' and
1104 `.set hardfloat'. Document `.set singlefloat' and `.set
1105 doublefloat'.
1106
11072008-04-25 David S. Miller <davem@davemloft.net>
1108
1109 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
1110 %asr aliases.
1111
1112 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
1113 rather than occaisionally 'levels'. Consistently refer to Sun's
1114 UNIX variant as SunOS, every version of Solaris is also SunOS.
1115 Document new 'softint_clear' and 'softint_set' aliases. Clarify
1116 which architecture versions support '%dcr', '%cq', and '%gl'. Add
1117 section on 32-bit/64-bit opcode translations.
1118
11192008-04-23 Mike Frysinger <vapier@gentoo.org>
1120
1121 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
1122 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
1123 (obj-fdpicelf.o): Define.
1124 * Makefile.in: Regenerate.
1125 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
1126 (bfin-*-*): Delete.
1127 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
1128 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
1129 * config/obj-fdpicelf.c: New.
1130 * config/obj-fdpicelf.h: Likewise.
1131 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
1132 the OBJ_FDPIC_ELF define.
1133 (OPTION_NOPIC): Define.
1134 (md_longopts): Add mnopic and mno-fdpic.
1135 (md_parse_option): Handle OPTION_NOPIC.
1136
11372008-04-23 Paolo Bonzini <bonzini@gnu.org>
1138
1139 * aclocal.m4: Regenerate.
1140 * configure: Regenerate.
1141
11422008-04-23 David S. Miller <davem@davemloft.net>
1143
1144 * config/tc-sparc.c (v9a_asr_table): Add missing
1145 'stick' and 'stick_cmpr', and document ordering rules
1146 of table.
1147 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
1148 BFD_RELOC_SPARC_PC10.
1149 * doc/c-sparc.texi: New section on Sparc constants.
1150 Add documentation for %stick and %stick_cmpr.
1151
11522008-04-22 David S. Miller <davem@davemloft.net>
1153
1154 * config/obj-elf.c (obj_elf_section_type): Add prototype
1155 before obj_elf_section_word and add 'warn' arg.
1156 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
1157 is matched, try checking for #SECTION_TYPE.
1158 (obj_elf_section): Adjust for new args.
1159 (obj_elf_type_name): New function.
1160 (obj_elf_type): Call it, and accept STT_foo number strings
1161 in .type statements as output by SunPRO compiler.
1162
11632008-04-22 H.J. Lu <hongjiu.lu@intel.com>
1164
1165 * config/tc-i386.c (md_assemble): Don't check SSE instructions
1166 if noavx is 0.
1167
11682008-04-18 David S. Miller <davem@davemloft.net>
1169
1170 * doc/c-sparc.texi: Add syntax section.
1171
11722008-04-18 H.J. Lu <hongjiu.lu@intel.com>
1173
1174 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
1175 REG and NDS for instructions with immediate operand.
1176
11772008-04-18 H.J. Lu <hongjiu.lu@intel.com>
1178
1179 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
1180 FMA.
1181
11822008-04-16 David S. Miller <davem@davemloft.net>
1183
1184 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
1185 and relocation generation.
1186 (tc_gen_reloc): Likewise.
1187
11882008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
1189
1190 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
1191 relocations are properly aligned, and not negative.
1192
11932008-04-15 Khem Raj <kraj@mvista.com>
1194
1195 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
1196
11972008-04-14 Edmar Wienskoski <edmar@freescale.com>
1198
1199 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
1200 accept e500mc instructions.
1201 (md_show_usage): Document -me500mc.
1202
12032008-04-11 Nick Clifton <nickc@redhat.com>
1204
1205 * listing.c (print_timestamp): Use localtime rather than
1206 localtime_r since not all build environments provide the latter.
1207
12082008-04-10 H.J. Lu <hongjiu.lu@intel.com>
1209
1210 * NEWS: Mention -msse-check=[none|error|warning].
1211
1212 * config/tc-i386.c (sse_check): New.
1213 (OPTION_MSSE_CHECK): Likewise.
1214 (md_assemble): Check SSE instructions if needed.
1215 (md_longopts): Add -msse-check.
1216 (md_parse_option): Handle OPTION_MSSE_CHECK.
1217 (md_show_usage): Show -msse-check=[none|error|warning].
1218
1219 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
1220