* freebsd.h (Target_freebsd::do_adjust_elf_header): Use size
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
921e5f0a
PB
12009-07-01 Paul Brook <paul@codesourcery.com>
2
3 * config/tc-arm.c (MISSING_FNSTART): Define.
4 (s_arm_unwind_fnstart): Diagnose duplicate directive.
5 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
6 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
7 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
8 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
9 not inside function unwinding region.
10
7ab9ffdd
L
112009-06-29 H.J. Lu <hongjiu.lu@intel.com>
12
13 * config/tc-i386.c: Reformat.
14
3ef23cd4
DD
152009-06-23 DJ Delorie <dj@redhat.com>
16
17 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
18 32 bits for relaxable branches so that we can relax them later.
19 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
20 (mep_relax_frag): New.
21 (md_convert_frag): Relax IVC2 branches in-place.
22 * config/tc-mep.h ((mep_relax_frag): New.
23
9c2799c2
NC
242009-06-22 Martin Thuresson <martin@mtme.org>
25
26 * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
27 gas/config/atof-ieee.c, gas/config/obj-aout.c,
28 gas/config/obj-coff.c, gas/config/obj-ecoff.c,
29 gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
30 gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
31 gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
32 gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
33 gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
34 gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
35 gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
36 gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
37 gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
38 gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
39 gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
40 gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
41 gas/config/tc-s390.c, gas/config/tc-score.c,
42 gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
43 gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
44 gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
45 gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
46 gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
47 gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
48 gas macro `assert' to `gas_assert'.
49
e07e6e58
NC
502009-06-22 Daniel Gutson <dgutson@codesourcery.com>
51
52 * config/tc-arm.c (implicit_it_mode): New enum.
53 (implicit_it_mode): New global.
54 (it_instruction_type): New enum.
55 (arm_parse_it_mode): New function.
56 (arm_long_opts): New option added.
57 (arm_it): New field.
58 (it_state): New enum.
59 (now_it): New macro.
60 (check_it_blocks_finished): New function.
61 (insns[]): Use the IT Thumb opcodes for ARM too.
62 (arm_cleanup): Call check_it_blocks_finished.
63 (now_it_compatible): New function.
64 (conditional_insn): New function.
65 (set_it_insn_type): New macro.
66 (set_it_insn_type_last): New macro.
67 (do_it): Call automatic IT machinery functions.
68 (do_t_add_sub): Likewise
69 (do_t_arit3): Likewise.
70 (do_t_arit3c): Likewise.
71 (do_t_blx): Likewise.
72 (do_t_branch): Likewise.
73 (do_t_bkpt): Likewise.
74 (do_t_branch23): Likewise.
75 (do_t_bx): Likewise.
76 (do_t_bxj): Likewise.
77 (do_t_cps): Likewise.
78 (do_t_cpsi): Likewise.
79 (do_t_cbz): Likewise.
80 (do_t_it): Likewise.
81 (encode_thumb2_ldmstm): Likewise.
82 (do_t_ldst): Likewise.
83 (do_t_mov_cmp): Likewise.
84 (do_t_mvn_tst): Likewise.
85 (do_t_mul): Likewise.
86 (do_t_neg): Likewise.
87 (do_t_setend): Likewise.
88 (do_t_shift): Likewise.
89 (do_t_tb): Likewise.
90 (output_it_inst): New function.
91 (new_automatic_it_block): New function.
92 (close_automatic_it_block): New function.
93 (now_it_add_mask): New function.
94 (it_fsm_pre_encode): New function.
95 (handle_it_state): New function.
96 (it_fsm_post_encode): New function.
97 (force_automatic_it_block_close): New function.
98 (in_it_block): New function.
99 (md_assemble): Call automatic IT block machinery functions.
100 (arm_frob_label): Likewise.
101 (arm_opts): New element.
102 * config/tc-arm.h (it_state): New enum.
103 (current_it): New struct.
104 (arm_segment_info_type): New member added.
105 * doc/c-arm.texi: New option -mimplicit-it documented.
106
90dce00a
AM
1072009-06-20 Alan Modra <amodra@bigpond.net.au>
108
109 PR 10302
110 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
111
5e7c27a6
MS
1122009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
113
114 * config/tc-s390.c (md_gather_operands): Accept an instruction
115 without operands if all operands are tagged as optional.
116
3a21c15a
NC
1172009-06-18 Nick Clifton <nickc@redhat.com>
118
119 PR 10169
120 * gas/tc-arm.c (do_t_ssat): Move common code from here...
121 (do_t_usat): ... and here to...
122 (do_t_ssat_usat): New function: ... here. Add code to check that
123 the shift value, if present, is in range.
124
361dff73
DK
1252009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
126
32425da9
NC
127 Merge cegcc and mingw32ce target name changes
128 from CeGCC project:
361dff73 129
32425da9 130 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
131
132 * configure.tgt: Add arm*-*-cegcc* target.
133
32425da9 134 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
135
136 * configure.tgt: Add arm-*-mingw32ce* target.
137
7b6021f1
MR
1382009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
139
140 * config/tc-vax.c (md_estimate_size_before_relax): Accept
141 indirect symbol references in the PIC mode and emit a
142 PC-relative relocation instead of a GOT/PLT one. Likewise
143 for symbols known to be hidden at this point.
144
fe2ceba1
NC
1452009-06-15 Nick Clifton <nickc@redhat.com>
146
147 PR 10186
148 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
149 instruction.
150
c25bc9fc
L
1512009-06-13 H.J. Lu <hongjiu.lu@intel.com>
152
153 PR ld/10269
154 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
155 instead of generic_force_reloc.
156
157 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
158
f865a31d
AG
1592009-06-11 Anthony Green <green@moxielogic.com>
160
161 * config/tc-moxie.c (md_chars_to_number): Define.
162 (md_begin): Populate opcode hashtable with more form 3 opcodes.
163 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
164 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
165 (tc_gen_reloc): Ditto.
166 (md_pcrel_from): Ditto.
167 (md_chars_to_number): New function.
168
d7a5ed35
AG
1692009-06-10 Anthony Green <green@moxielogic.com>
170
171 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
172 opcodes.
173
1fbfe785
JJ
1742009-06-09 Jakub Jelinek <jakub@redhat.com>
175
176 PR gas/10255
177 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
178 to DW_CFA_advance_loc4.
179
fbeb56a4
DK
1802009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
181
182 PR gas/977
183 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
184 branches to weak symbols.
185 (md_apply_fix): Don't convert fixes against weak symbols to
186 section-relative offsets, but save addend for later reloc emission.
187 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
188 addend to pre-compensate for bfd_install_relocation.
189
26d1917c
AM
1902009-06-04 Alan Modra <amodra@bigpond.net.au>
191
192 * dep-in.sed: Don't use \n in replacement part of s command.
193 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
194 * Makefile.in: Regenerate.
195
d160e035
L
1962009-06-01 H.J. Lu <hongjiu.lu@intel.com>
197
198 PR gas/10198
199 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
200
ff239038
CM
2012009-05-26 Catherine Moore <clm@codesourcery.com>
202
203 * config/tc-mips.c (check_for_24k_errata): Remove.
204 (md_mips_end): Remove call to check_for_24k_errata.
205 (start_noreorder): Likewise.
206 (s_change_sec): Likewise.
207 (s_change_section): Likewise.
208 (insns_between): Add 24k errata checks.
209 (append_insn): Remove declaration and references to nhdx_24k.
210 Remove calls to check_for_24k_errata.
211
f12e7348
NC
2122009-05-26 Nick Clifton <nickc@redhat.com>
213
214 * po/id.po: Updated Indonesian translation.
215 * po/gas.pot: Updated template file.
216
f8f003f1
NC
2172009-05-26 Nick Clifton <nickc@redhat.com>
218
219 PR 10143
220 * config/bfin-parse.y (error): Use "%s" as format string for error
221 message.
222
5de4cd13
AM
2232009-05-26 Alan Modra <amodra@bigpond.net.au>
224
225 * dep-in.sed: Output one filename per line with all lines having
226 continuation backslash. Prefix first line with "A", following
227 lines with "B".
228 * Makefile.am (DEP): Don't use dep.sed here.
229 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
230 sort and uniq.
231 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
232 Emit multi dependencies on one line.
233 * Makefile.in: Regenerate.
234
295fa3cf 2352009-05-25 Tristan Gingold <gingold@adacore.com>
cb0e7c25
TG
236
237 * makefile.vms: New file to compile gas on VMS.
238
239 * configure.com: New file to do configuration on VMS with DCL.
240
65b02341
RS
2412009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
242
243 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
244 (nops_for_insn): Likewise.
245
ad04f5ce
L
2462009-05-22 H.J. Lu <hongjiu.lu@intel.com>
247
248 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
249
c1e679ec
DR
2502009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
251
252 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
253 (build_modrm_byte): Remove DREX handling support.
254 (DREX_*): Delete.
255 (drex_byte): Delete.
256 (md_assemble): Remove DREX handling support.
257 (process_operands): Remove DREX, SSE5 support.
258 (i386_insn): Remove DREX.
259
2b3decb5
AM
2602009-05-22 Alan Modra <amodra@bigpond.net.au>
261
262 * Makefile.am: Run "make dep-am".
263 * Makefile.in: Regenerate.
264
321098a5
L
2652009-05-20 Kai Tietz <kai.tietz@onevision.com>
266 H.J. Lu <hongjiu.lu@intel.com>
267
268 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
269 (TARGET_FORMAT): Removed for x86 pe-coff.
270 (COFF_TARGET_FORMAT): Likewise.
271
272 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
273 (md_parse_option): Likewise.
274 (md_show_usage): Show option --32/--64 for x86 pe-coff.
275 (i386_target_format): Use also for x86 pe-coff.
276
277 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
278 for x86 pe-coff.
279
b899d332
DD
2802009-05-19 DJ Delorie <dj@redhat.com>
281
282 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
283 (mep_process_saved_insns): Remove debugging printfs.
284
c1711530
DK
2852009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
286
287 * NEWS: Mention new feature.
288 * config/obj-coff.c (obj_coff_common_parse): New function.
289 (obj_coff_comm): Likewise.
290 (coff_pseudo_table): Override default ".comm" definition on PE.
291 * doc/as.texinfo: Document new feature.
292
63ad59ae
KT
2932009-05-17 Kai Tietz <kai.tietz@onevision.com>
294
321098a5
L
295 * config/obj-coff.c (obj_coff_section): Add 'y' as
296 specifier for SEC_COFF_NOREAD section flag.
63ad59ae
KT
297 * doc/as.texinfo: Add documentation about .section flag 'y'.
298
77ca1325
DD
2992009-05-13 DJ Delorie <dj@redhat.com>
300
301 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
302
42a68e18
AJ
3032009-05-13 Andrew Jenner <andrew@codesourcery.com>
304
305 * config/tc-arm.c: Move as.h to start of file.
306
267bf995
RR
3072009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
308
84df6011 309 * config/tc-arm.h: Fix typo in comment.
267bf995
RR
310 (ARM_IS_FUNC): New macro.
311 (MD_APPLY_SYM_VALUE): Define.
312
84df6011 313 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
267bf995
RR
314 all versions of EABI.
315 (relax_branch): Do not relax for branches to ARM functions.
316 (md_pcrel_from_section): Set up base correctly for
317 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
318 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
319 BFD_RELOC_ARM_PCREL_CALL.
320 (md_apply_fix): Flip bl to blx where possible.
321 Flip blx to bl where possible.
322 (arm_force_relocation): Force relocations for
323 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
324 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
325 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
326 BFD_RELOC_THUMB_PCREL_BRANCH25.
327 (arm_apply_sym_value): New function.
328
eb979bfb
TG
3292009-05-04 Tristan Gingold <gingold@adacore.com>
330
331 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
332
45eb4c1b
NS
3332009-05-01 Nathan Sidwell <nathan@codesourcery.com>
334
335 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
336 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
337 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
338 the default FPU from the processor.
339
00adf2d4
JB
3402009-05-01 Julian Brown <julian@codesourcery.com>
341
342 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
343 (md_pcrel_from_section): Align address for BLX.
344 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
345 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
346
3526b680
DD
3472009-04-29 DJ Delorie <dj@redhat.com>
348
349 * config/tc-mep.c (md_begin): Check coprocessor type.
350 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
351 (md_check_parallel32_scheduling): Likewise.
352 (slot_ok): New.
353 (mep_check_ivc2_scheduling): New.
354 (mep_check_parallel_scheduling): Call it.
355 (mep_process_saved_insns): Add IVC2 slot support.
356 (md_assemble): Likewise.
357
d8045f23
NC
3582009-04-30 Nick Clifton <nickc@redhat.com>
359
360 * config/obj-elf.c (obj_elf_type): Add support for a
361 gnu_indirect_function type.
362 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
363 against indirect function symbols.
364 * doc/as.texinfo (.type): Document the support for the
365 gnu_indirect_function symbol type.
366 * NEWS: Mention the new feature.
367
92846e72
CC
3682009-04-24 Cary Coutant <ccoutant@google.com>
369
370 * NEWS: Add item about discriminator support.
371 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
372 * dwarf2dbg.c (current): Add discriminator field.
373 (dwarf2_where): Copy discriminator value.
374 (dwarf2_consume_line_info): Set discriminator to 0.
375 (dwarf2_directive_loc): Process discriminator sub-op.
376 (out_leb128): New function.
377 (process_entries): Output DW_LNE_set_discriminator.
378 * doc/as.texinfo: Add discriminator operand to .loc directive.
92846e72 379
520725ea
NS
3802009-04-22 Nathan Sidwell <nathan@codesourcery.com>
381
382 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
383 as_bad calls to silence compiler warning.
384
7ac3eb25
L
3852009-04-21 H.J. Lu <hongjiu.lu@intel.com>
386
387 * config/tc-i386-intel.c (O_XXX): Reorder.
388
ee86248c
JB
3892009-04-20 Jan Beulich <jbeulich@novell.com>
390
391 * Makefile.am: Add explicit dependency of tc-i386.o on
392 tc-i386-intel.c.
393 * Makefile.in: Likewise.
394 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
395 out from i386_immediate.
396 (i386_immediate): Slightly re-arrange, call
397 i386_finalize_immediate.
398 (i386_finalize_displacement): Declare, broken out from
399 i386_displacement.
400 (i386_displacement): Slightly re-arrange, call
401 i386_finalize_displacement.
402 (i386_intel_simplify, i386_intel_parse_name): Declare.
403 (this_operand): Initialize to -1.
404 (set_intel_syntax): Set expression rank for O_full_ptr.
405 (md_assemble): Set this_operand back to -1 after parsing
406 operands.
407 (x86_cons): Negate intel_syntax to indicate state. Call
408 i386_intel_simplify.
409 (md_operand): Convert if to switch. Handle '[' for Intel
410 syntax.
411 (i386_intel_operand): Delete, including all helper functions
412 and data.
413 * config/tc-i386-intel.c: New file, all new code.
414 * config/tc-i386.h (i386_operator): Declare.
415 (md_operator): Define to i386_operator.
416 (i386_need_index_operator): Declare.
417 (md_need_index_operator): Define to i386_need_index_operator.
418 (O_full_ptr): Define.
419
fcaed75e
JB
4202009-04-20 Jan Beulich <jbeulich@novell.com>
421
422 * expr.c (operand): Call md_need_index_operator() and
423 md_operator() if defined. Add unary label.
424 (operator): Call md_operator() if defined.
425 (expr): Adjust assertions on range and rank of op_left and
426 op_right. Don't abort on unhandled operators when reducing
427 expressions with both operands being constant.
428 (expr_set_rank): New.
429 * expr.h (expr_set_rank): Declare.
430
51a5d0aa 4312009-04-15 Anthony Green <green@moxielogic.com>
20135e4c
NC
432
433 * config/tc-moxie.h: New file.
434 * config/tc-moxie.c: New file.
435 * configure: Add support for moxie.
436 * configure.tgt: Add support for moxie.
437
d85733c8
JB
4382009-04-16 Jan Beulich <jbeulich@novell.com>
439
440 * expr.c: Include limits.h if available, and #define CHAR_BITS
441 otherwise.
442 (expr): Check range of shift count when evaluating a constant
443 expression.
444
d8a1b51e
JB
4452009-04-15 Jan Beulich <jbeulich@novell.com>
446
447 * config/tc-i386.c (process_operands): Print operands in
448 correct order depending on intel_syntax.
449
6a32d874
CM
4502009-04-09 Catherine Moore <clm@codesourcery.com>
451
452 * config/tc-mips.c (mips_fix_24k): Declare.
453 (check_for_24k_errata): New.
454 (mips_cleanup): Call check_for_24k_errata.
455 (start_noreorder): Likewise.
456 (md_mips_end): Likewise.
457 (s_change_sec): Likewise.
458 (s_change_section): Likewise.
459 (append_insn): Call check_for_24k_errata. Prevent
460 ERET/DERET instructions from being moved into delay
461 slots.
462 (OPTION_FIX_24K): New.
463 (OPTION_NO_FIX_24k) New.
464 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
465 (md_parse_option): Handle fix-24k options.
466 (md_show_usage): Display fix-24k options.
467 * doc/c-mips.texi: Document.
6a32d874 468
6b6b3450
AN
4692009-04-09 Adam Nemet <anemet@caviumnetworks.com>
470
471 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
472 instead of HAVE_64BIT_SYMBOLS.
473
4d28413b
DD
4742009-04-07 DJ Delorie <dj@redhat.com>
475
476 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
477 (md_show_usage): Change default endian to little.
478 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
479
bcb012d3
DD
4802009-04-06 DJ Delorie <dj@redhat.com>
481
482 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
483 immediates.
484 (build_bytes): Pass insn to do_a_fix_imm.
485
5b19eaba
NC
4862009-04-02 Daniel Gutson <dgutson@codesourcery.com>
487
488 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
489 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
490 Cortex-M1.
491
745435b6
MT
4922009-04-01 Matt Thomas <matt@netbsd.org>
493
494 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
495 (md_assemble): emit symbol name when used as immediate in PIC mode.
496 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
497
1ec520b7
SA
4982009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
499
500 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
501
4343666d
RR
5022009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
503
504 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
505 (find_real_start): Likewise.
506 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
507
e7495e45
NS
5082009-04-01 Nathan Sidwell <nathan@codesourcery.com>
509
510 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
511 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
512 whenever possible.
513
42240548
PB
5142009-03-31 Peter Bergner <bergner@vnet.ibm.com>
515
516 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
517
adfd7328
DK
5182009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
519
520 * doc/internals.texi: Fix trivial syntax errors.
521
0cc9e1d3
AM
5222009-03-26 Alan Modra <amodra@bigpond.net.au>
523
524 PR 10005
525 * config/tc-i386.c (reloc): Don't abort on lack of required
526 reloc type.
527
41aacd83
L
5282009-03-25 H.J. Lu <hongjiu.lu@intel.com>
529
530 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
531 arch.
532
d67ffd56
L
5332009-03-23 H.J. Lu <hongjiu.lu@intel.com>
534
535 PR gas/9966
536 * listing.c (listing_newline): Properly handle `\\"' and ';'.
537
538 * read.c (is_end_of_line): Update comments for line separator.
539 (read_begin): Set line separator in is_end_of_line to 2.
540
b7cac25f
DM
5412009-03-19 David S. Miller <davem@davemloft.net>
542
543 * config/tc-sparc.c (md_parse_option): If the user gives
544 us '--64' make sure max_architecture is at least V9.
545
42e5fcbf
AS
5462009-03-18 Andrew Stubbs <ams@codesourcery.com>
547
548 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
549 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
550 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
551
8d25cc3d
AM
5522009-03-18 Alan Modra <amodra@bigpond.net.au>
553
554 * as.h: Include alloca-conf.h instead of config.h and remove
555 existing #if's handling alloca.
556 * Makefile.am: Run "make dep-am".
557 * Makefile.in: Regenerate.
558
8602d4fe
RS
5592009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
560
561 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
562 C_AIX_WEAKEXT too.
563
9f0eb232
RS
5642009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
565
566 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
567 "value" from fx_offset. Manually resubtract md_pcrel_from_section
568 where necessary.
569
e5231592
RS
5702009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
571
572 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
573 * configure.in: Likewise.
574 * configure: Regenerate.
575
a07dbd48
HPN
5762009-03-11 Hans-Peter Nilsson <hp@axis.com>
577
578 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
579 Rename, changing all callers, to...
580 (md_create_short_jump): Adjust head comment. Assert
581 word-sized-branch distance for v32. Bail out calling as_fatal for
582 compatibility mode here.
583 (md_create_long_jump): ...not here.
584 * config/tc-cris.h (md_create_short_jump): Do not define.
585
187af7df
HPN
5862009-03-10 Hans-Peter Nilsson <hp@axis.com>
587
588 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
589 the jump table for multiple overflowing entries with the same
590 target, handle base symbols being different.
591 (relax_segment) <case rs_broken_word, second loop>: Whenever a
592 single entry overflows, arrange to redirect all entries with the
593 same target.
594
69fe9ce5
AM
5952009-03-10 Alan Modra <amodra@bigpond.net.au>
596
597 * config/tc-ppc.c (parse_cpu): Delete.
598 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
599
f378cd83
L
6002009-03-09 H.J. Lu <hongjiu.lu@intel.com>
601
602 PR gas/9915
603 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
604 (LOCAL_LABELS_FB): Undefine befoe define.
605
d11fd249
NC
6062009-03-06 Nick Clifton <nickc@redhat.com>
607
608 * po/es.po: Updated Spanish translation.
609
cc3f603a
JM
6102009-03-05 Joseph Myers <joseph@codesourcery.com>
611
612 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
613 s_incbin): Call md_cons_align (1).
614
d9319cec
NC
6152009-03-04 Nick Clifton <nickc@redhat.com>
616
617 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
618 based targets.
619 (s_alpha_comm): Only define "temp" and "log_align" local variables
620 for EVAX targets.
621
727fc41e
AM
6222009-03-04 Alan Modra <amodra@bigpond.net.au>
623
624 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
625 have non-zero addend.
626 (md_assemble): Parse args of __tls_get_addr calls.
627 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
628
1c5c6c13
DA
6292009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
630
631 binutils/3807
632 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
633 local scope for ELF targets.
634
ed84b57b
AM
6352009-03-04 Alan Modra <amodra@bigpond.net.au>
636
637 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
638
198f1251
TG
6392009-03-03 Tristan Gingold <gingold@adacore.com>
640 Eric Botcazou <ebotcazou@adacore.com>
641 Douglas B Rupp <rupp@gnat.com>
642
643 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
644 for Alpha.
645 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
646 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
647 (OBJ_SYMFIELD_TYPE): Remove.
648 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
649 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
650 (tc_frob_file_before_fix): Do not defined on evax.
651 * config/tc-alpha.c: Always includes dwarf2dbg.h.
652 Include vms.h if OBJ_EVAX.
653 (struct alpha_fixup): Add xtrasym and procsym (evax only).
654 (enum alpha_macro_arg): Remove trailing comma.
655 (md_longopts): Add replace and noreplace arguments (evax only).
656 (alpha_evax_proc_hash): New variable.
657 (alpha_link_section): Make it global.
658 (alpha_ctors_section, alpha_dtors_section): Removed.
659 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
660 (alpha_lit8_section): Ifndef'ed on evax.
661 (alpha_lit8_symbol): Ditto.
662 (alpha_prologue_label): New variable.
663 (alpha_linkage_symbol): New variable (evax only).
664 (alpha_flag_replace): Ditto.
665 (struct alpha_evax_procs): Add handler and handler_data field.
666 (alpha_evax_proc): Now of type pointer.
667 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
668 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
669 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
670 (alpha_adjust_relocs): Ifndef'ed on evax.
671 (load_expression): Add opname argument.
672 Implement LDA/BSR optimization for evax.
673 (emit_lda): Adjust for new prototype of load_expression.
674 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
675 (emit_loadstore): Likewise.
676 (emit_ldXu): Likewise.
677 (emit_stX): Likewise.
678 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
679 (emit_ldgp): Avoid warning in evax case.
680 (add_to_link_pool): Make it static. Return symbolic expression rather
681 than number expression for the offset.
682 (s_alpha_text): Create .text symbol for evax if not already created.
683 (s_alpha_comm): Do not create specific section for common symbol.
684 Fill common area with zeros for evax.
685 (s_alpha_prologue): Create alpha_prologue_label.
686 (s_alpha_section_name): New function (evax).
687 (s_alpha_section_word): Likewise.
688 (section_name): New static variabke moved out from ...
689 (s_alpha_section): ... here. Create new sections on demand.
690 (s_alpha_literals): New function (evax).
691 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
692 alpha_evax_proc_hash table.
693 (s_alpha_handler): New function (evax).
694 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
695 (s_alpha_prologue): New function (evax).
696 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
697 handling of procedures with hash table.
698 Add support for condition handlers.
699 (s_alpha_linkage): Create linkage_fixup instance and chain it.
700 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
701 (s_alpha_mask): Likewise.
702 (s_alpha_fmask): Likewise.
703 (s_alpha_end): Clear alpha_evax_proc.
704 (s_alpha_align): Increase max_alignment to 16.
705 (alpha_print_token): Call print_expr_1 instead of print_expr.
ed84b57b 706 (md_pseudo_table): Add "section", "literals", "handler" and
198f1251
TG
707 "handler_data" (evax). Do not ignore "prologue" on evax.
708 Fix indentation.
709 (md_begin): Create hash table for alpha_evax_proc_hash.
710 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
711 (md_show_usage): Mention -replace/-noreplace for evax.
712 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
713 (alpha_force_relocation): Likewise.
714 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
715 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
716 (emit_insn): New cases for evax specific relocs.
717 (assemble_insn): Fix indentation.
718 Take care of -MDISP in operand table.
719 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
720 (OBJ_SYMFIELD_TYPE): New macro.
721 (obj_symbol_new_hook): Define.
722 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
723 (obj_frob_file_before_fix): Ditto.
724 (PDSC_S_M_HANDLER_VALID): New macro.
725 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
726 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
727 Add prototypes for functions declared in obj-evax.c
728 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
729 (s_evax_weak): Convert to ansi-C.
730 (evax_symbol_new_hook): New function.
731 (evax_frob_symbol): Ditto.
732 (evax_frob_file_before_adjust): Ditto.
733 (evax_frob_file_before_fix): Ditto.
734 (evax_shorten_name): Ditto.
735 (crc32): Ditto.
736 (encode_32): Ditto.
737 (encode_16): Ditto.
738 (decode_16): Ditto.
739 (shorten_identifier): Ditto.
740 (is_truncated_identifier): Ditto.
741 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
742 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
743 (main): Ditto.
744
a1f7ca36
AM
7452009-03-03 Alan Modra <amodra@bigpond.net.au>
746
747 * Makefile.am: Run "make dep-am".
748 * Makefile.in: Regenerate.
749
83cf10fd
NC
7502009-03-02 Nick Clifton <nickc@redhat.com>
751
752 PR 9874
753 * config/tc-ia64.c (fix_insn): Fix warning reported by
754 -Wformat-security.
755
c3b7224a
NC
7562009-03-02 Qinwei <qinwei@sunnorth.com.cn>
757
758 * config/tc-score7.c: New file.
759 * doc/c-score.texi: New file.
760 * Makefile.am: Update dependencies for tc-score.c.
761 * Makefile.in: Regenerate.
762 * NEWS: Mention support for Score7 architecture.
763 * config/tc-score.c: Add support for Score7 architecture.
764 * config/tc-score.h: Likewise.
765 * doc/Makefile.am: Add c-score.texi.
766 * doc/Makefile.in: Regenerate.
767 * doc/all.texi: Add Score7.
768 * doc/as.texinfo: Add Score7.
769
04e2c417
MM
7702009-03-01 Mark Mitchell <mark@codesourcery.com>
771
772 * config/tc-arm.c (md_assemble): Allow barrier instructions on
773 ARMv6-M cores.
774
58e24671
RW
7752009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
776
777 * configure: Regenerate.
778
066be9f7
PB
7792009-02-26 Peter Bergner <bergner@vnet.ibm.com>
780
781 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
782 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
783 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
784
784788d2
L
7852009-02-25 H.J. Lu <hongjiu.lu@intel.com>
786
787 * config/tc-i386.c (fits_in_imm4): Removed.
788
91c2f09e
DA
7892009-02-24 Helge Deller <deller@gmx.de>
790
dfaf9df8 791 * config/tc-hppa.c (pa_ip): Add check of immediate values.
91c2f09e
DA
792 (SAVE_IMMEDIATE): New define.
793
94206790
MM
7942009-02-23 Mark Mitchell <mark@codesourcery.com>
795
796 * config/tc-arm.c (warn_deprecated_sp): New macro.
797 (do_t_mov_cmp): Permit R13 as the second
798 argument to "cmp.n".
799
0349dc08
L
8002009-02-23 H.J. Lu <hongjiu.lu@intel.com>
801
802 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
803 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
804
c1b80a2a
L
8052009-02-23 H.J. Lu <hongjiu.lu@intel.com>
806
807 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
808
4c664d7b
L
8092009-02-23 H.J. Lu <hongjiu.lu@intel.com>
810
811 * config/tc-i386.c (vex_imm4): Removed.
812 (VEX_check_operands): Likewise.
813 (match_template): Updated.
814
11c19e16
MS
8152009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
816
817 * doc/all.texi: Set S390.
818 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
819 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
820 * doc/Makefile.in: Likewise.
821 * doc/c-s390.texi: New.
822
87298967
NS
8232009-02-12 Nathan Sidwell <nathan@codesourcery.com>
824
825 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
826 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
827 (mcf5307_ctrl): Add VBR.
828 (no_mac): New variable.
829 (m68k_extensions): Refer to no_mac mask.
830 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
831 52252..52259, 53011..53017.
832 (m68k_ip): Process CPUCR.
833 (init_table): Add cpucr entry.
834 (m68k_set_extension): Allow negated mask to refer to a variable.
835 (md_show_usage): Use '%s' to silence fprintf warning.
836 * config/m68k-parse.h (CPUCR): New control register.
837
ee2c9aa9
NS
8382009-02-10 Nathan Sidwell <nathan@codesourcery.com>
839
840 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
841 as_bad calls to silence compiler warning.
842
8dc2430f
NC
8432009-02-06 Nick Clifton <nickc@redhat.com>
844
845 PR 9814
846 * config/tc-arm.c (MODE_RECORDED): New define.
847 (output_inst): Record the thumb_mode in the current frag.
848 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
849 (arm_init_frag): Only set the tc_frag_data field if it has not
850 already been set.
851
ce2f5b3c
L
8522009-02-04 H.J. Lu <hongjiu.lu@intel.com>
853
854 AVX Programming Reference (January, 2009)
855 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
856 (CPU_FLAGS_AVX_MATCH): Updated.
857 (CPU_FLAGS_32BIT_MATCH): Likewise.
858 (cpu_flags_match): Likewise.
859
52b6b6b9
JM
8602009-02-03 Sandip Matte <sandip@rmicorp.com>
861
862 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
863 M_MSGWAIT and M_MSGWAIT_T.
864 (mips_cpu_info_table): Add XLR entry.
865 * doc/c-mips.texi (-march): Document xlr.
866
e94345ae 8672009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
a53fddce
EW
868
869 * config/tc-avr.c (mcu_types): Add ata6289.
870 * doc/c-avr.texi: Likewise.
871
31dd3154
JM
8722009-02-03 Carlos O'Donell <carlos@codesourcery.com>
873
874 * configure.in: AC_SUBST pdfdir.
875 * Makefile.am: Add install-pdf, install-pdf-am,
876 and install-pdf-recursive targets.
877 * doc/Makefile.am: Define pdf__strip_dir. Add
878 install-pdf and install-pdf-am targets.
879 * po/Make-in: Add install-pdf target.
880 * configure: Regenerate.
881 * Makefile.in: Regenerate.
882 * doc/Makefile.in: Regenerate.
883
cf869cce
NC
8842009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
885
886 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
887 relocations.
888 * config/m68k-parse.y (yylex): Parse TLS relocations.
889 * config/tc-m68k.c (m68k_elf_cons): New static function.
890 (md_pseudo_table): Use it.
891 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
892 relocations.
893 (md_apply_fix): Fix to set thread local flag.
894 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
895
bb0a86e1
NC
8962009-02-03 Vince Weaver <vince@csl.cornell.edu>
897
898 PR 9779
899 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
900 indexed addressing for symbolic expressions.
901
fdfde340
JM
9022009-01-29 Mark Mitchell <mark@codesourcery.com>
903
904 * config/tc-arm.c (BAD_SP): Define.
905 (s_arm_unwind_fnstart): Use REG_SP.
906 (s_arm_unwind_setfp): Likewise.
907 (reject_bad_reg): New macro.
908 (do_co_reg): Check for bad registers.
909 (do_co_reg2c): Likewise.
910 (do_srs): Use REG_SP.
911 (do_t_add_sub): Check for bad registers.
912 (do_t_adr): Likewise.
913 (do_t_arit3): Likewise.
914 (do_t_arit3c): Likewise.
915 (do_t_bfc): Likewise.
916 (do_t_bfi): Likewise.
917 (do_t_bfx): Likewise.
918 (do_t_blx): Likewise.
919 (do_t_bx): Likewise.
920 (do_t_bxj): Likewise.
921 (do_t_clz): Likewise.
922 (do_t_div): Likewise.
923 (do_t_mla): Likewise.
924 (do_t_mlal): Likewise.
925 (do_t_mov_cmp): Likewise.
926 (do_t_mov16): Likewise.
927 (do_t_mvn_tst): Likewise.
928 (do_t_mrs): Likewise.
929 (do_t_msr): Likewise.
930 (do_t_mul): Likewise.
931 (do_t_mull): Likewise.
932 (do_t_orn): Likewise.
933 (do_t_pkhbt): Likewise.
934 (do_t_pld): Likewise.
935 (do_t_rbit): Likewise.
936 (do_t_rev): Likewise.
937 (do_t_rrx): Likewise.
938 (do_t_rsb): Likewise.
939 (do_t_shift): Likewise.
940 (do_t_simd): Likewise.
941 (do_t_ssat): Likewise.
942 (do_t_ssat16): Likewise.
943 (do_t_sxtah): Likewise.
944 (do_t_sxth): Likewise.
945 (do_t_tb): Likewise.
946 (do_t_usat): Likewise.
947 (do_t_usat16): Likewise.
948 (nysn_insert_sp): Use REG_SP.
949
1c444d06
JM
9502009-01-29 Mark Mitchell <mark@codesourcery.com>
951
952 * config/tc-arm.c (do_t_orn): New function.
953 (do_t_rrx): Likewise.
954 (insns): Add orn and rrx.
955
4f80ef3e
JM
9562009-01-29 Mark Mitchell <mark@codesourcery.com>
957
958 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
ed84b57b 959 uasx, uhasx, uhsx, uqasx, uqsax, usax.
4f80ef3e 960
087b80de
JM
9612009-01-29 Mark Mitchell <mark@codesourcery.com>
962
963 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
964 qdsub in Thumb-2 mode.
965
17828f45 9662009-01-29 Paul Brook <paul@codesourcery.com>
321098a5 967 Mark Mitchell <mark@codesourcery.com>
17828f45
JM
968
969 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
970 of MUL when possible.
971
ec0c103c
NC
9722009-01-29 Nick Clifton <nickc@redhat.com>
973
974 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
975
4a6bc624
NS
9762009-01-29 Nathan Sidwell <nathan@codesourcery.com>
977 Catherine Moore <clm@codesourcery.com?
978
979 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
980 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
981 directives.
982
23fce1e3
NC
9832009-01-27 Nick Clifton <nickc@redhat.com>
984
985 * config/tc-mips.c (append_insn): Cope with a complex reloc
986 sequence containing an unsupported reloc type.
987 (enum options): Replace computed #define's constants for option
988 numbers with this enum.
989 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
990 environment.
991 (md_parse_option): Allow -32 in a non-ELF environment.
992
ee3c0378
AS
9932009-01-26 Andrew Stubbs <ams@codesourcery.com>
994
995 * config/tc-arm.c (attributes_set_explicitly): New array.
996 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
997 (cpu_arch): Add ARM_ARCH_V5T.
998 (aeabi_set_attribute_int): New function.
999 (aeabi_set_attribute_string): New function.
1000 (aeabi_set_public_attributes): Set attributes according to the user's
1001 intentions, rather than the actual state of the binary.
1002 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
1003 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
1004 Support WMMXv2. Use attribute names instead of numbers.
1005 * read.c (s_vendor_attribute): Change return type to int.
1006 Return the tag number that was set.
1007 * read.h (s_vendor_attribute): Change return type to int.
1008
17f4880d
EW
10092009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
1010
1011 PR 9789
1012 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
1013 * doc/c-avr.texi: Likewise.
1014
278df34e
NS
10152009-01-23 Nathan Sidwell <nathan@codesourcery.com>
1016
1017 * doc/c-arm.texi (): Document -mwarn-deprecated.
1018 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
1019 (warn_on_deprecated): ... this.
1020 (opcode_lookup, md_assemble): Check it before warning.
1021 (arm_opts): Add m[no-]warn-deprecated.
1022 (md_parse_option): Replace WARN_DEPRECATED with
1023 warn_on_deprecated.
1024
199114c2
AS
10252009-01-23 Andreas Schwab <schwab@suse.de>
1026
750bdd57
AS
1027 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
1028 arguments to macro_build to match format.
1029
199114c2
AS
1030 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
1031 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
1032
d3bf77be
NC
10332009-01-19 Nick Clifton <nickc@redhat.com>
1034
1035 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
1036 ELF format ARM targets.
1037 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
1038
10392009-01-19 Nick Clifton <nickc@redhat.com>
1040
1041 * configure.tgt: Restore alpha sorting to object format switch
1042 statement.
1043
2d0bb761
AS
10442009-01-19 Andrew Stubbs <ams@codesourcery.com>
1045
1046 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
1047
3493e7b0
JM
10482009-01-16 Mark Shinwell <shinwell@codesourcery.com>
1049
1050 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
1051 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
1052
e04befd0
AS
10532009-01-16 Andrew Stubbs <ams@codesourcery.com>
1054 Daniel Jacobowitz <dan@codesourcery.com>
1055
1056 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
1057 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
1058 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
1059 * read.c (s_vendor_attribute): Add support for symbolic tag names.
1060 Improve string parser.
1061 * doc/c-arm.texi (ARM Machine Directives): Document
1062 .eabi_attribute symbolic tag names.
1063
29670fb9
AM
10642009-01-16 Alan Modra <amodra@bigpond.net.au>
1065
1066 * configure.in (commonbfdlib): Delete.
1067 * configure: Regenerate.
1068 * po/POTFILES.in: Regenerate.
1069
91e22acd
AS
10702009-01-15 Andrew Stubbs <ams@codesourcery.com>
1071 Julian Brown <julian@codesourcery.com>
1072
1073 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
1074
7b86a9fa
AS
10752009-01-15 Andrew Stubbs <ams@codesourcery.com>
1076
1077 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
1078 bfd_elf_add_obj_attr_int_string.
1079
01e1a5bc
NC
10802009-01-15 Douglas B Rupp <rupp@gnat.com>
1081
1082 * configure.tgt(ia64-*-*vms*): New target.
1083 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
1084 * tc.h (md_number_to_chars): Declare iff undefined.
1085 * config/obj-elf.c (obj_elf_change_section): Change type of arg
1086 attr to bfd_vma.
1087 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
1088 variables attr, md_attr to bfd_vma.
1089 (obj_elf_section_word): Likewise.
1090 (obj_elf_section): Change type of variable attr to bfd_vma
1091 * config/obj-elf.h (obj_elf_change_section): Change type of arg
1092 attr to bfd_vma.
1093 * config/tc-ia64.c (bfdver.h,time.h): Include.
1094 (ia64_elf_section_letter): Now returns a bfd_vma.
1095 Handle VMS specific attributes.
1096 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1097 (ia64_init): Don't turn on dependency checking for VMS.
1098 (ia64_target_format): Check for VMS flag bit.
1099 (do_alias): Hande decc$ functions.
1100 (get_vms_time): New function.
1101 (ia64_vms_note): New function.
1102 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
1103 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1104 (tc_init_after_args): Define for VMS.
1105 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
1106 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
1107 * config/tc-alpha.h: Likewise.
1108 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
1109 (x86_64_section_word): Return a bfd_vma.
1110 * config/tc-i386.h: Likewise.
1111 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
1112 attr to bfd_vma.
1113 * config/tc-ip2k.h: Likewise.
1114 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
1115 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
1116 * config/tc-mep.h: Likewise.
1117 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
1118 (ppc_section_word): Return a bfd_vma.
1119 (ppc_section_flags): Change type of arg attr to bfd_vma.
1120 * config/tc-ppc.h: Likewise.
1121 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
1122 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
750bdd57
AS
1123 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
1124 New file with new macros
1125 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
1126 macros.
01e1a5bc 1127
bc2d1808
NC
11282009-01-15 Nick Clifton <nickc@redhat.com>
1129
1130 PR 9722
1131 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
1132 instructions before generating a Thumb2 nop.
1133
7b6598a4 11342009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750bdd57 1135
7b6598a4
AK
1136 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
1137
cd4a7468
AM
11382009-01-12 Alan Modra <amodra@bigpond.net.au>
1139
1140 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
1141 (brinfo): New var.
1142 (md_assemble): Poke brinfo into branch instructions.
1143 (spu_brinfo): New function.
1144 (md_apply_fix): Don't assume insn fields start off at zero, mask
1145 them to remove possible brinfo.
1146
1543849b
L
11472009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 * doc/c-i386.texi: Reformat.
1150
bd5295b2
L
11512009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1152
dfaf9df8 1153 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
bd5295b2
L
1154 .syscall.
1155 (i386_align_code): Handle PROCESSOR_COREI7.
1156 (md_show_usage): Add corei7, clflush and syscall.
1157 (i386_target_format): Replace cpup4 with cpuclflush.
1158
dfaf9df8 1159 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
bd5295b2
L
1160
1161 * doc/c-i386.texi: Document corei7, clflush and syscall.
1162
1b7f3fb0
L
11632009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1164
1165 * config/tc-i386.c (cpu_arch): Add .rdtscp.
1166 (md_show_usage): Display rdtscp.
1167
1168 * doc/c-i386.texi: Document rdtscp.
1169
1cb0a767
PB
11702009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1171
1172 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
1173 Test the new "deprecated" opcode field.
1174
19fc3723
SA
11752009-01-07 Sterling Augustine <sterling@tensilica.com>
1176
1177 * config/tc-xtensa.c (produce_flix): New.
1178 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
1179 (md_longopts): Add support for them.
1180 (md_parse_option): Likewise.
1181 (md_show_usage): Add help message.
1182 (finish_vinsn): Don't allow multi-slot flix when produce_flix
1183 option is set to FLIX_NONE.
1184 * config/xtensa-relax.c (transition_applies): Only relax to
1185 flix branches when produce_flix equals FLIX_ALL.
1186 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
1187 FLIX_NONE): New.
1188 (produce_flix): Declare.
1189
24864476
CF
11902009-01-06 Chao-ying Fu <fu@mips.com>
1191
1192 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
1193 Use strncmp to match jalr and jalr.hb.
1194 Fix a typo.
1195
0bfee649 11962009-01-05 H.J. Lu <hongjiu.lu@intel.com>
d62f07d0 1197
0bfee649
L
1198 AVX Programming Reference (December, 2008)
1199 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1200 support. Don't swap REG and NDS for FMA.
d62f07d0 1201
750bdd57 12022009-01-02 Matthias Klose <doko@ubuntu.com>
e7c604dd 1203
750bdd57
AS
1204 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1205 behaviour.
e7c604dd 1206
0bfee649 1207For older changes see ChangeLog-2008
08d56133
NC
1208\f
1209Local Variables:
1210mode: change-log
1211left-margin: 8
1212fill-column: 74
1213version-control: never
1214End:
This page took 0.432078 seconds and 4 git commands to generate.