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