* dw2gencfi.c: Include dwarf2dbg.h.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
38462edf
JJ
12009-10-02 Jakub Jelinek <jakub@redhat.com>
2
3 * dw2gencfi.c: Include dwarf2dbg.h.
4 (DWARF2_FORMAT): Define if not defined.
5 (dot_cfi_sections): New function.
6 (cfi_pseudo_table): Handle .cfi_sections.
7 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
8 (cfi_sections): New variable.
9 (output_cie, output_fde, select_cie_for_fde): Add eh_frame
10 argument, add supporting for outputting .debug_frame
11 section.
12 (cfi_change_reg_numbers): New function or macro.
13 (cfi_finish): Only emit .eh_frame if
14 cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if
15 cfi_sections & CFI_EMIT_debug_frame.
16 * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
17 * doc/as.texinfo (CFI directives): Document .cfi_sections.
18
634b50f2
PB
192009-10-01 Peter Bergner <bergner@vnet.ibm.com>
20
21 * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
22 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
23
9f32dd5b
L
242009-10-01 H.J. Lu <hongjiu.lu@intel.com>
25
26 * config/tc-i386.c (x86_cons): Reformat.
27
c7927a3c
NC
282009-09-29 DJ Delorie <dj@redhat.com>
29
30 * Makefile.am: Add RX target.
31 * configure.in: Likewise.
32 * configure.tgt: Likewise.
33 * read.c (do_repeat_with_expander): New function.
34 * read.h: Provide a prototype for do_repeat_with_expander.
35 * doc/Makefile.am: Add RX target documentation.
36 * doc/all.texi: Likewise.
37 * doc/as.texinfo: Likewise.
38 * Makefile.in: Regenerate.
39 * NEWS: Mention support for RX architecture.
40 * configure: Regenerate.
41 * doc/Makefile.in: Regenerate.
42 * config/rx-defs.h: New file.
43 * config/rx-parse.y: New file.
44 * config/tc-rx.h: New file.
45 * config/tc-rx.c: New file.
46 * doc/c-rx.texi: New file.
47
21d799b5
NC
482009-09-25 Martin Thuresson <martint@google.com>
49
50 Update soruces to make alpha, arc and arm targets compile cleanly
51 with -Wc++-compat:
52 * config/tc-alpha.c: Add casts.
53 (extended_bfd_reloc_code_real_type): New type. Used to avoid
54 enumeration conversion warnings.
55 (struct alpha_fixup, void assemble_insn, assemble_insn)
56 (assemble_tokens): Use new type.
57 * ecoff.c: Add casts. (mark_stabs): Use enumeration names.
58 * config/obj-elf.c: Add cast
59 * config/tc-arc.c: Add casts.
60 * config/obj-aout.h (text_section,data_section,bss_section):
61 Make extern.
62 * config/obj-elf.c: Add cast.
63 * config/tc-arm.c: Add casts.
64 (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
65 (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
66 need for keywords as arguments.
67
605b1dd4
NH
682009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
69
70 * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
9f32dd5b
L
71 entries
72
732009-09-24 H.J. Lu <hongjiu.lu@intel.com>
2bf05e57
L
74
75 * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
76 of vex256.
77
f5d9e816
L
782009-09-24 H.J. Lu <hongjiu.lu@intel.com>
79
80 PR gas/10677
81 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
82 for BFD_RELOC_X86_64_GOTPCREL.
83
2a86604a
L
842009-09-23 H.J. Lu <hongjiu.lu@intel.com>
85
86 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check
87 BFD_RELOC_386_GOT32.
88
417ba50c
SA
892009-09-23 Sterling Augustine <sterling@jaw.hq.tensilica.com>
90
91 * config/tc-xtensa.c (md_apply_fix): Remove check for constant with
92 difference of of two symbols.
93 (xtensa_fix_adjustable): Likewise.
94
6eb94e77
TG
952009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
96
bf70c4f8 97 * configure.com: Fix a typo.
6eb94e77 98
a3371076
AM
992009-09-23 Alan Modra <amodra@bigpond.net.au>
100
101 * symbols.c (define_sym_at_dot): New function, extracted from..
102 (colon): ..here. Define error case cloned symbol.
103
76ba9986
L
1042009-09-21 H.J. Lu <hongjiu.lu@intel.com>
105
106 * config/tc-i386.c: Remove white spaces.
107
e0d602ec
BE
1082009-09-21 Ben Elliston <bje@au.ibm.com>
109 Peter Bergner <bergner@vnet.ibm.com>
110
111 * config/tc-ppc.c (md_show_usage): Document -mpcca2.
112 * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.
113
ca58b19f
NC
1142009-09-18 Nick Clifton <nickc@redhat.com>
115
116 * po/es.po: Updated Spanish translation.
117
fa289fb8
L
1182009-09-15 H.J. Lu <hongjiu.lu@intel.com>
119
120 * config/tc-i386.c (offset_in_range): Sign extend offset only
121 if BFD64 is defined.
122
1acf546e
L
1232009-09-15 H.J. Lu <hongjiu.lu@intel.com>
124
125 * config/tc-i386-intel.c (i386_intel_operand): Initialize
126 intel_state.has_offset to 0.
127
9de868bf
L
1282009-09-15 H.J. Lu <hongjiu.lu@intel.com>
129
130 * config/tc-i386.c (offset_in_range): Sign extend offset only
131 for 32bit address mode.
132
aba69ce4
TG
1332009-09-15 Tristan Gingold <gingold@adacore.com>
134
135 * makefile.vms (OBJS): Compile te-vms.c only on Itanium.
136
6cee4cda
L
1372009-09-14 H.J. Lu <hongjiu.lu@intel.com>
138
139 PR gas/10637
140 * config/tc-i386-intel.c (intel_state): Add has_offset.
141 (i386_intel_simplify): Set intel_state.has_offset to 1 for
142 O_offset.
143 (i386_intel_operand): Turn on intel_state.is_mem if
144 intel_state.has_offset is 0 and the last char is ']'.
145
0e1147d9
L
1462009-09-14 H.J. Lu <hongjiu.lu@intel.com>
147
148 PR gas/10636
149 * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only
150 if there is an ADDR_PREFIX.
151 (i386_finalize_displacement): Repor error if signed 32bit
152 displacement is out of range.
153
1180b5a4
RS
1542009-09-13 Richard Sandiford <rdsandiford@googlemail.com>
155
156 * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
157 Require the target to be a bare symbol on targets with
158 in-place addends.
159 (macro_build_jalr): Update accordingly.
160 (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
161 with in-place addends.
162
1e9cc1c2
NC
1632009-09-11 Nick Clifton <nickc@redhat.com>
164
165 * po/gas.pot: Updated by the Translation project.
166
1672009-09-11 Martin Thuresson <martint@google.com>
168
169 * as.c (main): Call dwarf2_init.
170 * config/obj-elf.c (struct group_list): New field.
171 (build_group_lists): Use hash lookup.
172 (free_section_idx): New function.
173 (elf_frob_file): Adjust.
174 * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
175 (get_line_subseg): Adjust.
176 (dwarf2_init): New function.
177 * dwarf2dbg.h (dwarf2_init): New declaration.
178
1792009-09-11 Martin Thuresson <martint@google.com>
180
181 Updated sources to compile cleanly with -Wc++-compat:
182 * app.c: Add casts.
183 * as.c: Add casts.
184 * config/obj-elf.c: Add casts.
185 (obj_elf_type): Rename variable typename to type_name.
186 * config/tc-i386-intel.c (i386_operators): Rename member operator to op.
187 * config/tc-i386.c: Add casts.
188 (check_cpu_arch_compatible): Rename argument new to new_flag.
189 (gotrel): Update variable to use enum name instead of integer value.
190 * dw2gencfi.c: Add casts.
191 (struct cfi_escape_data): Move to top level.
192 * dwarf2dbg.c: Add cast.
193 * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern.
194 * ehopt.c Add casts.
195 (enum frame_state): Move to top level.
196 * expr.c (operatorf): Rename function operator to operatorf.
197 (operand): Rename variable operator to op.
198 (expr_set_rank): Rename argument operator to op.
199 * frags.c: Add cast.
200 * hash.c: Add casts.
201 * input-scrub.c: Add cast.
202 * listing.c: Add casts.
203 (enum edict_enum): Move to top level.
204 * macro.c: Add casts.
205 * macro.h (enum formal_type): Move to top level.
206 * read.c: Add casts.
207 (s_include): Rename variable try to try_file.
208 * remap.c: Add cast.
209 * stabs.c: Add casts.
210 * subsegs.c: Add casts.
211 * symbols.c: Add casts.
212 * write.c: Add casts.
1e9cc1c2 213
3e81d9f9
HPN
2142009-09-11 Hans-Peter Nilsson <hp@bitrange.com>
215
216 PR gas/10623
217 * config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>:
218 Allow register operands for SWYM as for TRIP and TRAP. Correct
219 operand handling and error checking. Never emit
220 BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.
221
800f6ec8
AM
2222009-09-10 Alan Modra <amodra@bigpond.net.au>
223
224 * config/tc-d10v.c: Include dwarf2dbg.h.
225 (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
226 (d10v_frob_label): New function.
227 * config/tc-d10v.h (d10v_frob_label): Declare.
228 (tc_frob_label): Define as d10v_frob_label.
229
f2e25d93
AM
2302009-09-10 Alan Modra <amodra@bigpond.net.au>
231
232 * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
233 * config/tc-frv.c (frv_frob_label): Likewise.
234
9384f2ff
AM
2352009-09-09 Alan Modra <amodra@bigpond.net.au>
236
22ba0981
AM
237 * config/obj-coff.h (USE_UNIQUE): Don't define.
238 * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
239 * symbols.c (an_external_name): Define when TE_PE.
240 (S_SET_EXTERNAL): Assign an_external_name when TE_PE.
241 * tc.h (an_external_name): Declare when TE_PE.
242
9384f2ff
AM
243 * config/tc-i386.c (i386_target_format): Avoid duplicate case label.
244
7e127222
KK
2452009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
246
247 * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
248
d4f4f3fb
AM
2492009-09-08 Alan Modra <amodra@bigpond.net.au>
250
251 * read.c (emit_expr_fix): Handle size 3.
252 * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
253 * config/tc-d30v.c (write_long, write_1_short,
254 write_2_short, md_assemble): Likewise.
255 * config/tc-dlx.c (md_assemble): Likewise.
256 * config/tc-i860.c (md_assemble): Likewise.
257 * config/tc-mn10200.c (md_assemble): Likewise.
258 * config/tc-pj.c (md_assemble): Likewise.
259 * config/tc-vax.c (md_assemble): Likewise.
260
307c948d
DG
2612009-09-07 Daniel Gutson <dgutson@codesourcery.com>
262
263 * config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
264 * doc/c-arm.texi: cortex-r4f CPU added.
265
b11d79f2
TG
2662009-09-07 Tristan Gingold <gingold@adacore.com>
267
23f938f1
TG
268 * po/POTFILES.in: Regenerate.
269 * po/gas.pot: Regenerate.
270
b11d79f2
TG
271 * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c
272 (POTFILES): Add $(TARG_ENV_CFILES) in definition.
273 (EXTRA_as_new_SOURCES): Ditto.
274 * Makefile: Regenerate.
275 * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
276 BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
277 * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
278 st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and
279 sys/stat.h headers.
280 Add te-vms.o in extra_objects if te_file is vms.
281 * configure: Regenerate.
282 * config.in: Regenerate.
283 * config/te-vms.c: New file, from bfd/vmsutil.c
284 (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
285 (vms_dwarf2_file_name): New functions.
286 (vms_file_stats_name): Make it static, add a dirname parameter to
287 locally create the full pathname.
288 * config/te-vms.h: Add a copyright header.
289 Declare the above functions.
290 (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
291 the above functions in the definition.
292 * makefile.vms (OBJS): Add te-vms.obj.
293 (te-vms.obj): Create a specific target.
294 * configure.com: Create targ-env.h using a per target value.
295 Compile te-vms.c for ia64.
296
f8739b83
JZ
2972009-09-05 Jie Zhang <jie.zhang@analog.com>
298
299 * doc/as.texinfo: Document that Blackfin GAS does not
300 accept SYMBOL = VALUE.
301
96d56e9f
NC
3022009-09-05 Martin Thuresson <martin@mtme.org>
303
304 * config/tc-arc.c (struct syntax_classes): Rename member class
305 to s_class. (arc_extinst): Rename variable class to
306 s_class. Update code to use renamed members.
307 * config/tc-mips.c (insn_uses_reg): Rename argument class to
308 regclass.
309 * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
310 (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
311 (ppc_fix_adjustable, md_apply_fix): Update code to use renamed
312 members.
313 * config/tc-ppc.h (struct ppc_tc_sy): Change name of member
314 from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
315 code to use renamed members.
316 * config/tc-score.c (s3_adjust_paritybit): Rename argument
317 class to i_class.
318 * config/tc-score7.c (s7_adjust_paritybit): Rename argument
319 class to i_class.
320
81c23f82
TG
3212009-09-04 Tristan Gingold <gingold@adacore.com>
322
323 * NEWS: Add marker for 2.20.
324
66a6900a
JZ
3252009-09-04 Jie Zhang <jie.zhang@analog.com>
326
327 * config/bfin-parse.y (asm_1): Implement HLT instruction.
328 Fix comments for DBGA, DBGAH and DBGAL.
329 * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according
330 to the new encoding of DBGA, DBGAH, and DBGAL.
331
3b4e1885
JZ
3322009-09-04 Jie Zhang <jie.zhang@analog.com>
333
334 * doc/all.texi: Replace BFIN with Blackfin.
335 * doc/as.texinfo: Likewise.
336 * doc/c-bfin.texi: Likewise.
337 * doc/asconfig.texi: Likewise.
338
339 * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514,
340 bf516 and bf518.
341
53ae48a2
JZ
3422009-09-04 Jie Zhang <jie.zhang@analog.com>
343
344 * Makefile.am (bfin-parse.o): Remove bfin-parse.h from
345 the prerequisite. Add $(srcdir)/config/bfin-aux.h to the
346 prerequisite.
347 (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ...
348 (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these.
349 (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h
350 to the prerequisite.
351 * Makefile.in: Regenerate.
352
ce4a1a3a
RW
3532009-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
354
355 * Makefile.am (itbl-lex.o): Depend on itbl-parse.h.
356 (itbl-ops.o, itbl-tops.o): Likewise.
357 (itbl-parse.h): Use separate rule.
358 * Makefile.in: Regenerate.
359
110c21e1
JZ
3602009-09-03 Jie Zhang <jie.zhang@analog.com>
361
362 * config/tc-bfin.c (md_parse_option): Call as_fatal for bad
363 -mcpu= option.
364
c639698b
JZ
3652009-09-03 Jie Zhang <jie.zhang@analog.com>
366
367 * config/bfin-lex.l: Remove V as STATUS_REG.
368
ad15c38e
JZ
3692009-09-03 Jie Zhang <jie.zhang@analog.com>
370
371 * config/bfin-parse.y: Remove trailing whitespace.
372 (ccstat): Indent.
373 * config/tc-bfin.c (struct bfin_reg_entry): Remove.
374 (bfin_reg_info[]): Remove.
375
f31bf2c6
JZ
3762009-09-03 Jie Zhang <jie.zhang@analog.com>
377
378 * config/bfin-defs.h (F_REG_ALL): Remove macro.
379 (F_REG_HIGH): Redefine.
380 (F_REG_NONE): New macro.
381 (F_REG_LOW): New macro.
382 (REG_CLASS): Enclose macro argument in parentheses when used.
383 (REG_EVEN): Likewise.
384 (IS_H): Use flags.
385 (IS_HCOMPL): Use flags.
386 * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags.
387 (parse_reg): Set flags.
388 (parse_halfreg): Set flags.
389
11817687
JZ
3902009-09-03 Jie Zhang <jie.zhang@analog.com>
391
392 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
393 05000074 only when both slot1 and slot2 are filled.
394
bd03da30
JZ
3952009-09-03 Jie Zhang <jie.zhang@analog.com>
396
397 * config/tc-bfin.c (md_assemble): Bump line counters if there is
398 EOL in the instruction.
399
c958a8a8
JZ
4002009-09-03 Jie Zhang <jie.zhang@analog.com>
401
402 * config/bfin-defs.h (IS_GENREG): Define.
403 (IS_DAGREG): Define.
404 (IS_SYSREG): Define.
405 * config/bfin-parse.y (asm_1): Check illegal register move
406 instructions.
407
1d3ad4d0
JZ
4082009-09-03 Jie Zhang <jie.zhang@analog.com>
409
410 * config/bfin-parse.y (asm_1): Fix a typo.
411
d3a50e14
JZ
4122009-09-03 Jie Zhang <jie.zhang@analog.com>
413
414 * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
415 * config/tc-bfin.c (bfin_start_line_hook): Remove.
416 (bfin_loop_beginend): New.
417 * config/tc-bfin.h (bfin_start_line_hook): Don't declare.
418 (md_start_line_hook): Don't define.
419 * config/bfin-aux.h (bfin_loop_beginend): Declare.
420
a0840211
TG
4212009-09-03 Tristan Gingold <gingold@adacore.com>
422
423 * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename.
424 Call xstrdup on the result and free the buffer after use.
425
5bc2ed93
TG
4262009-09-03 Tristan Gingold <gingold@adacore.com>
427
428 * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.
429
958cff2f
JZ
4302009-09-02 Jie Zhang <jie.zhang@analog.com>
431
432 * config/bfin-parse.y (value_match): Use int instead of long.
433
434 From Michael Frysinger <michael.frysinger@analog.com>
435 * config/bfin-defs.h (Expr_Node_Value): Declare the i_value
436 member as long long.
437
39b4412d
JZ
4382009-09-02 Jie Zhang <jie.zhang@analog.com>
439
440 From Bernd Schmidt <bernd.schmidt@analog.com>
1e9cc1c2 441 * config/bfin-parse.y (asm_1): Clean up and unify error handling
39b4412d
JZ
442 for load and store insns.
443 (neg_value): Delete function.
444
7bb7d81f
RW
4452009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
446
447 * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o):
448 Supply correct source file name for generated files which may be
449 in $(srcdir).
450 * Makefile.in: Regenerate.
451
43123e98
L
4522009-09-01 H.J. Lu <hongjiu.lu@intel.com>
453
454 * version.c (parse_args): Change to "Copyright 2009".
455
fb792462
TG
4562009-09-01 Tristan Gingold <gingold@adacore.com>
457
458 * makefile.vms: Adjust include pathes. Remove useless vaxctrl
459 library.
460 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
461 Make edit silent.
462
83ee431c
JZ
4632009-09-01 Jie Zhang <jie.zhang@analog.com>
464
465 * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
466 in comparison.
467
08c1b056
JZ
4682009-09-01 Jie Zhang <jie.zhang@analog.com>
469
470 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com>
471 * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the
472 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable.
473
474 2007-08-23 Jie Zhang <jie.zhang@analog.com>
475 * config/tc-bfin.c (bfin_fix_adjustable): Adjust
476 BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and
477 BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
478
5e8c8f8f
JZ
4792009-09-01 Jie Zhang <jie.zhang@analog.com>
480
481 * read.c (TC_START_LABEL): Add a new argument.
482 (read_a_source_file): Pass the beginning of the symbol through
483 the new argument of TC_START_LABEL.
484 * config/tc-arm.h (TC_START_LABEL): Add a new argument.
485 * config/tc-bfin.c (bfin_start_label): Only search '(' and '['
486 from the beginning of the symbol.
487 * config/tc-bfin.h (TC_START_LABEL): Add the new argument.
488 * config/tc-d30v.h (TC_START_LABEL): Likewise.
489 * config/tc-fr30.h (TC_START_LABEL): Likewise.
490 * config/tc-m32c.h (TC_START_LABEL): Likewise.
491 * config/tc-m32r.h (TC_START_LABEL): Likewise.
492 * config/tc-mep.h (TC_START_LABEL): Likewise.
493
f1c2d4af
L
4942009-08-31 H.J. Lu <hongjiu.lu@intel.com>
495
496 PR gas/10570
497 * write.c (write_object_file): Revert the accidental change
498 made in revision 1.124 on 2009-08-17.
499
94be91de
JB
5002009-08-31 Jan Beulich <jbeulich@novell.com>
501
502 * config/obj-elf.c (obj_elf_change_section): Set default type
503 by calling bfd_elf_get_default_section_type.
504
e690f7f3
JZ
5052009-08-31 Jie Zhang <jie.zhang@analog.com>
506
507 * config/bfin-aux.h: Change format from DOS to UNIX.
508
d3ce72d0
NC
5092009-08-29 Martin Thuresson <martin@mtme.org>
510
511 * config/tc-arm.c (struct asm_cond, struct asm_psr, struct
512 asm_barrier_opt): Change member template to
513 template_name. (md_begin): Update code to reflect new member
514 names.
515 * config/tc-i386.c (struct templates, struct _i386_insn)
516 (match_template, cpu_flags_match, match_reg_size, match_mem_size)
517 (operand_size_match, md_begin, i386_print_statistics, pi)
518 (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
519 (optimize_disp): Updated code to use new names. (parse_insn):
520 Added casts.
521 * config/tc-ia64.c (dot_template, emit_one_bundle): Updated
522 code to use new names.
523 * config/tc-score.c (struct s3_asm_opcode): Renamed member
524 template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
525 s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
526 use new names.
527 * config/tc-score7.c (struct s7_asm_opcode): Renamed member
528 template to template_name. (s7_parse_16_32_inst,
529 s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
530 use new names.
531 * config/tc-tic30.c (md_begin, struct tic30_insn)
532 (md_assemble): Update code to use new names.
533 * config/tc-tic54x.c (struct _tic54x_insn, md_begin)
534 (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
535 Update code to use new names.
536 * config/tc-arm.c (insert_reg_alias): Rename variable new to
537 new_reg.
538 * config/tc-dlx.c (parse_operand): Rename variable new to
539 new_pos.
540 * config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
541 new to newr.
542 * config/tc-mcore.c (parse_exp, parse_imm): Rename variable
543 new to new_pointer.
544 * config/tc-microblaze.c (parse_exp, parse_imm, check_got):
545 Change name from new to new_pointer.
546 * config/tc-or32.c (parse_operand): Rename variable new to
547 new_pointer.
548 * config/tc-pdp11.c (md_assemble): Rename variable new to
549 new_pointer.
550 * config/tc-pj.c (alias): Change argument new to new_name.
551 * config/tc-score.c (s3_build_score_ops_hsh): Rename variable
552 new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
553 new to new_i2n. (s3_convert): Rename variables old and new to
554 r_old and r_new.
555 * config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
556 new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
557 new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
558 variables old and new to r_old and r_new.
559 * config/tc-sh.c (parse_exp): Rename variable new to
560 new_pointer.
561 * config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
562 new_pointer.
563 * config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
564 to new_pointer.
565 * config/tc-z8k.c (parse_exp): Rename variable new to
566 new_pointer.
567 * listing.c (listing_newline): Rename variable new to new_i.
568
0c9b4fd7
KK
5692009-08-29 Matt Fleming <matt@console-pimps.org>
570
571 * config/tc-sh.c (md_apply_fix): Extend sign of the offset value
572 for 64-bit host.
573
3632d14b
L
5742009-08-28 H.J. Lu <hongjiu.lu@intel.com>
575
576 * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om".
577 (i386_align_code): Handle PROCESSOR_L1OM.
578 (check_cpu_arch_compatible): Fix a typo in comments.
579 (set_cpu_arch): Check cpu_arch_isa instead of
580 cpu_arch_isa_flags.bitfield.cpul1om.
581 (i386_mach): Likewise.
582 (i386_target_format): Likewise.
583
584 * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM.
585
4e7defc1
DD
5862009-08-26 DJ Delorie <dj@redhat.com>
587
588 * config/tc-mep.c (md_pcrel_from_section): Handle any other
589 forced-relocation cases.
590
2cbd2211
RW
5912009-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
592
593 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
594 * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix
595 syntax error.
596 * Makefile.in: Regenerate.
597 * po/POTFILES.in: Likewise.
598 * po/gas.pot: Likewise.
599
604ab327
NC
6002009-08-26 Nick Clifton <nickc@redhat.com>
601
602 * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
603 seh_ctx_root being NULL.
604
a15af8e2
RW
6052009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
606
607 * Makefile.am (am__skiplex, am__skipyacc): New.
608 * Makefile.in: Regenerate.
609
81ecdfbb
RW
6102009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
611
14ec8efd
RW
612 * Makefile.am (YFLAGS): Remove, not needed any more.
613 (AM_CPPFLAGS): Renamed from ...
614 (INCLUDES): ... this.
615 * Makefile.in: Regenerate.
616
a5c7551f
RW
617 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
618 foreign and no-dist.
619 (all): Remove now-unneeded dependency upon info.
620 (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
621 (DEP_FILE_DEPS): Remove variables.
622 (OBJ_FORMAT_CFILES): Add config/obj-multi.c.
623 (OBJ_FORMAT_HFILES): Add config/obj-multi.h.
624 ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
625 ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
626 (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
627 (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
628 (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
629 now-unneeded rules.
630 (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
631 $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
632 $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments
633 are picked up in the Makefile.
634 (itbl-lex.c, itbl-ops.o): Remove manual dependencies.
635 (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
636 (itbl-test.o): Rewrite using automake-style dependency
637 tracking rules; only list the dependency upon the primary source
638 file, but no included headers.
639 (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
640 Remove.
641 (mkdep section): Remove.
642 * Makefile.in: Regenerate.
1e9cc1c2 643 * po/POTFILES.in, po/gas.pot: Regenerate.
a5c7551f 644
af542c2e
RW
645 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
646 (install-html-recursive): Remove.
647 * Makefile.in: Regenerate.
648 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
649 (html__strip_dir, install-html, install-html-am): Remove.
650 * doc/Makefile.in: Regenerate.
651
81ecdfbb
RW
652 * Makefile.in: Regenerate.
653 * aclocal.m4: Likewise.
654 * config.in: Likewise.
655 * configure: Likewise.
656 * doc/Makefile.in: Likewise.
657
62af60e2
SA
6582009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>
659
660 * config/tc-xtensa.c (config_max_slots): New global variable.
661 (md_begin): Set config_max_slots.
662 (total_frag_text_expansion): Use config_max_slots instead of
663 MAX_SLOTS.
664 (xg_init_vinsn): Likewise.
665 (xg_clear_vinsn): Likewise.
666 (xg_free_vinsn): Likewise.
667
d8392fd9
SA
6682009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com>
669
670 * config/tc-xtensa.c (xg_copy_vinsn): New function.
671 (finish_vinsn): Call xg_copy_vinsn.
672
983f90e3
SA
6732009-08-19 Sterling Augustine <sterling@tensilica.com>
674
675 * config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev
676 to no_transform_end.
677 * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set
678 and use no_transform_end.
679
284e0531
KT
6802009-08-18 Kai Tietz <kai.tietz@onevision.com>
681
682 * config/obj-coff-seh.c: Add copyright notice.
683 * config/obj-coff-seh.h: Add copyright notice.
684 Add x64 specific macros from coff/pe.h header.
685
2f1bf5c1
SA
6862009-08-18 Sterling Augustine <sterling@tensilica.com>
687
688 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use
689 sizeof instead of hard-coded value.
690 (add_xt_block_frags): Remove unused local variable.
691 (frag_flags_to_number): Change return type to flagword. Remove
692 unused local variable.
693
6942009-08-17 Sterling Augustine <sterling@tensilica.com>
b7afdeef
SA
695
696 * config/tc-xtensa.c (xtensa_frob_label): move call to
697 do_align_targets to set frag_type only.
698
f3d2b04b
KT
6992009-08-17 Kai Tietz <kai.tietz@onevision.com>
700
701 * config/obj-coff-seh.c: New file.
702 * config/obj-coff-seh.h: Likewise.
703 * config/obj-coff.c (obj-coff-seh.c): Add include.
704 (coff_pseudo_table): Add new .seh... commands.
705 * config/obj-coff.h (obj_coff_seh_do_final): Add new
706 function prototype.
707 (obj_coff_generate_pdata): New obj-coff hook.
1e9cc1c2 708 * write.c (size_seg): Avoid sizing of already sized
f3d2b04b
KT
709 sections.
710 (write_object_file): Call conditional hook
711 objc_coff_generate_pdata.
712 * Makefile.am: Add dependencies for new files.
713 * Makefile.in: Regenerated.
714
e23c5ac0
NC
7152009-08-17 Nick Clifton <nickc@redhat.com>
716
717 * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.
718 (parse_reg): Use safe-ctype.h macros.
719 (parse_exp): Likewise.
720 (md_assemble): Likewise.
721
85143216
DD
7222009-08-11 DJ Delorie <dj@redhat.com>
723
724 * config/tc-mep.c (md_estimate_size_before_relax): Handle weak
725 symbols correctly.
726 (md_convert_frag): Likewise.
727 (md_pcrel_from_section): Likewise.
728 (mep_force_relocation): Likewise.
e23c5ac0 729
d55cb1c5
BS
7302009-08-11 Bernd Schmidt <bernd.schmidt@analog.com>
731
732 * config/bfin-parse.y (gen_multi_instr_1): New function.
733 (asm): Use it instead of bfin_gen_multi_instr.
734 (error): Add a format string when calling as_bad.
735 * config/bfin-defs.h (insn_regmask): Declare.
736 * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
737 macros.
738 (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
739 decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
740 decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
741 decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
742 insn_regmask): New functions.
743
6306cd85
BS
744 From Jie Zhang <jie.zhang@analog.com>
745 * config/tc-bfin.h (bfin_anomaly_checks): Declare.
746 (AC_05000074): Define.
747 (ENABLE_AC_05000074): Define.
748 * config/tc-bfin.c (enum bfin_cpu_type): New.
749 (bfin_cpu_t): Typedef.
750 (bfin_cpu_type): Define.
751 (bfin_si_revision): Define.
752 (bfin_anomaly_checks): Define.
753 (struct bfin_cpu): New.
754 (bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
755 (bfin_isa): New global variable.
756 (OPTION_MCPU): Define.
757 (md_longopts[]): Add -mcpu option.
758 (md_parse_option): Deal with -mcpu option and initialize
759 bfin_anomaly_checks.
760 * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document
761 -mcpu option.
762 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
763 05000074.
764
baa3eb38
MF
7652009-08-11 Mike Frysinger <vapier@gentoo.org>
766
767 * config/bfin-parse.y (binary): Change "compiler" to "assembler".
768 (unary): Likewise.
769
ba7e13e4
NC
7702009-08-11 Nick Clifton <nickc@redhat.com>
771
772 PR 10443
773 * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
774 operands.
775
0561d57c
JK
7762009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
777
778 Fix compilation of i386-*-go32.
779 * config/tc-i386.c (i386_target_format <TE_GO32>): New.
780 (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
781 * config/te-go32.h (TARGET_FORMAT): Move the definition ...
782 * config/tc-i386.h <!i386_target_format>: ... here.
783
539d4391
NC
7842009-08-10 Daniel Gutson <dgutson@codesourcery.com>
785
786 PR gas/10479
787 * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
788
940b5ce0
DJ
7892009-08-07 Daniel Jacobowitz <dan@codesourcery.com>
790
791 * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
792 variables.
793 (mapping_state): Use the section's mapstate.
794 (mapping_state_2): Likewise. Skip special sections.
795 (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
796 (arm_elf_change_section): Do not set deleted globals.
797 * config/tc-arm.h (struct arm_segment_info_type): Document
798 marked_pr_dependency.
799
caa03924
ME
8002009-08-07 Michael Eager <eager@eagercon.com>
801
802 * NEWS: Mention MicroBlaze support.
803
7ba29e2a
NC
8042009-08-06 Michael Eager <eager@eagercon.com>
805
806 * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
807 TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
808 DEP_microblaze_elf target.
809 * Makefile.in: Regenerate.
810 * config/tc-microblaze.c: Add MicroBlaze assembler.
811 * config/tc-microblaze.h: Add header for tc-microblaze.c.
812 * configure.in: Add microblaze target.
813 * configure: Regenerate.
814 * configure.tgt: Same.
815 * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
816 * doc/Makefile.in: Same.
817 * doc/all.texi: Set MICROBLAZE.
818 * doc/as.texinfo: Add MicroBlaze doc links.
819 * doc/c-microblaze.texi: New MicroBlaze docs.
820
c877a2f2
NC
8212009-08-06 Nick Clifton <nickc@redhat.com>
822
823 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
824 block in case it is a null macro.
825
b12dd2e4
CF
8262009-08-05 Chao-ying Fu <fu@mips.com>
827
828 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
829 true for new abi. For non-IRIX targets, it is always true.
830 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
831
8453da2e
EW
8322009-08-05 Eric B. Weddington <eric.weddington@atmel.com>
833
834 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
835 attiny861a, atmega644pa, attiny24a, attiny44a.
836 * doc/c-avr.texi: Likewise.
837
30f8113a
SL
8382009-08-04 Sandra Loosemore <sandra@codesourcery.com>
839
840 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
841 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
842
f86adc07
NS
8432009-08-04 Nathan Sidwell <nathan@codesourcery.com>
844
845 * config/tc-arm.c (my_get_expression): Detect missing expressions.
846
249da685
EW
8472009-08-02 Eric B. Weddington <eric.weddington@atmel.com>
848
849 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
850 * doc/c-avr.texi: Likewise.
851
11908008
EW
8522009-08-01 Eric B. Weddington <eric.weddington@atmel.com>
853
854 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
855 * doc/c-avr.texi: Likewise.
856
cd000bff
DJ
8572009-07-31 Daniel Gutson <dgutson@codesourcery.com>
858 Daniel Jacobowitz <dan@codesourcery.com>
859
860 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
861 * config/tc-arm.c (make_mapping_symbol): New function, from
862 mapping_state. Save mapping symbols in the frag.
863 (insert_data_mapping_symbol): New.
864 (mapping_state): Use make_mapping_symbol, improve state transitions.
865 (mapping_state_2): New. Provide dummy definition.
866 (opcode_select): Do not call mapping_state.
867 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
868 (output_inst): Update use of tc_frag_data.
869 (new_automatic_it_block): Call mapping_state before emitting the
870 IT instruction.
871 (md_assemble): Move mapping_state to just before outputting the
872 new instruction.
873 (arm_handle_align): Update use of tc_frag_data.
874 Call insert_data_mapping_symbol.
875 (arm_init_frag): Update use of tc_frag_data. Call
876 mapping_state_2.
877 (arm_elf_change_section): Always update the mapping symbol FSM state.
878 (check_mapping_symbols): New function.
879 (arm_adjust_symtab): Use check_mapping_symbols.
880 * config/tc-arm.h (struct arm_frag_type): New.
881 (TC_FRAG_TYPE): Change to struct arm_frag_type.
882 (TC_FRAG_INIT): Pass max_chars.
883 (arm_init_frag): Update prototype.
884
5d8d4872
AG
8852009-07-31 Anthony Green <green@moxielogic.com>
886
887 * configure.tgt (generic_target): Add moxie-uclinux support.
888
f746e6b9
NC
8892009-07-30 Nick Clifton <nickc@redhat.com>
890
cab7e4d9
NC
891 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
892 different syntaxes support by the ARM port.
893 (ARM Directives): Add entry for .syntax.
894
f746e6b9
NC
895 * doc/c-mips.texi (MIPS insn): Fix typo.
896
af65af87
AM
8972009-07-29 Alan Modra <amodra@bigpond.net.au>
898
899 PR ld/10269
900 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
901 * config/tc-i386.c: Revert 2009-06-13 change.
902 * config/tc-i386.h: Likewise.
903
1035ad42
JB
9042009-07-28 Jan Beulich <jbeulich@novell.com>
905
906 * expr.c (op_rank): Specify size. Remove O_md* initializers.
907
46203761
MK
9082009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
909
910 * config/tc-m68k.c (mcf5221x_ctrl): New.
911 (m68k_cpu): Add line for MCF5221x.
912
9132009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
b345c8c2
MK
914
915 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
916 (mcf53017_ctrl): Fix RAMBAR.
917
efa19bfd
JB
9182009-07-27 Jan Beulich <jbeulich@novell.com>
919
920 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
921 symbol_new() with the passed in, unmodified one.
922
7859b21d
SR
9232009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
924
925 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
926 object file without symbol values.
927 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
928 then set the relocation type as NULL.
929
8a9036a4
L
9302009-07-25 H.J. Lu <hongjiu.lu@intel.com>
931
932 * config/tc-i386.c (cpu_arch): Add l1om.
933 (check_cpu_arch_compatible): New.
934 (set_cpu_arch): Use it.
935 (i386_arch): New.
936 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
937 (md_show_usage): Display l1om.
938 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
939 cpu_arch_isa_flags.bitfield.cpul1om is set.
940
941 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
942 (i386_arch): New.
943 (ELF_TARGET_L1OM_FORMAT): Likewise.
944
945 * doc/c-i386.texi: Document l1om.
946
01fb1836 9472009-07-24 Roland McGrath <roland@redhat.com>
8e884a26 948 Mark Wielaard <mjw@redhat.com>
01fb1836
RM
949
950 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
951 flags on .comment section.
952
8fdcc58d
TS
9532009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
954 Alan Modra <amodra@bigpond.net.au>
955
956 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
957 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
958 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
959
309d3373
JB
9602009-07-24 Jan Beulich <jbeulich@novell.com>
961
962 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
963 .nosse, and .noavx.
964 (cpu_flags_and_not): New.
965 (set_cpu_arch): Check whether sub-architecture specified is a
966 feature disable.
967 (md_parse_option): Likewise.
968 (parse_real_register): Don't return floating point register
969 when x87 functionality is disabled.
970 (md_show_usage): Add new sub-options.
971 * doc/c-i386.texi: Update with new command line sub-options.
972
20203fb9
NC
9732009-07-24 Nick Clifton <nickc@redhat.com>
974
975 PR 10437
976 * config/tc-alpha.c: Fix up uses of gas printf like functions so
977 that the format string is a constant string. Add translation
978 support to message strings.
979 * config/tc-arc.c: Likewise.
980 * config/tc-arm.c: Likewise.
981 * config/tc-cris.c: Likewise.
982 * config/tc-fr30.c: Likewise.
983 * config/tc-frv.c: Likewise.
984 * config/tc-h8300.c: Likewise.
985 * config/tc-hppa.c: Likewise.
986 * config/tc-i370.c: Likewise.
987 * config/tc-i960.c: Likewise.
988 * config/tc-ia64.c: Likewise.
989 * config/tc-m32r.c: Likewise.
990 * config/tc-mep.c: Likewise.
991 * config/tc-mips.c: Likewise.
992 * config/tc-moxie.c: Likewise.
993 * config/tc-msp430.c: Likewise.
994 * config/tc-openrisc.c: Likewise.
995 * config/tc-pdp11.c: Likewise.
996 * config/tc-pj.c: Likewise.
997 * config/tc-s390.c: Likewise.
998 * config/tc-sh.c: Likewise.
999 * config/tc-sh64.c: Likewise.
1000 * config/tc-sparc.c: Likewise.
1001 * config/tc-spu.c: Likewise.
1002 * config/tc-tic30.c: Likewise.
1003 * config/tc-tic4x.c: Likewise.
1004 * config/tc-tic54x.c: Likewise.
1005 * config/tc-v850.c: Likewise.
1006 * config/tc-xc16x.c: Likewise.
1007 * config/tc-xstormy16.c: Likewise.
1008 * config/tc-z80.c: Likewise.
1009 * config/tc-z8k.c: Likewise.
1010 * config/atof-ieee.c: Add translation support to as_warn
1011 messages.
1012 * config/obj-coff.c: Likewise.
1013
3e7a7d11
NC
10142009-07-23 Ulrich Drepper <drepper@redhat.com>
1015
1016 * config/obj-elf.c (obj_elf_type): Add code to support a type of
1017 gnu_unique_object.
1018 * doc/as.texinfo: Document new feature of .type directive.
1019 * NEWS: Mention support for gnu_unique_object symbol type.
1020
a946d7e3
NC
10212009-07-23 Nick Clifton <nickc@redhat.com>
1022
1023 PR binutils/10379
1024 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
1025 the .global directive for MIPS ports.
1026
711eedef
L
10272009-07-21 H.J. Lu <hongjiu.lu@intel.com>
1028
1029 PR gas/10420
1030 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
1031 64bit.
1032 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
1033 for 64bit.
1034
bc0844ae
L
10352009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1036
1037 * config/tc-i386.c (md_assemble): Update operand types.
1038 (update_imm): Updated.
1039 (finalize_imm): Update the first 2 immediate operands only
1040 for instructions with 2 operands or more.
1041
9afe6eb8
L
10422009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1043
1044 * config/tc-i386.c (md_assemble): Check implicit registers
1045 only for instructions with 3 operands or less.
1046
a61a9fbc
NC
10472009-07-17 Nick Clifton <nickc@redhat.com>
1048
1049 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
1050 compile time warning.
1051
915bcca5
L
10522009-07-16 H.J. Lu <hongjiu.lu@intel.com>
1053
1054 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
1055 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
1056
9a6f4e97
NS
10572009-07-16 Nathan Sidwell <nathan@codesourcery.com>
1058
1059 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
1060 the offset for REL targets here.
1061
3726e6c5
L
10622009-07-15 Kai Tietz <kai.tietz@onevision.com>
1063
1064 * listing.c (print_source): Initialize cache by NULL.
1065
52970753
NC
10662009-07-15 Daniel Gutson <dgutson@codesourcery.com>
1067
1068 * doc/c-arm.texi (mauto-it): Removed old option.
1069 (mimplicit-it): Added right option.
1070
140033b3
NC
10712009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1072
1073 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
1074 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
1075 MAX_MEM_ALIGNMENT_BYTES.
1076 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
1077 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
1078
63b33ceb
NC
10792009-07-14 Nick Clifton <nickc@redhat.com>
1080
1081 PR 10387
1082 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
1083 (ARM_IS_FUNC): Likewise.
1084
752d5da4
NC
10852009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1086
1087 * config/tc-arm.c (md_assemble): Added validation.
1088
8455dd2c
L
10892009-07-10 H.J. Lu <hongjiu.lu@intel.com>
1090
1091 * Makefile.am: Run "make dep-am".
1092 * Makefile.in: Regenerated.
1093
fa8f86ff
TT
10942009-07-10 Tom Tromey <tromey@redhat.com>
1095
1096 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
1097 elf/dwarf2.h.
1098 (DEPTC_alpha_elf): Likewise.
1099 (DEPTC_alpha_evax): Likewise.
1100 (DEPTC_arm_elf): Likewise.
1101 (DEPTC_hppa_elf): Likewise.
1102 (DEPTC_i386_aout): Likewise.
1103 (DEPTC_i386_coff): Likewise.
1104 (DEPTC_i386_elf): Likewise.
1105 (DEPTC_m68k_aout): Likewise.
1106 (DEPTC_m68k_coff): Likewise.
1107 (DEPTC_m68k_elf): Likewise.
1108 (DEPTC_mips_coff): Likewise.
1109 (DEPTC_mips_ecoff): Likewise.
1110 (DEPTC_mips_elf): Likewise.
1111 (DEPTC_ppc_coff): Likewise.
1112 (DEPTC_ppc_elf): Likewise.
1113 (DEPTC_s390_elf): Likewise.
1114 (DEPTC_sh_coff): Likewise.
1115 (DEPTC_sh_elf): Likewise.
1116 (DEPTC_sh64_elf): Likewise.
1117 (DEPTC_sparc_aout): Likewise.
1118 (DEPTC_sparc_coff): Likewise.
1119 (DEPTC_sparc_elf): Likewise.
1120 (as.o): Likewise.
1121 (dwarf2dbg.o): Likewise.
1122 (dw2gencfi.o): Likewise.
1123 (ehopt.o): Likewise.
1124 (read.o): Likewise.
1125 * Makefile.in: Rebuild.
1126 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
1127 * dwarf2dbg.c: Likewise.
1128 * ehopt.c: Likewise.
1129
c921be7d
NC
11302009-07-09 Daniel Gutson <dgutson@codesourcery.com>
1131
1132 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
1133 (set_it_insn_type_nonvoid): New macro.
1134 (emit_thumb32_expr): New function.
1135 (thumb_insn_size): New function.
1136 (emit_insn): New function.
1137 (s_arm_elf_inst): New function.
1138 (md_pseudo_table): New pseudo-opcode entries added.
1139 * doc/c-arm.texi: New directive added.
1140
7ec721f4
DD
11412009-07-07 DJ Delorie <dj@redhat.com>
1142
1143 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
1144 when enabling other options without a specific configuration.
1145
1103f72c
NC
11462009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
1147
1148 * config/tc-arm.c (insns): Fix encoding for torvsc.
1149
922d8de8
DR
11502009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1151
1152 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
1153 (build_modrm_byte): Add support to handle FMA4 instructions.
1154 (md_show_usage): Add fma4.
01fb1836 1155
c1a6351f
AM
11562009-07-04 Alan Modra <amodra@bigpond.net.au>
1157
1158 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
1159
e57f8c65
TG
11602009-07-02 Tristan Gingold <gingold@adacore.com>
1161
1162 * Makefile.am (OBJ_FORMATS): Add macho.
1163 (CPU_OBJ_VALID): Ditto.
1164 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
1165 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
1166 (obj-macho.o): New rule.
1167 * Makefile.in: Regenerated.
1168 * configure.tgt (generic_target): Add i386-*-darwin*.
1169 * config/tc-i386.h: Use i386_target_format for Mach-O.
1170 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
1171 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
1172 * config/obj-macho.h: New file.
1173 * config/obj-macho.c: New file.
01fb1836 1174
1ef52f49
NC
11752009-07-01 Nick Clifton <nickc@redhat.com>
1176
1177 PR 10168
1178 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
1179 PKHBT.
1180
921e5f0a
PB
11812009-07-01 Paul Brook <paul@codesourcery.com>
1182
1183 * config/tc-arm.c (MISSING_FNSTART): Define.
1184 (s_arm_unwind_fnstart): Diagnose duplicate directive.
1185 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
1186 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
1187 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
1188 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
1189 not inside function unwinding region.
1190
7ab9ffdd
L
11912009-06-29 H.J. Lu <hongjiu.lu@intel.com>
1192
1193 * config/tc-i386.c: Reformat.
1194
3ef23cd4
DD
11952009-06-23 DJ Delorie <dj@redhat.com>
1196
1197 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
1198 32 bits for relaxable branches so that we can relax them later.
1199 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
1200 (mep_relax_frag): New.
1201 (md_convert_frag): Relax IVC2 branches in-place.
1202 * config/tc-mep.h ((mep_relax_frag): New.
1203
9c2799c2 12042009-06-22 Martin Thuresson <martin@mtme.org>
01fb1836 1205
1e9cc1c2
NC
1206 * app, as.c, as.h, atof-generic.c, cgen.c,
1207 config/atof-ieee.c, config/obj-aout.c,
1208 config/obj-coff.c, config/obj-ecoff.c,
1209 config/obj-elf.c, config/obj-som.c, config/tc-alpha.c,
1210 config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c,
1211 config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c,
1212 config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c,
1213 config/tc-i386-intel.c, config/tc-i386.c,
1214 config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c,
1215 config/tc-iq2000.c, config/tc-m32c.c,
1216 config/tc-m32r.c, config/tc-m68hc11.c,
1217 config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c,
1218 config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c,
1219 config/tc-mn10300.c, config/tc-moxie.c,
1220 config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c,
1221 config/tc-s390.c, config/tc-score.c,
1222 config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c,
1223 config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c,
1224 config/tc-xtensa.c, config/xtensa-relax.c,
1225 dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c,
1226 frags.c, input-file.c, read.c, sb.c,
1227 subsegs.c, symbols.c, write.c: Change the name of the
9c2799c2
NC
1228 gas macro `assert' to `gas_assert'.
1229
e07e6e58
NC
12302009-06-22 Daniel Gutson <dgutson@codesourcery.com>
1231
1232 * config/tc-arm.c (implicit_it_mode): New enum.
1233 (implicit_it_mode): New global.
1234 (it_instruction_type): New enum.
1235 (arm_parse_it_mode): New function.
1236 (arm_long_opts): New option added.
1237 (arm_it): New field.
1238 (it_state): New enum.
1239 (now_it): New macro.
1240 (check_it_blocks_finished): New function.
1241 (insns[]): Use the IT Thumb opcodes for ARM too.
1242 (arm_cleanup): Call check_it_blocks_finished.
1243 (now_it_compatible): New function.
1244 (conditional_insn): New function.
1245 (set_it_insn_type): New macro.
1246 (set_it_insn_type_last): New macro.
1247 (do_it): Call automatic IT machinery functions.
1248 (do_t_add_sub): Likewise
1249 (do_t_arit3): Likewise.
1250 (do_t_arit3c): Likewise.
1251 (do_t_blx): Likewise.
1252 (do_t_branch): Likewise.
1253 (do_t_bkpt): Likewise.
1254 (do_t_branch23): Likewise.
1255 (do_t_bx): Likewise.
1256 (do_t_bxj): Likewise.
1257 (do_t_cps): Likewise.
1258 (do_t_cpsi): Likewise.
1259 (do_t_cbz): Likewise.
1260 (do_t_it): Likewise.
1261 (encode_thumb2_ldmstm): Likewise.
1262 (do_t_ldst): Likewise.
1263 (do_t_mov_cmp): Likewise.
1264 (do_t_mvn_tst): Likewise.
1265 (do_t_mul): Likewise.
1266 (do_t_neg): Likewise.
1267 (do_t_setend): Likewise.
1268 (do_t_shift): Likewise.
1269 (do_t_tb): Likewise.
1270 (output_it_inst): New function.
1271 (new_automatic_it_block): New function.
1272 (close_automatic_it_block): New function.
1273 (now_it_add_mask): New function.
1274 (it_fsm_pre_encode): New function.
1275 (handle_it_state): New function.
1276 (it_fsm_post_encode): New function.
1277 (force_automatic_it_block_close): New function.
1278 (in_it_block): New function.
1279 (md_assemble): Call automatic IT block machinery functions.
1280 (arm_frob_label): Likewise.
1281 (arm_opts): New element.
1282 * config/tc-arm.h (it_state): New enum.
1283 (current_it): New struct.
1284 (arm_segment_info_type): New member added.
1285 * doc/c-arm.texi: New option -mimplicit-it documented.
1286
90dce00a
AM
12872009-06-20 Alan Modra <amodra@bigpond.net.au>
1288
1289 PR 10302
1290 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
1291
5e7c27a6
MS
12922009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1293
1294 * config/tc-s390.c (md_gather_operands): Accept an instruction
1295 without operands if all operands are tagged as optional.
1296
3a21c15a
NC
12972009-06-18 Nick Clifton <nickc@redhat.com>
1298
1299 PR 10169
1e9cc1c2 1300 * tc-arm.c (do_t_ssat): Move common code from here...
3a21c15a
NC
1301 (do_t_usat): ... and here to...
1302 (do_t_ssat_usat): New function: ... here. Add code to check that
1303 the shift value, if present, is in range.
1304
361dff73
DK
13052009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
1306
32425da9
NC
1307 Merge cegcc and mingw32ce target name changes
1308 from CeGCC project:
361dff73 1309
32425da9 1310 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
1311
1312 * configure.tgt: Add arm*-*-cegcc* target.
1313
32425da9 1314 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
1315
1316 * configure.tgt: Add arm-*-mingw32ce* target.
1317
7b6021f1
MR
13182009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
1319
1320 * config/tc-vax.c (md_estimate_size_before_relax): Accept
1321 indirect symbol references in the PIC mode and emit a
1322 PC-relative relocation instead of a GOT/PLT one. Likewise
1323 for symbols known to be hidden at this point.
1324
fe2ceba1
NC
13252009-06-15 Nick Clifton <nickc@redhat.com>
1326
1327 PR 10186
1328 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
1329 instruction.
1330
c25bc9fc
L
13312009-06-13 H.J. Lu <hongjiu.lu@intel.com>
1332
1333 PR ld/10269
1334 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
1335 instead of generic_force_reloc.
1336
1337 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
1338
f865a31d
AG
13392009-06-11 Anthony Green <green@moxielogic.com>
1340
1341 * config/tc-moxie.c (md_chars_to_number): Define.
1342 (md_begin): Populate opcode hashtable with more form 3 opcodes.
1343 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
1344 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
1345 (tc_gen_reloc): Ditto.
1346 (md_pcrel_from): Ditto.
1347 (md_chars_to_number): New function.
1348
d7a5ed35
AG
13492009-06-10 Anthony Green <green@moxielogic.com>
1350
1351 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
1352 opcodes.
1353
1fbfe785
JJ
13542009-06-09 Jakub Jelinek <jakub@redhat.com>
1355
1356 PR gas/10255
1357 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
1358 to DW_CFA_advance_loc4.
1359
fbeb56a4
DK
13602009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
1361
1362 PR gas/977
1363 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
1364 branches to weak symbols.
1365 (md_apply_fix): Don't convert fixes against weak symbols to
1366 section-relative offsets, but save addend for later reloc emission.
1367 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
1368 addend to pre-compensate for bfd_install_relocation.
1369
26d1917c
AM
13702009-06-04 Alan Modra <amodra@bigpond.net.au>
1371
1372 * dep-in.sed: Don't use \n in replacement part of s command.
1373 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
1374 * Makefile.in: Regenerate.
1375
d160e035
L
13762009-06-01 H.J. Lu <hongjiu.lu@intel.com>
1377
1378 PR gas/10198
1379 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
1380
ff239038
CM
13812009-05-26 Catherine Moore <clm@codesourcery.com>
1382
1383 * config/tc-mips.c (check_for_24k_errata): Remove.
1384 (md_mips_end): Remove call to check_for_24k_errata.
1385 (start_noreorder): Likewise.
1386 (s_change_sec): Likewise.
1387 (s_change_section): Likewise.
1388 (insns_between): Add 24k errata checks.
1389 (append_insn): Remove declaration and references to nhdx_24k.
1390 Remove calls to check_for_24k_errata.
01fb1836 1391
f12e7348
NC
13922009-05-26 Nick Clifton <nickc@redhat.com>
1393
1394 * po/id.po: Updated Indonesian translation.
1395 * po/gas.pot: Updated template file.
1396
f8f003f1
NC
13972009-05-26 Nick Clifton <nickc@redhat.com>
1398
1399 PR 10143
1400 * config/bfin-parse.y (error): Use "%s" as format string for error
1401 message.
1402
5de4cd13
AM
14032009-05-26 Alan Modra <amodra@bigpond.net.au>
1404
1405 * dep-in.sed: Output one filename per line with all lines having
1406 continuation backslash. Prefix first line with "A", following
1407 lines with "B".
1408 * Makefile.am (DEP): Don't use dep.sed here.
1409 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
1410 sort and uniq.
1411 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
1412 Emit multi dependencies on one line.
1413 * Makefile.in: Regenerate.
1414
295fa3cf 14152009-05-25 Tristan Gingold <gingold@adacore.com>
cb0e7c25
TG
1416
1417 * makefile.vms: New file to compile gas on VMS.
1418
1419 * configure.com: New file to do configuration on VMS with DCL.
1420
65b02341
RS
14212009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
1422
1423 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
1424 (nops_for_insn): Likewise.
1425
ad04f5ce
L
14262009-05-22 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
1429
c1e679ec
DR
14302009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1431
1432 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
1433 (build_modrm_byte): Remove DREX handling support.
1434 (DREX_*): Delete.
1435 (drex_byte): Delete.
1436 (md_assemble): Remove DREX handling support.
1437 (process_operands): Remove DREX, SSE5 support.
1438 (i386_insn): Remove DREX.
01fb1836 1439
2b3decb5
AM
14402009-05-22 Alan Modra <amodra@bigpond.net.au>
1441
1442 * Makefile.am: Run "make dep-am".
1443 * Makefile.in: Regenerate.
1444
321098a5
L
14452009-05-20 Kai Tietz <kai.tietz@onevision.com>
1446 H.J. Lu <hongjiu.lu@intel.com>
1447
1448 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
1449 (TARGET_FORMAT): Removed for x86 pe-coff.
1450 (COFF_TARGET_FORMAT): Likewise.
1451
1452 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
1453 (md_parse_option): Likewise.
1454 (md_show_usage): Show option --32/--64 for x86 pe-coff.
1455 (i386_target_format): Use also for x86 pe-coff.
1456
1457 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
1458 for x86 pe-coff.
1459
b899d332
DD
14602009-05-19 DJ Delorie <dj@redhat.com>
1461
1462 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
1463 (mep_process_saved_insns): Remove debugging printfs.
1464
c1711530
DK
14652009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
1466
1467 * NEWS: Mention new feature.
1468 * config/obj-coff.c (obj_coff_common_parse): New function.
1469 (obj_coff_comm): Likewise.
1470 (coff_pseudo_table): Override default ".comm" definition on PE.
1471 * doc/as.texinfo: Document new feature.
1472
63ad59ae
KT
14732009-05-17 Kai Tietz <kai.tietz@onevision.com>
1474
321098a5
L
1475 * config/obj-coff.c (obj_coff_section): Add 'y' as
1476 specifier for SEC_COFF_NOREAD section flag.
63ad59ae
KT
1477 * doc/as.texinfo: Add documentation about .section flag 'y'.
1478
77ca1325
DD
14792009-05-13 DJ Delorie <dj@redhat.com>
1480
1481 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
1482
42a68e18
AJ
14832009-05-13 Andrew Jenner <andrew@codesourcery.com>
1484
1485 * config/tc-arm.c: Move as.h to start of file.
1486
267bf995
RR
14872009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1488
84df6011 1489 * config/tc-arm.h: Fix typo in comment.
267bf995
RR
1490 (ARM_IS_FUNC): New macro.
1491 (MD_APPLY_SYM_VALUE): Define.
1492
84df6011 1493 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
267bf995
RR
1494 all versions of EABI.
1495 (relax_branch): Do not relax for branches to ARM functions.
1496 (md_pcrel_from_section): Set up base correctly for
1497 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
1498 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
1499 BFD_RELOC_ARM_PCREL_CALL.
1500 (md_apply_fix): Flip bl to blx where possible.
1501 Flip blx to bl where possible.
1502 (arm_force_relocation): Force relocations for
1503 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
1504 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
1505 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
1506 BFD_RELOC_THUMB_PCREL_BRANCH25.
1507 (arm_apply_sym_value): New function.
01fb1836 1508
eb979bfb
TG
15092009-05-04 Tristan Gingold <gingold@adacore.com>
1510
1511 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
1512
45eb4c1b
NS
15132009-05-01 Nathan Sidwell <nathan@codesourcery.com>
1514
1515 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
1516 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
1517 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
1518 the default FPU from the processor.
1519
00adf2d4
JB
15202009-05-01 Julian Brown <julian@codesourcery.com>
1521
1522 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
1523 (md_pcrel_from_section): Align address for BLX.
1524 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
1525 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
1526
3526b680
DD
15272009-04-29 DJ Delorie <dj@redhat.com>
1528
1529 * config/tc-mep.c (md_begin): Check coprocessor type.
1530 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
1531 (md_check_parallel32_scheduling): Likewise.
1532 (slot_ok): New.
1533 (mep_check_ivc2_scheduling): New.
1534 (mep_check_parallel_scheduling): Call it.
1535 (mep_process_saved_insns): Add IVC2 slot support.
1536 (md_assemble): Likewise.
1537
d8045f23
NC
15382009-04-30 Nick Clifton <nickc@redhat.com>
1539
1540 * config/obj-elf.c (obj_elf_type): Add support for a
1541 gnu_indirect_function type.
1542 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
1543 against indirect function symbols.
1544 * doc/as.texinfo (.type): Document the support for the
1545 gnu_indirect_function symbol type.
1546 * NEWS: Mention the new feature.
1547
92846e72
CC
15482009-04-24 Cary Coutant <ccoutant@google.com>
1549
1550 * NEWS: Add item about discriminator support.
1551 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
1552 * dwarf2dbg.c (current): Add discriminator field.
1553 (dwarf2_where): Copy discriminator value.
1554 (dwarf2_consume_line_info): Set discriminator to 0.
1555 (dwarf2_directive_loc): Process discriminator sub-op.
1556 (out_leb128): New function.
1557 (process_entries): Output DW_LNE_set_discriminator.
1558 * doc/as.texinfo: Add discriminator operand to .loc directive.
92846e72 1559
520725ea
NS
15602009-04-22 Nathan Sidwell <nathan@codesourcery.com>
1561
1562 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
1563 as_bad calls to silence compiler warning.
1564
7ac3eb25
L
15652009-04-21 H.J. Lu <hongjiu.lu@intel.com>
1566
1567 * config/tc-i386-intel.c (O_XXX): Reorder.
1568
ee86248c
JB
15692009-04-20 Jan Beulich <jbeulich@novell.com>
1570
1571 * Makefile.am: Add explicit dependency of tc-i386.o on
1572 tc-i386-intel.c.
1573 * Makefile.in: Likewise.
1574 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
1575 out from i386_immediate.
1576 (i386_immediate): Slightly re-arrange, call
1577 i386_finalize_immediate.
1578 (i386_finalize_displacement): Declare, broken out from
1579 i386_displacement.
1580 (i386_displacement): Slightly re-arrange, call
1581 i386_finalize_displacement.
1582 (i386_intel_simplify, i386_intel_parse_name): Declare.
1583 (this_operand): Initialize to -1.
1584 (set_intel_syntax): Set expression rank for O_full_ptr.
1585 (md_assemble): Set this_operand back to -1 after parsing
1586 operands.
1587 (x86_cons): Negate intel_syntax to indicate state. Call
1588 i386_intel_simplify.
1589 (md_operand): Convert if to switch. Handle '[' for Intel
1590 syntax.
1591 (i386_intel_operand): Delete, including all helper functions
1592 and data.
1593 * config/tc-i386-intel.c: New file, all new code.
1594 * config/tc-i386.h (i386_operator): Declare.
1595 (md_operator): Define to i386_operator.
1596 (i386_need_index_operator): Declare.
1597 (md_need_index_operator): Define to i386_need_index_operator.
1598 (O_full_ptr): Define.
1599
fcaed75e
JB
16002009-04-20 Jan Beulich <jbeulich@novell.com>
1601
1602 * expr.c (operand): Call md_need_index_operator() and
1603 md_operator() if defined. Add unary label.
1604 (operator): Call md_operator() if defined.
1605 (expr): Adjust assertions on range and rank of op_left and
1606 op_right. Don't abort on unhandled operators when reducing
1607 expressions with both operands being constant.
1608 (expr_set_rank): New.
1609 * expr.h (expr_set_rank): Declare.
1610
51a5d0aa 16112009-04-15 Anthony Green <green@moxielogic.com>
20135e4c
NC
1612
1613 * config/tc-moxie.h: New file.
1614 * config/tc-moxie.c: New file.
1615 * configure: Add support for moxie.
1616 * configure.tgt: Add support for moxie.
1617
d85733c8
JB
16182009-04-16 Jan Beulich <jbeulich@novell.com>
1619
1620 * expr.c: Include limits.h if available, and #define CHAR_BITS
1621 otherwise.
1622 (expr): Check range of shift count when evaluating a constant
1623 expression.
1624
d8a1b51e
JB
16252009-04-15 Jan Beulich <jbeulich@novell.com>
1626
1627 * config/tc-i386.c (process_operands): Print operands in
1628 correct order depending on intel_syntax.
1629
6a32d874
CM
16302009-04-09 Catherine Moore <clm@codesourcery.com>
1631
1632 * config/tc-mips.c (mips_fix_24k): Declare.
1633 (check_for_24k_errata): New.
1634 (mips_cleanup): Call check_for_24k_errata.
1635 (start_noreorder): Likewise.
1636 (md_mips_end): Likewise.
1637 (s_change_sec): Likewise.
1638 (s_change_section): Likewise.
1639 (append_insn): Call check_for_24k_errata. Prevent
1640 ERET/DERET instructions from being moved into delay
1641 slots.
1642 (OPTION_FIX_24K): New.
1643 (OPTION_NO_FIX_24k) New.
1644 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
1645 (md_parse_option): Handle fix-24k options.
1646 (md_show_usage): Display fix-24k options.
1647 * doc/c-mips.texi: Document.
6a32d874 1648
6b6b3450
AN
16492009-04-09 Adam Nemet <anemet@caviumnetworks.com>
1650
1651 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
1652 instead of HAVE_64BIT_SYMBOLS.
1653
4d28413b
DD
16542009-04-07 DJ Delorie <dj@redhat.com>
1655
1656 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
1657 (md_show_usage): Change default endian to little.
1658 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
1659
bcb012d3
DD
16602009-04-06 DJ Delorie <dj@redhat.com>
1661
1662 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
1663 immediates.
1664 (build_bytes): Pass insn to do_a_fix_imm.
1665
5b19eaba
NC
16662009-04-02 Daniel Gutson <dgutson@codesourcery.com>
1667
1668 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
1669 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
1670 Cortex-M1.
1671
745435b6
MT
16722009-04-01 Matt Thomas <matt@netbsd.org>
1673
1674 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
1675 (md_assemble): emit symbol name when used as immediate in PIC mode.
1676 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
1677
1ec520b7
SA
16782009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1679
1680 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
1681
4343666d
RR
16822009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1683
1684 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
1685 (find_real_start): Likewise.
1686 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
1687
e7495e45
NS
16882009-04-01 Nathan Sidwell <nathan@codesourcery.com>
1689
1690 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
1691 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
1692 whenever possible.
1693
42240548
PB
16942009-03-31 Peter Bergner <bergner@vnet.ibm.com>
1695
1696 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
1697
adfd7328
DK
16982009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
1699
1700 * doc/internals.texi: Fix trivial syntax errors.
1701
0cc9e1d3
AM
17022009-03-26 Alan Modra <amodra@bigpond.net.au>
1703
1704 PR 10005
1705 * config/tc-i386.c (reloc): Don't abort on lack of required
1706 reloc type.
1707
41aacd83
L
17082009-03-25 H.J. Lu <hongjiu.lu@intel.com>
1709
1710 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
1711 arch.
1712
d67ffd56
L
17132009-03-23 H.J. Lu <hongjiu.lu@intel.com>
1714
1715 PR gas/9966
1716 * listing.c (listing_newline): Properly handle `\\"' and ';'.
1717
1718 * read.c (is_end_of_line): Update comments for line separator.
1719 (read_begin): Set line separator in is_end_of_line to 2.
1720
b7cac25f
DM
17212009-03-19 David S. Miller <davem@davemloft.net>
1722
1723 * config/tc-sparc.c (md_parse_option): If the user gives
1724 us '--64' make sure max_architecture is at least V9.
1725
42e5fcbf
AS
17262009-03-18 Andrew Stubbs <ams@codesourcery.com>
1727
1728 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
1729 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
1730 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
1731
8d25cc3d
AM
17322009-03-18 Alan Modra <amodra@bigpond.net.au>
1733
1734 * as.h: Include alloca-conf.h instead of config.h and remove
1735 existing #if's handling alloca.
1736 * Makefile.am: Run "make dep-am".
1737 * Makefile.in: Regenerate.
1738
8602d4fe
RS
17392009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1740
1741 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
1742 C_AIX_WEAKEXT too.
1743
9f0eb232
RS
17442009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1745
1746 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
1747 "value" from fx_offset. Manually resubtract md_pcrel_from_section
1748 where necessary.
1749
e5231592
RS
17502009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1751
1752 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1753 * configure.in: Likewise.
1754 * configure: Regenerate.
1755
a07dbd48
HPN
17562009-03-11 Hans-Peter Nilsson <hp@axis.com>
1757
1758 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
1759 Rename, changing all callers, to...
1760 (md_create_short_jump): Adjust head comment. Assert
1761 word-sized-branch distance for v32. Bail out calling as_fatal for
1762 compatibility mode here.
1763 (md_create_long_jump): ...not here.
1764 * config/tc-cris.h (md_create_short_jump): Do not define.
1765
187af7df
HPN
17662009-03-10 Hans-Peter Nilsson <hp@axis.com>
1767
1768 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
1769 the jump table for multiple overflowing entries with the same
1770 target, handle base symbols being different.
1771 (relax_segment) <case rs_broken_word, second loop>: Whenever a
1772 single entry overflows, arrange to redirect all entries with the
1773 same target.
1774
69fe9ce5
AM
17752009-03-10 Alan Modra <amodra@bigpond.net.au>
1776
1777 * config/tc-ppc.c (parse_cpu): Delete.
1778 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
1779
f378cd83
L
17802009-03-09 H.J. Lu <hongjiu.lu@intel.com>
1781
1782 PR gas/9915
1783 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
1784 (LOCAL_LABELS_FB): Undefine befoe define.
1785
d11fd249
NC
17862009-03-06 Nick Clifton <nickc@redhat.com>
1787
1788 * po/es.po: Updated Spanish translation.
1789
cc3f603a
JM
17902009-03-05 Joseph Myers <joseph@codesourcery.com>
1791
1792 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
1793 s_incbin): Call md_cons_align (1).
1794
d9319cec
NC
17952009-03-04 Nick Clifton <nickc@redhat.com>
1796
1797 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
1798 based targets.
1799 (s_alpha_comm): Only define "temp" and "log_align" local variables
1800 for EVAX targets.
1801
727fc41e
AM
18022009-03-04 Alan Modra <amodra@bigpond.net.au>
1803
1804 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
1805 have non-zero addend.
1806 (md_assemble): Parse args of __tls_get_addr calls.
1807 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
1808
1c5c6c13
DA
18092009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1810
1811 binutils/3807
1812 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
1813 local scope for ELF targets.
1814
ed84b57b
AM
18152009-03-04 Alan Modra <amodra@bigpond.net.au>
1816
1817 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
1818
198f1251
TG
18192009-03-03 Tristan Gingold <gingold@adacore.com>
1820 Eric Botcazou <ebotcazou@adacore.com>
1821 Douglas B Rupp <rupp@gnat.com>
1822
1823 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
1824 for Alpha.
1825 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
1826 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
1827 (OBJ_SYMFIELD_TYPE): Remove.
1828 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
1829 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
1830 (tc_frob_file_before_fix): Do not defined on evax.
1831 * config/tc-alpha.c: Always includes dwarf2dbg.h.
1832 Include vms.h if OBJ_EVAX.
1833 (struct alpha_fixup): Add xtrasym and procsym (evax only).
1834 (enum alpha_macro_arg): Remove trailing comma.
1835 (md_longopts): Add replace and noreplace arguments (evax only).
1836 (alpha_evax_proc_hash): New variable.
1837 (alpha_link_section): Make it global.
1838 (alpha_ctors_section, alpha_dtors_section): Removed.
1839 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
1840 (alpha_lit8_section): Ifndef'ed on evax.
1841 (alpha_lit8_symbol): Ditto.
1842 (alpha_prologue_label): New variable.
1843 (alpha_linkage_symbol): New variable (evax only).
1844 (alpha_flag_replace): Ditto.
1845 (struct alpha_evax_procs): Add handler and handler_data field.
1846 (alpha_evax_proc): Now of type pointer.
1847 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
1848 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
1849 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
1850 (alpha_adjust_relocs): Ifndef'ed on evax.
1851 (load_expression): Add opname argument.
1852 Implement LDA/BSR optimization for evax.
1853 (emit_lda): Adjust for new prototype of load_expression.
1854 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
1855 (emit_loadstore): Likewise.
1856 (emit_ldXu): Likewise.
1857 (emit_stX): Likewise.
1858 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
1859 (emit_ldgp): Avoid warning in evax case.
1860 (add_to_link_pool): Make it static. Return symbolic expression rather
1861 than number expression for the offset.
1862 (s_alpha_text): Create .text symbol for evax if not already created.
1863 (s_alpha_comm): Do not create specific section for common symbol.
1864 Fill common area with zeros for evax.
1865 (s_alpha_prologue): Create alpha_prologue_label.
1866 (s_alpha_section_name): New function (evax).
1867 (s_alpha_section_word): Likewise.
1868 (section_name): New static variabke moved out from ...
1869 (s_alpha_section): ... here. Create new sections on demand.
1870 (s_alpha_literals): New function (evax).
1871 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
1872 alpha_evax_proc_hash table.
1873 (s_alpha_handler): New function (evax).
1874 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
1875 (s_alpha_prologue): New function (evax).
1876 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
1877 handling of procedures with hash table.
1878 Add support for condition handlers.
1879 (s_alpha_linkage): Create linkage_fixup instance and chain it.
1880 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
1881 (s_alpha_mask): Likewise.
1882 (s_alpha_fmask): Likewise.
1883 (s_alpha_end): Clear alpha_evax_proc.
1884 (s_alpha_align): Increase max_alignment to 16.
1885 (alpha_print_token): Call print_expr_1 instead of print_expr.
ed84b57b 1886 (md_pseudo_table): Add "section", "literals", "handler" and
198f1251
TG
1887 "handler_data" (evax). Do not ignore "prologue" on evax.
1888 Fix indentation.
1889 (md_begin): Create hash table for alpha_evax_proc_hash.
1890 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
1891 (md_show_usage): Mention -replace/-noreplace for evax.
1892 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
1893 (alpha_force_relocation): Likewise.
1894 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
1895 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
1896 (emit_insn): New cases for evax specific relocs.
1897 (assemble_insn): Fix indentation.
1898 Take care of -MDISP in operand table.
1899 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
1900 (OBJ_SYMFIELD_TYPE): New macro.
1901 (obj_symbol_new_hook): Define.
1902 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
1903 (obj_frob_file_before_fix): Ditto.
1904 (PDSC_S_M_HANDLER_VALID): New macro.
1905 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
1906 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
1907 Add prototypes for functions declared in obj-evax.c
1908 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
1909 (s_evax_weak): Convert to ansi-C.
1910 (evax_symbol_new_hook): New function.
1911 (evax_frob_symbol): Ditto.
1912 (evax_frob_file_before_adjust): Ditto.
1913 (evax_frob_file_before_fix): Ditto.
1914 (evax_shorten_name): Ditto.
1915 (crc32): Ditto.
1916 (encode_32): Ditto.
1917 (encode_16): Ditto.
1918 (decode_16): Ditto.
1919 (shorten_identifier): Ditto.
1920 (is_truncated_identifier): Ditto.
1921 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
1922 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
1923 (main): Ditto.
1924
a1f7ca36
AM
19252009-03-03 Alan Modra <amodra@bigpond.net.au>
1926
1927 * Makefile.am: Run "make dep-am".
1928 * Makefile.in: Regenerate.
1929
83cf10fd
NC
19302009-03-02 Nick Clifton <nickc@redhat.com>
1931
1932 PR 9874
1933 * config/tc-ia64.c (fix_insn): Fix warning reported by
1934 -Wformat-security.
1935
c3b7224a
NC
19362009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1937
1938 * config/tc-score7.c: New file.
1939 * doc/c-score.texi: New file.
1940 * Makefile.am: Update dependencies for tc-score.c.
1941 * Makefile.in: Regenerate.
1942 * NEWS: Mention support for Score7 architecture.
1943 * config/tc-score.c: Add support for Score7 architecture.
1944 * config/tc-score.h: Likewise.
1945 * doc/Makefile.am: Add c-score.texi.
1946 * doc/Makefile.in: Regenerate.
1947 * doc/all.texi: Add Score7.
1948 * doc/as.texinfo: Add Score7.
1949
04e2c417
MM
19502009-03-01 Mark Mitchell <mark@codesourcery.com>
1951
1952 * config/tc-arm.c (md_assemble): Allow barrier instructions on
1953 ARMv6-M cores.
1954
58e24671
RW
19552009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1956
1957 * configure: Regenerate.
1958
066be9f7
PB
19592009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1960
1961 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
1962 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
1963 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
1964
784788d2
L
19652009-02-25 H.J. Lu <hongjiu.lu@intel.com>
1966
1967 * config/tc-i386.c (fits_in_imm4): Removed.
1968
91c2f09e
DA
19692009-02-24 Helge Deller <deller@gmx.de>
1970
dfaf9df8 1971 * config/tc-hppa.c (pa_ip): Add check of immediate values.
91c2f09e
DA
1972 (SAVE_IMMEDIATE): New define.
1973
94206790
MM
19742009-02-23 Mark Mitchell <mark@codesourcery.com>
1975
1976 * config/tc-arm.c (warn_deprecated_sp): New macro.
1977 (do_t_mov_cmp): Permit R13 as the second
1978 argument to "cmp.n".
1979
0349dc08
L
19802009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1981
1982 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
1983 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
1984
c1b80a2a
L
19852009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1986
1987 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
1988
4c664d7b
L
19892009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1990
1991 * config/tc-i386.c (vex_imm4): Removed.
1992 (VEX_check_operands): Likewise.
1993 (match_template): Updated.
1994
11c19e16
MS
19952009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1996
1997 * doc/all.texi: Set S390.
1998 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
1999 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
2000 * doc/Makefile.in: Likewise.
2001 * doc/c-s390.texi: New.
2002
87298967
NS
20032009-02-12 Nathan Sidwell <nathan@codesourcery.com>
2004
2005 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
2006 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
2007 (mcf5307_ctrl): Add VBR.
2008 (no_mac): New variable.
2009 (m68k_extensions): Refer to no_mac mask.
2010 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
2011 52252..52259, 53011..53017.
2012 (m68k_ip): Process CPUCR.
2013 (init_table): Add cpucr entry.
2014 (m68k_set_extension): Allow negated mask to refer to a variable.
2015 (md_show_usage): Use '%s' to silence fprintf warning.
2016 * config/m68k-parse.h (CPUCR): New control register.
2017
ee2c9aa9
NS
20182009-02-10 Nathan Sidwell <nathan@codesourcery.com>
2019
2020 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
2021 as_bad calls to silence compiler warning.
2022
8dc2430f
NC
20232009-02-06 Nick Clifton <nickc@redhat.com>
2024
2025 PR 9814
2026 * config/tc-arm.c (MODE_RECORDED): New define.
2027 (output_inst): Record the thumb_mode in the current frag.
2028 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
2029 (arm_init_frag): Only set the tc_frag_data field if it has not
2030 already been set.
2031
ce2f5b3c
L
20322009-02-04 H.J. Lu <hongjiu.lu@intel.com>
2033
2034 AVX Programming Reference (January, 2009)
2035 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
2036 (CPU_FLAGS_AVX_MATCH): Updated.
2037 (CPU_FLAGS_32BIT_MATCH): Likewise.
2038 (cpu_flags_match): Likewise.
2039
52b6b6b9
JM
20402009-02-03 Sandip Matte <sandip@rmicorp.com>
2041
2042 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
2043 M_MSGWAIT and M_MSGWAIT_T.
2044 (mips_cpu_info_table): Add XLR entry.
2045 * doc/c-mips.texi (-march): Document xlr.
2046
e94345ae 20472009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
a53fddce
EW
2048
2049 * config/tc-avr.c (mcu_types): Add ata6289.
2050 * doc/c-avr.texi: Likewise.
2051
31dd3154
JM
20522009-02-03 Carlos O'Donell <carlos@codesourcery.com>
2053
2054 * configure.in: AC_SUBST pdfdir.
2055 * Makefile.am: Add install-pdf, install-pdf-am,
2056 and install-pdf-recursive targets.
2057 * doc/Makefile.am: Define pdf__strip_dir. Add
2058 install-pdf and install-pdf-am targets.
2059 * po/Make-in: Add install-pdf target.
2060 * configure: Regenerate.
2061 * Makefile.in: Regenerate.
2062 * doc/Makefile.in: Regenerate.
2063
cf869cce
NC
20642009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
2065
2066 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
2067 relocations.
2068 * config/m68k-parse.y (yylex): Parse TLS relocations.
2069 * config/tc-m68k.c (m68k_elf_cons): New static function.
2070 (md_pseudo_table): Use it.
2071 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
2072 relocations.
2073 (md_apply_fix): Fix to set thread local flag.
2074 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
2075
bb0a86e1
NC
20762009-02-03 Vince Weaver <vince@csl.cornell.edu>
2077
2078 PR 9779
2079 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
2080 indexed addressing for symbolic expressions.
2081
fdfde340
JM
20822009-01-29 Mark Mitchell <mark@codesourcery.com>
2083
2084 * config/tc-arm.c (BAD_SP): Define.
2085 (s_arm_unwind_fnstart): Use REG_SP.
2086 (s_arm_unwind_setfp): Likewise.
2087 (reject_bad_reg): New macro.
2088 (do_co_reg): Check for bad registers.
2089 (do_co_reg2c): Likewise.
2090 (do_srs): Use REG_SP.
2091 (do_t_add_sub): Check for bad registers.
2092 (do_t_adr): Likewise.
2093 (do_t_arit3): Likewise.
2094 (do_t_arit3c): Likewise.
2095 (do_t_bfc): Likewise.
2096 (do_t_bfi): Likewise.
2097 (do_t_bfx): Likewise.
2098 (do_t_blx): Likewise.
2099 (do_t_bx): Likewise.
2100 (do_t_bxj): Likewise.
2101 (do_t_clz): Likewise.
2102 (do_t_div): Likewise.
2103 (do_t_mla): Likewise.
2104 (do_t_mlal): Likewise.
2105 (do_t_mov_cmp): Likewise.
2106 (do_t_mov16): Likewise.
2107 (do_t_mvn_tst): Likewise.
2108 (do_t_mrs): Likewise.
2109 (do_t_msr): Likewise.
2110 (do_t_mul): Likewise.
2111 (do_t_mull): Likewise.
2112 (do_t_orn): Likewise.
2113 (do_t_pkhbt): Likewise.
2114 (do_t_pld): Likewise.
2115 (do_t_rbit): Likewise.
2116 (do_t_rev): Likewise.
2117 (do_t_rrx): Likewise.
2118 (do_t_rsb): Likewise.
2119 (do_t_shift): Likewise.
2120 (do_t_simd): Likewise.
2121 (do_t_ssat): Likewise.
2122 (do_t_ssat16): Likewise.
2123 (do_t_sxtah): Likewise.
2124 (do_t_sxth): Likewise.
2125 (do_t_tb): Likewise.
2126 (do_t_usat): Likewise.
2127 (do_t_usat16): Likewise.
2128 (nysn_insert_sp): Use REG_SP.
2129
1c444d06
JM
21302009-01-29 Mark Mitchell <mark@codesourcery.com>
2131
2132 * config/tc-arm.c (do_t_orn): New function.
2133 (do_t_rrx): Likewise.
2134 (insns): Add orn and rrx.
2135
4f80ef3e
JM
21362009-01-29 Mark Mitchell <mark@codesourcery.com>
2137
2138 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
ed84b57b 2139 uasx, uhasx, uhsx, uqasx, uqsax, usax.
4f80ef3e 2140
087b80de
JM
21412009-01-29 Mark Mitchell <mark@codesourcery.com>
2142
2143 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
2144 qdsub in Thumb-2 mode.
2145
17828f45 21462009-01-29 Paul Brook <paul@codesourcery.com>
321098a5 2147 Mark Mitchell <mark@codesourcery.com>
17828f45
JM
2148
2149 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
2150 of MUL when possible.
2151
ec0c103c
NC
21522009-01-29 Nick Clifton <nickc@redhat.com>
2153
2154 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
2155
4a6bc624
NS
21562009-01-29 Nathan Sidwell <nathan@codesourcery.com>
2157 Catherine Moore <clm@codesourcery.com?
2158
2159 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
2160 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
2161 directives.
2162
23fce1e3
NC
21632009-01-27 Nick Clifton <nickc@redhat.com>
2164
2165 * config/tc-mips.c (append_insn): Cope with a complex reloc
2166 sequence containing an unsupported reloc type.
2167 (enum options): Replace computed #define's constants for option
2168 numbers with this enum.
2169 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
2170 environment.
2171 (md_parse_option): Allow -32 in a non-ELF environment.
2172
ee3c0378
AS
21732009-01-26 Andrew Stubbs <ams@codesourcery.com>
2174
2175 * config/tc-arm.c (attributes_set_explicitly): New array.
2176 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
2177 (cpu_arch): Add ARM_ARCH_V5T.
2178 (aeabi_set_attribute_int): New function.
2179 (aeabi_set_attribute_string): New function.
2180 (aeabi_set_public_attributes): Set attributes according to the user's
2181 intentions, rather than the actual state of the binary.
2182 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
2183 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
2184 Support WMMXv2. Use attribute names instead of numbers.
2185 * read.c (s_vendor_attribute): Change return type to int.
2186 Return the tag number that was set.
2187 * read.h (s_vendor_attribute): Change return type to int.
2188
17f4880d
EW
21892009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
2190
2191 PR 9789
2192 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
2193 * doc/c-avr.texi: Likewise.
2194
278df34e
NS
21952009-01-23 Nathan Sidwell <nathan@codesourcery.com>
2196
2197 * doc/c-arm.texi (): Document -mwarn-deprecated.
2198 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
2199 (warn_on_deprecated): ... this.
2200 (opcode_lookup, md_assemble): Check it before warning.
2201 (arm_opts): Add m[no-]warn-deprecated.
2202 (md_parse_option): Replace WARN_DEPRECATED with
2203 warn_on_deprecated.
2204
199114c2
AS
22052009-01-23 Andreas Schwab <schwab@suse.de>
2206
750bdd57
AS
2207 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
2208 arguments to macro_build to match format.
2209
199114c2
AS
2210 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
2211 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
2212
d3bf77be
NC
22132009-01-19 Nick Clifton <nickc@redhat.com>
2214
2215 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
2216 ELF format ARM targets.
2217 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
2218
22192009-01-19 Nick Clifton <nickc@redhat.com>
2220
2221 * configure.tgt: Restore alpha sorting to object format switch
2222 statement.
2223
2d0bb761
AS
22242009-01-19 Andrew Stubbs <ams@codesourcery.com>
2225
2226 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
2227
3493e7b0
JM
22282009-01-16 Mark Shinwell <shinwell@codesourcery.com>
2229
2230 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
2231 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
2232
e04befd0
AS
22332009-01-16 Andrew Stubbs <ams@codesourcery.com>
2234 Daniel Jacobowitz <dan@codesourcery.com>
2235
2236 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
2237 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
2238 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
2239 * read.c (s_vendor_attribute): Add support for symbolic tag names.
2240 Improve string parser.
2241 * doc/c-arm.texi (ARM Machine Directives): Document
2242 .eabi_attribute symbolic tag names.
2243
29670fb9
AM
22442009-01-16 Alan Modra <amodra@bigpond.net.au>
2245
2246 * configure.in (commonbfdlib): Delete.
2247 * configure: Regenerate.
2248 * po/POTFILES.in: Regenerate.
2249
91e22acd
AS
22502009-01-15 Andrew Stubbs <ams@codesourcery.com>
2251 Julian Brown <julian@codesourcery.com>
2252
2253 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
2254
7b86a9fa
AS
22552009-01-15 Andrew Stubbs <ams@codesourcery.com>
2256
2257 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
2258 bfd_elf_add_obj_attr_int_string.
2259
01e1a5bc
NC
22602009-01-15 Douglas B Rupp <rupp@gnat.com>
2261
2262 * configure.tgt(ia64-*-*vms*): New target.
2263 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
2264 * tc.h (md_number_to_chars): Declare iff undefined.
2265 * config/obj-elf.c (obj_elf_change_section): Change type of arg
2266 attr to bfd_vma.
2267 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
2268 variables attr, md_attr to bfd_vma.
2269 (obj_elf_section_word): Likewise.
2270 (obj_elf_section): Change type of variable attr to bfd_vma
2271 * config/obj-elf.h (obj_elf_change_section): Change type of arg
2272 attr to bfd_vma.
2273 * config/tc-ia64.c (bfdver.h,time.h): Include.
2274 (ia64_elf_section_letter): Now returns a bfd_vma.
2275 Handle VMS specific attributes.
2276 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2277 (ia64_init): Don't turn on dependency checking for VMS.
2278 (ia64_target_format): Check for VMS flag bit.
2279 (do_alias): Hande decc$ functions.
2280 (get_vms_time): New function.
2281 (ia64_vms_note): New function.
2282 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
2283 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2284 (tc_init_after_args): Define for VMS.
2285 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
2286 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
2287 * config/tc-alpha.h: Likewise.
2288 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
2289 (x86_64_section_word): Return a bfd_vma.
2290 * config/tc-i386.h: Likewise.
2291 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
2292 attr to bfd_vma.
2293 * config/tc-ip2k.h: Likewise.
2294 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
2295 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
2296 * config/tc-mep.h: Likewise.
2297 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
2298 (ppc_section_word): Return a bfd_vma.
2299 (ppc_section_flags): Change type of arg attr to bfd_vma.
2300 * config/tc-ppc.h: Likewise.
2301 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
2302 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
750bdd57
AS
2303 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
2304 New file with new macros
2305 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
2306 macros.
01e1a5bc 2307
bc2d1808
NC
23082009-01-15 Nick Clifton <nickc@redhat.com>
2309
2310 PR 9722
2311 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
2312 instructions before generating a Thumb2 nop.
2313
7b6598a4 23142009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750bdd57 2315
7b6598a4
AK
2316 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
2317
cd4a7468
AM
23182009-01-12 Alan Modra <amodra@bigpond.net.au>
2319
2320 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
2321 (brinfo): New var.
2322 (md_assemble): Poke brinfo into branch instructions.
2323 (spu_brinfo): New function.
2324 (md_apply_fix): Don't assume insn fields start off at zero, mask
2325 them to remove possible brinfo.
2326
1543849b
L
23272009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2328
2329 * doc/c-i386.texi: Reformat.
2330
bd5295b2
L
23312009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2332
dfaf9df8 2333 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
bd5295b2
L
2334 .syscall.
2335 (i386_align_code): Handle PROCESSOR_COREI7.
2336 (md_show_usage): Add corei7, clflush and syscall.
2337 (i386_target_format): Replace cpup4 with cpuclflush.
2338
dfaf9df8 2339 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
bd5295b2
L
2340
2341 * doc/c-i386.texi: Document corei7, clflush and syscall.
2342
1b7f3fb0
L
23432009-01-09 H.J. Lu <hongjiu.lu@intel.com>
2344
2345 * config/tc-i386.c (cpu_arch): Add .rdtscp.
2346 (md_show_usage): Display rdtscp.
2347
2348 * doc/c-i386.texi: Document rdtscp.
2349
1cb0a767
PB
23502009-01-09 Peter Bergner <bergner@vnet.ibm.com>
2351
2352 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
2353 Test the new "deprecated" opcode field.
2354
19fc3723
SA
23552009-01-07 Sterling Augustine <sterling@tensilica.com>
2356
2357 * config/tc-xtensa.c (produce_flix): New.
2358 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
2359 (md_longopts): Add support for them.
2360 (md_parse_option): Likewise.
2361 (md_show_usage): Add help message.
2362 (finish_vinsn): Don't allow multi-slot flix when produce_flix
2363 option is set to FLIX_NONE.
2364 * config/xtensa-relax.c (transition_applies): Only relax to
2365 flix branches when produce_flix equals FLIX_ALL.
2366 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
2367 FLIX_NONE): New.
2368 (produce_flix): Declare.
2369
24864476
CF
23702009-01-06 Chao-ying Fu <fu@mips.com>
2371
2372 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
2373 Use strncmp to match jalr and jalr.hb.
2374 Fix a typo.
2375
0bfee649 23762009-01-05 H.J. Lu <hongjiu.lu@intel.com>
d62f07d0 2377
0bfee649
L
2378 AVX Programming Reference (December, 2008)
2379 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
2380 support. Don't swap REG and NDS for FMA.
d62f07d0 2381
750bdd57 23822009-01-02 Matthias Klose <doko@ubuntu.com>
e7c604dd 2383
750bdd57
AS
2384 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
2385 behaviour.
e7c604dd 2386
0bfee649 2387For older changes see ChangeLog-2008
08d56133
NC
2388\f
2389Local Variables:
2390mode: change-log
2391left-margin: 8
2392fill-column: 74
2393version-control: never
2394End:
This page took 0.500836 seconds and 4 git commands to generate.