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