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