]> Git Repo - binutils.git/blame - gas/ChangeLog
gas/
[binutils.git] / gas / ChangeLog
CommitLineData
b6169b20
L
12008-12-20 H.J. Lu <[email protected]>
2
3 * config/tc-i386.c (_i386_insn): Add swap_operand.
4 (parse_insn): Handle ".s".
5 (match_template): Handle swap_operand.
6
7 * doc/c-i386.texi: Document .s suffix.
8
5a00ea25
HPN
92008-12-20 Hans-Peter Nilsson <[email protected]>
10
11 * config/tc-cris.c (cris_process_instruction): Handle
12 BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits.
13 (get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the
14 "double indirect" addressing mode.
15 (cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE.
16 (cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.
17
9bb97f00
L
182008-12-08 H.J. Lu <[email protected]>
19
20 * config/tc-i386.c (build_modrm_byte): Remove an extra blank
21 line.
22
2f3bb96a
BE
232008-12-04 Ben Elliston <[email protected]>
24
25 * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update
26 usage strings.
27 (ppc_setup_opcodes): Likewise, remove booke64 support.
28 * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64.
29 * doc/as.texinfo (Overview): Likewise.
30
4357ad34
NC
312008-12-04 Nick Clifton <[email protected]>
32
33 * doc/as.texinfo (Type): Reword description of STT_IFUNC type.
34
e7c33416
NC
352008-12-03 Nick Clifton <[email protected]>
36
37 * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type.
38 * doc/as.texinfo: Document new feature.
39 * NEWS: Mention new feature.
40
b01ee69d
KT
412008-11-29 Kai Tietz <[email protected]>
42
43 * config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP
44 use "pe-i386" for 32-bit.
45
395e8345
JJ
462008-11-28 Jakub Jelinek <[email protected]>
47
48 * Makefile.am (ehopt.o): Add struc-symbol.h.
49 * Makefile.in: Regenerated.
50 * ehopt.c: Include struc-symbol.h.
51 (check_eh_frame): For very small O_constant DW_CFA_advance_loc4
52 create correct DW_CFA_advance_loc. Handle O_subtract only
53 for code alignment factor 1, otherwise handle O_divide or
54 O_right_shift of O_subtract and O_constant.
55 (eh_frame_estimate_size_before_relax): Always divide by ca.
56 (eh_frame_convert_frag): Likewise.
57
582008-11-28 John David Anglin <[email protected]>
59
60 * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1,
61 DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs.
62
3aa3176b
TS
632008-11-28 Joshua Kinard <[email protected]>
64
65 * config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000.
66 (mips_cpu_info_table): Add r14000, r16000.
67 * doc/c-mips.texi: Add entries for 14000, 16000.
68
0b9e228a
SR
692008-11-27 M R Swami Reddy <[email protected]>
70
71 * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
72 * config/tc-cr16.c (md_pseudo_table): Add "4byte" directive to
73 md_pseudo_table and accept @c prefix, same as long directive.
74 (cr16_cons_fix_new): Initialize rtype to BFD_RELOC_UNUSED.
75 (tc_gen_reloc): Declare a variable of type bfd_reloc_code_real_type
76 and set it for GOT related relocations.
77 (md_undefined_symbol): Defined
78 (process_label_constant): Added checks for GOT/got and cGOT/cGOT
79 prefixes with constant label and set the appropriate relocation type.
80 * doc/c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.
81
801fb795
DD
822008-11-26 DJ Delorie <[email protected]>
83
84 * config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.
85
911c9c13
DD
862008-11-25 DJ Delorie <[email protected]>
87
88 * config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.
89
1fa3cd83
SA
902008-11-21 Sterling Augustine <[email protected]>
91
92 * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call
93 xtensa_state_is_shared_or to allow multiple opcodes within a
94 single FLIX bundle to write to these special states.
95
63cb8e5f
HPN
962008-11-19 Hans-Peter Nilsson <[email protected]>
97
98 * config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCAL
99 on symbols in TLS relocs.
100
793c5807
NC
1012008-11-19 Nick Clifton <[email protected]>
102
103 * doc/fdl.texi: Update to v1.3
104 * doc/as.texinfo: Change license to v1.3.
105
8e79c3df
CM
1062008-11-18 Catherine Moore <[email protected]>
107
108 * config/tc-arm.c (neon_type_mask): Renumber.
109 (type_chk_of_el_type): Handle F_F16.
110 (neon_cvt_flavour): Recognize half-precision conversions.
111 (do_neon_cvt): New shapes NS_QD and
112 NS_DQ. Encode half-precision conversions.
113 (do_neon_cvtt): Encode the T bit.
114 (asm_opcode_insns): vcvt, vcvtt support.
115 (arm_option_cpu_value): Add neon-fp16 support.
116
764c62eb
NC
1172008-11-17 Nick Clifton <[email protected]>
118
119 * as.c (parse_args): Update copyright year.
120
4bc25101
NC
1212008-11-14 Mat Hostetter <[email protected]>
122
123 * read.c (emit_expr): Grow frag before filling it so that
124 dot_value remains valid.
125
9b7132d3
NC
1262008-11-14 Peter Jansen <[email protected]>
127
128 PR 7026
129 * config/tc-arm.c: Ensure that all uses of as_bad have a
130 formatting string.
131
18d7868b
HPN
1322008-11-12 Hans-Peter Nilsson <[email protected]>
133
bfa1b75c
HPN
134 * config/tc-cris.c (cris_number_to_imm): Except for
135 BFD_RELOC_NONE, always set contents. Where previously this was
136 skipped, set contents to 0.
137
cb26feec
HPN
138 PR gas/7025
139 * input-scrub.c (input_scrub_include_sb): Make the position
140 after the input have defined contents, a 0 character.
141
f6ce267c
HPN
142 * config/tc-cris.c (cris_relax_frag): Add missing case for
143 ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
144
edba0af5 145 PR gas/7020
18d7868b
HPN
146 * read.c (read_a_source_file): Rearrange evaluation order when
147 looking for '=' to avoid conditional on undefined contents of
148 input_line_pointer[1].
149
a242dc0d
AN
1502008-11-06 Adam Nemet <[email protected]>
151
152 * config/tc-mips.c (COP_INSN): Change logic to always return false
153 for FP instructions.
154
620edafd
CF
1552008-11-06 Chao-ying Fu <[email protected]>
156
157 * config/tc-mips.c (validate_mips_insn): Add case '1'.
158 (mips_ip): Add case '1' to process sync type.
159
8a2a2dbb
NC
1602008-11-06 Joel Sherrill <[email protected]>
161
162 * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
163
6dc6b655
BW
1642008-11-04 Sterling Augustine <[email protected]>
165
166 * config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
167 writes to the same register.
168
19e8f41a
BW
1692008-11-04 Sterling Augustine <[email protected]>
170
171 * config/tc-xtensa.c (xtensa_j_opcode): New.
172 (xg_instruction_matches_option_term): Handle "FREEREG" option.
173 (xg_build_to_insn): Likewise. Update renamed tls_reloc reference.
174 (md_begin): Initialize xtensa_j_opcode.
175 (md_assemble): Update renamed tls_reloc reference. Handle "j.l".
176 (xg_assemble_vliw_tokens): Save free_reg info in the frag.
177 (tinsn_immed_from_frag): Get free_reg info back out of the frag.
178 (vinsn_to_insnbuf): Update renamed tls_reloc references.
179 Distinguish extra argument for "FREEREG" from extra TLS argument.
180 * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
181 * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
182 field to extra_arg.
183 * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
184 (build_transition): Handle "FREEREG" operand.
185 * config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
186
9447ff6d
AM
1872008-10-31 Alan Modra <[email protected]>
188
189 * po/id.po: Update.
190
ed163775
MR
1912008-10-24 Maciej W. Rozycki <[email protected]>
192
193 * config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2
194 comment so that Broadcom SB-1 cores are in the MIPS64 section.
195
570685ad
AM
1962008-10-21 Alan Modra <[email protected]>
197
198 * config/tc-bfin.c (gencode, allocate): Remove unnecessary cast.
199 * config/tc-ns32k.c (bit_fix_new): Likewise.
200 * config/tc-m68k.c (md_begin): Likewise.
201 * hash.c (hash_insert, hash_jam): Likewise.
202 * symbols.c (symbol_create, local_symbol_make): Likewise.
203 * frags.c (frag_alloc): Likewise.
204
8fc4ee9b
AM
2052008-10-20 Jay Krell <[email protected]>
206
207 * config/bfin-parse.y: Use C style comments.
208 * config/tc-bfin.c: Likewise.
209 * config/tc-m68k.c: Likewise.
210 * config/tc-mips.c: Likewise.
211
fbf3f584
L
2122008-10-12 H.J. Lu <[email protected]>
213
214 * config/tc-i386.c (processor_type): Moved to tc-i386.h.
215 (cpu_arch_tune): Make it global.
216 (cpu_arch_isa): Likewise.
217 (cpu_arch_isa_flags): Likewise.
218 (i386_align_code): Check fragP->tc_frag_data.isa,
219 fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of
220 cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune,
221 respectively.
222
223 * config/tc-i386.h (processor_type): Moved from tc-i386.c.
224 (cpu_arch_tune): New.
225 (cpu_arch_isa): Likewise.
226 (cpu_arch_isa_flags): Likewise.
227 (i386_tc_frag_data): Likewise.
228 (TC_FRAG_TYPE): Likewise.
229 (TC_FRAG_INIT): Likewise.
230
ccf8a69b
BW
2312008-10-09 Bob Wilson <[email protected]>
232
233 * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.
234 (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128):
235 Moved into alphabetical order.
236
14082c76 2372008-10-09 Bob Wilson <[email protected]>
884f0d36
BW
238
239 * doc/as.texinfo (Dot): Expand no-space-dir conditional to include
240 a complete sentence.
241 (Pseudo Ops): Put conditionals around Skip and Space menu entries.
242 (Line): Remove conditional declaration of Ln node and section here.
243 Put aout-bout description inside the no-line-dir conditional.
244 (Skip, Space): Use a separate conditional for each node.
245
2462008-10-09 Bob Wilson <[email protected]>
247
14082c76
BW
248 * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional around
249 menu entry for File; remove version-specific .file operands from menu
250 description. Replace "LNS directives" menu entry with new entries
251 for "Loc" and "Loc_mark_labels".
252 (LNS directives): Split into separate nodes for each directive.
253 (Loc): New node for .loc directive. Mention that this directive
254 is for DWARF2 and add a missing article.
255 (Loc_mark_labels): Likewise for .loc_mark_labels.
256 (File): Change this node to describe both the default version and
257 the DWARF2 version of .file. Move the no-file-dir conditional to
258 include only the default version.
884f0d36 259
ad5fec3b
EB
2602008-10-09 Eric Botcazou <[email protected]>
261
262 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
263 * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
264 (i386_solaris_fix_up_eh_frame): Declare.
265 * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
266
77cca80f
NC
2672008-10-09 Nick Clifton <[email protected]>
268
269 PR 6944
270 * doc/as.texinfo (Dollar Local Labels): Correct description of
271 dollar local labels to show that the colon suffix is still
272 needed.
273
8cc9115f
NC
2742008-10-08 Nick Clifton <[email protected]>
275
276 * configure.in (ALL_LINGUAS): Add "id".
277 * configure: Regenerate.
278 * po/id.po: New Indonesian translation.
279
97c4f2d9
L
2802008-10-07 H.J. Lu <[email protected]>
281
282 * read.c (pseudo_set): Don't allow global register symbol only
283 if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined.
284 * symbols.c (S_SET_EXTERNAL): Likewise.
285
286 * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined.
287
288 * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
289
4d4175af
BW
2902008-10-06 Bob Wilson <[email protected]>
291
292 * doc/as.texinfo (Local): New description of ELF .local directive.
293
7592cfd7
NC
2942008-10-06 Nick Clifton <[email protected]>
295
296 PR 6926
297 * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
298 (_find_end_of_line): Add extra parameter indicating if the line is
299 inside a macro. If it is then do not allow the @ character to be
300 treated as a line separator character.
301 (read_a_source): Update use of _find_end_of_line.
302 (find_end_of_line): Likewise.
303 (s_irp): Update use of get_line_sb.
304 (s_macro): Likewise.
305 (do_repeat): Likewise.
306 (get_line_sb): New function. Like the old version of get_line_sb
307 except that it takes an extra parameter indicating whether the
308 line is inside a macro.
309 (get_macro_line_sb): New function.
310
cc99daad
HPN
3112008-10-04 Hans-Peter Nilsson <[email protected]>
312
313 * config/tc-cris.c: Update all comments regarding explicit relocations
314 to, besides PIC, also imply TLS or to say "relocation specifier" or
315 similar.
316 (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers.
317 (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all
318 callers. Also handle TLS relocs.
319 (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
320 Change all callers. Also handle TLS relocs.
321 (tls): New constant.
322 (cris_process_instruction): Check for non-PIC TLS relocations and
323 adjust message when emitting error message about relocation not
324 fitting.
325 (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
326 when tls is true.
327 (get_3op_or_dip_prefix_op): Ditto.
328 (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
329
7e66d8ac
KH
3302008-10-03 Kazu Hirata <[email protected]>
331
332 * listing.c (buffer_line): Open the source file with FOPEN_RB.
333 Manually process line ends.
334
e144674a
NC
3352008-09-30 Wesley W. Terpstra <[email protected]>
336 Nick Clifton <[email protected]>
337
338 * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
339 S_SET_STORAGE_CLASS.
340
3412008-09-30 Wesley W. Terpstra <[email protected]>
342 Nick Clifton <[email protected]>
343
344 * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
345 do not match it class and if necessary update the class.
346 (null_error_handler): New function. Suppresses the generation of
347 bfd error messages.
348 * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
349
782e11fd
AM
3502008-09-30 Alan Modra <[email protected]>
351
352 * Makefile.am: Run "make dep-am".
353 * Makefile.in: Regenerate.
354
c0cf08ad
AM
3552008-09-29 Nick Clifton <[email protected]>
356
357 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
358 tc_cfi_emit_pcrel_expr macro.
359
718a6fd8
SE
3602008-09-29 Peter O'Gorman <[email protected]>
361 Steve Ellcey <[email protected]>
362
363 * configure: Regenerate for new libtool.
364 * aclocal.m4: Ditto.
365 * Makefile.in: Ditto.
366 * doc/Makefile.in: Ditto.
367
c0a139c7
NC
3682008-09-29 Nick Clifton <[email protected]>
369
370 PR 6878
371 * app.c (do_scrub_chars): Only issue warnings about tick
372 characters detected in symbol strings if hex ticks are supported.
373
3742008-09-29 Nick Clifton <[email protected]>
375
376 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
377 tc_cfi_emit_pcrel_expr macro.
378
4f6d9c90
DJ
3792008-09-28 Daniel Jacobowitz <[email protected]>
380
381 * NEWS: Mention .cfi_val_encoded_addr.
382
2774199c
EB
3832008-09-26 Eric Botcazou <[email protected]>
384
385 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
386 * Makefile.in (TARG_ENV_HFILES): Likewise.
387 * configure.tgt (Solaris targets): Set em=solaris.
388 * config/te-solaris.h: New file.
389
37b32935
JZ
3902008-09-26 Jie Zhang <[email protected]>
391
392 * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
393
f1c4cc75
RH
3942008-09-24 Richard Henderson <[email protected]>
395
396 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
397 (struct cfi_insn_data): Add ea member.
398 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
399 (output_cfi_insn): Handle CFI_val_encoded_addr.
400 (select_cie_for_fde): Don't match CFI_val_encoded_addr.
401 * doc/as.texinfo (.cfi_val_encoded_addr): Document.
402
ead47374
AM
4032008-09-25 Alan Modra <[email protected]>
404
405 PR 6913
406 * listing.c (print_options): Don't call fprintf without format string.
407
9a97a5d7
AM
4082008-09-19 Alan Modra <[email protected]>
409
5db484ff
AM
410 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
411 (TC_VALIDATE_FIX_SUB): Likewise.
412 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
413 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
414 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
415 * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
416 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
417 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
418 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
419 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
420 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
421
9a97a5d7
AM
422 * write.c (md_register_arithmetic): Define.
423 (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
424 Modify error message when registers involved.
425 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
426 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
427
55f8b826
AM
4282008-09-15 Alan Modra <[email protected]>
429
430 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
431
455bde50
AM
4322008-09-15 Alan Modra <[email protected]>
433
434 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
435 relocs with no symbol.
436 * config/tc-mmix.c (md_assemble): Mark fake symbol on
437 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
438 (mmix_md_end): Likewise mark mmix reg contents section symbol.
439
2cf402d6
AM
4402008-09-14 Chris Smith <[email protected]>
441
442 * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
443 broken, as the opcode of ld a,(de) was being emitted for both.
444
51add5c3
BW
4452008-09-12 Sterling Augustine <[email protected]>
446
447 * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
448 operands equal to MAX_INSN_ARGS.
449
d053aef8
JK
4502008-09-11 Jan Kratochvil <[email protected]>
451
452 * configure.in: Call AC_SYS_LARGEFILE.
453 * config.in: Regenerate.
454 * configure: Regenerate.
455
a08f0c75
PB
4562008-09-09 Peter Bergner <[email protected]>
457
458 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
459 Remove POWER5 and POWER6 tests.
460
2b489661
DA
4612008-09-08 John David Anglin <[email protected]>
462
463 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
464 number support for 32-bit targets.
465
6e33da12
TG
4662008-09-08 Tristan Gingold <[email protected]>
467
468 * NEWS: Add a marker for the 2.19 features.
469
3dd24306
DA
4702008-09-07 John David Anglin <[email protected]>
471
ded49c3e
DA
472 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
473 comment regarding use of difference expressions.
474 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
475
3dd24306
DA
476 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
477 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
478 (dot_cfi_lsda, output_cie, output_fde): Likewise.
479 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
480
a79558d9
RS
4812008-09-06 Richard Sandiford <[email protected]>
482
483 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
484
a6c24e68
NC
4852008-09-03 Nick Clifton <[email protected]>
486
487 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
488 alignment field of the .lcomm directive to be optional.
489 (pe_lcomm): New function. Pass pe_lcomm_internal to
490 s_comm_internal.
491 (md_pseudo_table): Implement .lcomm directive for COFF based
492 targets.
493 * doc/c-i386.texi (i386-Directives): New node. Used to document
494 the .lcomm directive.
495
5ead15d9
DA
4962008-08-30 John David Anglin <[email protected]>
497
498 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
499 and NetBSD.
500
c879dfc5
NC
5012008-08-29 Eric B. Weddington <[email protected]>
502
503 * config/tc-avr.c (mcu_types): Add atmega16u4.
504 * doc/c-avr.texi: Likewise.
505
1ca35711
L
5062008-08-28 H.J. Lu <[email protected]>
507
508 * config/tc-ia64.c (CR_IIB0): New.
509 (CR_IIB1): Likewise.
510 (cr): Add cr.iib0 and cr.iib1.
511 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
512
fc0763e6
JB
5132008-08-28 Jan Beulich <[email protected]>
514
515 * config/tc-i386.c (md_assemble): Force number of displacement
516 operands to zero when processing string instruction.
517 (i386_index_check): Special-case string instruction operands. Don't
518 fudge address prefix if there already was a memory operand. Fix
519 error message to correctly reflect the addressing mode used.
520 (i386_att_operand): Fix comment.
521 (i386_intel_operand): Snapshot, clear, and restore base and index
522 reg for each operand processed. Increment count of memory operands
523 later.
524
6bba1048
DA
5252008-08-27 John David Anglin <[email protected]>
526
527 * config/tc-hppa.c (is_SB_relative): New macro.
528 (fix_new_hppa): Remove $segrel$ marker.
529 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
530 segment relative.
531 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
532
a87af027
JB
5332008-08-27 Jan Beulich <[email protected]>
534
535 * config/tc-i386.c (check_string): Use register_prefix for error
536 message.
537 (process_operands): Likewise.
538
7da4f750
MM
5392008-08-26 Mark Mitchell <[email protected]>
540
541 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
542
6429b084
JZ
5432008-08-26 Jie Zhang <[email protected]>
544
545 * config/bfin-parse.y (check_macfunc_option): Fix instruction
546 mode checking.
547 (asm_1): Check mode for 16-bit multiply instructions.
548
da594c4a
AM
5492008-08-24 Alan Modra <[email protected]>
550
551 * configure.in: Update a number of obsolete autoconf macros.
552 * configure: Regenerate.
553 * aclocal.m4: Regenerate.
554
34857dd6
NC
5552008-08-22 Nick Clifton <[email protected]>
556
557 * config/tc-mcore.c (md_assemble): Increase length of name array
558 to include terminating NUL.
559
fec82760
JZ
5602008-08-22 Jie Zhang <[email protected]>
561
562 * config/bfin-lex.l (NUMBER): Protect special `.'.
563
73e24c68
AM
5642008-08-22 Alan Modra <[email protected]>
565
566 * symbols.c (symbol_clone): Ensure clones are not external.
567
4e3b43ed
AM
5682008-08-22 Alan Modra <[email protected]>
569
570 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
571
8c9b70b1
RH
5722008-08-21 Richard Henderson <[email protected]>
573
574 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
575 (output_cie, output_fde): Use it.
576 (DWARF2_EH_FRAME_READ_ONLY): New.
577 (cfi_finish): Use it.
578
579 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
580 (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
581 (DWARF2_EH_FRAME_READ_ONLY): New.
582 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
583 from the results of DIFF_EXPR_OK manipulation.
584
c22a967f
BW
5852008-08-21 Sterling Augustine <[email protected]>
586
587 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
588
28dbbc02
BW
5892008-08-20 Bob Wilson <[email protected]>
590
591 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
592 (O_tpoff, O_dtpoff): Define.
593 (suffix_relocs): Add entries for TLS suffixes.
594 (xtensa_elf_cons): Check for invalid use of TLS relocations.
595 (map_operator_to_reloc): Add is_literal parameter and use it to
596 control translating TLS instruction relocations to the corresponding
597 literal relocations.
598 (xg_valid_literal_expression): Allow TLS operators.
599 (xg_build_to_insn): Copy TLS operators from pseudo-instruction
600 operands to generated literals.
601 (xg_assemble_literal): Handle TLS operators. Update call to
602 map_operator_to_reloc.
603 (md_assemble): Handle CALLXn.TLS pseudo-instruction.
604 (md_apply_fix): Handle TLS relocations.
605 (emit_single_op): Handle TLS operators.
606 (convert_frag_immed): Update call to map_operator_to_reloc.
607 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
608 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
609 * config/xtensa-relax.c (append_literal_op): Add src_op parameter
610 to initialize the op_data field of the BuildOp.
611 (build_transition): Use it here to record the source operand
612 corresponding to a generated literal.
613 * config/xtensa-relax.h (build_op): Comment op_data use for literals.
4e3b43ed 614
41a7d9f3
L
6152008-08-20 H.J. Lu <[email protected]>
616
617 AVX Programming Reference (August, 2008)
618 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
619 (CPU_FLAGS_AVX_MATCH): Likewise.
620 (CPU_FLAGS_32BIT_MATCH): Updated.
621 (cpu_flags_match): Likewise.
622
76d12939
AM
6232008-08-20 Alan Modra <[email protected]>
624
625 PR 6848
626 * write.c (install_reloc): Check that reloc symbols have been
627 written.
628 (set_symtab): Mark symbols with BSF_KEEP.
629
e6a14101
L
6302008-08-18 H.J. Lu <[email protected]>
631
632 * config/tc-i386.c (i386_align_code): Fix a comment typo.
633
7357c5b6
AM
6342008-08-15 Alan Modra <[email protected]>
635
636 PR 6526
637 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
638 * Makefile.in: Regenerate.
639 * aclocal.m4: Regenerate.
640 * config.in: Regenerate.
641 * configure: Regenerate.
642 * doc/Makefile.in: Regenerate.
643
4e96a12e
AM
6442008-08-14 Alan Modra <[email protected]>
645
646 * config/tc-tic4x.c (tic4x_operands_parse): Make static.
647
9e9a9798
BE
6482008-08-13 Ben Elliston <[email protected]>
649
650 * doc/as.texinfo (Align): Document the PowerPC behaviour.
651
5a49b8ac
AM
6522008-08-13 Alan Modra <[email protected]>
653
654 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
655 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
656 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
657 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
658 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
659 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
660 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
661 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
662 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
663 and PTR. Convert to ISO C. Delete unnecessary forward declarations.
664
db0bc284
AM
6652008-08-12 Alan Modra <[email protected]>
666
667 * config/tc-arm.c (s_unreq): Adjust hash_delete call.
668 * config/tc-ia64.c (dot_rot): Likewise.
669
818236e5
AM
6702008-08-11 Alan Modra <[email protected]>
671
672 PR 6575
673 * hash.c: Expand PTR to void *.
674 (hash_delete): Add "freeme" parameter. Call obstack_free.
675 * hash.h: Expand PTR to void *.
676 (hash_delete): Update prototype.
677 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
678 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
679 call.
680 (subsym_substitute): Likewise.
681 * doc/internals.texi (hash_delete): Update.
682
7b21ac3f
EW
6832008-08-08 Anatoly Sokolov <[email protected]>
684
685 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
818236e5
AM
686 architectures. Reorganize list to put mcu types in correct
687 architectures and to order list same as in GCC. Use new ISA
688 definitions in include/opcode/avr.h.
7b21ac3f
EW
689 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
690 descriptions. Reorganize descriptions to put mcu types in correct
691 architectures and to order lists same as in GCC.
692
861fb55a
DJ
6932008-08-08 Richard Sandiford <[email protected]>
694 Daniel Jacobowitz <[email protected]>
695
696 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
697 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
698 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
699 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
700 (md_longopts): Add -call_nonpic.
701 (md_parse_option): Handle OPTION_CALL_NONPIC.
702 (md_show_usage): Add -call_nonpic.
703
532f93bd 7042008-08-08 Sterling Augustine <[email protected]>
818236e5 705
532f93bd
BW
706 * config/tc-xtensa.c (exclude_section_from_property_tables): New.
707 (xtensa_create_property_segments): Use it.
708 (xtensa_create_xproperty_segments): Likewise.
818236e5 709
c3c36456
AM
7102008-08-08 Alan Modra <[email protected]>
711
712 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
713
738e5348
RS
7142008-08-06 Richard Sandiford <[email protected]>
715
716 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
717 (lo16_reloc_p): New functions.
718 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
719 generalize relocation checks.
720 (matching_lo_reloc): New function.
721 (fixup_has_matching_lo_p): Use it.
722 (mips16_mark_labels): Don't clobber a symbol's visibility.
723 (append_insn): Use hi16_reloc_p and lo16_reloc_p.
724 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
725 (md_apply_fix): Likewise.
726 (mips16_percent_op): Add %got and %call16.
727 (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
728 Use matching_lo_reloc.
729 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
730 generalize relocation checks.
731 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
732 checks.
733
6fd4f6cc
DD
7342008-08-06 DJ Delorie <[email protected]>
735
736 * NEWS: Mention these changes.
737
738 * config/tc-h8300.h (H_TICK_HEX): Define.
739 * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
740 (md_longopts): Add "-h-tick-hex".
741 (md_parse_option): Support it.
742 * doc/c-h8300.texi (H8/300 Options): Document it.
743 * doc/as.texinfo (Overview): Likewise.
818236e5 744
6fd4f6cc
DD
745 * config/tc-sh.h (H_TICK_HEX): Define.
746 * config/tc-sh.c (OPTION_H_TICK_HEX): New.
747 (md_longopts): Add "-h-tick-hex".
748 (md_parse_option): Support it.
749 * doc/c-sh.texi (SH Options): Document it.
750 * doc/c-sh64.texi (SH64 Options): Document it.
751 * doc/as.texinfo (Overview): Likewise.
752
7cadeb2c
AM
7532008-08-05 Alan Modra <[email protected]>
754
755 PR gas/6656
756 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
757 debug info if we see compiler generated debug info.
758 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
759
413a266c
AM
7602008-08-04 Alan Modra <[email protected]>
761
762 * dwarf2dbg.c: Remove superfluous forward function declarations.
763 (DWARF2_FORMAT): Add section arg.
764 (out_header): New function, split out from..
765 (out_debug_line): ..here.
766 (out_debug_aranges): Use out_header.
767 (out_debug_abbrev): Add info_seg and line_seg args. Use
768 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
769 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
770 if line_seg is 64-bit.
771 (dwarf2_finish): Adjust out_debug_abbrev call.
772 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
773 * config/tc-mips.c (mips_dwarf2_format): Likewise.
774
323ee3f4
AM
7752008-08-04 Alan Modra <[email protected]>
776
777 * Makefile.am (POTFILES.in): Set LC_ALL=C.
778 * Makefile.in: Regenerate.
779 * po/POTFILES.in: Regenerate.
780
9b4e5766
PB
7812008-08-01 Peter Bergner <[email protected]>
782
783 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
784 Handle -mvsx and -mpower7.
785 (md_show_usage): Document -mpower7 and -mvsx.
786 * doc/as.texinfo (Target PowerPC): Document -mvsx.
787 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
788
38233209
PB
7892008-07-31 Peter Bergner <[email protected]>
790
791 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
792 <cell>: Likewise.
793
081ba1b3
AM
7942008-07-30 Michael J. Eager <[email protected]>
795
796 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
797 (md_show_usage): Likewise.
798
0af1713e
AM
7992008-07-30 Alan Modra <[email protected]>
800
801 * messages.c, symbols.c, write.c: Silence gcc warnings.
802
2cfe26b6
AM
8032008-07-28 Ineiev <[email protected]>
804
805 * config/tc-i386.c (operand_type_check): Warning fix.
806
3c7b9897
AM
8072008-07-26 Michael Eager <[email protected]>
808
809 * doc/as.texinfo: Add description of single-precision attribute.
810
81fd73ed
JZ
8112008-07-24 Jie Zhang <[email protected]>
812
813 * config/bfin-parse.y (asm_1): Error if plain symbol is used
814 as load/store offset.
815
570de991
NC
8162008-07-22 Chao-ying Fu <[email protected]>
817
818 * config/tc-mips.c (mips_ip): Reset s to argsStart.
819
b4f42c96
JZ
8202008-07-22 Jie Zhang <[email protected]>
821
822 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
823
cc189afc
DD
8242008-07-21 DJ Delorie <[email protected]>
825
826 * config/tc-h8300.c (fix_operand_size): Use the default size
827 specified by the .lbranch/.sbranch pseudos.
828
c54b5932
DD
8292008-07-18 DJ Delorie <[email protected]>
830
831 * config/tc-m32c.h (H_TICK_HEX): Define.
832 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
833 (md_longopts): Add support for it.
834 (md_parse_option): Likewise.
835 * doc/as.texinfo (Overview): Add new m32c options.
836 * doc/c-m32c.texi (M32C-Modifiers): Likewise
837
838 * as.h: (enable_h_tick_hex): New.
839 * app.c (enable_h_tick_hex): New.
840 (LEX_IS_H): New.
841 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
842 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
843 style hex constants and convert the input stream to 0x00 style.
844 (do_scrub_chars): If a 'X style character constant is found after
845 a symbol character (like you're or X'00), warn the user.
846
30c09090
RS
8472008-07-10 Richard Sandiford <[email protected]>
848
849 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
850 (mips_fix_adjustable): Likewise.
851 (mips_frob_file_after_relocs): Likewise.
852
bfbba8e4
NS
8532008-07-08 Nathan Sidwell <[email protected]>
854
855 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
856 about overriding an earlier setting.
857
b19e8a9b
AN
8582008-07-07 Adam Nemet <[email protected]>
859
860 * config/tc-mips.c (NO_ISA_COP): New macro.
861 (COP_INSN): New macro.
862 (is_opcode_valid): Use them.
863 (macro) <ld_st>: Use them. Don't accept coprocessor load store
864 insns based on the ISA if CPU is NO_ISA_COP.
865 <copz>: Likewise for coprocessor operations.
866
79947c54
CD
8672008-07-07 Paul Brook <[email protected]>
868
869 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
2cfe26b6 870 relocations.
79947c54 871
9990da1d
NC
8722008-07-07 Ralf Corsépius <[email protected]>
873
874 * configure.tgt: Add bfin-*-rtems*.
875
d62f07d0
AM
8762008-07-04 Alan Modra <[email protected]>
877
878 * config/tc-spu.c (md_apply_fix): Handle fully resolved
879 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
880
c8187e15
PB
8812008-06-25 Peter Bergner <[email protected]>
882
883 * config/tc-ppc.c (parse_cpu): Handle -m464.
884 (md_show_usage): Likewise.
885
3bb06f78
EW
8862008-06-24 Eric B. Weddington <[email protected]>
887
888 Add support for ATtiny13A.
889 * config/tc-avr.c (mcu_types): Add attiny13a.
890 * doc/c-avr.texi: Likewise.
891
6afe8e98
AM
8922008-06-24 Bob Wilson <[email protected]>
893 Alan Modra <[email protected]>
894
895 * write.c (relax_segment <rs_org>): Include current stretch
896 value when calculating whether .org is backwards.
897
7a283e07
RW
8982008-06-17 Ralf Wildenhues <[email protected]>
899
900 * configure: Regenerate.
901
0146fc9d
NC
9022008-06-17 Nick Clifton <[email protected]>
903
904 * app.c (do_scrub_chars): Do not UNGET an EOF value.
905
1afc8def
HPN
9062008-06-16 Hans-Peter Nilsson <[email protected]>
907
908 PR gas/6607
909 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
910 text_section. Do the "stepping backwards" test for text_section
911 using unsigned operands.
912
fa452fa6
PB
9132008-06-13 Peter Bergner <[email protected]>
914
915 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
916 (ppc_insert_operand): Likewise.
917 (ppc_machine): Likewise.
918 * config/tc-ppc.h: #include "opcode/ppc.h"
919 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
920 (ppc_cpu): Update extern decl.
921
bb35fb24
NC
9222008-06-12 Adam Nemet <[email protected]>
923
924 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
925 +x, +X, +p, +P, +s, +S.
926 (mips_ip): Likewise.
927
dd3cbb7e
NC
928 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
929 (mips_ip): Likewise.
930 (macro_build): Likewise.
931 (CPU_HAS_SEQ): New macro.
932 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
933
e8568f6c
EW
9342008-06-09 Eric B. Weddington <[email protected]>
935
936 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
937 * doc/c-avr.texi: Likewise.
938
83bd7402
NC
9392008-06-04 Nick Clifton <[email protected]>
940
941 * app.c (do_scrub_chars): Do not UNGET an EOF value.
942
cb19c032
L
9432008-06-03 H.J. Lu <[email protected]>
944
945 * config/tc-i386.c (set_sse_check): New.
946 (md_pseudo_table): Add "sse_check".
947
4ecab7d4
PB
9482008-06-03 Paul Brook <[email protected]>
949
950 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
951
0a903bab
NC
9522008-05-30 Nick Clifton <[email protected]>
953
954 PR 5523
955 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
956 relocs here.
957
b15591bb
AN
9582008-05-29 Maxim Kuvyrkov <[email protected]>
959
960 * config/tc-mips.c (mips_cpu_info_table): Move records for
961 ST Loongson-2E/2F processors to a better place.
962
95f283e8
L
9632008-05-23 H.J. Lu <[email protected]>
964
965 PR gas/6518
966 * config/tc-i386.c (match_template): Report ambiguous operand
967 size, not invalid suffix when there is no match in Intel
968 syntax.
969
c462b453
PB
9702008-05-22 Paul Brook <[email protected]>
971
972 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
973
7fac0536
NC
9742008-05-21 I-Jui Sung <[email protected]>
975
976 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
977 compatible cores: fa526, fa626, fa626te, fa726te.
978 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
979 fa726te} options.
980
8944f3c2
AM
9812008-05-14 Alan Modra <[email protected]>
982
983 * Makefile.am: Run "make dep-am".
984 * Makefile.in: Regenerate.
985 * doc/Makefile.in: Regenerate.
986 * po/POTFILES.in: Regenerate.
987
35903be0
CM
9882008-05-09 Catherine Moore <[email protected]>
989
990 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
991 with non-MIPS16 relocs.
992
c41e87e3
CF
9932008-05-09 Chao-ying Fu <[email protected]>
994
995 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
996 case that some characters append at the end of the name.
997 (mips_ip): Likewise.
998 (s_change_sec): Likewise.
999 (md_section_align): Likewise.
1000
51c8ebc1
BW
10012008-05-07 Bob Wilson <[email protected]>
1002
1003 * config/tc-xtensa.c (xtensa_create_property_segments): Use
1004 xtensa_make_property_section instead of xtensa_get_property_section.
1005 (xtensa_create_xproperty_segments): Likewise.
1006
f1f8f695
L
10072008-05-02 H.J. Lu <[email protected]>
1008
1009 * NEWS: Mention XSAVE, EPT and MOVBE.
1010
1011 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
1012 (md_show_usage): Add .movbe and .ept.
1013
1014 * doc/c-i386.texi: Add movbe and ept to -march=. Document
1015 .movbe and .ept.
1016
2b661f3d
DM
10172008-04-29 David S. Miller <[email protected]>
1018
1019 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
1020
037b32b9
AN
10212008-04-28 Adam Nemet <[email protected]>
1022
1023 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
1024 New statics.
1025 (OPTION_ELF_BASE): Make room for new option macros.
1026 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
1027 OPTION_DOUBLE_FLOAT): New option macros.
1028 (md_longopts): Add msoft-float, mhard-float, msingle-float and
1029 mdouble-float.
1030 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
1031 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
1032 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
1033 and -mdouble-float.
1034 (struct mips_set_options): New fields soft_float and single_float.
1035 (mips_opts): Initialized them. Add comment for each field
1036 initializer.
1037 (mips_after_parse_args): Set them based on file_mips_soft_float
1038 and file_mips_single_float.
1039 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
1040 `.set singlefloat' and `.set doublefloat'.
1041 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
1042 Handle single-float and soft-float instructions here.
1043 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
1044 (is_opcode_valid_16): New function.
1045 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
1046 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
1047 M_S_DOB>: Remove special-casing of r4650.
1048 * doc/c-mips.texi (-march=): Add Octeon.
1049 (MIPS Opts): Document -msoft-float and -mhard-float. Document
1050 -msingle-float and -mdouble-float.
1051 (MIPS floating-point): New section. Document `.set softfloat' and
1052 `.set hardfloat'. Document `.set singlefloat' and `.set
1053 doublefloat'.
1054
f04d18b7
DM
10552008-04-25 David S. Miller <[email protected]>
1056
1057 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
1058 %asr aliases.
1059
1060 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
1061 rather than occaisionally 'levels'. Consistently refer to Sun's
1062 UNIX variant as SunOS, every version of Solaris is also SunOS.
1063 Document new 'softint_clear' and 'softint_set' aliases. Clarify
1064 which architecture versions support '%dcr', '%cq', and '%gl'. Add
1065 section on 32-bit/64-bit opcode translations.
1066
fe4fa32c
MF
10672008-04-23 Mike Frysinger <[email protected]>
1068
1069 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
1070 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
1071 (obj-fdpicelf.o): Define.
1072 * Makefile.in: Regenerate.
1073 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
1074 (bfin-*-*): Delete.
1075 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
1076 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
1077 * config/obj-fdpicelf.c: New.
1078 * config/obj-fdpicelf.h: Likewise.
1079 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
1080 the OBJ_FDPIC_ELF define.
1081 (OPTION_NOPIC): Define.
1082 (md_longopts): Add mnopic and mno-fdpic.
1083 (md_parse_option): Handle OPTION_NOPIC.
1084
6194aaab
L
10852008-04-23 Paolo Bonzini <[email protected]>
1086
1087 * aclocal.m4: Regenerate.
1088 * configure: Regenerate.
1089
1a6b486f
DM
10902008-04-23 David S. Miller <[email protected]>
1091
1092 * config/tc-sparc.c (v9a_asr_table): Add missing
1093 'stick' and 'stick_cmpr', and document ordering rules
1094 of table.
1095 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
1096 BFD_RELOC_SPARC_PC10.
1097 * doc/c-sparc.texi: New section on Sparc constants.
1098 Add documentation for %stick and %stick_cmpr.
1099
879d3736
NC
11002008-04-22 David S. Miller <[email protected]>
1101
1102 * config/obj-elf.c (obj_elf_section_type): Add prototype
1103 before obj_elf_section_word and add 'warn' arg.
1104 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
1105 is matched, try checking for #SECTION_TYPE.
1106 (obj_elf_section): Adjust for new args.
1107 (obj_elf_type_name): New function.
1108 (obj_elf_type): Call it, and accept STT_foo number strings
1109 in .type statements as output by SunPRO compiler.
1110
81f8a913
L
11112008-04-22 H.J. Lu <[email protected]>
1112
1113 * config/tc-i386.c (md_assemble): Don't check SSE instructions
1114 if noavx is 0.
1115
c15295d5
DM
11162008-04-18 David S. Miller <[email protected]>
1117
1118 * doc/c-sparc.texi: Add syntax section.
1119
eff014d9
L
11202008-04-18 H.J. Lu <[email protected]>
1121
1122 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
1123 REG and NDS for instructions with immediate operand.
1124
dae39acc
L
11252008-04-18 H.J. Lu <[email protected]>
1126
1127 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
1128 FMA.
1129
739f7f82
DM
11302008-04-16 David S. Miller <[email protected]>
1131
1132 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
1133 and relocation generation.
1134 (tc_gen_reloc): Likewise.
1135
52b5ca5b
AS
11362008-04-15 Andrew Stubbs <[email protected]>
1137
1138 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
1139 relocations are properly aligned, and not negative.
1140
a5f245b5
NC
11412008-04-15 Khem Raj <[email protected]>
1142
1143 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
1144
19a6653c
AM
11452008-04-14 Edmar Wienskoski <[email protected]>
1146
1147 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
1148 accept e500mc instructions.
1149 (md_show_usage): Document -me500mc.
1150
d5a35a55
NC
11512008-04-11 Nick Clifton <[email protected]>
1152
1153 * listing.c (print_timestamp): Use localtime rather than
1154 localtime_r since not all build environments provide the latter.
1155
daf50ae7
L
11562008-04-10 H.J. Lu <[email protected]>
1157
1158 * NEWS: Mention -msse-check=[none|error|warning].
1159
1160 * config/tc-i386.c (sse_check): New.
1161 (OPTION_MSSE_CHECK): Likewise.
1162 (md_assemble): Check SSE instructions if needed.
1163 (md_longopts): Add -msse-check.
1164 (md_parse_option): Handle OPTION_MSSE_CHECK.
1165 (md_show_usage): Show -msse-check=[none|error|warning].
1166
1167 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
1168
83f10cb2
NC
1169