* messages.c (as_fatal): Apply 2001-01-15 change and followup
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
8c16928a
AM
12009-11-02 Alan Modra <amodra@bigpond.net.au>
2
3 * messages.c (as_fatal): Apply 2001-01-15 change and followup
4 to second copy of function.
5
b6cdf8ae
DA
62009-10-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7
8 * config/tc-hppa.c (pa_build_unwind_subspace): Replace start symbol
9 with local symbol.
10
206c2556
L
112009-10-29 Sebastian Pop <sebastian.pop@amd.com>
12
13 * config/tc-i386.c (build_modrm_byte): Do not swap REG and
14 NDS operands for FMA4.
15
e6655fda
PB
162009-10-29 Paul Brook <paul@codesourcery.com>
17
18 * config/tc-arm.c (neon_tab_entry): Fix VNMLA/VNMLS opcodes.
19
b38f9f31
PB
202009-10-29 Paul Brook <paul@codesourcery.com>
21
22 * doc/c-arm.texi: Document ARM -mcpu=cortex-a5.
23 * config/arm/tc-arm.c (arm_cpu_option_table): Add cortex-a5.
24
1b31b9e3
TG
252009-10-29 Tristan Gingold <gingold@adacore.com>
26
27 * config/tc-mep.c (md_pseudo_table): Remove dwarf2 debug pseudo
28 as they are already defined in obj-elf.c
29 * config/tc-m32c.c (md_pseudo_table): Ditto.
30 * config/tc-spu.c (md_pseudo_table): Ditto.
31 * config/tc-avr.c (md_pseudo_table): Ditto.
32
72737fba
AM
332009-10-29 Alan Modra <amodra@bigpond.net.au>
34
35 * doc/as.texinfo (Set): Delete incorrect HPPA para.
36
721a8186
PB
372009-10-28 Paul Brook <paul@codesourcery.com>
38
39 * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes
40 unconditionally.
41
14610ad1
AM
422009-10-28 Alan Modra <amodra@bigpond.net.au>
43
44 PR gas/10856
45 * expr.c (resolve_expression): Only add "left" value to O_symbol
46 expression when the symbol is undefined and different from the
47 original symbol. Simplify negative logic.
48
66b4202f
TG
492009-10-27 Tristan Gingold <gingold@adacore.com>
50
51 * config/tc-avr.c (md_pseudo_table): Add dwarf2 debug pseudo.
52 * config/tc-avr.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
53 (DWARF2_ADDR_SIZE): Define.
54
c2069bb2
AM
552009-10-27 Alan Modra <amodra@bigpond.net.au>
56
57 PR gas/10850
58 * listing.c (listing_flags): Delete.
59 * listing.h: Likewise.
60 * read.c (potable <lflags>): Call s_ignore.
61
7e891cef
NC
622009-10-26 Nick Clifton <nickc@redhat.com>
63
64 * doc/as.texinfo: Add mention of RX port and inclusion of RX
65 documentation.
66
3c45a255
AM
672009-10-25 Arnold Metselaar <arnold.metselaar@planet.nl>
68
69 * config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' or
70 'defl' in cases where the space between the keyword and the
c2069bb2 71 expression has been scrubbed away.
3c45a255
AM
72 Do not check whether a symbol is redefined with 'equ' here;
73 the function equals takes an argument indicating whether
c2069bb2 74 redefinitions are allowed.
3c45a255 75 Only call LISTING_NEWLINE if needed, and then after the call to
c2069bb2
AM
76 bump_line_counters.
77
2babba43
MR
782009-10-25 Maciej W. Rozycki <macro@linux-mips.org>
79
80 * doc/as.texinfo (Overview): Move -mfix7000/-mno-fix7000 to
81 match the order elsewhere. Add -mfix-vr4120/-mno-fix-vr4120 and
82 -mfix-vr4130/-mno-fix-vr4130.
83 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-vr4120 to
84 -mno-fix-vr4120 and -no-mfix-vr4130 to -mno-fix-vr4130.
85
4b06377f
L
862009-10-20 H.J. Lu <hongjiu.lu@intel.com>
87
88 PR gas/10775
89 * doc/c-i386.texi: Mention movabs.
90
adc427c7
L
912009-10-19 H.J. Lu <hongjiu.lu@intel.com>
92
93 * doc/c-i386.texi: Don't mention the 8 extra control registers
94 for x86-64.
95
23f5dfcb
DE
962009-10-19 Doug Evans <dje@sebabeach.org>
97
d71f39f5
DE
98 * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.
99
23f5dfcb
DE
100 * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set
101 correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc
102 isn't recognized, not BFD_RELOC_XC16X_SOF.
103
c5ed243b
AM
1042009-10-18 Alan Modra <amodra@bigpond.net.au>
105
106 * as.h (know): Don't define as empty.
107 * config/tc-arm.c (make_mapping_symbol): Revert last patch.
108
a75b9082
AM
1092009-10-18 Matthias Klose <doko@ubuntu.com>
110
111 * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body
112 in release builds.
113
995cef8c
L
1142009-10-16 H.J. Lu <hongjiu.lu@intel.com>
115
116 PR gas/10775
117 * doc/c-i386.texi: Mention the 8 extra control registers for
118 x86-64.
119 Mention .code64 directive.
120
f19df8f7
AM
1212009-10-15 Alan Modra <amodra@bigpond.net.au>
122
123 PR gas/1491
124 * macro.c: Delete unnecessary function declarations.
125 (buffer_and_nest): Support multiple labels per line for
126 LABELS_WITHOUT_COLONS targets if the labels do have colons.
127 (free_macro): Move so that we don't need forward declaration.
128 * read.c (read_a_source_file): Take a copy of macro expansion line
129 before we trim labels.
130 * listing.c (listing_newline): Adjust stdin line save for
131 input_line_pointer still at start of line.
132
4c2c6516
L
1332009-10-13 H.J. Lu <hongjiu.lu@intel.com>
134
ec65d7ca 135 PR gas/10766
4c2c6516
L
136 * config/tc-i386.c (build_modrm_byte): Declare exp earlier.
137
313c53d1
L
1382009-10-13 H.J. Lu <hongjiu.lu@intel.com>
139
140 PR gas/10740
141 * config/tc-i386-intel.c (i386_intel_operand): Handle call
142 and jump with 2 immediate operands.
143
144 * config/tc-i386.c (i386_finalize_immediate): Don't generate
145 error message if operand string is NULL.
146
c2069bb2 1472009-10-013 Vincent Riviere <vincent.riviere@freesbee.fr>
b2b74248
NC
148
149 PR gas/3041
150 * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations
151 located in data section an referencing a weak symbol.
152
5a5829dd
NS
1532009-10-07 Nathan Sidwell <nathan@codesourcery.com>
154
d3106081
NS
155 * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
156 versions slightly more than nothing.
157
5a5829dd
NS
158 * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.
159
cd42ff9c
AM
1602009-10-07 Alan Modra <amodra@bigpond.net.au>
161 H.J. Lu <hongjiu.lu@intel.com>
162
163 PR gas/2117
164 * config/tc-ia64.c (parse_operand): Use expression rather than
165 expression_and_evalute.
166 (parse_operand_and_eval): New function. Replace all uses of
167 parse_operand outside of parse_operands with this function.
168 (parse_operans_maybe_eval): New function. Replace uses of
169 parse_operand in parse_operands, except for the dummy, with
170 this function.
171
d96eea71
AM
1722009-10-06 Alan Modra <amodra@bigpond.net.au>
173
174 PR gas/10704
175 * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
176
c188d0bb
AM
1772009-10-06 Alan Modra <amodra@bigpond.net.au>
178
179 * read.c (s_reloc): Don't use expression_and_evaluate.
180
9fe54b1c
PB
1812009-10-02 Peter Bergner <bergner@vnet.ibm.com>
182
183 * config/tc-ppc.c (md_show_usage): Document -m476.
184 * doc/c-ppc.texi (PowerPC-Opts): Document -m476.
185
38462edf
JJ
1862009-10-02 Jakub Jelinek <jakub@redhat.com>
187
188 * dw2gencfi.c: Include dwarf2dbg.h.
189 (DWARF2_FORMAT): Define if not defined.
190 (dot_cfi_sections): New function.
191 (cfi_pseudo_table): Handle .cfi_sections.
192 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
193 (cfi_sections): New variable.
194 (output_cie, output_fde, select_cie_for_fde): Add eh_frame
195 argument, add supporting for outputting .debug_frame
196 section.
197 (cfi_change_reg_numbers): New function or macro.
198 (cfi_finish): Only emit .eh_frame if
199 cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if
200 cfi_sections & CFI_EMIT_debug_frame.
201 * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
202 * doc/as.texinfo (CFI directives): Document .cfi_sections.
203
634b50f2
PB
2042009-10-01 Peter Bergner <bergner@vnet.ibm.com>
205
206 * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
207 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
208
9f32dd5b
L
2092009-10-01 H.J. Lu <hongjiu.lu@intel.com>
210
211 * config/tc-i386.c (x86_cons): Reformat.
212
c7927a3c
NC
2132009-09-29 DJ Delorie <dj@redhat.com>
214
215 * Makefile.am: Add RX target.
216 * configure.in: Likewise.
217 * configure.tgt: Likewise.
218 * read.c (do_repeat_with_expander): New function.
219 * read.h: Provide a prototype for do_repeat_with_expander.
220 * doc/Makefile.am: Add RX target documentation.
221 * doc/all.texi: Likewise.
222 * doc/as.texinfo: Likewise.
223 * Makefile.in: Regenerate.
224 * NEWS: Mention support for RX architecture.
225 * configure: Regenerate.
226 * doc/Makefile.in: Regenerate.
227 * config/rx-defs.h: New file.
228 * config/rx-parse.y: New file.
229 * config/tc-rx.h: New file.
230 * config/tc-rx.c: New file.
231 * doc/c-rx.texi: New file.
232
21d799b5
NC
2332009-09-25 Martin Thuresson <martint@google.com>
234
e0c483d6 235 Update sources to make alpha, arc and arm targets compile cleanly
21d799b5
NC
236 with -Wc++-compat:
237 * config/tc-alpha.c: Add casts.
238 (extended_bfd_reloc_code_real_type): New type. Used to avoid
239 enumeration conversion warnings.
240 (struct alpha_fixup, void assemble_insn, assemble_insn)
241 (assemble_tokens): Use new type.
242 * ecoff.c: Add casts. (mark_stabs): Use enumeration names.
243 * config/obj-elf.c: Add cast
244 * config/tc-arc.c: Add casts.
245 * config/obj-aout.h (text_section,data_section,bss_section):
246 Make extern.
247 * config/obj-elf.c: Add cast.
248 * config/tc-arm.c: Add casts.
249 (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
250 (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
251 need for keywords as arguments.
252
605b1dd4
NH
2532009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
254
255 * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
9f32dd5b
L
256 entries
257
2582009-09-24 H.J. Lu <hongjiu.lu@intel.com>
2bf05e57
L
259
260 * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
261 of vex256.
262
f5d9e816
L
2632009-09-24 H.J. Lu <hongjiu.lu@intel.com>
264
265 PR gas/10677
266 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
267 for BFD_RELOC_X86_64_GOTPCREL.
268
2a86604a
L
2692009-09-23 H.J. Lu <hongjiu.lu@intel.com>
270
271 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check
272 BFD_RELOC_386_GOT32.
273
417ba50c
SA
2742009-09-23 Sterling Augustine <sterling@jaw.hq.tensilica.com>
275
276 * config/tc-xtensa.c (md_apply_fix): Remove check for constant with
277 difference of of two symbols.
278 (xtensa_fix_adjustable): Likewise.
279
6eb94e77
TG
2802009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
281
bf70c4f8 282 * configure.com: Fix a typo.
6eb94e77 283
a3371076
AM
2842009-09-23 Alan Modra <amodra@bigpond.net.au>
285
286 * symbols.c (define_sym_at_dot): New function, extracted from..
287 (colon): ..here. Define error case cloned symbol.
288
76ba9986
L
2892009-09-21 H.J. Lu <hongjiu.lu@intel.com>
290
291 * config/tc-i386.c: Remove white spaces.
292
e0d602ec
BE
2932009-09-21 Ben Elliston <bje@au.ibm.com>
294 Peter Bergner <bergner@vnet.ibm.com>
295
296 * config/tc-ppc.c (md_show_usage): Document -mpcca2.
297 * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.
298
ca58b19f
NC
2992009-09-18 Nick Clifton <nickc@redhat.com>
300
301 * po/es.po: Updated Spanish translation.
302
fa289fb8
L
3032009-09-15 H.J. Lu <hongjiu.lu@intel.com>
304
305 * config/tc-i386.c (offset_in_range): Sign extend offset only
306 if BFD64 is defined.
307
1acf546e
L
3082009-09-15 H.J. Lu <hongjiu.lu@intel.com>
309
310 * config/tc-i386-intel.c (i386_intel_operand): Initialize
311 intel_state.has_offset to 0.
312
9de868bf
L
3132009-09-15 H.J. Lu <hongjiu.lu@intel.com>
314
315 * config/tc-i386.c (offset_in_range): Sign extend offset only
316 for 32bit address mode.
317
aba69ce4
TG
3182009-09-15 Tristan Gingold <gingold@adacore.com>
319
320 * makefile.vms (OBJS): Compile te-vms.c only on Itanium.
321
6cee4cda
L
3222009-09-14 H.J. Lu <hongjiu.lu@intel.com>
323
324 PR gas/10637
325 * config/tc-i386-intel.c (intel_state): Add has_offset.
326 (i386_intel_simplify): Set intel_state.has_offset to 1 for
327 O_offset.
328 (i386_intel_operand): Turn on intel_state.is_mem if
329 intel_state.has_offset is 0 and the last char is ']'.
330
0e1147d9
L
3312009-09-14 H.J. Lu <hongjiu.lu@intel.com>
332
333 PR gas/10636
334 * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only
335 if there is an ADDR_PREFIX.
336 (i386_finalize_displacement): Repor error if signed 32bit
337 displacement is out of range.
338
1180b5a4
RS
3392009-09-13 Richard Sandiford <rdsandiford@googlemail.com>
340
341 * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
342 Require the target to be a bare symbol on targets with
343 in-place addends.
344 (macro_build_jalr): Update accordingly.
345 (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
346 with in-place addends.
347
1e9cc1c2
NC
3482009-09-11 Nick Clifton <nickc@redhat.com>
349
350 * po/gas.pot: Updated by the Translation project.
351
3522009-09-11 Martin Thuresson <martint@google.com>
353
354 * as.c (main): Call dwarf2_init.
355 * config/obj-elf.c (struct group_list): New field.
356 (build_group_lists): Use hash lookup.
357 (free_section_idx): New function.
358 (elf_frob_file): Adjust.
359 * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
360 (get_line_subseg): Adjust.
361 (dwarf2_init): New function.
362 * dwarf2dbg.h (dwarf2_init): New declaration.
363
3642009-09-11 Martin Thuresson <martint@google.com>
365
366 Updated sources to compile cleanly with -Wc++-compat:
367 * app.c: Add casts.
368 * as.c: Add casts.
369 * config/obj-elf.c: Add casts.
370 (obj_elf_type): Rename variable typename to type_name.
371 * config/tc-i386-intel.c (i386_operators): Rename member operator to op.
372 * config/tc-i386.c: Add casts.
373 (check_cpu_arch_compatible): Rename argument new to new_flag.
374 (gotrel): Update variable to use enum name instead of integer value.
375 * dw2gencfi.c: Add casts.
376 (struct cfi_escape_data): Move to top level.
377 * dwarf2dbg.c: Add cast.
378 * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern.
379 * ehopt.c Add casts.
380 (enum frame_state): Move to top level.
381 * expr.c (operatorf): Rename function operator to operatorf.
382 (operand): Rename variable operator to op.
383 (expr_set_rank): Rename argument operator to op.
384 * frags.c: Add cast.
385 * hash.c: Add casts.
386 * input-scrub.c: Add cast.
387 * listing.c: Add casts.
388 (enum edict_enum): Move to top level.
389 * macro.c: Add casts.
390 * macro.h (enum formal_type): Move to top level.
391 * read.c: Add casts.
392 (s_include): Rename variable try to try_file.
393 * remap.c: Add cast.
394 * stabs.c: Add casts.
395 * subsegs.c: Add casts.
396 * symbols.c: Add casts.
397 * write.c: Add casts.
1e9cc1c2 398
3e81d9f9
HPN
3992009-09-11 Hans-Peter Nilsson <hp@bitrange.com>
400
401 PR gas/10623
402 * config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>:
403 Allow register operands for SWYM as for TRIP and TRAP. Correct
404 operand handling and error checking. Never emit
405 BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.
406
800f6ec8
AM
4072009-09-10 Alan Modra <amodra@bigpond.net.au>
408
409 * config/tc-d10v.c: Include dwarf2dbg.h.
410 (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
411 (d10v_frob_label): New function.
412 * config/tc-d10v.h (d10v_frob_label): Declare.
413 (tc_frob_label): Define as d10v_frob_label.
414
f2e25d93
AM
4152009-09-10 Alan Modra <amodra@bigpond.net.au>
416
417 * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
418 * config/tc-frv.c (frv_frob_label): Likewise.
419
9384f2ff
AM
4202009-09-09 Alan Modra <amodra@bigpond.net.au>
421
22ba0981
AM
422 * config/obj-coff.h (USE_UNIQUE): Don't define.
423 * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
424 * symbols.c (an_external_name): Define when TE_PE.
425 (S_SET_EXTERNAL): Assign an_external_name when TE_PE.
426 * tc.h (an_external_name): Declare when TE_PE.
427
9384f2ff
AM
428 * config/tc-i386.c (i386_target_format): Avoid duplicate case label.
429
7e127222
KK
4302009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
431
432 * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
433
d4f4f3fb
AM
4342009-09-08 Alan Modra <amodra@bigpond.net.au>
435
436 * read.c (emit_expr_fix): Handle size 3.
437 * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
438 * config/tc-d30v.c (write_long, write_1_short,
439 write_2_short, md_assemble): Likewise.
440 * config/tc-dlx.c (md_assemble): Likewise.
441 * config/tc-i860.c (md_assemble): Likewise.
442 * config/tc-mn10200.c (md_assemble): Likewise.
443 * config/tc-pj.c (md_assemble): Likewise.
444 * config/tc-vax.c (md_assemble): Likewise.
445
307c948d
DG
4462009-09-07 Daniel Gutson <dgutson@codesourcery.com>
447
448 * config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
449 * doc/c-arm.texi: cortex-r4f CPU added.
450
b11d79f2
TG
4512009-09-07 Tristan Gingold <gingold@adacore.com>
452
23f938f1
TG
453 * po/POTFILES.in: Regenerate.
454 * po/gas.pot: Regenerate.
455
b11d79f2
TG
456 * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c
457 (POTFILES): Add $(TARG_ENV_CFILES) in definition.
458 (EXTRA_as_new_SOURCES): Ditto.
459 * Makefile: Regenerate.
460 * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
461 BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
462 * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
463 st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and
464 sys/stat.h headers.
465 Add te-vms.o in extra_objects if te_file is vms.
466 * configure: Regenerate.
467 * config.in: Regenerate.
468 * config/te-vms.c: New file, from bfd/vmsutil.c
469 (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
470 (vms_dwarf2_file_name): New functions.
471 (vms_file_stats_name): Make it static, add a dirname parameter to
472 locally create the full pathname.
473 * config/te-vms.h: Add a copyright header.
474 Declare the above functions.
475 (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
476 the above functions in the definition.
477 * makefile.vms (OBJS): Add te-vms.obj.
478 (te-vms.obj): Create a specific target.
479 * configure.com: Create targ-env.h using a per target value.
480 Compile te-vms.c for ia64.
481
f8739b83
JZ
4822009-09-05 Jie Zhang <jie.zhang@analog.com>
483
484 * doc/as.texinfo: Document that Blackfin GAS does not
485 accept SYMBOL = VALUE.
486
96d56e9f
NC
4872009-09-05 Martin Thuresson <martin@mtme.org>
488
489 * config/tc-arc.c (struct syntax_classes): Rename member class
490 to s_class. (arc_extinst): Rename variable class to
491 s_class. Update code to use renamed members.
492 * config/tc-mips.c (insn_uses_reg): Rename argument class to
493 regclass.
494 * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
495 (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
496 (ppc_fix_adjustable, md_apply_fix): Update code to use renamed
497 members.
498 * config/tc-ppc.h (struct ppc_tc_sy): Change name of member
499 from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
500 code to use renamed members.
501 * config/tc-score.c (s3_adjust_paritybit): Rename argument
502 class to i_class.
503 * config/tc-score7.c (s7_adjust_paritybit): Rename argument
504 class to i_class.
505
81c23f82
TG
5062009-09-04 Tristan Gingold <gingold@adacore.com>
507
508 * NEWS: Add marker for 2.20.
509
66a6900a
JZ
5102009-09-04 Jie Zhang <jie.zhang@analog.com>
511
512 * config/bfin-parse.y (asm_1): Implement HLT instruction.
513 Fix comments for DBGA, DBGAH and DBGAL.
514 * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according
515 to the new encoding of DBGA, DBGAH, and DBGAL.
516
3b4e1885
JZ
5172009-09-04 Jie Zhang <jie.zhang@analog.com>
518
519 * doc/all.texi: Replace BFIN with Blackfin.
520 * doc/as.texinfo: Likewise.
521 * doc/c-bfin.texi: Likewise.
522 * doc/asconfig.texi: Likewise.
523
524 * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514,
525 bf516 and bf518.
526
53ae48a2
JZ
5272009-09-04 Jie Zhang <jie.zhang@analog.com>
528
529 * Makefile.am (bfin-parse.o): Remove bfin-parse.h from
530 the prerequisite. Add $(srcdir)/config/bfin-aux.h to the
531 prerequisite.
532 (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ...
e0c483d6 533 (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these.
53ae48a2
JZ
534 (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h
535 to the prerequisite.
536 * Makefile.in: Regenerate.
537
ce4a1a3a
RW
5382009-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
539
540 * Makefile.am (itbl-lex.o): Depend on itbl-parse.h.
541 (itbl-ops.o, itbl-tops.o): Likewise.
542 (itbl-parse.h): Use separate rule.
543 * Makefile.in: Regenerate.
544
110c21e1
JZ
5452009-09-03 Jie Zhang <jie.zhang@analog.com>
546
547 * config/tc-bfin.c (md_parse_option): Call as_fatal for bad
548 -mcpu= option.
549
c639698b
JZ
5502009-09-03 Jie Zhang <jie.zhang@analog.com>
551
552 * config/bfin-lex.l: Remove V as STATUS_REG.
553
ad15c38e
JZ
5542009-09-03 Jie Zhang <jie.zhang@analog.com>
555
556 * config/bfin-parse.y: Remove trailing whitespace.
557 (ccstat): Indent.
558 * config/tc-bfin.c (struct bfin_reg_entry): Remove.
559 (bfin_reg_info[]): Remove.
560
f31bf2c6
JZ
5612009-09-03 Jie Zhang <jie.zhang@analog.com>
562
563 * config/bfin-defs.h (F_REG_ALL): Remove macro.
564 (F_REG_HIGH): Redefine.
565 (F_REG_NONE): New macro.
566 (F_REG_LOW): New macro.
567 (REG_CLASS): Enclose macro argument in parentheses when used.
568 (REG_EVEN): Likewise.
569 (IS_H): Use flags.
570 (IS_HCOMPL): Use flags.
571 * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags.
572 (parse_reg): Set flags.
573 (parse_halfreg): Set flags.
574
11817687
JZ
5752009-09-03 Jie Zhang <jie.zhang@analog.com>
576
577 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
578 05000074 only when both slot1 and slot2 are filled.
579
bd03da30
JZ
5802009-09-03 Jie Zhang <jie.zhang@analog.com>
581
582 * config/tc-bfin.c (md_assemble): Bump line counters if there is
583 EOL in the instruction.
584
c958a8a8
JZ
5852009-09-03 Jie Zhang <jie.zhang@analog.com>
586
587 * config/bfin-defs.h (IS_GENREG): Define.
588 (IS_DAGREG): Define.
589 (IS_SYSREG): Define.
590 * config/bfin-parse.y (asm_1): Check illegal register move
591 instructions.
592
1d3ad4d0
JZ
5932009-09-03 Jie Zhang <jie.zhang@analog.com>
594
595 * config/bfin-parse.y (asm_1): Fix a typo.
596
d3a50e14
JZ
5972009-09-03 Jie Zhang <jie.zhang@analog.com>
598
599 * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
600 * config/tc-bfin.c (bfin_start_line_hook): Remove.
601 (bfin_loop_beginend): New.
602 * config/tc-bfin.h (bfin_start_line_hook): Don't declare.
603 (md_start_line_hook): Don't define.
604 * config/bfin-aux.h (bfin_loop_beginend): Declare.
605
a0840211
TG
6062009-09-03 Tristan Gingold <gingold@adacore.com>
607
608 * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename.
609 Call xstrdup on the result and free the buffer after use.
610
5bc2ed93
TG
6112009-09-03 Tristan Gingold <gingold@adacore.com>
612
613 * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.
614
958cff2f
JZ
6152009-09-02 Jie Zhang <jie.zhang@analog.com>
616
617 * config/bfin-parse.y (value_match): Use int instead of long.
618
619 From Michael Frysinger <michael.frysinger@analog.com>
620 * config/bfin-defs.h (Expr_Node_Value): Declare the i_value
621 member as long long.
622
39b4412d
JZ
6232009-09-02 Jie Zhang <jie.zhang@analog.com>
624
625 From Bernd Schmidt <bernd.schmidt@analog.com>
1e9cc1c2 626 * config/bfin-parse.y (asm_1): Clean up and unify error handling
39b4412d
JZ
627 for load and store insns.
628 (neg_value): Delete function.
629
7bb7d81f
RW
6302009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
631
632 * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o):
633 Supply correct source file name for generated files which may be
634 in $(srcdir).
635 * Makefile.in: Regenerate.
636
43123e98
L
6372009-09-01 H.J. Lu <hongjiu.lu@intel.com>
638
639 * version.c (parse_args): Change to "Copyright 2009".
640
fb792462
TG
6412009-09-01 Tristan Gingold <gingold@adacore.com>
642
643 * makefile.vms: Adjust include pathes. Remove useless vaxctrl
644 library.
645 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
646 Make edit silent.
647
83ee431c
JZ
6482009-09-01 Jie Zhang <jie.zhang@analog.com>
649
650 * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
651 in comparison.
652
08c1b056
JZ
6532009-09-01 Jie Zhang <jie.zhang@analog.com>
654
655 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com>
656 * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the
657 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable.
658
659 2007-08-23 Jie Zhang <jie.zhang@analog.com>
660 * config/tc-bfin.c (bfin_fix_adjustable): Adjust
661 BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and
662 BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
663
5e8c8f8f
JZ
6642009-09-01 Jie Zhang <jie.zhang@analog.com>
665
666 * read.c (TC_START_LABEL): Add a new argument.
667 (read_a_source_file): Pass the beginning of the symbol through
668 the new argument of TC_START_LABEL.
669 * config/tc-arm.h (TC_START_LABEL): Add a new argument.
670 * config/tc-bfin.c (bfin_start_label): Only search '(' and '['
671 from the beginning of the symbol.
672 * config/tc-bfin.h (TC_START_LABEL): Add the new argument.
673 * config/tc-d30v.h (TC_START_LABEL): Likewise.
674 * config/tc-fr30.h (TC_START_LABEL): Likewise.
675 * config/tc-m32c.h (TC_START_LABEL): Likewise.
676 * config/tc-m32r.h (TC_START_LABEL): Likewise.
677 * config/tc-mep.h (TC_START_LABEL): Likewise.
678
f1c2d4af
L
6792009-08-31 H.J. Lu <hongjiu.lu@intel.com>
680
681 PR gas/10570
682 * write.c (write_object_file): Revert the accidental change
683 made in revision 1.124 on 2009-08-17.
684
94be91de
JB
6852009-08-31 Jan Beulich <jbeulich@novell.com>
686
687 * config/obj-elf.c (obj_elf_change_section): Set default type
688 by calling bfd_elf_get_default_section_type.
689
e690f7f3
JZ
6902009-08-31 Jie Zhang <jie.zhang@analog.com>
691
692 * config/bfin-aux.h: Change format from DOS to UNIX.
693
d3ce72d0
NC
6942009-08-29 Martin Thuresson <martin@mtme.org>
695
696 * config/tc-arm.c (struct asm_cond, struct asm_psr, struct
697 asm_barrier_opt): Change member template to
698 template_name. (md_begin): Update code to reflect new member
699 names.
700 * config/tc-i386.c (struct templates, struct _i386_insn)
701 (match_template, cpu_flags_match, match_reg_size, match_mem_size)
702 (operand_size_match, md_begin, i386_print_statistics, pi)
703 (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
704 (optimize_disp): Updated code to use new names. (parse_insn):
705 Added casts.
706 * config/tc-ia64.c (dot_template, emit_one_bundle): Updated
707 code to use new names.
708 * config/tc-score.c (struct s3_asm_opcode): Renamed member
709 template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
710 s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
711 use new names.
712 * config/tc-score7.c (struct s7_asm_opcode): Renamed member
713 template to template_name. (s7_parse_16_32_inst,
714 s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
715 use new names.
716 * config/tc-tic30.c (md_begin, struct tic30_insn)
717 (md_assemble): Update code to use new names.
718 * config/tc-tic54x.c (struct _tic54x_insn, md_begin)
719 (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
720 Update code to use new names.
721 * config/tc-arm.c (insert_reg_alias): Rename variable new to
722 new_reg.
723 * config/tc-dlx.c (parse_operand): Rename variable new to
724 new_pos.
725 * config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
726 new to newr.
727 * config/tc-mcore.c (parse_exp, parse_imm): Rename variable
728 new to new_pointer.
729 * config/tc-microblaze.c (parse_exp, parse_imm, check_got):
730 Change name from new to new_pointer.
731 * config/tc-or32.c (parse_operand): Rename variable new to
732 new_pointer.
733 * config/tc-pdp11.c (md_assemble): Rename variable new to
734 new_pointer.
735 * config/tc-pj.c (alias): Change argument new to new_name.
736 * config/tc-score.c (s3_build_score_ops_hsh): Rename variable
737 new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
738 new to new_i2n. (s3_convert): Rename variables old and new to
739 r_old and r_new.
740 * config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
741 new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
742 new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
743 variables old and new to r_old and r_new.
744 * config/tc-sh.c (parse_exp): Rename variable new to
745 new_pointer.
746 * config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
747 new_pointer.
748 * config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
749 to new_pointer.
750 * config/tc-z8k.c (parse_exp): Rename variable new to
751 new_pointer.
752 * listing.c (listing_newline): Rename variable new to new_i.
753
0c9b4fd7
KK
7542009-08-29 Matt Fleming <matt@console-pimps.org>
755
756 * config/tc-sh.c (md_apply_fix): Extend sign of the offset value
757 for 64-bit host.
758
3632d14b
L
7592009-08-28 H.J. Lu <hongjiu.lu@intel.com>
760
761 * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om".
762 (i386_align_code): Handle PROCESSOR_L1OM.
763 (check_cpu_arch_compatible): Fix a typo in comments.
764 (set_cpu_arch): Check cpu_arch_isa instead of
765 cpu_arch_isa_flags.bitfield.cpul1om.
766 (i386_mach): Likewise.
767 (i386_target_format): Likewise.
768
769 * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM.
770
4e7defc1
DD
7712009-08-26 DJ Delorie <dj@redhat.com>
772
773 * config/tc-mep.c (md_pcrel_from_section): Handle any other
774 forced-relocation cases.
775
2cbd2211
RW
7762009-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
777
778 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
779 * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix
780 syntax error.
781 * Makefile.in: Regenerate.
782 * po/POTFILES.in: Likewise.
783 * po/gas.pot: Likewise.
784
604ab327
NC
7852009-08-26 Nick Clifton <nickc@redhat.com>
786
787 * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
788 seh_ctx_root being NULL.
789
a15af8e2
RW
7902009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
791
792 * Makefile.am (am__skiplex, am__skipyacc): New.
793 * Makefile.in: Regenerate.
794
81ecdfbb
RW
7952009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
796
14ec8efd
RW
797 * Makefile.am (YFLAGS): Remove, not needed any more.
798 (AM_CPPFLAGS): Renamed from ...
799 (INCLUDES): ... this.
800 * Makefile.in: Regenerate.
801
a5c7551f
RW
802 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
803 foreign and no-dist.
804 (all): Remove now-unneeded dependency upon info.
805 (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
806 (DEP_FILE_DEPS): Remove variables.
807 (OBJ_FORMAT_CFILES): Add config/obj-multi.c.
808 (OBJ_FORMAT_HFILES): Add config/obj-multi.h.
809 ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
810 ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
811 (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
812 (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
813 (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
814 now-unneeded rules.
815 (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
816 $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
817 $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments
818 are picked up in the Makefile.
819 (itbl-lex.c, itbl-ops.o): Remove manual dependencies.
820 (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
821 (itbl-test.o): Rewrite using automake-style dependency
822 tracking rules; only list the dependency upon the primary source
823 file, but no included headers.
824 (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
825 Remove.
826 (mkdep section): Remove.
827 * Makefile.in: Regenerate.
1e9cc1c2 828 * po/POTFILES.in, po/gas.pot: Regenerate.
a5c7551f 829
af542c2e
RW
830 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
831 (install-html-recursive): Remove.
832 * Makefile.in: Regenerate.
833 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
834 (html__strip_dir, install-html, install-html-am): Remove.
835 * doc/Makefile.in: Regenerate.
836
81ecdfbb
RW
837 * Makefile.in: Regenerate.
838 * aclocal.m4: Likewise.
839 * config.in: Likewise.
840 * configure: Likewise.
841 * doc/Makefile.in: Likewise.
842
62af60e2
SA
8432009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>
844
845 * config/tc-xtensa.c (config_max_slots): New global variable.
846 (md_begin): Set config_max_slots.
847 (total_frag_text_expansion): Use config_max_slots instead of
848 MAX_SLOTS.
849 (xg_init_vinsn): Likewise.
850 (xg_clear_vinsn): Likewise.
851 (xg_free_vinsn): Likewise.
852
d8392fd9
SA
8532009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com>
854
855 * config/tc-xtensa.c (xg_copy_vinsn): New function.
856 (finish_vinsn): Call xg_copy_vinsn.
857
983f90e3
SA
8582009-08-19 Sterling Augustine <sterling@tensilica.com>
859
860 * config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev
861 to no_transform_end.
862 * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set
863 and use no_transform_end.
864
284e0531
KT
8652009-08-18 Kai Tietz <kai.tietz@onevision.com>
866
867 * config/obj-coff-seh.c: Add copyright notice.
868 * config/obj-coff-seh.h: Add copyright notice.
869 Add x64 specific macros from coff/pe.h header.
870
2f1bf5c1
SA
8712009-08-18 Sterling Augustine <sterling@tensilica.com>
872
873 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use
874 sizeof instead of hard-coded value.
875 (add_xt_block_frags): Remove unused local variable.
876 (frag_flags_to_number): Change return type to flagword. Remove
877 unused local variable.
878
8792009-08-17 Sterling Augustine <sterling@tensilica.com>
b7afdeef 880
e0c483d6 881 * config/tc-xtensa.c (xtensa_frob_label): move call to
b7afdeef
SA
882 do_align_targets to set frag_type only.
883
f3d2b04b
KT
8842009-08-17 Kai Tietz <kai.tietz@onevision.com>
885
886 * config/obj-coff-seh.c: New file.
887 * config/obj-coff-seh.h: Likewise.
888 * config/obj-coff.c (obj-coff-seh.c): Add include.
889 (coff_pseudo_table): Add new .seh... commands.
890 * config/obj-coff.h (obj_coff_seh_do_final): Add new
891 function prototype.
892 (obj_coff_generate_pdata): New obj-coff hook.
1e9cc1c2 893 * write.c (size_seg): Avoid sizing of already sized
f3d2b04b
KT
894 sections.
895 (write_object_file): Call conditional hook
896 objc_coff_generate_pdata.
897 * Makefile.am: Add dependencies for new files.
898 * Makefile.in: Regenerated.
899
e23c5ac0
NC
9002009-08-17 Nick Clifton <nickc@redhat.com>
901
902 * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.
903 (parse_reg): Use safe-ctype.h macros.
904 (parse_exp): Likewise.
905 (md_assemble): Likewise.
906
85143216
DD
9072009-08-11 DJ Delorie <dj@redhat.com>
908
909 * config/tc-mep.c (md_estimate_size_before_relax): Handle weak
910 symbols correctly.
911 (md_convert_frag): Likewise.
912 (md_pcrel_from_section): Likewise.
913 (mep_force_relocation): Likewise.
e23c5ac0 914
d55cb1c5
BS
9152009-08-11 Bernd Schmidt <bernd.schmidt@analog.com>
916
917 * config/bfin-parse.y (gen_multi_instr_1): New function.
918 (asm): Use it instead of bfin_gen_multi_instr.
919 (error): Add a format string when calling as_bad.
920 * config/bfin-defs.h (insn_regmask): Declare.
921 * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
922 macros.
923 (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
924 decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
925 decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
926 decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
927 insn_regmask): New functions.
928
6306cd85
BS
929 From Jie Zhang <jie.zhang@analog.com>
930 * config/tc-bfin.h (bfin_anomaly_checks): Declare.
931 (AC_05000074): Define.
932 (ENABLE_AC_05000074): Define.
933 * config/tc-bfin.c (enum bfin_cpu_type): New.
934 (bfin_cpu_t): Typedef.
935 (bfin_cpu_type): Define.
936 (bfin_si_revision): Define.
937 (bfin_anomaly_checks): Define.
938 (struct bfin_cpu): New.
939 (bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
940 (bfin_isa): New global variable.
941 (OPTION_MCPU): Define.
942 (md_longopts[]): Add -mcpu option.
943 (md_parse_option): Deal with -mcpu option and initialize
944 bfin_anomaly_checks.
945 * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document
946 -mcpu option.
947 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
948 05000074.
949
baa3eb38
MF
9502009-08-11 Mike Frysinger <vapier@gentoo.org>
951
952 * config/bfin-parse.y (binary): Change "compiler" to "assembler".
953 (unary): Likewise.
954
ba7e13e4
NC
9552009-08-11 Nick Clifton <nickc@redhat.com>
956
957 PR 10443
958 * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
959 operands.
960
0561d57c
JK
9612009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
962
963 Fix compilation of i386-*-go32.
964 * config/tc-i386.c (i386_target_format <TE_GO32>): New.
965 (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
966 * config/te-go32.h (TARGET_FORMAT): Move the definition ...
967 * config/tc-i386.h <!i386_target_format>: ... here.
968
539d4391
NC
9692009-08-10 Daniel Gutson <dgutson@codesourcery.com>
970
971 PR gas/10479
972 * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
973
940b5ce0
DJ
9742009-08-07 Daniel Jacobowitz <dan@codesourcery.com>
975
976 * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
977 variables.
978 (mapping_state): Use the section's mapstate.
979 (mapping_state_2): Likewise. Skip special sections.
980 (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
981 (arm_elf_change_section): Do not set deleted globals.
982 * config/tc-arm.h (struct arm_segment_info_type): Document
983 marked_pr_dependency.
984
caa03924
ME
9852009-08-07 Michael Eager <eager@eagercon.com>
986
987 * NEWS: Mention MicroBlaze support.
988
7ba29e2a
NC
9892009-08-06 Michael Eager <eager@eagercon.com>
990
991 * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
e0c483d6 992 TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
7ba29e2a
NC
993 DEP_microblaze_elf target.
994 * Makefile.in: Regenerate.
995 * config/tc-microblaze.c: Add MicroBlaze assembler.
996 * config/tc-microblaze.h: Add header for tc-microblaze.c.
997 * configure.in: Add microblaze target.
998 * configure: Regenerate.
e0c483d6 999 * configure.tgt: Same.
7ba29e2a
NC
1000 * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
1001 * doc/Makefile.in: Same.
1002 * doc/all.texi: Set MICROBLAZE.
1003 * doc/as.texinfo: Add MicroBlaze doc links.
1004 * doc/c-microblaze.texi: New MicroBlaze docs.
1005
c877a2f2
NC
10062009-08-06 Nick Clifton <nickc@redhat.com>
1007
1008 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
1009 block in case it is a null macro.
1010
b12dd2e4
CF
10112009-08-05 Chao-ying Fu <fu@mips.com>
1012
1013 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
1014 true for new abi. For non-IRIX targets, it is always true.
1015 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
1016
8453da2e
EW
10172009-08-05 Eric B. Weddington <eric.weddington@atmel.com>
1018
1019 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
1020 attiny861a, atmega644pa, attiny24a, attiny44a.
1021 * doc/c-avr.texi: Likewise.
1022
30f8113a
SL
10232009-08-04 Sandra Loosemore <sandra@codesourcery.com>
1024
1025 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
1026 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
1027
f86adc07
NS
10282009-08-04 Nathan Sidwell <nathan@codesourcery.com>
1029
1030 * config/tc-arm.c (my_get_expression): Detect missing expressions.
1031
249da685
EW
10322009-08-02 Eric B. Weddington <eric.weddington@atmel.com>
1033
1034 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
1035 * doc/c-avr.texi: Likewise.
1036
11908008
EW
10372009-08-01 Eric B. Weddington <eric.weddington@atmel.com>
1038
1039 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
1040 * doc/c-avr.texi: Likewise.
1041
cd000bff
DJ
10422009-07-31 Daniel Gutson <dgutson@codesourcery.com>
1043 Daniel Jacobowitz <dan@codesourcery.com>
1044
1045 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
1046 * config/tc-arm.c (make_mapping_symbol): New function, from
1047 mapping_state. Save mapping symbols in the frag.
1048 (insert_data_mapping_symbol): New.
1049 (mapping_state): Use make_mapping_symbol, improve state transitions.
1050 (mapping_state_2): New. Provide dummy definition.
1051 (opcode_select): Do not call mapping_state.
1052 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
1053 (output_inst): Update use of tc_frag_data.
1054 (new_automatic_it_block): Call mapping_state before emitting the
1055 IT instruction.
1056 (md_assemble): Move mapping_state to just before outputting the
1057 new instruction.
1058 (arm_handle_align): Update use of tc_frag_data.
1059 Call insert_data_mapping_symbol.
1060 (arm_init_frag): Update use of tc_frag_data. Call
1061 mapping_state_2.
1062 (arm_elf_change_section): Always update the mapping symbol FSM state.
1063 (check_mapping_symbols): New function.
1064 (arm_adjust_symtab): Use check_mapping_symbols.
1065 * config/tc-arm.h (struct arm_frag_type): New.
1066 (TC_FRAG_TYPE): Change to struct arm_frag_type.
1067 (TC_FRAG_INIT): Pass max_chars.
1068 (arm_init_frag): Update prototype.
1069
5d8d4872
AG
10702009-07-31 Anthony Green <green@moxielogic.com>
1071
1072 * configure.tgt (generic_target): Add moxie-uclinux support.
1073
f746e6b9
NC
10742009-07-30 Nick Clifton <nickc@redhat.com>
1075
cab7e4d9
NC
1076 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
1077 different syntaxes support by the ARM port.
1078 (ARM Directives): Add entry for .syntax.
1079
f746e6b9
NC
1080 * doc/c-mips.texi (MIPS insn): Fix typo.
1081
af65af87
AM
10822009-07-29 Alan Modra <amodra@bigpond.net.au>
1083
1084 PR ld/10269
1085 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
1086 * config/tc-i386.c: Revert 2009-06-13 change.
1087 * config/tc-i386.h: Likewise.
1088
1035ad42
JB
10892009-07-28 Jan Beulich <jbeulich@novell.com>
1090
1091 * expr.c (op_rank): Specify size. Remove O_md* initializers.
1092
46203761
MK
10932009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
1094
1095 * config/tc-m68k.c (mcf5221x_ctrl): New.
1096 (m68k_cpu): Add line for MCF5221x.
1097
10982009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
b345c8c2
MK
1099
1100 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
1101 (mcf53017_ctrl): Fix RAMBAR.
1102
efa19bfd
JB
11032009-07-27 Jan Beulich <jbeulich@novell.com>
1104
1105 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
1106 symbol_new() with the passed in, unmodified one.
1107
7859b21d
SR
11082009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1109
1110 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
1111 object file without symbol values.
1112 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
e0c483d6 1113 then set the relocation type as NULL.
7859b21d 1114
8a9036a4
L
11152009-07-25 H.J. Lu <hongjiu.lu@intel.com>
1116
1117 * config/tc-i386.c (cpu_arch): Add l1om.
1118 (check_cpu_arch_compatible): New.
1119 (set_cpu_arch): Use it.
1120 (i386_arch): New.
1121 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
1122 (md_show_usage): Display l1om.
1123 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
1124 cpu_arch_isa_flags.bitfield.cpul1om is set.
1125
1126 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
1127 (i386_arch): New.
1128 (ELF_TARGET_L1OM_FORMAT): Likewise.
1129
1130 * doc/c-i386.texi: Document l1om.
1131
01fb1836 11322009-07-24 Roland McGrath <roland@redhat.com>
8e884a26 1133 Mark Wielaard <mjw@redhat.com>
01fb1836
RM
1134
1135 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
1136 flags on .comment section.
1137
8fdcc58d
TS
11382009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
1139 Alan Modra <amodra@bigpond.net.au>
1140
1141 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
1142 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
1143 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
1144
309d3373
JB
11452009-07-24 Jan Beulich <jbeulich@novell.com>
1146
1147 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
1148 .nosse, and .noavx.
1149 (cpu_flags_and_not): New.
1150 (set_cpu_arch): Check whether sub-architecture specified is a
1151 feature disable.
1152 (md_parse_option): Likewise.
1153 (parse_real_register): Don't return floating point register
1154 when x87 functionality is disabled.
1155 (md_show_usage): Add new sub-options.
1156 * doc/c-i386.texi: Update with new command line sub-options.
1157
20203fb9
NC
11582009-07-24 Nick Clifton <nickc@redhat.com>
1159
1160 PR 10437
1161 * config/tc-alpha.c: Fix up uses of gas printf like functions so
1162 that the format string is a constant string. Add translation
1163 support to message strings.
1164 * config/tc-arc.c: Likewise.
1165 * config/tc-arm.c: Likewise.
1166 * config/tc-cris.c: Likewise.
1167 * config/tc-fr30.c: Likewise.
1168 * config/tc-frv.c: Likewise.
1169 * config/tc-h8300.c: Likewise.
1170 * config/tc-hppa.c: Likewise.
1171 * config/tc-i370.c: Likewise.
1172 * config/tc-i960.c: Likewise.
1173 * config/tc-ia64.c: Likewise.
1174 * config/tc-m32r.c: Likewise.
1175 * config/tc-mep.c: Likewise.
1176 * config/tc-mips.c: Likewise.
1177 * config/tc-moxie.c: Likewise.
1178 * config/tc-msp430.c: Likewise.
1179 * config/tc-openrisc.c: Likewise.
1180 * config/tc-pdp11.c: Likewise.
1181 * config/tc-pj.c: Likewise.
1182 * config/tc-s390.c: Likewise.
1183 * config/tc-sh.c: Likewise.
1184 * config/tc-sh64.c: Likewise.
1185 * config/tc-sparc.c: Likewise.
1186 * config/tc-spu.c: Likewise.
1187 * config/tc-tic30.c: Likewise.
1188 * config/tc-tic4x.c: Likewise.
1189 * config/tc-tic54x.c: Likewise.
1190 * config/tc-v850.c: Likewise.
1191 * config/tc-xc16x.c: Likewise.
1192 * config/tc-xstormy16.c: Likewise.
1193 * config/tc-z80.c: Likewise.
1194 * config/tc-z8k.c: Likewise.
1195 * config/atof-ieee.c: Add translation support to as_warn
1196 messages.
1197 * config/obj-coff.c: Likewise.
1198
3e7a7d11
NC
11992009-07-23 Ulrich Drepper <drepper@redhat.com>
1200
1201 * config/obj-elf.c (obj_elf_type): Add code to support a type of
1202 gnu_unique_object.
1203 * doc/as.texinfo: Document new feature of .type directive.
1204 * NEWS: Mention support for gnu_unique_object symbol type.
1205
a946d7e3
NC
12062009-07-23 Nick Clifton <nickc@redhat.com>
1207
1208 PR binutils/10379
1209 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
1210 the .global directive for MIPS ports.
1211
711eedef
L
12122009-07-21 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 PR gas/10420
1215 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
1216 64bit.
1217 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
1218 for 64bit.
1219
bc0844ae
L
12202009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1221
1222 * config/tc-i386.c (md_assemble): Update operand types.
1223 (update_imm): Updated.
1224 (finalize_imm): Update the first 2 immediate operands only
1225 for instructions with 2 operands or more.
1226
9afe6eb8
L
12272009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1228
1229 * config/tc-i386.c (md_assemble): Check implicit registers
1230 only for instructions with 3 operands or less.
1231
a61a9fbc
NC
12322009-07-17 Nick Clifton <nickc@redhat.com>
1233
1234 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
1235 compile time warning.
1236
915bcca5
L
12372009-07-16 H.J. Lu <hongjiu.lu@intel.com>
1238
1239 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
1240 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
1241
9a6f4e97
NS
12422009-07-16 Nathan Sidwell <nathan@codesourcery.com>
1243
1244 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
1245 the offset for REL targets here.
1246
3726e6c5
L
12472009-07-15 Kai Tietz <kai.tietz@onevision.com>
1248
1249 * listing.c (print_source): Initialize cache by NULL.
1250
52970753
NC
12512009-07-15 Daniel Gutson <dgutson@codesourcery.com>
1252
1253 * doc/c-arm.texi (mauto-it): Removed old option.
1254 (mimplicit-it): Added right option.
1255
140033b3
NC
12562009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1257
1258 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
1259 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
1260 MAX_MEM_ALIGNMENT_BYTES.
1261 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
1262 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
1263
63b33ceb
NC
12642009-07-14 Nick Clifton <nickc@redhat.com>
1265
1266 PR 10387
1267 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
1268 (ARM_IS_FUNC): Likewise.
1269
752d5da4
NC
12702009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1271
1272 * config/tc-arm.c (md_assemble): Added validation.
1273
8455dd2c
L
12742009-07-10 H.J. Lu <hongjiu.lu@intel.com>
1275
1276 * Makefile.am: Run "make dep-am".
1277 * Makefile.in: Regenerated.
1278
fa8f86ff
TT
12792009-07-10 Tom Tromey <tromey@redhat.com>
1280
1281 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
1282 elf/dwarf2.h.
1283 (DEPTC_alpha_elf): Likewise.
1284 (DEPTC_alpha_evax): Likewise.
1285 (DEPTC_arm_elf): Likewise.
1286 (DEPTC_hppa_elf): Likewise.
1287 (DEPTC_i386_aout): Likewise.
1288 (DEPTC_i386_coff): Likewise.
1289 (DEPTC_i386_elf): Likewise.
1290 (DEPTC_m68k_aout): Likewise.
1291 (DEPTC_m68k_coff): Likewise.
1292 (DEPTC_m68k_elf): Likewise.
1293 (DEPTC_mips_coff): Likewise.
1294 (DEPTC_mips_ecoff): Likewise.
1295 (DEPTC_mips_elf): Likewise.
1296 (DEPTC_ppc_coff): Likewise.
1297 (DEPTC_ppc_elf): Likewise.
1298 (DEPTC_s390_elf): Likewise.
1299 (DEPTC_sh_coff): Likewise.
1300 (DEPTC_sh_elf): Likewise.
1301 (DEPTC_sh64_elf): Likewise.
1302 (DEPTC_sparc_aout): Likewise.
1303 (DEPTC_sparc_coff): Likewise.
1304 (DEPTC_sparc_elf): Likewise.
1305 (as.o): Likewise.
1306 (dwarf2dbg.o): Likewise.
1307 (dw2gencfi.o): Likewise.
1308 (ehopt.o): Likewise.
1309 (read.o): Likewise.
1310 * Makefile.in: Rebuild.
1311 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
1312 * dwarf2dbg.c: Likewise.
1313 * ehopt.c: Likewise.
1314
c921be7d
NC
13152009-07-09 Daniel Gutson <dgutson@codesourcery.com>
1316
1317 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
1318 (set_it_insn_type_nonvoid): New macro.
1319 (emit_thumb32_expr): New function.
1320 (thumb_insn_size): New function.
1321 (emit_insn): New function.
1322 (s_arm_elf_inst): New function.
1323 (md_pseudo_table): New pseudo-opcode entries added.
1324 * doc/c-arm.texi: New directive added.
1325
7ec721f4
DD
13262009-07-07 DJ Delorie <dj@redhat.com>
1327
1328 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
1329 when enabling other options without a specific configuration.
1330
1103f72c
NC
13312009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
1332
1333 * config/tc-arm.c (insns): Fix encoding for torvsc.
1334
922d8de8
DR
13352009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1336
1337 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
1338 (build_modrm_byte): Add support to handle FMA4 instructions.
1339 (md_show_usage): Add fma4.
01fb1836 1340
c1a6351f
AM
13412009-07-04 Alan Modra <amodra@bigpond.net.au>
1342
1343 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
1344
e57f8c65
TG
13452009-07-02 Tristan Gingold <gingold@adacore.com>
1346
1347 * Makefile.am (OBJ_FORMATS): Add macho.
1348 (CPU_OBJ_VALID): Ditto.
1349 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
1350 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
1351 (obj-macho.o): New rule.
1352 * Makefile.in: Regenerated.
1353 * configure.tgt (generic_target): Add i386-*-darwin*.
1354 * config/tc-i386.h: Use i386_target_format for Mach-O.
1355 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
1356 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
1357 * config/obj-macho.h: New file.
1358 * config/obj-macho.c: New file.
01fb1836 1359
1ef52f49
NC
13602009-07-01 Nick Clifton <nickc@redhat.com>
1361
1362 PR 10168
1363 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
1364 PKHBT.
1365
921e5f0a
PB
13662009-07-01 Paul Brook <paul@codesourcery.com>
1367
1368 * config/tc-arm.c (MISSING_FNSTART): Define.
1369 (s_arm_unwind_fnstart): Diagnose duplicate directive.
1370 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
1371 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
1372 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
1373 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
1374 not inside function unwinding region.
1375
7ab9ffdd
L
13762009-06-29 H.J. Lu <hongjiu.lu@intel.com>
1377
1378 * config/tc-i386.c: Reformat.
1379
3ef23cd4
DD
13802009-06-23 DJ Delorie <dj@redhat.com>
1381
1382 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
1383 32 bits for relaxable branches so that we can relax them later.
1384 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
1385 (mep_relax_frag): New.
1386 (md_convert_frag): Relax IVC2 branches in-place.
1387 * config/tc-mep.h ((mep_relax_frag): New.
1388
9c2799c2 13892009-06-22 Martin Thuresson <martin@mtme.org>
01fb1836 1390
1e9cc1c2
NC
1391 * app, as.c, as.h, atof-generic.c, cgen.c,
1392 config/atof-ieee.c, config/obj-aout.c,
1393 config/obj-coff.c, config/obj-ecoff.c,
1394 config/obj-elf.c, config/obj-som.c, config/tc-alpha.c,
1395 config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c,
1396 config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c,
1397 config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c,
1398 config/tc-i386-intel.c, config/tc-i386.c,
1399 config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c,
1400 config/tc-iq2000.c, config/tc-m32c.c,
1401 config/tc-m32r.c, config/tc-m68hc11.c,
1402 config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c,
1403 config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c,
1404 config/tc-mn10300.c, config/tc-moxie.c,
1405 config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c,
1406 config/tc-s390.c, config/tc-score.c,
1407 config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c,
1408 config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c,
1409 config/tc-xtensa.c, config/xtensa-relax.c,
1410 dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c,
1411 frags.c, input-file.c, read.c, sb.c,
1412 subsegs.c, symbols.c, write.c: Change the name of the
9c2799c2
NC
1413 gas macro `assert' to `gas_assert'.
1414
e07e6e58
NC
14152009-06-22 Daniel Gutson <dgutson@codesourcery.com>
1416
1417 * config/tc-arm.c (implicit_it_mode): New enum.
1418 (implicit_it_mode): New global.
1419 (it_instruction_type): New enum.
1420 (arm_parse_it_mode): New function.
1421 (arm_long_opts): New option added.
1422 (arm_it): New field.
1423 (it_state): New enum.
1424 (now_it): New macro.
1425 (check_it_blocks_finished): New function.
1426 (insns[]): Use the IT Thumb opcodes for ARM too.
1427 (arm_cleanup): Call check_it_blocks_finished.
1428 (now_it_compatible): New function.
1429 (conditional_insn): New function.
1430 (set_it_insn_type): New macro.
1431 (set_it_insn_type_last): New macro.
1432 (do_it): Call automatic IT machinery functions.
1433 (do_t_add_sub): Likewise
1434 (do_t_arit3): Likewise.
1435 (do_t_arit3c): Likewise.
1436 (do_t_blx): Likewise.
1437 (do_t_branch): Likewise.
1438 (do_t_bkpt): Likewise.
1439 (do_t_branch23): Likewise.
1440 (do_t_bx): Likewise.
1441 (do_t_bxj): Likewise.
1442 (do_t_cps): Likewise.
1443 (do_t_cpsi): Likewise.
1444 (do_t_cbz): Likewise.
1445 (do_t_it): Likewise.
1446 (encode_thumb2_ldmstm): Likewise.
1447 (do_t_ldst): Likewise.
1448 (do_t_mov_cmp): Likewise.
1449 (do_t_mvn_tst): Likewise.
1450 (do_t_mul): Likewise.
1451 (do_t_neg): Likewise.
1452 (do_t_setend): Likewise.
1453 (do_t_shift): Likewise.
1454 (do_t_tb): Likewise.
1455 (output_it_inst): New function.
1456 (new_automatic_it_block): New function.
1457 (close_automatic_it_block): New function.
1458 (now_it_add_mask): New function.
1459 (it_fsm_pre_encode): New function.
1460 (handle_it_state): New function.
1461 (it_fsm_post_encode): New function.
1462 (force_automatic_it_block_close): New function.
1463 (in_it_block): New function.
1464 (md_assemble): Call automatic IT block machinery functions.
1465 (arm_frob_label): Likewise.
1466 (arm_opts): New element.
1467 * config/tc-arm.h (it_state): New enum.
1468 (current_it): New struct.
1469 (arm_segment_info_type): New member added.
1470 * doc/c-arm.texi: New option -mimplicit-it documented.
1471
90dce00a
AM
14722009-06-20 Alan Modra <amodra@bigpond.net.au>
1473
1474 PR 10302
1475 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
1476
5e7c27a6
MS
14772009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1478
1479 * config/tc-s390.c (md_gather_operands): Accept an instruction
1480 without operands if all operands are tagged as optional.
1481
3a21c15a
NC
14822009-06-18 Nick Clifton <nickc@redhat.com>
1483
1484 PR 10169
1e9cc1c2 1485 * tc-arm.c (do_t_ssat): Move common code from here...
3a21c15a
NC
1486 (do_t_usat): ... and here to...
1487 (do_t_ssat_usat): New function: ... here. Add code to check that
1488 the shift value, if present, is in range.
1489
361dff73
DK
14902009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
1491
32425da9
NC
1492 Merge cegcc and mingw32ce target name changes
1493 from CeGCC project:
361dff73 1494
32425da9 1495 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
1496
1497 * configure.tgt: Add arm*-*-cegcc* target.
1498
32425da9 1499 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
1500
1501 * configure.tgt: Add arm-*-mingw32ce* target.
1502
7b6021f1
MR
15032009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
1504
1505 * config/tc-vax.c (md_estimate_size_before_relax): Accept
1506 indirect symbol references in the PIC mode and emit a
1507 PC-relative relocation instead of a GOT/PLT one. Likewise
1508 for symbols known to be hidden at this point.
1509
fe2ceba1
NC
15102009-06-15 Nick Clifton <nickc@redhat.com>
1511
1512 PR 10186
1513 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
1514 instruction.
1515
c25bc9fc
L
15162009-06-13 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 PR ld/10269
1519 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
1520 instead of generic_force_reloc.
1521
1522 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
1523
f865a31d
AG
15242009-06-11 Anthony Green <green@moxielogic.com>
1525
1526 * config/tc-moxie.c (md_chars_to_number): Define.
1527 (md_begin): Populate opcode hashtable with more form 3 opcodes.
1528 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
1529 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
1530 (tc_gen_reloc): Ditto.
1531 (md_pcrel_from): Ditto.
1532 (md_chars_to_number): New function.
1533
d7a5ed35
AG
15342009-06-10 Anthony Green <green@moxielogic.com>
1535
1536 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
1537 opcodes.
1538
1fbfe785
JJ
15392009-06-09 Jakub Jelinek <jakub@redhat.com>
1540
1541 PR gas/10255
1542 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
1543 to DW_CFA_advance_loc4.
1544
fbeb56a4
DK
15452009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
1546
1547 PR gas/977
1548 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
1549 branches to weak symbols.
1550 (md_apply_fix): Don't convert fixes against weak symbols to
1551 section-relative offsets, but save addend for later reloc emission.
1552 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
1553 addend to pre-compensate for bfd_install_relocation.
1554
26d1917c
AM
15552009-06-04 Alan Modra <amodra@bigpond.net.au>
1556
1557 * dep-in.sed: Don't use \n in replacement part of s command.
1558 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
1559 * Makefile.in: Regenerate.
1560
d160e035
L
15612009-06-01 H.J. Lu <hongjiu.lu@intel.com>
1562
1563 PR gas/10198
1564 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
1565
ff239038
CM
15662009-05-26 Catherine Moore <clm@codesourcery.com>
1567
1568 * config/tc-mips.c (check_for_24k_errata): Remove.
1569 (md_mips_end): Remove call to check_for_24k_errata.
1570 (start_noreorder): Likewise.
1571 (s_change_sec): Likewise.
1572 (s_change_section): Likewise.
1573 (insns_between): Add 24k errata checks.
1574 (append_insn): Remove declaration and references to nhdx_24k.
1575 Remove calls to check_for_24k_errata.
01fb1836 1576
f12e7348
NC
15772009-05-26 Nick Clifton <nickc@redhat.com>
1578
1579 * po/id.po: Updated Indonesian translation.
1580 * po/gas.pot: Updated template file.
1581
f8f003f1
NC
15822009-05-26 Nick Clifton <nickc@redhat.com>
1583
1584 PR 10143
1585 * config/bfin-parse.y (error): Use "%s" as format string for error
1586 message.
1587
5de4cd13
AM
15882009-05-26 Alan Modra <amodra@bigpond.net.au>
1589
1590 * dep-in.sed: Output one filename per line with all lines having
1591 continuation backslash. Prefix first line with "A", following
1592 lines with "B".
1593 * Makefile.am (DEP): Don't use dep.sed here.
1594 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
1595 sort and uniq.
1596 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
1597 Emit multi dependencies on one line.
1598 * Makefile.in: Regenerate.
1599
295fa3cf 16002009-05-25 Tristan Gingold <gingold@adacore.com>
cb0e7c25
TG
1601
1602 * makefile.vms: New file to compile gas on VMS.
1603
1604 * configure.com: New file to do configuration on VMS with DCL.
1605
65b02341
RS
16062009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
1607
1608 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
1609 (nops_for_insn): Likewise.
1610
ad04f5ce
L
16112009-05-22 H.J. Lu <hongjiu.lu@intel.com>
1612
1613 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
1614
c1e679ec
DR
16152009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1616
1617 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
1618 (build_modrm_byte): Remove DREX handling support.
1619 (DREX_*): Delete.
1620 (drex_byte): Delete.
1621 (md_assemble): Remove DREX handling support.
1622 (process_operands): Remove DREX, SSE5 support.
1623 (i386_insn): Remove DREX.
01fb1836 1624
2b3decb5
AM
16252009-05-22 Alan Modra <amodra@bigpond.net.au>
1626
1627 * Makefile.am: Run "make dep-am".
1628 * Makefile.in: Regenerate.
1629
321098a5
L
16302009-05-20 Kai Tietz <kai.tietz@onevision.com>
1631 H.J. Lu <hongjiu.lu@intel.com>
1632
1633 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
1634 (TARGET_FORMAT): Removed for x86 pe-coff.
1635 (COFF_TARGET_FORMAT): Likewise.
1636
1637 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
1638 (md_parse_option): Likewise.
1639 (md_show_usage): Show option --32/--64 for x86 pe-coff.
1640 (i386_target_format): Use also for x86 pe-coff.
1641
1642 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
1643 for x86 pe-coff.
1644
b899d332
DD
16452009-05-19 DJ Delorie <dj@redhat.com>
1646
1647 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
1648 (mep_process_saved_insns): Remove debugging printfs.
1649
c1711530
DK
16502009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
1651
1652 * NEWS: Mention new feature.
1653 * config/obj-coff.c (obj_coff_common_parse): New function.
1654 (obj_coff_comm): Likewise.
1655 (coff_pseudo_table): Override default ".comm" definition on PE.
1656 * doc/as.texinfo: Document new feature.
1657
63ad59ae
KT
16582009-05-17 Kai Tietz <kai.tietz@onevision.com>
1659
321098a5
L
1660 * config/obj-coff.c (obj_coff_section): Add 'y' as
1661 specifier for SEC_COFF_NOREAD section flag.
63ad59ae
KT
1662 * doc/as.texinfo: Add documentation about .section flag 'y'.
1663
77ca1325
DD
16642009-05-13 DJ Delorie <dj@redhat.com>
1665
1666 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
1667
42a68e18
AJ
16682009-05-13 Andrew Jenner <andrew@codesourcery.com>
1669
1670 * config/tc-arm.c: Move as.h to start of file.
1671
267bf995
RR
16722009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1673
84df6011 1674 * config/tc-arm.h: Fix typo in comment.
267bf995
RR
1675 (ARM_IS_FUNC): New macro.
1676 (MD_APPLY_SYM_VALUE): Define.
1677
84df6011 1678 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
267bf995
RR
1679 all versions of EABI.
1680 (relax_branch): Do not relax for branches to ARM functions.
1681 (md_pcrel_from_section): Set up base correctly for
1682 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
1683 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
1684 BFD_RELOC_ARM_PCREL_CALL.
1685 (md_apply_fix): Flip bl to blx where possible.
1686 Flip blx to bl where possible.
1687 (arm_force_relocation): Force relocations for
1688 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
1689 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
1690 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
1691 BFD_RELOC_THUMB_PCREL_BRANCH25.
1692 (arm_apply_sym_value): New function.
01fb1836 1693
eb979bfb
TG
16942009-05-04 Tristan Gingold <gingold@adacore.com>
1695
1696 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
1697
45eb4c1b
NS
16982009-05-01 Nathan Sidwell <nathan@codesourcery.com>
1699
1700 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
1701 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
1702 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
1703 the default FPU from the processor.
1704
00adf2d4
JB
17052009-05-01 Julian Brown <julian@codesourcery.com>
1706
1707 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
1708 (md_pcrel_from_section): Align address for BLX.
1709 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
1710 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
1711
3526b680
DD
17122009-04-29 DJ Delorie <dj@redhat.com>
1713
1714 * config/tc-mep.c (md_begin): Check coprocessor type.
1715 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
1716 (md_check_parallel32_scheduling): Likewise.
1717 (slot_ok): New.
1718 (mep_check_ivc2_scheduling): New.
1719 (mep_check_parallel_scheduling): Call it.
1720 (mep_process_saved_insns): Add IVC2 slot support.
1721 (md_assemble): Likewise.
1722
d8045f23
NC
17232009-04-30 Nick Clifton <nickc@redhat.com>
1724
1725 * config/obj-elf.c (obj_elf_type): Add support for a
1726 gnu_indirect_function type.
1727 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
1728 against indirect function symbols.
1729 * doc/as.texinfo (.type): Document the support for the
1730 gnu_indirect_function symbol type.
1731 * NEWS: Mention the new feature.
1732
92846e72
CC
17332009-04-24 Cary Coutant <ccoutant@google.com>
1734
1735 * NEWS: Add item about discriminator support.
1736 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
1737 * dwarf2dbg.c (current): Add discriminator field.
1738 (dwarf2_where): Copy discriminator value.
1739 (dwarf2_consume_line_info): Set discriminator to 0.
1740 (dwarf2_directive_loc): Process discriminator sub-op.
1741 (out_leb128): New function.
1742 (process_entries): Output DW_LNE_set_discriminator.
1743 * doc/as.texinfo: Add discriminator operand to .loc directive.
92846e72 1744
520725ea
NS
17452009-04-22 Nathan Sidwell <nathan@codesourcery.com>
1746
1747 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
1748 as_bad calls to silence compiler warning.
1749
7ac3eb25
L
17502009-04-21 H.J. Lu <hongjiu.lu@intel.com>
1751
1752 * config/tc-i386-intel.c (O_XXX): Reorder.
1753
ee86248c
JB
17542009-04-20 Jan Beulich <jbeulich@novell.com>
1755
1756 * Makefile.am: Add explicit dependency of tc-i386.o on
1757 tc-i386-intel.c.
1758 * Makefile.in: Likewise.
1759 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
1760 out from i386_immediate.
1761 (i386_immediate): Slightly re-arrange, call
1762 i386_finalize_immediate.
1763 (i386_finalize_displacement): Declare, broken out from
1764 i386_displacement.
1765 (i386_displacement): Slightly re-arrange, call
1766 i386_finalize_displacement.
1767 (i386_intel_simplify, i386_intel_parse_name): Declare.
1768 (this_operand): Initialize to -1.
1769 (set_intel_syntax): Set expression rank for O_full_ptr.
1770 (md_assemble): Set this_operand back to -1 after parsing
1771 operands.
1772 (x86_cons): Negate intel_syntax to indicate state. Call
1773 i386_intel_simplify.
1774 (md_operand): Convert if to switch. Handle '[' for Intel
1775 syntax.
1776 (i386_intel_operand): Delete, including all helper functions
1777 and data.
1778 * config/tc-i386-intel.c: New file, all new code.
1779 * config/tc-i386.h (i386_operator): Declare.
1780 (md_operator): Define to i386_operator.
1781 (i386_need_index_operator): Declare.
1782 (md_need_index_operator): Define to i386_need_index_operator.
1783 (O_full_ptr): Define.
1784
fcaed75e
JB
17852009-04-20 Jan Beulich <jbeulich@novell.com>
1786
1787 * expr.c (operand): Call md_need_index_operator() and
1788 md_operator() if defined. Add unary label.
1789 (operator): Call md_operator() if defined.
1790 (expr): Adjust assertions on range and rank of op_left and
1791 op_right. Don't abort on unhandled operators when reducing
1792 expressions with both operands being constant.
1793 (expr_set_rank): New.
1794 * expr.h (expr_set_rank): Declare.
1795
51a5d0aa 17962009-04-15 Anthony Green <green@moxielogic.com>
20135e4c
NC
1797
1798 * config/tc-moxie.h: New file.
1799 * config/tc-moxie.c: New file.
1800 * configure: Add support for moxie.
1801 * configure.tgt: Add support for moxie.
1802
d85733c8
JB
18032009-04-16 Jan Beulich <jbeulich@novell.com>
1804
1805 * expr.c: Include limits.h if available, and #define CHAR_BITS
1806 otherwise.
1807 (expr): Check range of shift count when evaluating a constant
1808 expression.
1809
d8a1b51e
JB
18102009-04-15 Jan Beulich <jbeulich@novell.com>
1811
1812 * config/tc-i386.c (process_operands): Print operands in
1813 correct order depending on intel_syntax.
1814
6a32d874
CM
18152009-04-09 Catherine Moore <clm@codesourcery.com>
1816
1817 * config/tc-mips.c (mips_fix_24k): Declare.
1818 (check_for_24k_errata): New.
1819 (mips_cleanup): Call check_for_24k_errata.
1820 (start_noreorder): Likewise.
1821 (md_mips_end): Likewise.
1822 (s_change_sec): Likewise.
1823 (s_change_section): Likewise.
1824 (append_insn): Call check_for_24k_errata. Prevent
1825 ERET/DERET instructions from being moved into delay
1826 slots.
1827 (OPTION_FIX_24K): New.
1828 (OPTION_NO_FIX_24k) New.
1829 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
1830 (md_parse_option): Handle fix-24k options.
1831 (md_show_usage): Display fix-24k options.
1832 * doc/c-mips.texi: Document.
6a32d874 1833
6b6b3450
AN
18342009-04-09 Adam Nemet <anemet@caviumnetworks.com>
1835
1836 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
1837 instead of HAVE_64BIT_SYMBOLS.
1838
4d28413b
DD
18392009-04-07 DJ Delorie <dj@redhat.com>
1840
1841 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
1842 (md_show_usage): Change default endian to little.
1843 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
1844
bcb012d3
DD
18452009-04-06 DJ Delorie <dj@redhat.com>
1846
1847 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
1848 immediates.
1849 (build_bytes): Pass insn to do_a_fix_imm.
1850
5b19eaba
NC
18512009-04-02 Daniel Gutson <dgutson@codesourcery.com>
1852
1853 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
1854 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
1855 Cortex-M1.
1856
745435b6
MT
18572009-04-01 Matt Thomas <matt@netbsd.org>
1858
1859 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
1860 (md_assemble): emit symbol name when used as immediate in PIC mode.
1861 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
1862
1ec520b7
SA
18632009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1864
1865 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
1866
4343666d
RR
18672009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1868
1869 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
1870 (find_real_start): Likewise.
1871 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
1872
e7495e45
NS
18732009-04-01 Nathan Sidwell <nathan@codesourcery.com>
1874
1875 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
1876 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
1877 whenever possible.
1878
42240548
PB
18792009-03-31 Peter Bergner <bergner@vnet.ibm.com>
1880
1881 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
1882
adfd7328
DK
18832009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
1884
1885 * doc/internals.texi: Fix trivial syntax errors.
1886
0cc9e1d3
AM
18872009-03-26 Alan Modra <amodra@bigpond.net.au>
1888
1889 PR 10005
1890 * config/tc-i386.c (reloc): Don't abort on lack of required
1891 reloc type.
1892
41aacd83
L
18932009-03-25 H.J. Lu <hongjiu.lu@intel.com>
1894
1895 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
1896 arch.
1897
d67ffd56
L
18982009-03-23 H.J. Lu <hongjiu.lu@intel.com>
1899
1900 PR gas/9966
1901 * listing.c (listing_newline): Properly handle `\\"' and ';'.
1902
1903 * read.c (is_end_of_line): Update comments for line separator.
1904 (read_begin): Set line separator in is_end_of_line to 2.
1905
b7cac25f
DM
19062009-03-19 David S. Miller <davem@davemloft.net>
1907
1908 * config/tc-sparc.c (md_parse_option): If the user gives
1909 us '--64' make sure max_architecture is at least V9.
1910
42e5fcbf
AS
19112009-03-18 Andrew Stubbs <ams@codesourcery.com>
1912
1913 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
1914 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
1915 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
1916
8d25cc3d
AM
19172009-03-18 Alan Modra <amodra@bigpond.net.au>
1918
1919 * as.h: Include alloca-conf.h instead of config.h and remove
1920 existing #if's handling alloca.
1921 * Makefile.am: Run "make dep-am".
1922 * Makefile.in: Regenerate.
1923
8602d4fe
RS
19242009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1925
1926 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
1927 C_AIX_WEAKEXT too.
1928
9f0eb232
RS
19292009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1930
1931 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
1932 "value" from fx_offset. Manually resubtract md_pcrel_from_section
1933 where necessary.
1934
e5231592
RS
19352009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1936
1937 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1938 * configure.in: Likewise.
1939 * configure: Regenerate.
1940
a07dbd48
HPN
19412009-03-11 Hans-Peter Nilsson <hp@axis.com>
1942
1943 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
1944 Rename, changing all callers, to...
1945 (md_create_short_jump): Adjust head comment. Assert
1946 word-sized-branch distance for v32. Bail out calling as_fatal for
1947 compatibility mode here.
1948 (md_create_long_jump): ...not here.
1949 * config/tc-cris.h (md_create_short_jump): Do not define.
1950
187af7df
HPN
19512009-03-10 Hans-Peter Nilsson <hp@axis.com>
1952
1953 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
1954 the jump table for multiple overflowing entries with the same
1955 target, handle base symbols being different.
1956 (relax_segment) <case rs_broken_word, second loop>: Whenever a
1957 single entry overflows, arrange to redirect all entries with the
1958 same target.
1959
69fe9ce5
AM
19602009-03-10 Alan Modra <amodra@bigpond.net.au>
1961
1962 * config/tc-ppc.c (parse_cpu): Delete.
1963 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
1964
f378cd83
L
19652009-03-09 H.J. Lu <hongjiu.lu@intel.com>
1966
1967 PR gas/9915
1968 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
1969 (LOCAL_LABELS_FB): Undefine befoe define.
1970
d11fd249
NC
19712009-03-06 Nick Clifton <nickc@redhat.com>
1972
1973 * po/es.po: Updated Spanish translation.
1974
cc3f603a
JM
19752009-03-05 Joseph Myers <joseph@codesourcery.com>
1976
1977 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
1978 s_incbin): Call md_cons_align (1).
1979
d9319cec
NC
19802009-03-04 Nick Clifton <nickc@redhat.com>
1981
1982 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
1983 based targets.
1984 (s_alpha_comm): Only define "temp" and "log_align" local variables
1985 for EVAX targets.
1986
727fc41e
AM
19872009-03-04 Alan Modra <amodra@bigpond.net.au>
1988
1989 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
1990 have non-zero addend.
1991 (md_assemble): Parse args of __tls_get_addr calls.
1992 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
1993
1c5c6c13
DA
19942009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1995
1996 binutils/3807
1997 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
1998 local scope for ELF targets.
1999
ed84b57b
AM
20002009-03-04 Alan Modra <amodra@bigpond.net.au>
2001
2002 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
2003
198f1251
TG
20042009-03-03 Tristan Gingold <gingold@adacore.com>
2005 Eric Botcazou <ebotcazou@adacore.com>
2006 Douglas B Rupp <rupp@gnat.com>
2007
2008 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
2009 for Alpha.
2010 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
2011 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
2012 (OBJ_SYMFIELD_TYPE): Remove.
2013 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
2014 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
2015 (tc_frob_file_before_fix): Do not defined on evax.
2016 * config/tc-alpha.c: Always includes dwarf2dbg.h.
2017 Include vms.h if OBJ_EVAX.
2018 (struct alpha_fixup): Add xtrasym and procsym (evax only).
2019 (enum alpha_macro_arg): Remove trailing comma.
2020 (md_longopts): Add replace and noreplace arguments (evax only).
2021 (alpha_evax_proc_hash): New variable.
2022 (alpha_link_section): Make it global.
2023 (alpha_ctors_section, alpha_dtors_section): Removed.
2024 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
2025 (alpha_lit8_section): Ifndef'ed on evax.
2026 (alpha_lit8_symbol): Ditto.
2027 (alpha_prologue_label): New variable.
2028 (alpha_linkage_symbol): New variable (evax only).
2029 (alpha_flag_replace): Ditto.
2030 (struct alpha_evax_procs): Add handler and handler_data field.
2031 (alpha_evax_proc): Now of type pointer.
2032 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
2033 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
2034 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
2035 (alpha_adjust_relocs): Ifndef'ed on evax.
2036 (load_expression): Add opname argument.
2037 Implement LDA/BSR optimization for evax.
2038 (emit_lda): Adjust for new prototype of load_expression.
2039 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
2040 (emit_loadstore): Likewise.
2041 (emit_ldXu): Likewise.
2042 (emit_stX): Likewise.
2043 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
2044 (emit_ldgp): Avoid warning in evax case.
2045 (add_to_link_pool): Make it static. Return symbolic expression rather
2046 than number expression for the offset.
2047 (s_alpha_text): Create .text symbol for evax if not already created.
2048 (s_alpha_comm): Do not create specific section for common symbol.
2049 Fill common area with zeros for evax.
2050 (s_alpha_prologue): Create alpha_prologue_label.
2051 (s_alpha_section_name): New function (evax).
2052 (s_alpha_section_word): Likewise.
2053 (section_name): New static variabke moved out from ...
2054 (s_alpha_section): ... here. Create new sections on demand.
2055 (s_alpha_literals): New function (evax).
2056 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
2057 alpha_evax_proc_hash table.
2058 (s_alpha_handler): New function (evax).
2059 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
2060 (s_alpha_prologue): New function (evax).
2061 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
2062 handling of procedures with hash table.
2063 Add support for condition handlers.
2064 (s_alpha_linkage): Create linkage_fixup instance and chain it.
2065 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
2066 (s_alpha_mask): Likewise.
2067 (s_alpha_fmask): Likewise.
2068 (s_alpha_end): Clear alpha_evax_proc.
2069 (s_alpha_align): Increase max_alignment to 16.
2070 (alpha_print_token): Call print_expr_1 instead of print_expr.
ed84b57b 2071 (md_pseudo_table): Add "section", "literals", "handler" and
198f1251
TG
2072 "handler_data" (evax). Do not ignore "prologue" on evax.
2073 Fix indentation.
2074 (md_begin): Create hash table for alpha_evax_proc_hash.
2075 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
2076 (md_show_usage): Mention -replace/-noreplace for evax.
2077 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
2078 (alpha_force_relocation): Likewise.
2079 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
2080 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
2081 (emit_insn): New cases for evax specific relocs.
2082 (assemble_insn): Fix indentation.
2083 Take care of -MDISP in operand table.
2084 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
2085 (OBJ_SYMFIELD_TYPE): New macro.
2086 (obj_symbol_new_hook): Define.
2087 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
2088 (obj_frob_file_before_fix): Ditto.
2089 (PDSC_S_M_HANDLER_VALID): New macro.
2090 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
2091 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
2092 Add prototypes for functions declared in obj-evax.c
2093 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
2094 (s_evax_weak): Convert to ansi-C.
2095 (evax_symbol_new_hook): New function.
2096 (evax_frob_symbol): Ditto.
2097 (evax_frob_file_before_adjust): Ditto.
2098 (evax_frob_file_before_fix): Ditto.
2099 (evax_shorten_name): Ditto.
2100 (crc32): Ditto.
2101 (encode_32): Ditto.
2102 (encode_16): Ditto.
2103 (decode_16): Ditto.
2104 (shorten_identifier): Ditto.
2105 (is_truncated_identifier): Ditto.
2106 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
2107 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
2108 (main): Ditto.
2109
a1f7ca36
AM
21102009-03-03 Alan Modra <amodra@bigpond.net.au>
2111
2112 * Makefile.am: Run "make dep-am".
2113 * Makefile.in: Regenerate.
2114
83cf10fd
NC
21152009-03-02 Nick Clifton <nickc@redhat.com>
2116
2117 PR 9874
2118 * config/tc-ia64.c (fix_insn): Fix warning reported by
2119 -Wformat-security.
2120
c3b7224a
NC
21212009-03-02 Qinwei <qinwei@sunnorth.com.cn>
2122
2123 * config/tc-score7.c: New file.
2124 * doc/c-score.texi: New file.
2125 * Makefile.am: Update dependencies for tc-score.c.
2126 * Makefile.in: Regenerate.
2127 * NEWS: Mention support for Score7 architecture.
2128 * config/tc-score.c: Add support for Score7 architecture.
2129 * config/tc-score.h: Likewise.
2130 * doc/Makefile.am: Add c-score.texi.
2131 * doc/Makefile.in: Regenerate.
2132 * doc/all.texi: Add Score7.
2133 * doc/as.texinfo: Add Score7.
2134
04e2c417
MM
21352009-03-01 Mark Mitchell <mark@codesourcery.com>
2136
2137 * config/tc-arm.c (md_assemble): Allow barrier instructions on
2138 ARMv6-M cores.
2139
58e24671
RW
21402009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2141
2142 * configure: Regenerate.
2143
066be9f7
PB
21442009-02-26 Peter Bergner <bergner@vnet.ibm.com>
2145
2146 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
2147 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
2148 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
2149
784788d2
L
21502009-02-25 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 * config/tc-i386.c (fits_in_imm4): Removed.
2153
91c2f09e
DA
21542009-02-24 Helge Deller <deller@gmx.de>
2155
dfaf9df8 2156 * config/tc-hppa.c (pa_ip): Add check of immediate values.
91c2f09e
DA
2157 (SAVE_IMMEDIATE): New define.
2158
94206790
MM
21592009-02-23 Mark Mitchell <mark@codesourcery.com>
2160
2161 * config/tc-arm.c (warn_deprecated_sp): New macro.
2162 (do_t_mov_cmp): Permit R13 as the second
2163 argument to "cmp.n".
2164
0349dc08
L
21652009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2166
2167 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
2168 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
2169
c1b80a2a
L
21702009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2171
2172 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
2173
4c664d7b
L
21742009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2175
2176 * config/tc-i386.c (vex_imm4): Removed.
2177 (VEX_check_operands): Likewise.
2178 (match_template): Updated.
2179
11c19e16
MS
21802009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2181
2182 * doc/all.texi: Set S390.
2183 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
2184 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
2185 * doc/Makefile.in: Likewise.
2186 * doc/c-s390.texi: New.
2187
87298967
NS
21882009-02-12 Nathan Sidwell <nathan@codesourcery.com>
2189
2190 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
2191 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
2192 (mcf5307_ctrl): Add VBR.
2193 (no_mac): New variable.
2194 (m68k_extensions): Refer to no_mac mask.
2195 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
2196 52252..52259, 53011..53017.
2197 (m68k_ip): Process CPUCR.
2198 (init_table): Add cpucr entry.
2199 (m68k_set_extension): Allow negated mask to refer to a variable.
2200 (md_show_usage): Use '%s' to silence fprintf warning.
2201 * config/m68k-parse.h (CPUCR): New control register.
2202
ee2c9aa9
NS
22032009-02-10 Nathan Sidwell <nathan@codesourcery.com>
2204
2205 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
2206 as_bad calls to silence compiler warning.
2207
8dc2430f
NC
22082009-02-06 Nick Clifton <nickc@redhat.com>
2209
2210 PR 9814
2211 * config/tc-arm.c (MODE_RECORDED): New define.
2212 (output_inst): Record the thumb_mode in the current frag.
2213 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
2214 (arm_init_frag): Only set the tc_frag_data field if it has not
2215 already been set.
2216
ce2f5b3c
L
22172009-02-04 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 AVX Programming Reference (January, 2009)
2220 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
2221 (CPU_FLAGS_AVX_MATCH): Updated.
2222 (CPU_FLAGS_32BIT_MATCH): Likewise.
2223 (cpu_flags_match): Likewise.
2224
52b6b6b9
JM
22252009-02-03 Sandip Matte <sandip@rmicorp.com>
2226
2227 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
2228 M_MSGWAIT and M_MSGWAIT_T.
2229 (mips_cpu_info_table): Add XLR entry.
2230 * doc/c-mips.texi (-march): Document xlr.
2231
e94345ae 22322009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
a53fddce
EW
2233
2234 * config/tc-avr.c (mcu_types): Add ata6289.
2235 * doc/c-avr.texi: Likewise.
2236
31dd3154
JM
22372009-02-03 Carlos O'Donell <carlos@codesourcery.com>
2238
2239 * configure.in: AC_SUBST pdfdir.
2240 * Makefile.am: Add install-pdf, install-pdf-am,
2241 and install-pdf-recursive targets.
2242 * doc/Makefile.am: Define pdf__strip_dir. Add
2243 install-pdf and install-pdf-am targets.
2244 * po/Make-in: Add install-pdf target.
2245 * configure: Regenerate.
2246 * Makefile.in: Regenerate.
2247 * doc/Makefile.in: Regenerate.
2248
cf869cce
NC
22492009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
2250
2251 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
2252 relocations.
2253 * config/m68k-parse.y (yylex): Parse TLS relocations.
2254 * config/tc-m68k.c (m68k_elf_cons): New static function.
2255 (md_pseudo_table): Use it.
2256 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
2257 relocations.
2258 (md_apply_fix): Fix to set thread local flag.
2259 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
2260
bb0a86e1
NC
22612009-02-03 Vince Weaver <vince@csl.cornell.edu>
2262
2263 PR 9779
2264 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
2265 indexed addressing for symbolic expressions.
2266
fdfde340
JM
22672009-01-29 Mark Mitchell <mark@codesourcery.com>
2268
2269 * config/tc-arm.c (BAD_SP): Define.
2270 (s_arm_unwind_fnstart): Use REG_SP.
2271 (s_arm_unwind_setfp): Likewise.
2272 (reject_bad_reg): New macro.
2273 (do_co_reg): Check for bad registers.
2274 (do_co_reg2c): Likewise.
2275 (do_srs): Use REG_SP.
2276 (do_t_add_sub): Check for bad registers.
2277 (do_t_adr): Likewise.
2278 (do_t_arit3): Likewise.
2279 (do_t_arit3c): Likewise.
2280 (do_t_bfc): Likewise.
2281 (do_t_bfi): Likewise.
2282 (do_t_bfx): Likewise.
2283 (do_t_blx): Likewise.
2284 (do_t_bx): Likewise.
2285 (do_t_bxj): Likewise.
2286 (do_t_clz): Likewise.
2287 (do_t_div): Likewise.
2288 (do_t_mla): Likewise.
2289 (do_t_mlal): Likewise.
2290 (do_t_mov_cmp): Likewise.
2291 (do_t_mov16): Likewise.
2292 (do_t_mvn_tst): Likewise.
2293 (do_t_mrs): Likewise.
2294 (do_t_msr): Likewise.
2295 (do_t_mul): Likewise.
2296 (do_t_mull): Likewise.
2297 (do_t_orn): Likewise.
2298 (do_t_pkhbt): Likewise.
2299 (do_t_pld): Likewise.
2300 (do_t_rbit): Likewise.
2301 (do_t_rev): Likewise.
2302 (do_t_rrx): Likewise.
2303 (do_t_rsb): Likewise.
2304 (do_t_shift): Likewise.
2305 (do_t_simd): Likewise.
2306 (do_t_ssat): Likewise.
2307 (do_t_ssat16): Likewise.
2308 (do_t_sxtah): Likewise.
2309 (do_t_sxth): Likewise.
2310 (do_t_tb): Likewise.
2311 (do_t_usat): Likewise.
2312 (do_t_usat16): Likewise.
2313 (nysn_insert_sp): Use REG_SP.
2314
1c444d06
JM
23152009-01-29 Mark Mitchell <mark@codesourcery.com>
2316
2317 * config/tc-arm.c (do_t_orn): New function.
2318 (do_t_rrx): Likewise.
2319 (insns): Add orn and rrx.
2320
4f80ef3e
JM
23212009-01-29 Mark Mitchell <mark@codesourcery.com>
2322
2323 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
ed84b57b 2324 uasx, uhasx, uhsx, uqasx, uqsax, usax.
4f80ef3e 2325
087b80de
JM
23262009-01-29 Mark Mitchell <mark@codesourcery.com>
2327
2328 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
2329 qdsub in Thumb-2 mode.
2330
17828f45 23312009-01-29 Paul Brook <paul@codesourcery.com>
321098a5 2332 Mark Mitchell <mark@codesourcery.com>
17828f45
JM
2333
2334 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
2335 of MUL when possible.
2336
ec0c103c
NC
23372009-01-29 Nick Clifton <nickc@redhat.com>
2338
2339 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
2340
4a6bc624
NS
23412009-01-29 Nathan Sidwell <nathan@codesourcery.com>
2342 Catherine Moore <clm@codesourcery.com?
2343
2344 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
2345 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
2346 directives.
2347
23fce1e3
NC
23482009-01-27 Nick Clifton <nickc@redhat.com>
2349
2350 * config/tc-mips.c (append_insn): Cope with a complex reloc
2351 sequence containing an unsupported reloc type.
2352 (enum options): Replace computed #define's constants for option
2353 numbers with this enum.
2354 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
2355 environment.
2356 (md_parse_option): Allow -32 in a non-ELF environment.
2357
ee3c0378
AS
23582009-01-26 Andrew Stubbs <ams@codesourcery.com>
2359
2360 * config/tc-arm.c (attributes_set_explicitly): New array.
2361 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
2362 (cpu_arch): Add ARM_ARCH_V5T.
2363 (aeabi_set_attribute_int): New function.
2364 (aeabi_set_attribute_string): New function.
2365 (aeabi_set_public_attributes): Set attributes according to the user's
2366 intentions, rather than the actual state of the binary.
2367 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
2368 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
2369 Support WMMXv2. Use attribute names instead of numbers.
2370 * read.c (s_vendor_attribute): Change return type to int.
2371 Return the tag number that was set.
2372 * read.h (s_vendor_attribute): Change return type to int.
2373
17f4880d
EW
23742009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
2375
2376 PR 9789
2377 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
2378 * doc/c-avr.texi: Likewise.
2379
278df34e
NS
23802009-01-23 Nathan Sidwell <nathan@codesourcery.com>
2381
2382 * doc/c-arm.texi (): Document -mwarn-deprecated.
2383 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
2384 (warn_on_deprecated): ... this.
2385 (opcode_lookup, md_assemble): Check it before warning.
2386 (arm_opts): Add m[no-]warn-deprecated.
2387 (md_parse_option): Replace WARN_DEPRECATED with
2388 warn_on_deprecated.
2389
199114c2
AS
23902009-01-23 Andreas Schwab <schwab@suse.de>
2391
750bdd57
AS
2392 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
2393 arguments to macro_build to match format.
2394
199114c2
AS
2395 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
2396 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
2397
d3bf77be
NC
23982009-01-19 Nick Clifton <nickc@redhat.com>
2399
2400 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
2401 ELF format ARM targets.
2402 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
2403
24042009-01-19 Nick Clifton <nickc@redhat.com>
2405
2406 * configure.tgt: Restore alpha sorting to object format switch
2407 statement.
2408
2d0bb761
AS
24092009-01-19 Andrew Stubbs <ams@codesourcery.com>
2410
2411 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
2412
3493e7b0
JM
24132009-01-16 Mark Shinwell <shinwell@codesourcery.com>
2414
2415 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
2416 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
2417
e04befd0
AS
24182009-01-16 Andrew Stubbs <ams@codesourcery.com>
2419 Daniel Jacobowitz <dan@codesourcery.com>
2420
2421 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
2422 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
2423 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
2424 * read.c (s_vendor_attribute): Add support for symbolic tag names.
2425 Improve string parser.
2426 * doc/c-arm.texi (ARM Machine Directives): Document
2427 .eabi_attribute symbolic tag names.
2428
29670fb9
AM
24292009-01-16 Alan Modra <amodra@bigpond.net.au>
2430
2431 * configure.in (commonbfdlib): Delete.
2432 * configure: Regenerate.
2433 * po/POTFILES.in: Regenerate.
2434
91e22acd
AS
24352009-01-15 Andrew Stubbs <ams@codesourcery.com>
2436 Julian Brown <julian@codesourcery.com>
2437
2438 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
2439
7b86a9fa
AS
24402009-01-15 Andrew Stubbs <ams@codesourcery.com>
2441
2442 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
2443 bfd_elf_add_obj_attr_int_string.
2444
01e1a5bc
NC
24452009-01-15 Douglas B Rupp <rupp@gnat.com>
2446
2447 * configure.tgt(ia64-*-*vms*): New target.
2448 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
2449 * tc.h (md_number_to_chars): Declare iff undefined.
2450 * config/obj-elf.c (obj_elf_change_section): Change type of arg
2451 attr to bfd_vma.
2452 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
2453 variables attr, md_attr to bfd_vma.
2454 (obj_elf_section_word): Likewise.
2455 (obj_elf_section): Change type of variable attr to bfd_vma
2456 * config/obj-elf.h (obj_elf_change_section): Change type of arg
2457 attr to bfd_vma.
2458 * config/tc-ia64.c (bfdver.h,time.h): Include.
2459 (ia64_elf_section_letter): Now returns a bfd_vma.
2460 Handle VMS specific attributes.
2461 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2462 (ia64_init): Don't turn on dependency checking for VMS.
2463 (ia64_target_format): Check for VMS flag bit.
2464 (do_alias): Hande decc$ functions.
2465 (get_vms_time): New function.
2466 (ia64_vms_note): New function.
2467 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
2468 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2469 (tc_init_after_args): Define for VMS.
2470 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
2471 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
2472 * config/tc-alpha.h: Likewise.
2473 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
2474 (x86_64_section_word): Return a bfd_vma.
2475 * config/tc-i386.h: Likewise.
2476 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
2477 attr to bfd_vma.
2478 * config/tc-ip2k.h: Likewise.
2479 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
2480 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
2481 * config/tc-mep.h: Likewise.
2482 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
2483 (ppc_section_word): Return a bfd_vma.
2484 (ppc_section_flags): Change type of arg attr to bfd_vma.
2485 * config/tc-ppc.h: Likewise.
2486 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
2487 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
750bdd57
AS
2488 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
2489 New file with new macros
2490 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
2491 macros.
01e1a5bc 2492
bc2d1808
NC
24932009-01-15 Nick Clifton <nickc@redhat.com>
2494
2495 PR 9722
2496 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
2497 instructions before generating a Thumb2 nop.
2498
7b6598a4 24992009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750bdd57 2500
7b6598a4
AK
2501 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
2502
cd4a7468
AM
25032009-01-12 Alan Modra <amodra@bigpond.net.au>
2504
2505 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
2506 (brinfo): New var.
2507 (md_assemble): Poke brinfo into branch instructions.
2508 (spu_brinfo): New function.
2509 (md_apply_fix): Don't assume insn fields start off at zero, mask
2510 them to remove possible brinfo.
2511
1543849b
L
25122009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2513
2514 * doc/c-i386.texi: Reformat.
2515
bd5295b2
L
25162009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2517
dfaf9df8 2518 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
bd5295b2
L
2519 .syscall.
2520 (i386_align_code): Handle PROCESSOR_COREI7.
2521 (md_show_usage): Add corei7, clflush and syscall.
2522 (i386_target_format): Replace cpup4 with cpuclflush.
2523
dfaf9df8 2524 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
bd5295b2
L
2525
2526 * doc/c-i386.texi: Document corei7, clflush and syscall.
2527
1b7f3fb0
L
25282009-01-09 H.J. Lu <hongjiu.lu@intel.com>
2529
2530 * config/tc-i386.c (cpu_arch): Add .rdtscp.
2531 (md_show_usage): Display rdtscp.
2532
2533 * doc/c-i386.texi: Document rdtscp.
2534
1cb0a767
PB
25352009-01-09 Peter Bergner <bergner@vnet.ibm.com>
2536
2537 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
2538 Test the new "deprecated" opcode field.
2539
19fc3723
SA
25402009-01-07 Sterling Augustine <sterling@tensilica.com>
2541
2542 * config/tc-xtensa.c (produce_flix): New.
2543 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
2544 (md_longopts): Add support for them.
2545 (md_parse_option): Likewise.
2546 (md_show_usage): Add help message.
2547 (finish_vinsn): Don't allow multi-slot flix when produce_flix
2548 option is set to FLIX_NONE.
2549 * config/xtensa-relax.c (transition_applies): Only relax to
2550 flix branches when produce_flix equals FLIX_ALL.
2551 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
2552 FLIX_NONE): New.
2553 (produce_flix): Declare.
2554
24864476
CF
25552009-01-06 Chao-ying Fu <fu@mips.com>
2556
2557 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
2558 Use strncmp to match jalr and jalr.hb.
2559 Fix a typo.
2560
0bfee649 25612009-01-05 H.J. Lu <hongjiu.lu@intel.com>
d62f07d0 2562
0bfee649
L
2563 AVX Programming Reference (December, 2008)
2564 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
2565 support. Don't swap REG and NDS for FMA.
d62f07d0 2566
750bdd57 25672009-01-02 Matthias Klose <doko@ubuntu.com>
e7c604dd 2568
750bdd57
AS
2569 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
2570 behaviour.
e7c604dd 2571
0bfee649 2572For older changes see ChangeLog-2008
08d56133
NC
2573\f
2574Local Variables:
2575mode: change-log
2576left-margin: 8
2577fill-column: 74
2578version-control: never
2579End:
This page took 0.506954 seconds and 4 git commands to generate.