From Cary Coutant: Improve i386 shared library TLS support.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
b5f5fd96
NC
12007-11-13 Nick Clifton <nickc@redhat.com>
2
3 * config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to
4 be generated for alignment fixups.
5 * config/tc-mn10300.h (TC_FORCE_RELOCATION): Call
6 mn10300_force_relocation.
7
42477147
NC
82007-11-12 Nick Clifton <nickc@redhat.com>
9
10 PR gas/5269
11 * config/tc-frv.c (md_show_usage): Rewrite usage description to
12 make it easier to translate.
13 * gas/po/gas.pot: Regenerate.
14
2ad068be
AM
152007-11-12 Tristan Gingold <gingold@adacore.com>
16
17 * config/tc-ppc.c (md_assemble): If -mregnames, when parsing
18 PPC_OPERAND_CR always parse as expression to allow register name
19 followed by an expression.
20
567e4e96
L
212007-11-09 H.J. Lu <hongjiu.lu@intel.com>
22
23 * config/tc-i386.c (match_template): Re-order suffix check.
24
11ac2671
BW
252007-11-07 Bob Wilson <bob.wilson@acm.org>
26
27 * config/tc-xtensa.c (relaxable_section): Check for .eh_frame.
28
71fe8fb3
EW
292007-11-07 Eric B. Weddington <eweddington@cso.atmel.com>
30
31 * config/tc-avr.c (mcu_types): Add ATtiny88 device.
32 * doc/c-avr.texi: Likewise.
33
5cc9c0ab
EW
342007-11-07 Anatoly Sokolov <aesok@post.ru>
35
567e4e96
L
36 * config/tc-avr.c (mcu_types): Add new devices: ATmega48P,
37 ATmega88P, ATmega168P, Atmega328P
5cc9c0ab
EW
38 * doc/c-avr.texi: Document new devices.
39
8edcbfcd
TG
402007-11-07 Tristan Gingold <gingold@adacore.com>
41
567e4e96
L
42 * config/tc-ppc.c (md_apply_fix): For PPC_TOC16 on XCOFF, uses
43 offset within the TOC instead of the VMA.
8edcbfcd 44
682b27ad
PB
452007-11-06 Paul Brook <paul@codesourcery.com>
46
47 * config/tc-arm.c (do_mull): Allow overlapping Rm for armv6.
48
8c750480
NC
492007-11-06 Nick Clifton <nickc@redhat.com>
50
51 * ehopt.c (check_eh_frame): If md_allow_eh_opt is defined, invoke
52 it to see if the optimizations should be applied.
53 * config/tc-mn10300.h (md_allow_eh_opt): Define. Only allow call
54 frame optimization if linker relaxation is not enabled.
55
11ec4ba9
DS
562007-11-05 Danny Smith <dannysmith@users.sourceforge.net>
57
58 * read.c (ALIGN_LIMIT): Rename to ...
59 (TC_ALIGN_LIMIT): Guard against prior definition.
60 * config/tc-i386.h (TC_ALIGN_LIMIT)[TE_PE]: Define.
61
6a7eedfe
BW
622007-11-01 Sterling Augustine <sterling@tensilica.com>
63
64 * config/tc-xtensa.c (xtensa_symbol_new_hook): New.
65 (xtensa_mark_difference_of_two_symbols): New.
66 (xtensa_post_relax_hook): Call xtensa_mark_difference_of_two_symbols.
67 * config/tc-xtensa.h (xtensa_symfield_type): Add next_expr_symbol.
68 (tc_symbol_new_hook): Define.
69
7ce189b3
L
702007-11-01 H.J. Lu <hongjiu.lu@intel.com>
71
72 * config/tc-i386.c (md_assemble): Replace no_xsuf with
73 no_ldsuf.
74 (match_template): Likewise.
75
4a146fc2
L
762007-11-01 H.J. Lu <hongjiu.lu@intel.com>
77
78 * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Use a non-ascii
79 letter.
80
ca61edf2
L
812007-11-01 H.J. Lu <hongjiu.lu@intel.com>
82
83 * config/tc-i386.c (process_suffix): Check addrprefixop0 to
84 see if the address size override prefix changes the size of the
85 first operand.
86 (check_byte_reg): Don't warn if byteokintel is set.
87 (check_long_reg): Set i.suffix to QWORD_MNEM_SUFFIX if toqword
88 is set.
89 (check_qword_reg): Set i.suffix to LONG_MNEM_SUFFIX if todword
90 is set.
91
7f5ba16d
EW
922007-10-31 Eric B. Weddington <eweddington@cso.atmel.com>
93
94 * config/tc-avr.c (mcu_types): Remove devices that were never produced:
95 attiny10, atmega83, atmega85, atmega603.
96 * doc/c-avr.texi: Likewise.
97
569006e5
NC
982007-10-30 Nick Clifton <nickc@redhat.com>
99
100 * config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when
101 sym_diff relocs should be generated.
102 (md_apply_fix): Skip R_MN10300_ALIGN relocs.
103 (mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs.
104 (mn10300_handle_align): New function. Generate R_MN10300_ALIGN
105 relocs to record alignment requests.
106 * config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force
107 R_MN10300_ALIGN relocs.
108 (HANDLE_ALIGN): Define. Call mn10300_handle_align.
109
4e188d17
NC
1102007-10-30 Nick Clifton <nickc@redhat.com>
111
112 * doc/as.texinfo (Section): Replace "subsegment" with
113 "subsection".
114
9cfc3331
L
1152007-10-27 H.J. Lu <hongjiu.lu@intel.com>
116
117 PR gas/5221
118 * config/obj-elf.c (obj_elf_section): Handle optional
119 parameters for .pushsection.
120
121 * doc/as.texinfo: Document optional parameters for
122 .pushsection.
123
ce2cded5
L
1242007-10-24 H.J. Lu <hongjiu.lu@intel.com>
125
126 * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
127 * configure: Regenerated.
128
0efedc4c
AM
1292007-10-24 Alan Modra <amodra@bigpond.net.au>
130
131 * Makefile.am (INCLUDES, DEP_INCLUDES): Remove -D_GNU_SOURCE.
132 Run "make dep-am".
133 * configure.in: Invoke AC_GNU_SOURCE.
134 * Makefile.in: Regenerate.
135 * config.in: Regenerate.
136 * configure: Regenerate.
137
bfff1642
NC
1382007-10-19 Nick Clifton <nickc@redhat.com>
139
140 * expr.c (expr): Test md_allow_local_subtract (if defined) before
141 allowing the evaluation of an expression involving two symbols
142 defined in the same section.
143 * doc/internals.texi (md_allow_local_subtract): Document the new
144 macro.
145 * config/tc-mn10300.h (md_allow_local_subtract): Define.
146 (RELAX_EXPANSION_POSSIBLE): Define.
147 (MAX_RELOC_EXPANSION): Define.
148 (TC_FRAG_TYPE): Define.
149 * config/tc-mn10300.c (md_assemble): Mark fragments as containing code.
150 (tc_gen_reloc): Return an array of relocs. If necessary generate
151 two relocs to handle an expressions involving the difference of
152 two symbols.
153 (mn10300_fix_adjustable): Do not test TC_FORCE_RELOCATION_LOCAL
154 when then fixup is not pc-relative.
155 (mn10300_allow_local_subtract): New function. Determine when it
156 is safe to compute the difference between two symbols at assemble
157 time.
158
13abbae3
AM
1592007-10-19 Alan Modra <amodra@bigpond.net.au>
160
161 * config/tc-ppc.c (ppc_parse_name): Skip leading '%'.
162 (md_assemble): When parsing PPC_OPERAND_CR, add '%' to set of
163 chars that can start a name.
164
717c53ea
CD
1652007-10-18 Carlos O'Donell <carlos@systemhalted.org>
166
167 * config/tc-hppa.c (pa_ip): Fix comment typo.
168 (pa_comm): Likewise.
169
662a2e45
NC
1702007-10-18 Nick Clifton <nickc@redhat.com>
171
b2f58c0c
NC
172 PR gas/5172
173 * config/tc-arc.c (md_estimate_size_before_relax): Change error
174 message.
175 (md_convert_frag): Just call abort.
176 * config/tc-i860.c (md_estimate_size_before_relax): Change error
177 message.
178 * config/tc-i860.h (md_convert_frag): Just call abort.
179 * config/tc-ip2k.c (md_estimate_size_before_relax): Change error
180 message.
181 (md_convert_frag): Just call abort.
182 * config/tc-m68k.c (m68k_ip): Do not attempt translation of
183 architecture names.
5f4273c7
NC
184 PR gas/5174
185 * config/tc-arm.c: Fix formatting and spelling errors.
662a2e45
NC
186 PR gas/5175
187 * config/tc-xc16x.c: Fix formatting and internationalization.
b2f58c0c 188 * po/gas.pot: Regenerate.
662a2e45 189
499ac353
NC
1902007-10-17 Nick Clifton <nickc@redhat.com>
191
192 PR gas/5173
193 * as.h (ieee_md_atof, vax_md_atof): New prototypes.
194 * read.c (s_float_space): Allow a zero length return from md_atof
195 if the error message has been set.
196 (float_cons): Likewise.
197 * config/atof-ieee.c (ieee_md_atof): New function. Performs the
198 md_atof() function in a generic way for IEEE using targets.
199 * config/atof-vax.c (md_atof): Rename to vax_md_atof. Use the
200 same error message as ieee_md_atof.
201 * tc-alpha.c (md_atof): Use ieee_md_atof. Remove #define of vax_md_atof.
202 * tc-arc.c (md_atof): Use ieee_md_atof.
203 * tc-arm.c (md_atof): Use sizeof (LITTLENUM_TYPE) instead of the
204 constant 2. Use a precision of 5 for the 'x' and 'p' types.
205 * tc-avr.c (md_atof): Use ieee_md_atof.
206 * tc-bfin.c (md_atof): Use ieee_md_atof.
207 * tc-cr16.c (md_atof): Use ieee_md_atof.
208 * tc-crx.c (md_atof): Use ieee_md_atof.
209 * tc-d10v.c (md_atof): Use ieee_md_atof.
210 * tc-d30v.c (md_atof): Use ieee_md_atof.
211 * tc-dlx.c (md_atof): Use ieee_md_atof.
212 * tc-fr30.c (md_atof): Use ieee_md_atof.
213 * tc-frv.c (md_atof): Use ieee_md_atof.
214 * tc-h8300.c (md_atof): Use ieee_md_atof.
215 * tc-hppa.c (md_atof): Use ieee_md_atof.
216 * tc-i370.c (md_atof): Use ieee_md_atof.
217 (i370_dc): Convert the 'E' type to 'f' before calling md_atof.
218 * tc-i386.c (md_atof): Use ieee_md_atof.
219 * tc-i860.c (md_atof): Use ieee_md_atof.
220 * tc-i960.c (md_atof): Use ieee_md_atof.
221 * tc-ia64.c (md_atof): Use the same error message as ieee_md_atof.
222 * tc-ip2k.c (md_atof): Use ieee_md_atof.
223 * tc-iq2000.c (md_atof): Use ieee_md_atof.
224 * tc-m32c.c (md_atof): Use ieee_md_atof.
225 * tc-m32r.c (md_atof): Use ieee_md_atof.
226 * tc-m68hc11.c (md_atof): Use ieee_md_atof.
227 * tc-m68k.c (md_atof): Use ieee_md_atof.
228 * tc-maxq.c (md_atof): Use ieee_md_atof.
229 * tc-mcore.c (md_atof): Use ieee_md_atof.
230 * tc-mep.c (md_atof): Use ieee_md_atof.
231 * tc-mips.c (md_atof): Use ieee_md_atof.
232 * tc-mmix.c (md_atof): Use ieee_md_atof.
233 * tc-mn10200.c (md_atof): Use ieee_md_atof.
234 * tc-mn10300.c (md_atof): Use ieee_md_atof.
235 * tc-msp430.c (md_atof): Use ieee_md_atof.
236 * tc-mt.c (md_atof): Use ieee_md_atof.
237 * tc-ns32k.c (md_atof): Use ieee_md_atof.
238 * tc-openrisc.c (md_atof): Use ieee_md_atof.
239 * tc-or32.c (md_atof): Use ieee_md_atof.
240 * tc-pdp11.c (md_atof): New function. Call vax_md_atof.
241 * tc-pj.c (md_atof): Use ieee_md_atof.
242 * tc-ppc.c (md_atof): Use ieee_md_atof.
243 * tc-s390.c (md_atof): Use ieee_md_atof.
244 * tc-score.c (md_atof): Use ieee_md_atof.
245 * tc-sh.c (md_atof): Use ieee_md_atof.
246 * tc-sparc.c (md_atof): Use ieee_md_atof.
247 * tc-spu.c (md_atof): Use ieee_md_atof.
248 * tc-tic30.c (md_atof): Use the same error message as ieee_md_atof.
249 * tc-tic4x.c (md_atof): Use the same error message as ieee_md_atof.
250 * tc-tic54.c (md_atof): Use ieee_md_atof.
251 * tc-v850.c (md_atof): Use ieee_md_atof.
252 * tc-vax.c (md_atof): New function. Call vax_md_atof.
253 * tc-xc16x.c (md_atof): Use ieee_md_atof.
254 * tc-xstormy16.c (md_atof): Use ieee_md_atof.
255 * tc-xtensa.c (md_atof): Use ieee_md_atof.
256 * tc-z8k.c (md_atof): Use ieee_md_atof.
257 * doc/internals.texi: Update description of md_atof function.
258 * po/gas.pot: Regenerate.
259
00e3c476
BW
2602007-10-16 Bob Wilson <bob.wilson@acm.org>
261
262 * doc/as.texinfo (Overview): Add Xtensa --rename-section option.
263
504b7d20
NC
2642007-10-16 Nick Clifton <nickc@redhat.com>
265
266 * config/obj-elf.c (obj_elf_type): Accept "common" as a valid
267 symbol type.
268 * doc/as.texinfo (.type): Document the types accepted by the
269 type pseudo op, including "common".
270
8dbcd839
PB
2712007-10-15 Peter Bergner <bergner@vnet.ibm.com>
272
273 * config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted
274 according to major opcode number.
275
05f4ab67
AM
2762007-10-15 Alan Modra <amodra@bigpond.net.au>
277
278 * read.c (do_s_func): Check asprintf return status.
279 * stabs.c (stabs_generate_asm_func): Likewise.
280 (stabs_generate_asm_endfunc): Likewise.
281
9fcfb3d7
L
2822007-10-12 H.J. Lu <hongjiu.lu@intel.com>
283
284 * config/tc-i386.c (process_operands): Simplify implicit xmm0
285 handling.
286
e2ec9d29
L
2872007-10-12 H.J. Lu <hongjiu.lu@intel.com>
288
289 * config/tc-i386.c (process_operands): Check the firstxmm0
290 field in opcode_modifier for instruction with a implicit
291 xmm0 as the first operand.
292
2932007-10-12 Eric B. Weddington <eweddington@cso.atmel.com>
7337fc21
NC
294
295 * config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B,
296 AT90PWM3B.
297 * doc/c-avr.texi: Document new devices.
298
e9deb29d
NC
2992007-10-12 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
300
301 * config/tc-cr16.c: Update the md_relax_table for 1 word b<cc>
302 instruction range information.
303
3a99f02f
DJ
3042007-10-12 Daniel Jacobowitz <dan@codesourcery.com>
305
306 * doc/as.texinfo (Object Attributes): New chapter.
307 (Pseudo Ops): Document .gnu_attribute.
308 (LNS directives): Correct .loc_mark_labels documentation.
309
6f932bce
NC
3102007-10-11 Nick Clifton <nickc@redhat.com>
311
312 * config/obj-elf.c (obj_elf_section): When pushing a section, if
313 there is a comma then the following argument must be a subsection
314 number.
315
96ef6e0f
L
3162007-10-11 H.J. Lu <hongjiu.lu@intel.com>
317
318 * doc/c-i386.texi: Update which instruction's operands are
319 swapped.
320
79cf5950
NC
3212007-10-11 Nick Clifton <nickc@redhat.com>
322
ad4b42b4
NC
323 PR gas/5161
324 * config/tc-ia64.c: Allow for translations of error and warning
325 messages.
326 * po/gas.pot: Regenerate.
327
c85dd50d
NC
328 PR gas/5158
329 * config/tc-h8300.c (tc_gen_reloc): Allow for translation of error
330 message.
331 * po/gas.pot: Regenerate.
332
79cf5950
NC
333 PR gas/5155
334 * config/tc-msp430.c: Fix spelling typos.
335
5671778d
NC
3362007-10-11 Nick Clifton <nickc@redhat.com>
337
338 * doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION.
339
741fe287
MR
3402007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
341
342 * config/tc-mips.c (AT): Rename to...
343 (ATREG): ... this.
344 (AT): New definition.
345 (mips_set_options): Rename "noat" to "at"; change the type.
346 (mips_opts): Update accordingly.
347 (append_insn): Likewise.
348 (macro_build_ldst_constoffset): Likewise.
349 (load_address): Likewise.
350 (macro, macro2): Likewise.
351 (s_mipsset): Handle ".set at=REG". Update handling of ".set at"
352 and ".set noat".
353
8b040e0a
NC
3542007-10-08 Nick Clifton <nickc@redhat.com>
355
356 * doc/as.texinfo (Previous): Clarify explanation of the behaviour
357 of this pseudo-op and add a couple of examples.
358
bd3ba5d1
NC
3592007-10-08 Nick Clifton <nickc@redhat.com>
360
361 PR gas/5121 gas/5122 gas/5123
362 * Makefile.am (CFILES): Add cgen.c
363 (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c,
364 tc-tic4x.c and xtensa-relax.c.
365 (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h,
366 tc-tic4x.h and xtensa-relax.h.
367 (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h,
368 te-ic960.h, te-linux.h. Add te-aix5.h, te-armeabi.h,
369 te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h.
370 (CONFIG_ATOF_CFILES): New variable.
371 (POTFILES): Add CONFIG_ATOF_CFILES to dependencies. Fix typo with
372 dependency upon TARG_ENV_HFILES.
373 (DEPTC): Do not put "#include opcodes/<foo>-desc.h" into
374 cgen-desc.h when foo-desc.h does not exit.
375 Run make dep-am.
376 * Makefile.in: Regenerate.
377 * doc/Makefile.in: Regenerate.
378 * po/POTFILES.in: Regenerate.
379 PR gas/5124 gas/5125
380 * po/es.po: Regenerate.
381 * po/fr.po: Regenerate.
382 * po/gas.pot: Regenerate.
383 * po/rw.po: Regenerate.
384 * po/tr.po: Regenerate.
385 * config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation
386 of error messages.
387 PR gas/5126
388 * config/obj-som.c: Likewise.
389 PR gas/5129
390 * config/tc-arc.c: Likewise.
391 PR gas/5131 gas/5132
392 * config/tc-arm.c: Likewise.
393 PR gas/5137
394 * config/tc-bfin.c: Likewise.
395 PR gas/5143
396 * config/tc-frv.c: Likewise.
b1b17bc5
NC
397 PR gas/5142
398 * config/tc-dlx.c: Likewise.
bd3ba5d1 399
922f0bac
NC
4002007-10-08 Eric B. Weddington <eweddington@cso.atmel.com>
401
402 * config/tc-avr.c (mcu_types): Add new devices: ATtiny43U,
485aa104 403 ATtiny48, AT90PWM216, AT90PWM316.
922f0bac
NC
404 * doc/c-avr.texi: Document new devices.
405
33ffbed9
NC
4062007-10-08 Nick Clifton <nickc@redhat.com>
407
4e6e072b 408 PR gas/5133
ff5075ca
NC
409 * config/tc-arm.c (md_apply_fix): Correct error message.
410 PR gas/5134
411 * config/tc-arm.c (md_apply_fix): Likewise.
33ffbed9
NC
412 PR gas/5136
413 * config/tc-bfin.c (md_apply_fix): Fix error message.
df3e8017
NC
414 PR gas/5135
415 (Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages.
33ffbed9 416
368d64cc
L
4172007-10-05 H.J. Lu <hongjiu.lu@intel.com>
418
419 * config/tc-i386.c (build_modrm_byte): Check the first 2 8bit
420 immediate operands directly for instructions with 4 operands.
421
955e1e6a
L
4222007-10-04 H.J. Lu <hongjiu.lu@intel.com>
423
424 PR gas/5109
425 * config/tc-i386.c (process_suffix): Clear QWORD suffix if it
426 is ignored in Intel mode.
427
38a57ae7
NC
4282007-10-04 Helge Deller <deller@gmx.de>
429
430 * read.c (potable): Add string8, string16, string32 and string64.
431 Add bit size for stringer function.
432 (stringer_append_char): New.
433 (stringer): Use stringer_append_char().
434 * config/obj-coff.c (obj_coff_ident): Add bit size for stringer function.
435 * config/obj-elf.c (obj_elf_ident): Likewise.
436 * config/tc-alpha.c (s_alpha_stringer): Likewise.
437 * config/tc-dlx.c (dlx_pseudo_table): Likewise.
438 * config/tc-hppa.c (pa_stringer): Likewise.
439 * config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise.
440 * config/tc-m68hc11.c (md_pseudo_table): Likewise.
441 * config/tc-mcore.c (md_pseudo_table): Likewise.
442 * config/tc-mips.c (mips_pseudo_table): Likewise.
443 * config/tc-spu.c (md_pseudo_table): Likewise.
444 * config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'.
445 * doc/as.texinfo (ABORT): Fix identing.
446 (String): Document new string8, string16, string32, string64
447 functions.
448 * NEWS: Mention the new feature.
449
6decc662
NC
4502007-10-03 Nick Clifton <nickc@redhat.com>
451
73f4d86e
NC
452 PR gas/5078
453 * config/tc-avr.c (avr_get_constant): Extend error message to
454 mention that the constant must be positive.
455
4562007-10-03 Nick Clifton <nickc@redhat.com>
457
458 * config/tc-avr.c (avr_get_constant):
6decc662
NC
459 PR gas/5089
460 * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo.
461 PR gas/5090
462 (md_assemble): Fix spelling typo.
463
df98fa7d
AM
4642007-10-03 Alan Modra <amodra@bigpond.net.au>
465
466 PR 4303
467 * stabs.c (aout_process_stab): Set BSF_DEBUGGING.
468
7fac7ff4
NC
4692007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
470
471 * config/tc-cr16.c: Replaced 'tabs' with white spaces and
472 added R_CR16_DISP8 as default reloc type for b<cc> instructions.
473
07e8d93c
L
4742007-09-30 H.J. Lu <hongjiu.lu@intel.com>
475
476 PR gas/5080
477 * config/tc-i386.c (check_long_reg): Also handle cvttss2si.
478 (check_qword_reg): Also handle cvttsd2si.
479
d0fa1372
KH
4802007-09-27 Kazu Hirata <kazu@codesourcery.com>
481
482 * config/m68k-parse.h (m68k_register): Use MBO instead of MBB.
483 (last_movec_reg): Change to MBO.
484 * config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB.
485 (m68k_ip): Use MBO instead of MBO.
486 (init_table): Use MBO instead of MBO. Add an entry for mbo.
487
9a04903e
JB
4882007-09-26 Jan Beulich <jbeulich@novell.com>
489
490 * config/tc-i386.c (build_modrm_byte): Also check for RegEip
491 when considering IP-relative addressing.
492
5a918ce7
JB
4932007-09-26 Jan Beulich <jbeulich@novell.com>
494
495 * config/tc-i386.h (md_register_arithmetic): Define.
496 * config/tc-ia64.h (md_register_arithmetic): Likewise.
497 * doc/internals.texi: Document md_register_arithmetic.
498 * expr.c (make_expr_symbol): Force O_register expressions into
499 reg_section.
500 (expr): Provide default for md_register_arithmetic. Don't resolve
501 adding/subtracting constants to/from registers if
502 md_register_arithmetic is zero.
503
0a7b15ff
JB
5042007-09-26 Jan Beulich <jbeulich@novell.com>
505
506 * dw2gencfi.c: Conditionalize whole body upon TARGET_USE_CFIPOP.
507 (cfi_finish): Add second empty instance.
508
cc941dee
JB
5092007-09-26 Jan Beulich <jbeulich@novell.com>
510
511 * config/tc-ia64.c (dot_pred_rel): Replace specialized handling
512 with simple call to parse_operand.
513
c15900ec
JB
5142007-09-26 Jan Beulich <jbeulich@novell.com>
515
516 * config/tc-i386.c (NUM_FLAG_CODE): Remove.
517
732f54cd
JB
5182007-09-26 Jan Beulich <jbeulich@novell.com>
519
520 * as.c (itbl_parse): Remove #define.
521 (struct itbl_file_list): Move down and ...
522 (itbl_files): .. conditionalize upon HAVE_ITBL_CPU.
523 (show_usage): Conditionalize printing of --itbl option upon
524 HAVE_ITBL_CPU.
525 (parse_args): Conditionalize handling of -t/--itbl options upon
526 HAVE_ITBL_CPU. Remove OPTION_INSTTBL and replace its use with
527 't'.
528
4dffcebc
L
5292007-09-25 H.J. Lu <hongjiu.lu@intel.com>
530
531 * config/tc-i386.c (output_insn): Use i.tm.opcode_length to
532 check opcode length.
533
cac27205
NC
5342007-09-25 Nathan Sidwell <nathan@codesourcery.com>
535
536 * config/tc-m68k.c (LONG_BRANCH_VIA_COND): New.
537 (BRANCHBWPL, FRAG_VAR_SIZE): New.
538 (md_relax_table): Add BRANCHBWPL entries.
539 (m68k_ip): Choose BRANCHBWPL relaxation if necessary.
540 (md_assemble): Use FRAG_VAR_SIZE.
541 (md_convert_frag_1): Add BRANCHBWPL cases.
542 (md_estimate_size_before_relaz): Likewise.
543
49954fb4
CD
5442007-09-24 Carlos O'Donell <carlos@codesourcery.com>
545
546 * config/tc-mips.c (s_align): Set max_alignment to 28.
547
db51cc60
L
5482007-09-20 H.J. Lu <hongjiu.lu@intel.com>
549
550 PR 658
551 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed.
552 (set_allow_index_reg): New.
553 (allow_index_reg): Likewise.
554 (md_pseudo_table): Add "allow_index_reg" and
555 "disallow_index_reg".
556 (build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for
557 fake index registers.
558 (i386_scale): Updated.
559 (i386_index_check): Support fake index registers.
560 (parse_real_register): Return NULL on eiz/riz if fake index
561 registers aren't allowed.
562
217fe99f
NC
5632007-09-19 Nick Clifton <nickc@redhat.com>
564
565 * config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte
566 fixups.
567
e055a931
BW
5682007-09-19 Bob Wilson <bob.wilson@acm.org>
569
570 * doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo.
571
d908d8f4
BS
5722007-09-18 Bernd Schmidt <bernd.schmidt@analog.com>
573
574 * config/bfin-parse.y (asm_1): Slightly improve error messages
575 for "reg += const;".
576
b6ac5419
AM
5772007-09-18 Alan Modra <amodra@bigpond.net.au>
578
579 PR gas/5026
580 * read.c (emit_expr): Only use long long if required and available.
581
20e192ab
L
5822007-09-17 H.J. Lu <hongjiu.lu@intel.com>
583
584 * config/tc-i386.c (baseindex): Removed.
585 (build_modrm_byte): Check reg_num for RIP register instead of
586 reg_type.
587 (i386_index_check): Likewise.
588
1a36c6a7
L
5892007-09-17 H.J. Lu <hongjiu.lu@intel.com>
590
591 PR gas/5035
592 * config/obj-coff.c (obj_coff_endef): Remove checking size of
593 def_symbol_in_progress.
594
5c612369
NC
5952007-09-17 Evandro Menezes <evandro@yahoo.com>
596
597 PR gas/5026
598 * read.c (emit_expr): Use unsigned long long values in warning
599 message about truncated expressions.
600
916af048
L
6012007-09-17 H.J. Lu <hongjiu.lu@intel.com>
602
603 * config/tc-i386.c (intel_e04): Revert the last change.
604
7f396d02
NC
6052007-09-17 Nick Clifton <nickc@redhat.com>
606
607 * po/es.po: Updated Spanish translation.
608
27ac7208
L
6092007-09-15 H.J. Lu <hongjiu.lu@intel.com>
610
611 PR gas/5034
612 * config/tc-i386.c (intel_e04): Return 1 if cur_token.code is
613 T_NIL.
614
8ed77a05
L
6152007-09-14 H.J. Lu <hongjiu.lu@intel.com>
616
617 * config/tc-i386.c (build_modrm_byte): Adjust comment line
618 wrap.
619
b5016f89
L
6202007-09-14 H.J. Lu <hongjiu.lu@intel.com>
621
622 * config/tc-i386.c (build_modrm_byte): Use (A || B) instead
623 of (A || B) != 0.
624
c0209578
L
6252007-09-14 H.J. Lu <hongjiu.lu@intel.com>
626
627 * config/tc-i386.c (build_modrm_byte): Adjust indentation.
628
f033ec5c 6292007-09-14 Michael Meissner <michael.meissner@amd.com>
85f10a01
MM
630 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
631 Tony Linthicum <tony.linthicum@amd.com>
632
633 * NEWS: Add SSE5 support to NEWS file.
634
635 * config/tc-i386.h (drex_byte): Add fields to allow process_drex
636 and build_modrm_byte to communicate.
637 (DREX_OC0): New SSE5 macro.
638 (DREX_OC0_MASK): Ditto.
639 (DREX_OC1): Ditto.
640 (DREX_OC1_MASK): Ditto.
641 (DREX_XMEM_X1_X2_X2): Ditto.
642 (DREX_X1_XMEM_X2_X2): Ditto.
643 (DREX_X1_XMEM_X2_X1: Ditto.
644 (DREX_X1_X2_XMEM_X1: Ditto.
645 (DREX_XMEM_X1_X2): Ditto.
646 (DREX_X1_XMEM_X2): Ditto.
647 (drex_byte): New structure to describe the DREX byte.
648
649 * config/tc-i386.c (process_drex): New function to handle SSE5
650 DREX bits.
651 (build_modrm_byte): Use the information cached away in
652 process_drex in the case of DREX instructions.
653 (i386_insn): Add drex field.
654 (pi): Add debugging of drex field.
655 (md_assemble): Treat SSE5 like SSE3 in instructions with an
656 immediate byte. Move REX field to DREX if this is a DREX
657 instruction.
658 (process_operands): Add SSE5 support.
659 (build_modrm_byte): Ditto.
660 (output_insn): Ditto.
661 (cpu_arch): Ditto.
662 (i386_align_code): Ditto.
663
ec56d5c0
JB
6642007-09-12 Jan Beulich <jbeulich@novell.com>
665
666 * config/tc-i386.c (md_assemble): Move handling of extrq/insertq
667 after generic operand swapping, and swap only the immediate operands.
668
8d100c32
KH
6692007-09-11 Nathan Sidwell <nathan@codesourcery.com>
670
671 * config/tc-m68k.c (m68k_ip): Add mcfisa_c case.
672 (m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV.
673
cf557b51
L
6742007-09-09 H.J. Lu <hongjiu.lu@intel.com>
675
676 * tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3
677 byte opcode.
678
c6fb90c8
L
6792007-09-08 H.J. Lu <hongjiu.lu@intel.com>
680
681 * config/tc-i386.c (cpu_flags_check_x64): Renamed to ...
682 (cpu_flags_check_cpu64): This. Inline.
683 (uints_all_zero): New.
684 (uints_set): Likewise
685 (uints_equal): Likewise
686 (UINTS_ALL_ZERO): Likewise
687 (UINTS_SET): Likewise
688 (UINTS_CLEAR): Likewise
689 (UINTS_EQUAL): Likewise
690 (cpu_flags_and): Likewise.
691 (cpu_flags_or): Likewise.
692 (operand_type_and): Likewise.
693 (operand_type_or): Likewise.
694 (operand_type_xor): Likewise.
695 (cpu_flags_not): Inline and use switch instead of loop.
696 (cpu_flags_match): Updated.
697 (operand_type_match): Likewise.
698 (smallest_imm_type): Likewise.
699 (set_cpu_arch): Likewise.
700 (pt): Likewise.
701 (md_assemble): Likewise.
702 (parse_insn): Likewise.
703 (optimize_imm): Likewise.
704 (match_template): Likewise.
705 (process_suffix): Likewise.
706 (update_imm): Likewise.
707 (finalize_imm): Likewise.
708 (process_operands): Likewise.
709 (build_modrm_byte): Likewise.
710 (i386_immediate): Likewise.
711 (i386_displacement): Likewise.
712 (i386_index_check): Likewise.
713 (i386_operand): Likewise.
714 (i386_target_format): Likewise.
715 (intel_e11): Likewise.
716 (operand_type): Remove implicitregister.
717 (operand_type_check): Updated. Inline.
718 (cpu_flags_all_zero): Removed.
719 (operand_type_all_zero): Likewise.
720 (i386_array_biop): Likewise.
721 (cpu_flags_biop): Likewise.
722 (operand_type_biop): Likewise.
723
33169993
L
7242007-09-08 H.J. Lu <hongjiu.lu@intel.com>
725
726 * Makefile.am: Run "make dep-am".
727 * Makefile.in: Regenerate.
728
40fb9820
L
7292007-09-08 H.J. Lu <hongjiu.lu@intel.com>
730
731 * configure.in (AC_CHECK_HEADERS): Add limits.h.
732 * configure: Regenerated.
733 * config.in: Likewise.
734
735 * config/tc-i386.c: Include "opcodes/i386-init.h".
736 (_i386_insn): Use i386_operand_type for types.
737 (cpu_arch_flags): Updated to new types with bitfield.
738 (cpu_arch_tune_flags): Likewise.
739 (cpu_arch_isa_flags): Likewise.
740 (cpu_arch): Likewise.
741 (i386_align_code): Likewise.
742 (set_code_flag): Likewise.
743 (set_16bit_gcc_code_flag): Likewise.
744 (set_cpu_arch): Likewise.
745 (md_assemble): Likewise.
746 (parse_insn): Likewise.
747 (process_operands): Likewise.
748 (output_branch): Likewise.
749 (output_jump): Likewise.
750 (parse_real_register): Likewise.
751 (mode_from_disp_size): Likewise.
752 (smallest_imm_type): Likewise.
753 (pi): Likewise.
754 (type_names): Likewise.
755 (pt): Likewise.
756 (pte): Likewise.
757 (swap_2_operands): Likewise.
758 (optimize_imm): Likewise.
759 (optimize_disp): Likewise.
760 (match_template): Likewise.
761 (check_string): Likewise.
762 (process_suffix): Likewise.
763 (check_byte_reg): Likewise.
764 (check_long_reg): Likewise.
765 (check_qword_reg): Likewise.
766 (check_word_reg): Likewise.
767 (finalize_imm): Likewise.
768 (build_modrm_byte): Likewise.
769 (output_insn): Likewise.
770 (disp_size): Likewise.
771 (imm_size): Likewise.
772 (output_disp): Likewise.
773 (output_imm): Likewise.
774 (gotrel): Likewise.
775 (i386_immediate): Likewise.
776 (i386_displacement): Likewise.
777 (i386_index_check): Likewise.
778 (i386_operand): Likewise.
779 (parse_real_register): Likewise.
780 (i386_intel_operand): Likewise.
781 (intel_e09): Likewise.
782 (intel_bracket_expr): Likewise.
783 (intel_e11): Likewise.
784 (cpu_arch_flags_not): New.
785 (cpu_flags_check_x64): Likewise.
786 (cpu_flags_all_zero): Likewise.
787 (cpu_flags_not): Likewise.
788 (i386_cpu_flags_biop): Likewise.
789 (cpu_flags_biop): Likewise.
790 (cpu_flags_match); Likewise.
791 (acc32): New.
792 (acc64): Likewise.
793 (control): Likewise.
794 (reg16_inoutportreg): Likewise.
795 (disp16): Likewise.
796 (disp32): Likewise.
797 (disp32s): Likewise.
798 (disp16_32): Likewise.
799 (anydisp): Likewise.
800 (baseindex): Likewise.
801 (regxmm): Likewise.
802 (imm8): Likewise.
803 (imm8s): Likewise.
804 (imm16): Likewise.
805 (imm32): Likewise.
806 (imm32s): Likewise.
807 (imm64): Likewise.
808 (imm16_32): Likewise.
809 (imm16_32s): Likewise.
810 (imm16_32_32s): Likewise.
811 (operand_type): Likewise.
812 (operand_type_check): Likewise.
813 (operand_type_match): Likewise.
814 (operand_type_register_match): Likewise.
815 (update_imm): Likewise.
816 (set_code_flag): Also update cpu_arch_flags_not.
817 (set_16bit_gcc_code_flag): Likewise.
818 (md_begin): Likewise.
819 (parse_insn): Use cpu_flags_check_x64 to check 64bit support.
820 Use cpu_flags_match to match instructions.
821 (i386_target_format): Update cpu_arch_isa_flags and
822 cpu_arch_tune_flags to i386_cpu_flags type with bitfield.
823 (smallest_imm_type): Check cpu_arch_tune to tune for i486.
824 (match_template): Don't initialize overlap0, overlap1,
825 overlap2, overlap3 and operand_types.
826 (process_suffix): Handle crc32 with 64bit register.
827 (MATCH): Removed.
828 (CONSISTENT_REGISTER_MATCH): Likewise.
829
830 * config/tc-i386.h (arch_entry): Updated to i386_cpu_flags
831 type.
832
26186d74
L
8332007-09-06 H.J. Lu <hongjiu.lu@intel.com>
834
835 * config/tc-i386.c (match_template): Handle invlpga, vmload,
836 vmrun and vmsave in SVME.
837 (process_suffix): Likewise.
838
d946b91f
L
8392007-09-05 H.J. Lu <hongjiu.lu@intel.com>
840
841 * config/tc-i386.c (i386_index_check): Don't use RegRex
842 on the reg_type field.
843 (parse_real_register): Use `||' instead of `|'.
844
75178d9d
L
8452007-09-04 H.J. Lu <hongjiu.lu@intel.com>
846
847 * config/tc-i386.c (process_operands): Remove segment override
848 check on SVME instructions.
8aa20f82 849 (i386_index_check): Remove memory operand check on SVME
75178d9d
L
850 instructions.
851
7bc3e93c
AM
8522007-09-04 Alan Modra <amodra@bigpond.net.au>
853
854 * config/tc-spu.c (struct spu_insn): Delete "flag". Add "reloc".
855 (md_assemble): Update init of insn. Use insn.reloc instead of
856 calculating from flag.
857 (get_imm): Set reloc rather than flag.
858 (calcop): Formatting.
859
851feff8
DJ
8602007-08-29 Daniel Jacobowitz <dan@codesourcery.com>
861
862 * dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives.
863
ec744b67
DJ
8642007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
865
866 * doc/c-arc.texi: Fix typo.
867
d9a5e5e5
L
8682007-08-28 H.J. Lu <hongjiu.lu@intel.com>
869
870 * config/tc-i386.c (process_suffix): Handle cmpxchg8b in
871 Intel mode.
872
def8fc92
KH
8732007-08-28 Nathan Sidwell <nathan@codesourcery.com>
874
875 * config/tc-m68k.c (mcf52235_ctrl): Add cache registers.
876 (mcf5253_ctrl): Add RAMBAR, MBAR, MBAR2.
877 (mcf5407_ctrl): New.
878 (m68k_cpus): Adjust 5407 entry.
879
f75192f2
KH
8802007-08-28 Maxim Kuvyrkov <maxim@codesourcery.com>
881
882 * config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers.
883 (m68k_cpus): Define 51QE cpu.
884
7f6a71ff 8852007-08-28 Mark Shinwell <shinwell@codesourcery.com>
d9a5e5e5 886 Joseph Myers <joseph@codesourcery.com>
7f6a71ff
JM
887
888 * as.c (main): Flush stderr before printing listings to ensure
889 consistent output order across platforms.
890
0b3e17e9
NC
8912007-08-28 Robert Sebastian Gerus <arachnist@gmail.com>
892
893 * configure.tgt: Add support for i[3-7]86-*-dragonfly*.
894
3d6b762c 8952007-08-24 Joseph Myers <joseph@codesourcery.com>
d9a5e5e5 896 Paul Brook <paul@codesourcery.com>
3d6b762c
JM
897
898 * remap.c: New.
899 * as.h (remap_debug_filename, add_debug_prefix_map): Declare.
900 * as.c (show_usage): Document --debug-prefix-map option.
901 (parse_args): Handle --debug-prefix-map.
902 * dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths.
903 * stabs.c (stabs_generate_asm_file): Remap debug paths.
904 * Makefile.am (GAS_CFILES): Add remap.c
905 (GENERIC_OBJS): Add remap.o.
906 Regenerate dependencies.
907 * Makefile.in: Regenerate.
908 * doc/as.texinfo (--debug-prefix-map): Document.
909
495bde8e
DJ
9102007-08-24 Aurelien Jarno <aurel32@debian.org>
911
912 * config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long
913 before printing them.
914
67c11a9b
AM
9152007-08-24 Anders Waldenborg <anders@0x63.nu>
916 Alan Modra <amodra@bigpond.net.au>
917
918 * config/tc-i386.c (lex_got): Don't scan past a comma.
919
c3d65c1c
BE
9202007-08-23 Ben Elliston <bje@au.ibm.com>
921
922 * config/tc-ppc.c (parse_cpu): Handle "750cl".
923 (pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7".
924 (md_show_usage): Document -m750cl.
925 (md_assemble): Handle two delimiters in succession (eg. `),').
926 * doc/c-ppc.texi (PowerPC-Opts): Document -m750cl.
927 * testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests.
928 * testsuite/gas/ppc/ppc750ps.s: New file.
929 * testsuite/gas/ppc/ppc750ps.d: Likewise.
930
f467aa98
BE
9312007-08-23 Ben Elliston <bje@au.ibm.com>
932
933 * doc/c-arm.texi (ARM Directives): Move brackets out of @vars.
934
3992d3b7
AM
9352007-08-17 Alan Modra <amodra@bigpond.net.au>
936
937 PR gas/4079
938 * config/tc-i386.c (x86_cons): Complain about invalid @got etc.
939 expressions.
940 (i386_immediate): Detect and complain about more cases of
941 invalid immediate expressions. Return failure rather than
942 converting them to zero.
943 (i386_displacement): Likewise.
944
e9f27433
AM
9452007-08-17 Alan Modra <amodra@bigpond.net.au>
946
947 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
948
cf738528
AS
9492007-08-14 Andreas Schwab <schwab@suse.de>
950
951 * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
952 unrepresentable.
953
9975e4c4
DJ
9542007-08-12 Matthias Klose <doko@ubuntu.com>
955
956 * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
957 $(top_srcdir)/../../bfd/doc.
958 * doc/Makefile.in: Regenerate.
959
7c3d153f
NC
9602007-08-10 Nick Clifton <nickc@redhat.com>
961
962 * NEWS: Add a marker for the 2.18 features.
963
4396b686
PB
9642007-08-09 Paul Brook <paul@codesourcery.com>
965
966 * config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment.
967
c3ad16c0
L
9682007-08-09 H.J. Lu <hongjiu.lu@intel.com>
969
970 * config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb.
971
34828aad
L
9722007-07-29 H.J. Lu <hongjiu.lu@intel.com>
973
974 * config/tc-i386.c (check_long_reg): Allow cvtss2si to convert
975 DWORD memory to Reg64 in Intel synax.
976 (check_qword_reg): Allow cvtsd2si to convert QWORD memory to
977 Reg32 in Intel syntax.
978
d12f9798
BW
9792007-07-25 Sterling Augustine <sterling@tensilica.com>
980
981 * config/tc-xtensa.c (xtensa_extui_opcode): New.
982 (xg_expand_assembly_insn): Check for invalid extui operands.
983 (md_begin): Initialize xtensa_extui_opcode.
984
9ce0cf56
NC
9852007-07-24 Nick Clifton <nickc@redhat.com>
986
987 * config/tc-mep.h (skip_whitespace): Remove definition.
988
76bc74dc
L
9892007-07-23 H.J. Lu <hongjiu.lu@intel.com>
990
991 * config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386.
992 (f32_15): Removed.
993 (jump_31): New.
994 (f32_patt): Remove f32_15.
995 (f16_patt): Likewise.
996 (i386_align_code): Updated to alt_long_patt for 64bit by
997 default.
998
999 * config/tc-i386.h (processor_type): Add PROCESSOR_I386.
1000
10012007-07-23 Evandro Menezes <evandro.menezes@amd.com>
1002
1003 * config/tc-i386.c (i386_align_code): Enable alignment up to
1004 MAX_MEM_FOR_RS_ALIGN_CODE bytes. Remove special treatment
1005 for K8.
1006
e6529493
L
1007 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to 31.
1008
fc5910c0
NC
10092007-07-20 Nick Clifton <nickc@redhat.com>
1010
1011 * app.c (do_scrub_chars): Provide a one character buffer to hold a
1012 pushed back newline at the end of an unterminated quoted string.
1013
d929913e
NC
10142007-07-14 Nick Clifton <nickc@redhat.com>
1015
1016 * config/tc-arm.c (create_register_alias): Return a boolean rather
1017 than an integer.
1018 Check the return value of insert_reg_alias and do not continue to
1019 create aliases once an insertion has failed.
1020 (s_unreq): Delete the all-upper-case and all-lower-case
1021 alternatives as well.
1022
d2df793a
NC
10232007-07-12 Kai Tietz <kai.tietz@onevision.com>
1024
1025 * symbols.c: Print bfd_hostptr_t to file via fprintf_vma.
1026 * write.c: Likewise.
1027
369943fe
DJ
10282007-07-11 Daniel Jacobowitz <dan@codesourcery.com>
1029
1030 * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
1031 HAVE_64BIT_SYMBOLS.
1032
0fdf1951
RS
10332007-07-04 Richard Sandiford <richard@codesourcery.com>
1034
1035 * config/tc-mips.c (mips_cpu_info_table): Add new entries for
1036 {24k,24ke,34k,74k}f{2_1,1_1,x}. Also add an entry for 74kf3_2.
1037 Deprecate *x and *fx.
1038 * doc/c-mips.texi: Document the new CPU arguments. Deprecate
1039 *x and *fx.
1040
872ce6ff
L
10412007-07-04 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 * config/obj-coff.h (x86_64_target_format): Renamed to ...
1044 (i386_target_format): This
1045 (TARGET_FORMAT): Use i386_target_format.
1046
1047 * config/tc-i386.c (x86_64_target_format): Removed.
1048 (i386_target_format): Handle PE formats.
1049
1a412f5f
NC
10502007-07-04 Nick Clifton <nickc@redhat.com>
1051
1052 * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order
1053 to get the right length of printed value.
1054
ec2655a6
NC
10552007-07-03 Nick Clifton <nickc@redhat.com>
1056
1057 * COPYING: Replace with GPLv3 text.
1058 * app.c: Update copyright notice to refer to GPLv3.
1059 * as.c, as.h, asintl.h, atof_generic.c, bignum.h, bit_fix.h,
1060 cgen.c, cond.c, debug.c, depend.c, dw2gencfi.c, dw2gencfi.h,
1061 dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, emul.h,
1062 emul_target.h, expr.c, expr.h, flonum-copy.c, flonum.h,
1063 flonum-konst.c, frags.c, frags.h, hash.c, hash.h, input-file.c,
1064 input-file.h, input-scrub.c, ibtl-lex.h, itbl-lex.l, itbl-ops.c,
1065 itbl-ops.h, itbl-parse.y, listing.c, listing.h, literal.c,
1066 macro.c, messages.c, obj.h, output-file.c, output-file.h, read.c,
1067 read.h, sb.c, sb,h, stabs.c, struc-symbol.h, subsegs.c, subsegs.h,
1068 symbols.c, symbols.h, tc.h, write.c, write.h, config/aout_gnu.h,
1069 config/config/atof-ieee.c, config/atof-vax.c, config/bfin-aux.h,
1070 config/bfin-defs.h, config/bfin-lex.l, config/bfin-parse.y,
1071 config/itbl-mips.h, config/m68k-parse.h, config/m68k-parse.y,
1072 config/obj-aout.c, config/obj-aout.h, config/obj-coff.c,
1073 config/obj-coff.h, config/obj-ecoff.c, config/obj-ecoff.h,
1074 config/obj-elf.c, config/obj-elf.h, config/obj-evax.c,
1075 config/obj-evax.h, config/obj-multi.h, config/obj-som.c,
1076 config/obj-som.h, config/tc-alpha.c, config/tc-alpha.h,
1077 config/tc-arc.c, config/tc-arc.h, config/tc-arm.c,
1078 config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
1079 config/tc-bfin.c, config/tc-bfin.h, config/tc-cr16.c,
1080 config/tc-cr16.h, config/tc-cris.c, config/tc-cris.h,
1081 config/tc-crx.c, config/tc-crx.h, config/tc-d10v.c,
1082 config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
1083 config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c,
1084 config/tc-fr30.h, config/tc-frv.c, config/tc-frv.h,
1085 config/tc-generic.c, config/tc-generic.h, config/tc-h8300.c,
1086 config/tc-h8300.h, config/tc-hppa.c, config/tc-hppa.h,
1087 config/tc-i370.c, config/tc-i370.h, config/tc-i386.c,
1088 config/tc-i386.h, config/tc-i860.c, config/tc-i860.h,
1089 config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c,
1090 config/tc-ia64.h, config/tc-ip2k.c, config/tc-ip2k.h,
1091 config/tc-iq2000.c, config/tc-iq2000.h, config/tc-m32c.c,
1092 config/tc-m32c.h, config/tc-m32r.c, config/tc-m32r.h,
1093 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
1094 config/tc-m68k.h, config/tc-maxq.c, config/tc-maxq.h,
1095 config/tc-mcore.c, config/tc-mcore.h, config/tc-mep.c,
1096 config/tc-mep.h, config/tc-mips.c, config/tc-mips.h,
1097 config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
1098 config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
1099 config/tc-msp430.c, config/tc-msp430.h, config/tc-mt.c,
1100 config/tc-mt.h, config/tc-ns32k.c, config/tc-ms32k.h,
1101 config/tc-openrisc.c, config/tc-openrisc.h, config/tc-or32.c,
1102 config/tc-or32.h, config/tc-pdp11.c, config/tc-pdp11.h,
1103 config/tc-pj.c, config/tc-pj.h, config/tc-ppc.c, config/tc-ppc.h,
1104 config/tc-s390.c, config/tc-s390.h, config/tc-score.c,
1105 config/tc-score.h, config/tc-sh64.c, config/tc-sh64.h,
1106 config/tc-sh.c, config/tc-sh.h, config/tc-sparc.c,
1107 config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
1108 config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
1109 config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
1110 config/tc-v850.c, config/tc-v850.h, config/tc-vax.c,
1111 config/tc-vax.h, config/tc-xc16x.c, config/tc-x16x.h,
1112 config/tc-xstormy16.c, config/tc-xstormy16.h, config/tc-xtensa.c,
1113 config/tc-xtensa.h, config/tc-z80.c, config/tc-z80.h,
1114 config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
1115 config/te-freebsd.h, config/te-hppa.h, config/te-irix.h,
1116 config/te-netware.h, config/te-sparcaout.h, config/te-tmips.h,
1117 config/te-vxworks.h, config/vax-inst.h, config/xtensa-istack.h,
1118 config/xtensa-relax.c, config/xtensa-relax.h: Likewise.
1119
1120 * flonum-mult.c: Likewise, and also correct typo referring to
1121 non-existant GNU Assembler General Public License.
1122 * config/tc-m68851.h: Likewise.
1123 * NEWS: Mention the new license. Also note where the 2.17 release
1124 happened.
1125 * config/e-crisaout.c: Add copyright header.
1126 * config/e-criself.c, config/e-i386aout.c, config/e-i386coff.c,
1127 config/e-i386elf.c, config/e-mipscoff.c, config/e-mipself.c,
1128 config/obj-multi.c, config/te-aix5.h, config/te-armeabi.h,
1129 config/te-armlinuxeabi.h, config/te-dynix.h, config/te-epoc-pe.h,
1130 config/te-generic.h, config/te-gnu.h, config/te-go32.h,
1131 config/te-hppa64.h, config/te-hppalinux64.h, config/te-hpux.h,
1132 config/te-i386aix.h, config/te-ia64aix.h, config/te-interix.h,
1133 config/te-linux.h, config/te-lnews.h, config/te-lynx.h,
1134 config/te-mach.h, config/te-macos.h, config/te-nbsd532.h,
1135 config/te-nbsd.h, config/te-pc532mach.h, config/te-pe.h,
1136 config/te-pep.h, config/te-psos.h, config/te-riscix.h,
1137 config/te-sun3.h, config/te-svr4.h, config/te-symbian.h,
1138 config/te-wince-pe.h: Likewise.
1139
afa2158f
NS
11402007-07-03 Nathan Sidwell <nathan@codesourcery.com>
1141
1142 * config/tc-m68k.c (m68k_ip): Add j & K operand types.
1143 (install_operand): Add E encoding.
1144 (md_begin): Check and skip initial '.' arg character.
1145 (get_num): Add 0..511 case.
1146
ae4a729b
AM
11472007-07-03 Alan Modra <amodra@bigpond.net.au>
1148
1149 PR 4713
1150 * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF.
1151 * config/obj-elf.h (obj_ecoff_set_ext): Comment.
1152
df816087
AM
11532007-07-03 Mikkel Lauritsen <renard@nospam.dk>
1154
1155 PR 4722
1156 * app.c (do_scrub_chars <state 5>): Check for output buffer full
1157 after memcpy.
1158
741d6ea8
JM
11592007-07-02 Joseph Myers <joseph@codesourcery.com>
1160
1161 * config/tc-mips.c (s_dtprelword, s_dtpreldword,
1162 s_dtprel_internal): New.
1163 (mips_pseudo_table): Add .dtprelword and .dtpreldword.
1164 (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and
1165 BFD_RELOC_MIPS_TLS_DTPREL64.
1166
ae351704
AM
11672007-07-02 Alan Modra <amodra@bigpond.net.au>
1168
1169 * Makefile.am: Run "make dep-am".
1170 * Makefile.in: Regenerate.
1171 * aclocal.m4: Regenerate.
1172 * config.in: Regenerate.
1173 * doc/Makefile.in: Regenerate.
1174 * po/POTFILES.in: Regenerate.
1175 * po/gas.pot: Regenerate.
1176
8d452c78
AM
11772007-07-02 Alan Modra <amodra@bigpond.net.au>
1178
1179 * config/tc-ppc.c (ppc_pe_section): Comment out code assigning
1180 coff section flag values to bfd section flag.
1181
86b57e31
L
11822007-06-30 H.J. Lu <hongjiu.lu@intel.com>
1183
1184 * aclocal.m4: Regenerated.
1185 * doc/Makefile.in: Likewise.
1186 * Makefile.in: Likewise.
1187
7ace4e4c
JM
11882007-06-29 Joseph Myers <joseph@codesourcery.com>
1189
1190 * as.c (main): Only call create_obj_attrs_section if IS_ELF.
1191
104d59d1
JM
11922007-06-29 Joseph Myers <joseph@codesourcery.com>
1193
1194 * as.c (create_obj_attrs_section): New.
1195 (main): Call create_obj_attrs_section for ELF.
1196 * read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
1197 skip_past_comma, s_vendor_attribute): New.
1198 (potable): Add gnu_attribute for ELF.
1199 * read.h (s_vendor_attribute): Declare.
1200 * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
1201 round s_vendor_attribute.
1202 (aeabi_set_public_attributes): Update for new attributes
1203 interfaces.
1204 (arm_md_end): Remove attributes contents setting now done
1205 generically.
1206
3d3d428f
NC
12072007-06-29 M R Swami Reddy <MR.Swami.Redd@nsc.com>
1208
1209 * Makefile.am: Add CR16 related entry.
1210 * Makefile.in: Regenerate.
1211 * config/tc-cr16.h: New file
1212 * config/tc-cr16.c: New file
1213 * doc/c-cr16.texi: New file for cr16
1214 * doc/all.texi: Entry for cr16
1215 * doc/Makefile.am: Added c-cr16.texi
1216 * doc/Makefile.in: Regenerate
1217 * doc/as.texinfo: Entry for CR16 target
1218 * NEWS: Announce the support for the new target.
1219
cd2cf30b
PB
12202007-06-26 Paul Brook <paul@codesourcery.com>
1221
1222 * config/tc-arm.c (parse_operands): Accept generic coprocessor regs
1223 for OP_RVC.
1224 (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1.
1225
5f15756d
L
12262007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1227
1228 * config/tc-i386.c (process_operands): Replace regKludge
1229 with RegKludge.
1230
b314ec0e
RS
12312007-06-25 Richard Sandiford <richard@codesourcery.com>
1232
1233 * config/tc-mips.h (TC_SYMFIELD_TYPE): New.
1234 * config/tc-mips.c (append_insn): Record which symbols have
1235 R_MIPS16_26 relocations against them.
1236 (mips_fix_adjustable): Don't reduce relocations against such symbols.
1237
b81bf389
BW
12382007-06-22 Sterling Augustine <sterling@tensilica.com>
1239
1240 * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules.
1241 (frag_format_size): Handle RELAX_IMMED_STEP3.
1242 (xtensa_relax_frag, md_convert_frag): Likewise.
1243 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3.
1244 (RELAX_IMMED_MAXSTEPS): Adjust.
1245 * config/xtensa-relax.c (widen_spec_list): Add transitions from
1246 wide branches to branch-over-jumps.
1247 (build_transition): Handle wide branches in transition patterns.
1248
e205caa7
L
12492007-06-22 H.J. Lu <hongjiu.lu@intel.com>
1250
1251 * config/tc-i386.c (disp_size): New.
1252 (imm_size): Likewise.
1253 (output_disp): Use disp_size and imm_size.
1254 (output_imm): Use imm_size.
1255
c48aaca0
BW
12562007-06-19 Sterling Augustine <sterling@tensilica.com>
1257
1258 * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
1259 use of literal_frag field.
1260 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag
1261 in the literal_frag field.
1262 (xtensa_move_literals): Use it here instead of searching. Update
1263 literal_frag field with new value.
1264
728ca7c9
PB
12652007-06-14 Paul Brook <paul@codesourcery.com>
1266
1267 * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and
1268 narrow shift by immediate.
1269
79887925
L
12702007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1271
1272 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1273
1274 * acinclude.m4: Don't include m4 files.
1275 (BFD_BINARY_FOPEN): Removed.
1276 Remove libtool kludge.
1277
1278 * Makefile.in: Regenerated.
1279 * doc/Makefile.in: Likewise.
1280 * aclocal.m4: Likewise.
1281 * configure: Likewise.
1282
99ded152
BW
12832007-06-11 Sterling Augustine <sterling@tensilica.com>
1284 Bob Wilson <bob.wilson@acm.org>
1285
1286 * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
1287 (XTENSA_PROP_NO_TRANSFORM): ...this.
1288 (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
1289 (xtensa_mark_frags_for_org): New.
1290 (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
1291 (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
1292 (get_frag_property_flags): Adjust reference to is_no_transform flag.
1293 (xtensa_frag_flags_combinable): Likewise.
1294 (frag_flags_to_number): Likewise. Use XTENSA_PROP_NO_TRANSFORM.
1295 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
1296
dce323d1
PB
12972007-06-06 Paul Brook <paul@codesourcery.com>
1298
1299 * config/tc-arm.c (s_align): Pad code sections appropriately.
1300
79d49516
PB
13012007-06-05 Paul Brook <paul@codesourcery.com>
1302
1303 * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.
1304
dfeb0666
NC
13052007-06-05 Nick Clifton <nickc@redhat.com>
1306
1307 PR gas/4587
1308 * config/tc-sparc.c (sparc_ip): Terminate tls_ops array.
1309
353ab861
AM
13102007-06-05 Alan Modra <amodra@bigpond.net.au>
1311
1312 * config/tc-spu.c (spu_cons): Use deferred_expression. Handle
1313 number@ppu.
1314 (tc_gen_reloc): Abort if neither addsy or subsy is set.
1315 (md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
1316 * config/tc-spu.h (md_operand): Handle @ppu without sym.
1317
91568d08
PB
13182007-05-31 Paul Brook <paul@codesourcery.com>
1319
1320 * config/tc-arm.c (insns): Allow strex on M profile cores.
1321
c699f087
JJ
13222007-05-29 David S. Miller <davem@davemloft.net>
1323 Jakub Jelinek <jakub@redhat.com>
1324
1325 PR gas/4558
1326 * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
1327 for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.
1328
945370aa
AM
13292007-05-29 Alan Modra <amodra@bigpond.net.au>
1330
1331 * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros.
1332
98027b10
AM
13332007-05-29 Alan Modra <amodra@bigpond.net.au>
1334
1335 * config/tc-ppc.c: Convert to ISO C.
1336 * config/tc-ppc.c: Likewise.
1337
a32b816e
AM
13382007-05-29 Alan Modra <amodra@bigpond.net.au>
1339
1340 * write.h (EXEC_MACHINE_TYPE): Delete.
1341 (string_byte_count, section_alignment): Delete.
1342
1740b7b1
NS
13432007-05-28 Nathan Sidwell <nathan@codesourcery.com>
1344
1345 * app.c (do_scrub_chars): Cope with \ at end of buffer.
1346
a1867a27
AM
13472007-05-26 Alan Modra <amodra@bigpond.net.au>
1348
1349 * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
1350 top 32 bits of 64 bit value if so doing results in passing
1351 range check. Rewrite sign extension fudges similarly. Enable
1352 fudges for powerpc64 too. Report user value if range check
1353 fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE
1354 range rather than value, also to report user value on failure.
1355
efd81785
PB
13562007-03-25 Paul Brook <paul@codesourcery.com>
1357
1358 * config/tc-arm.c (T2_SUBS_PC_LR): Define.
1359 (do_t_add_sub): Correctly encode subs pc, lr, #const.
1360 (do_t_mov_cmp): Correctly encode movs pc, lr.
1361
37ad9514
SE
13622007-05-24 Steve Ellcey <sje@cup.hp.com>
1363
1364 * Makefile.in: Regnerate.
1365 * configure: Regenerate.
1366 * aclocal.m4: Regenerate.
1367 * doc/Makefile.in: Regenerate.
1368
4c8d1ad4
BW
13692007-05-22 Bob Wilson <bob.wilson@acm.org>
1370
1371 * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
1372 and index entries about automatic alignment of ENTRY instructions.
1373
0e9517a9
NC
13742007-05-22 Nick Clifton <nickc@redhat.com>
1375
1376 * doc/as.texinfo: Use @copying around the copyright notice.
1377
e6559e01
JM
13782007-05-18 Joseph Myers <joseph@codesourcery.com>
1379
1380 * config/tc-mips.c (s_mipsset): Use generic s_set for directives
1381 containing a comma.
1382
4b7d318b
L
13832007-05-17 H.J. Lu <hongjiu.lu@intel.com>
1384
1385 PR gas/4517
1386 2003-06-05 Michal Ludvig <mludvig@suse.cz>
5d14452b 1387 * doc/as.texinfo: Document new directives: .cfi_restore,
4b7d318b
L
1388 .cfi_undefined, .cfi_same_value, .cfi_return_column,
1389 .cfi_remember_state and .cfi_restore_state.
1390
2b878742
NS
13912007-05-17 Nathan Sidwell <nathan@codesourcery.com>
1392
1393 * config/tc-m68k.c (md_apply_fix): Show value of out of range
1394 fixups in error message.
1395 (md_conver_frag_1): Propagate the fix source location and use
1396 as_bad_where rather than fatal, for better error messages.
1397
2b744c99
PB
13982007-05-16 Paul Brook <paul@codesourcery.com>
1399
1400 * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
1401
2a676888
MS
14022007-05-15 Mark Shinwell <shinwell@codesourcery.com>
1403
1404 * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
1405
1c3f20b4
NC
14062007-05-15 Vincent Riviere <vincent.riviere@freesbee.fr>
1407
1408 PR gas/3041
1409 * config/tc-m68k.c (relaxable_symbol): Make sure that the correct
1410 addend is stored for relocs against weak symbols.
1411 (md_apply_fix): So not loose track of addend for relocs against
1412 weak symbols.
1413
24471d42
TS
14142007-05-14 Thiemo Seufer <ths@mips.com>
1415
1416 * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
1417
b0253a53
ML
14182007-05-14 Mei Ligang <ligang@sunnorth.com.cn>
1419
24471d42
TS
1420 * config/tc-score.c (data_op2, validate_immediate): Fix bug for
1421 addri, addri.c, subi, and subi.c when immediate number is hex.
b0253a53
ML
1422 (score_insns): Remove subis and subis.c.
1423 (do_sub_rdi16): Delete.
1424
ece5ef60
AM
14252007-05-11 Alan Modra <amodra@bigpond.net.au>
1426
1427 * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call
1428 spu_cons for word.
1429 (md_assemble): Tidy use of insn.flag.
1430 (get_imm): Likewise. Handle uppercase input too.
1431 (spu_cons): New function.
1432 * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
1433 (TC_FORCE_RELOCATION): Don't resolve them either.
1434
f9d4405b
MS
14352007-05-05 Mark Shinwell <shinwell@codesourcery.com>
1436
1437 * config/tc-arm.c (md_apply_fix): Generate more accurate
1438 diagnostic when 8-bit immediate range is exceeded for
1439 BFD_RELOC_ARM_OFFSET_IMM8.
1440
0787a12d
AM
14412007-05-04 Alan Modra <amodra@bigpond.net.au>
1442
1443 PR gas/4460
1444 * config/tc-i386.c (lex_got): Don't replace the reloc token with
1445 a space if we already have a space.
1446
20592a94
L
14472007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1448
1449 * config/tc-i386.c (match_template): Don't explicitly check
1450 suffix for crc32 in Intel mode.
1451 (process_suffix): Issue an error for crc32 if the operand size
1452 is ambiguous.
1453
22184a77
NC
14542007-05-03 Vincent Riviere <vincent.riviere@freesbee.fr>
1455 Nick Clifton <nickc@redhat.com>
1456
1457 PR gas/3041
1458 * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
1459 (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
1460 (md_apply_fix): Put zero values into the frags referencing weak
1461 symbols.
1462
3896c469
AM
14632007-05-02 Alan Modra <amodra@bigpond.net.au>
1464
1465 PR 4448
1466 * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
1467 PPC_OPERAND_PLUS1.
1468
9344ff29
L
14692007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1470
1471 * config/tc-i386.c (match_template): Check suffix for crc32 in
1472 Intel mdoe.
1473 (process_suffix): Default the suffix of 8bit crc32 to
1474 BYTE_MNEM_SUFFIX.
1475 (check_byte_reg): Skip check for 8bit crc32.
1476
a540244d
L
14772007-04-30 H.J. Lu <hongjiu.lu@intel.com>
1478
1479 * config/tc-i386.c (md_assemble): Use register_prefix in
1480 error/warning message.
1481 (check_byte_reg): Likewise.
1482 (check_long_reg): Likewise.
1483 (check_qword_reg): Likewise.
1484 (check_word_reg): Likewise.
1485 (process_operands): Likewise.
1486
eb42fac1
AM
14872007-04-30 Alan Modra <amodra@bigpond.net.au>
1488
1489 PR 4436
1490 * config/tc-ppc.c (ppc_insert_operand): Disable range check if
1491 min > max.
1492
02ffd3e4
TS
14932007-04-28 Thiemo Seufer <ths@networkno.de>
1494
1495 * config/tc-mips.c: Fix comment.
1496
8eb2af8e
DC
14972007-04-26 Anatoly Sokolov <aesok@post.ru>
1498
1499 * config/tc-avr.c (mcu_types): Add support for atmega8hva and
1500 atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
1501 * doc/c-avr.texi: Document new devices.
1502
6d0f4cb4
AM
15032007-04-24 Alan Modra <amodra@bigpond.net.au>
1504
1505 * Makefile.am: Run "make dep-am".
1506 * Makefile.in: Regenerate.
1507
9a2e615a
NS
15082007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1509
1510 * config/tc-m68k.c (mcf54455_ctrl): New.
1511 (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
1512 (m68k_archs): Add isac.
1513 (m68k_cpus): Add 54455 family.
1514 (m68k_ip): Split Bg into Bb, Bs, Bg.
1515 (m68k_elf_final_processing): Add ISA_C.
1516 * doc/c-m68k.texi (M680x0 Options): Add isac.
1517
d2bdaea8
AM
15182007-04-22 Alan Modra <amodra@bigpond.net.au>
1519
1520 * read.c (read_a_source_file): Skip multiple spaces to
1521 cover hack in mmix md_start_line_hook which overwrites a
1522 colon with a space. Delete sermon and needless assertion.
1523
541d2ffd
AM
15242007-04-21 Alan Modra <amodra@bigpond.net.au>
1525
1526 * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
1527 (md_atof): Make number_of_chars unsigned. Revert last change.
1528 * config/tc-or32.c (md_apply_fix): Delete bogus assertions.
1529 * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
1530 * config/tc-sh.h (md_optimize_expr): Likewise.
1531 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
1532 assertion.
1533 * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
1534
c13781b8
NC
15352007-04-21 Nick Clifton <nickc@redhat.com>
1536
2523cd0a
NC
1537 * config/atof-vax.c (md_atof): Fix comparison inside know().
1538
c13781b8
NC
1539 * config/tc-ia64.c (emit_one_bundle): Fix typo.
1540
c43a438d
AM
15412007-04-21 Alan Modra <amodra@bigpond.net.au>
1542
db557034
AM
1543 * expr.c (expr): Assert on rankarg, not rank which can be unsigned.
1544 * read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
1545 Don't skip over NUL char.
1546 (pseudo_set): Set X_op for registers to O_register.
1547 * symbols.c (symbol_clone): Remove assertion that sym is defined.
1548 (resolve_symbol_value): Resolve O_register symbols.
1549 * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
1550 Instead find st(0) by hash lookup.
1551 * config/tc-ppc.c (ppc_macro): Warning fix.
1552
c43a438d
AM
1553 * as.h (ENABLE_CHECKING): Default define to 0.
1554 (know): Assert if ENABLE_CHECKING.
1555 (struct relax_type): Remove superfluous declaration.
1556 * configure.in (--enable-checking): New.
1557 * configure: Regenerate.
1558 * config.in: Regenerate.
1559 * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
1560 Check for duplicate powerpc_operands entries.
1561
78336706
NS
15622007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1563
d5be9593
NS
1564 * config/tc-m68k.c (mcf5253_ctrl): New.
1565 (mcf52223_ctrl): New.
1566 (m68k_cpus): Add 5253, 52221, 52223.
1567
78336706
NS
1568 * config/m68k-parse.h (RAMBAR_ALT): New.
1569 * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
1570 (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
1571 mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
1572 mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
1573 mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
1574 RAMBAR1.
1575 (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
1576 (m68k_cpus): Adjust 5206, 5206e & 5307 entries.
1577 (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it
1578 to control register mapping.
1579
931774a9
AM
15802007-04-20 Alan Modra <amodra@bigpond.net.au>
1581
1582 * messages.c (as_internal_value_out_of_range): Fix typo in
1583 error message. Return after printing domain error.
1584 * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
1585 in max when shifting right.
1586
b84bf58a
AM
15872007-04-20 Alan Modra <amodra@bigpond.net.au>
1588
1589 * messages.c (as_internal_value_out_of_range): Extend to report
1590 errors for values with invalid low bits set.
1591 * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
1592 fields. Check that operands and opcode fields are disjoint.
1593 (ppc_insert_operand): Check operands using mask rather than bit
1594 count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust
1595 insertion code.
1596 (md_apply_fix): Adjust for struct powerpc_operand change.
1597
076d447c
PB
15982007-04-19 Paul Brook <paul@codesourcery.com>
1599
1600 * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
1601 Thumb-1. Add sanity check for bogus relaxations.
1602
16a4cf17
PB
16032007-04-19 Paul Brook <paul@codesourcery.com>
1604
1605 * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
1606
e30daadc
AM
16072007-04-19 Alan Modra <amodra@bigpond.net.au>
1608
1609 * Makefile.am: Run "make dep-am".
1610 * Makefile.in: Regenerate.
1611
7a467a28
AM
16122007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1613
1614 * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
1615
d76f7bc1
L
16162007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1617
1618 * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
1619
381d071f
L
16202007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1621
1622 * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
1623 (match_template): Handle operand size for crc32 in SSE4.2.
1624 (process_suffix): Handle operand type for crc32 in SSE4.2.
1625 (output_insn): Support SSE4.2.
1626
42903f7f
L
16272007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1628
1629 * config/tc-i386.c (cpu_arch): Add .sse4.1.
1630 (process_operands): Adjust implicit operand for blendvpd,
1631 blendvps and pblendvb in SSE4.1.
1632 (output_insn): Support SSE4.1.
1633
026d3abb
PB
16342007-04-18 Paul Brook <paul@codesourcery.com>
1635
1636 * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
1637
91382b56
KK
16382007-04-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1639
1640 * config/tc-sh.c (sh_handle_align): Call as_bad_where instead
1641 of as_warn_where for misaligned data.
1642
0838d2ac
KK
16432007-04-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1644
1645 * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
1646 rs_fill frags.
1647
b7d19ba6
SE
16482007-04-14 Steve Ellcey <sje@cup.hp.com>
1649
1650 * Makefile.am: Add ACLOCAL_AMFLAGS.
1651 * Makefile.in: Regenerate.
1652
0cc34095
KK
16532007-04-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1654
1655 * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
1656 (sh_optimize_expr): Likewise.
1657 * config/tc-sh.h (md_optimize_expr): Define.
1658 (sh_optimize_expr): Prototype.
1659
6f7b6869
MT
16602007-04-06 Matt Thomas <matt@netbsd.org>
1661
1662 * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
1663 to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
1664 heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
1665
d0e8669a
KH
16662007-04-04 Kazu Hirata <kazu@codesourcery.com>
1667
1668 * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
1669
3b8d421e
PB
16702007-04-04 Paul Brook <paul@codesourcery.com>
1671
1672 * config/tc-arm.c (do_neon_ext): Enforce immediate range.
1673 (insns): Use I15 for vext.
1674
9fcfe2ed
PB
16752007-04-04 Paul Brook <paul@codesourcery.com>
1676
1677 * configure.tgt: Loosen checks for arm uclinux eabi targets.
1678
a3582eee
BW
16792007-04-02 Sterling Augustine <sterling@tensilica.com>
1680
1681 * config/tc-xtensa.c (xtensa_flush_pending_output): Check
1682 outputting_stabs_line_debug.
1683
7b60f473
DC
16842007-03-26 Anatoly Sokolov <aesok@post.ru>
1685
1686 * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
1687 at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
1688 devices.
1689 * doc/c-avr.texi: Document new devices.
1690
0c000745
RS
16912007-04-02 Richard Sandiford <richard@codesourcery.com>
1692
1693 * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
1694 * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
1695 * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
1696
c3ea6048
BW
16972007-03-30 Sterling Augustine <sterling@tensilica.com>
1698 Bob Wilson <bob.wilson@acm.org>
1699
1700 * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
1701 Do not check is_loop_target flag.
1702 (xtensa_frob_label): Adjust calls to xtensa_move_labels.
1703 (xg_assemble_vliw_tokens): Likewise. Also avoid calling
1704 xtensa_move_labels for alignment of loop opcodes.
1705
f6bee062
L
17062007-03-30 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 * config/tc-i386.c (process_suffix): Reindent a bit.
1709
3c707909
PB
17102007-03-30 Paul Brook <paul@codesourcery.com>
1711
1712 * config/tc-arm.c (encode_thumb2_ldmstm): New function.
1713 (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm.
1714 (do_t_push_pop): Use encode_thumb2_ldmstm.
1715
144f4bc6
DD
17162007-03-29 DJ Delorie <dj@redhat.com>
1717
1718 * config/tc-m32c.c (rl_for, relaxable): Protect argument.
1719 (md_relax_table): Add entries for ADJNZ macros.
1720 (M32C_Macros): Add ADJNZ macros.
1721 (subtype_mappings): Add entries for ADJNZ macros.
1722 (insn_to_subtype): Check for adjnz and sbjnz insns.
1723 (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
1724 (md_convert_frag): Convert adjnz and sbjnz.
1725
e5551801
NC
17262007-03-29 Nick Clifton <nickc@redhat.com>
1727
1728 * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
1729 initialization.
1730 * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
1731 using ITBL_NUMBER_OF_PROCESSORS.
1732 * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
1733
e72cf3ec
L
17342007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1735
1736 * config/tc-i386.c (build_modrm_byte): For instructions with 2
1737 register operands, encode destination in i.rm.regmem if its
1738 RegMem bit is set.
1739
4ecceb71
RS
17402007-03-28 Richard Sandiford <richard@codesourcery.com>
1741 Phil Edwards <phil@codesourcery.com>
1742
1743 * doc/as.texinfo: Put the contents after the title page rather
1744 than at the end of the document.
1745
3f9ce309
AM
17462007-03-27 Alan Modra <amodra@bigpond.net.au>
1747
1748 * NEWS: Mention ".reloc".
1749
eb6d9dce
BW
17502007-03-26 Sterling Augustine <sterling@tensilica.com>
1751
1752 * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
1753 in FLIX instructions.
1754
c96612cc
JB
17552007-03-26 Julian Brown <julian@codesourcery.com>
1756
1757 * config/tc-arm.c (arm_it): Add immisfloat field.
1758 (parse_qfloat_immediate): Disallow integer syntax for floating-point
1759 immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
1760 (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
1761 float.
1762 (neon_cmode_for_move_imm): Reject non-float immediates for float
1763 operands.
1764 (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
1765
23753660
JB
17662007-03-26 Julian Brown <julian@codesourcery.com>
1767
1768 * doc/c-arm.texi: Add documentation for .dn/.qn directives.
1769
05e9452c
AM
17702007-03-26 Alan Modra <amodra@bigpond.net.au>
1771
1772 * doc/as.texinfo (Reloc): Document.
1773 * read.c (potable): Add "reloc".
1774 (s_reloc): New function.
1775 * write.c (reloc_list): New global var.
1776 (resolve_reloc_expr_symbols): New function.
1777 (write_object_file): Call it.
1778 (write_relocs): Process reloc_list.
1779 * write.h (struct reloc_list): New.
1780 (reloc_list): Declare.
1781
1198ca51
PB
17822007-03-24 Paul Brook <paul@codesourcery.com>
1783
1784 * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
1785
b6702015
PB
17862007-03-24 Paul Brook <paul@codesourcery.com>
1787 Mark Shinwell <shinwell@codesourcery.com>
1788
1789 * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
1790 (parse_operands): Don't expect comma if first operand missing.
1791 Handle OP_oRRw.
1792 (do_srs): Encode register number, checking it is r13. Update comment.
1793 (insns): Update SRS entries to take a register.
1794
831480e9 17952007-03-23 H.J. Lu <hongjiu.lu@intel.com>
0003779b
L
1796
1797 * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
1798
738755b0
MS
17992007-03-23 Mark Shinwell <shinwell@codesourcery.com>
1800
35225157 1801 * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
738755b0
MS
1802 attempt to jump to the next instruction into NOPs.
1803
840edabd
AM
18042007-03-23 Alan Modra <amodra@bigpond.net.au>
1805
1806 * config/tc-spu.c: Don't include opcode/spu.h.
1807 (md_assemble): Set tc_fix_data.insn_tag and arg_format.
1808 (md_apply_fix): Adjust.
1809 * config/tc-spu.h: Include opcode/spu.h.
1810 (struct tc_fix_info): New.
1811 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
1812 (TC_FORCE_RELOCATION): Define.
1813
e49e529d
JM
18142007-03-22 Joseph Myers <joseph@codesourcery.com>
1815
1816 * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
1817
831480e9 18182007-03-21 H.J. Lu <hongjiu.lu@intel.com>
13a1e313
L
1819
1820 * config/tc-i386.c (process_suffix): Check 0x90 instead of
1821 xchg for xchg %rax,%rax.
1822
831480e9 18232007-03-21 H.J. Lu <hongjiu.lu@intel.com>
161a04f6
L
1824
1825 * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
1826 and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
1827
831480e9 18282007-03-21 H.J. Lu <hongjiu.lu@intel.com>
8b38ad71
L
1829
1830 PR binutils/4218
1831 * config/tc-i386.c (match_template): Properly handle 64bit mode
1832 "xchg %eax, %eax".
1833
af1c1010
NC
18342007-03-21 Anton Ertl <anton@mips.complang.tuw>
1835
1836 PR gas/4124
1837 * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
1838
1d5f2fe9
L
18392007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1840
1841 * Makefile.am: Run dep-am.
1842 * Makefile.in: Regenerated.
1843
1844 * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
1845
1846 * config/tc-i386.h: Include "opcodes/i386-opc.h".
1847 (NOP_OPCODE): Removed.
1848 (template): Likewise.
1849
5ac8f2a2
AS
18502007-03-21 Andreas Schwab <schwab@suse.de>
1851
1852 * config/tc-i386.h (NOP_OPCODE): Restore.
1853
8fb9d7b9
MS
18542007-03-18 Mark Shinwell <shinwell@codesourcery.com>
1855
1856 * config/tc-arm.c (do_mul): Don't warn about overlapping
1857 Rd and Rm operands when assembling for v6 or above.
1858 Correctly capitalize register names in the messages.
1859 (do_mlas): Likewise. Delete spurious blank line.
1860
b3768379
KH
18612007-03-16 Kazu Hirata <kazu@codesourcery.com>
1862
1863 * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
1864
c3fe08fa
L
18652007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1866
1867 * config/tc-i386.c (md_begin): Use i386_regtab_size to scan
1868 i386_regtab.
1869 (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
1870 on i386_regtab.
1871
4061927e
L
18722007-03-15 Alexandre Oliva <aoliva@redhat.com>
1873
1874 PR gas/4184
1875 * app.c (do_scrub_chars): PUT after setting states.
1876
0b1cf022
L
18772007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1878
1879 * Makefile.am: Run "make dep-am".
1880 * Makefile.in: Regenerated.
1881
1882 * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
1883 "opcode/i386.h".
1884 (md_begin): Check reg_name != NULL for the last entry in
1885 i386_regtab.
1886
1887 * config/tc-i386.h: Move many entries to opcode/i386.h and
1888 opcodes/i386-opc.h.
1889
1890 * configure.in (need_opcodes): Set true for i386.
1891 * configure: Regenerated.
1892
c428fa83
L
18932007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1894
1895 * Makefile.am (REPORT_BUGS_TO): Removed.
1896 (INCLUDES): Remove -DREPORT_BUGS_TO.
1897 * Makefile.in: Regenerated.
1898
1899 * configure.in (--with-bugurl): Removed.
1900 * configure: Regenerated.
1901
1902 * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
1903 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
1904 (TEXI2DVI): Likewise.
1905 (gasver.texi): Removed.
1906 (MOSTLYCLEANFILES): Remove gasver.texi.
1907 (as.1): Don't depend on gasver.texi.
1908 * doc/Makefile.in: Regenerated.
1909
1910 * doc/as.texi: Include bfdver.texi instead of gasver.texi.
1911
794ba86a
DJ
19122007-03-14 Daniel Jacobowitz <dan@codesourcery.com>
1913
1914 * config/tc-arm.c (arm_copy_symbol_attributes): New.
1915 * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
1916 (TC_COPY_SYMBOL_ATTRIBUTES): Define.
1917 * gas/symbols.c (copy_symbol_attributes): Use
1918 TC_COPY_SYMBOL_ATTRIBUTES.
1919
155257ea
PB
19202007-03-14 Paul Brook <paul@codesourcery.com>
1921
1922 * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
1923
d1c5f158
AM
19242007-03-14 Alan Modra <amodra@bigpond.net.au>
1925
1926 PR 4029
1927 * write.c (relax_segment): Insert extra alignment padding
1928 to break infinite relax loop when given impossible
1929 gcc_except_table assembly.
1930
8a2ed489
L
19312007-03-12 H.J. Lu <hongjiu.lu@intel.com>
1932
1933 * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
1934 on i.tm.base_opcode.
1935 (match_template): Likewise.
1936 (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
1937
1938 * config/tc-i386.h (Opcode_D): New.
1939 (Opcode_FloatR): Likewise.
1940 (Opcode_FloatD): Likewise.
1941 (D): Redefined.
1942 (W): Likewise.
1943 (FloatMF): Likewise.
1944 (FloatR): Likewise.
1945 (FloatD): Likewise.
1946
e9fc6c21
AO
19472007-03-09 Alexandre Oliva <aoliva@redhat.com>
1948
1949 * app.c (do_scrub_chars): Recognize comments after # line "file".
1950 * read.c (get_linefile_number): New.
1951 (s_app_line): Accept ill-formed .linefile lines as comments.
1952
b1b7d09b
AM
19532007-03-09 Alan Modra <amodra@bigpond.net.au>
1954
1955 * config/tc-i386.h (WORKING_DOT_WORD): Define.
1956
93e914b2
AO
19572007-03-09 Alexandre Oliva <aoliva@redhat.com>
1958
1959 * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
1960 * as.h (new_logical_line_flags): New.
1961 * input-scrub.c (new_logical_line): Turned into wrapper for...
1962 (new_logical_line_flags): this. Handle flags.
1963 * read.c (potable): Add linefile. Adjust appline argument.
1964 (s_app_file): Fake .appfiles no more.
1965 (s_app_line): For .linefile, accept file name and flags.
1966
6f12865c
AM
19672007-03-08 Alan Modra <amodra@bigpond.net.au>
1968
1969 * symbols.c (symbol_relc_make_sym): Comment typo fixes.
1970
a6d04ec4
AM
19712007-03-08 Alan Modra <amodra@bigpond.net.au>
1972
1973 * Makefile.am: Run "make dep-am".
1974 * Makefile.in: Regenerate.
1975 * po/POTFILES.in: Regenerate.
1976
ad22bfe8
JM
19772007-03-07 Joseph Myers <joseph@codesourcery.com>
1978
1979 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
1980 bug-reporting URL.
1981 * doc/Makefile.am (gasver.texi): Define BUGURL.
1982 * doc/as.texinfo: Use BUGURL.
1983 * Makefile.in, configure, doc/Makefile.in: Regenerate.
1984
b5639b37
MS
19852007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1986
1987 * config/tc-s390.c (md_parse_option): z9-ec option added.
1988
5e77afaa
PB
19892007-03-02 Paul Brook <paul@codesourcery.com>
1990
1991 * config/tc-arm.c (relax_immediate): Always return positive values.
1992 (relaxed_symbol_addr): New function.
1993 (relax_adr, relax_branch): Use it.
1994 (arm_relax_frag): Pass strect argument. Adjust infinite loop check.
1995
066c2a57
JM
19962007-03-01 Joseph Myers <joseph@codesourcery.com>
1997
1998 * as.c (parse_args): Update copyright date.
1999
ed6ba298
NS
20002007-02-28 Nathan Sidwell <nathan@codesourcery.com>
2001
2002 * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
2003
870074dd
NC
20042007-02-28 Nick Clifton <nickc@redhat.com>
2005
c5d07591
NC
2006 PR gas/3797
2007 * config/tc-d10v.c (do_assemble): Do not generate error messages,
2008 just return -1 whenever a problem is encountered.
2009 (md_assemble): If do_assemble returns -1 generate a non-fatal
2010 error message and return.
2011
870074dd
NC
2012 PR gas/2623
2013 * config/tc-msp430.c (line_separator_char): Change to '{'.
2014
fd99afa7
AM
20152007-02-27 Alan Modra <amodra@bigpond.net.au>
2016
2017 * config/tc-m68hc11.c (fixup24): Correct fixup size.
2018 (build_jump_insn): Likewise.
2019 (build_insn): Likewise.
2020 (s_m68hc11_relax): Likewise.
2021
07cb2078
AM
20222007-02-27 Alan Modra <amodra@bigpond.net.au>
2023
2024 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
2025
22b5b651
MS
20262007-02-25 Mark Shinwell <shinwell@codesourcery.com>
2027
2028 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
2029
acb02403
AM
20302007-02-23 Alan Modra <amodra@bigpond.net.au>
2031
2032 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
2033 (md_assemble): Likewise.
2034
e5435dec
AM
20352007-02-22 Alan Modra <amodra@bigpond.net.au>
2036
2037 * write.c (size_seg): Always clear SEC_RELOC here.
2038 (install_reloc): New function, extracted from..
2039 (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
2040 with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
2041 testing frag size. Set SEC_RELOC here.
2042
a1836728
AM
20432007-02-21 Alan Modra <amodra@bigpond.net.au>
2044
2045 PR 4082
2046 * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
2047
f281862d
TS
20482007-02-20 Thiemo Seufer <ths@mips.com>
2049
2050 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
2051
01fd108f
TS
20522007-02-20 Thiemo Seufer <ths@mips.com>
2053
2054 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
2055
8b082fb1
TS
20562007-02-20 Thiemo Seufer <ths@mips.com>
2057 Chao-Ying Fu <fu@mips.com>
2058
2059 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
2060 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
2061 (macro_build): Add case '2'.
2062 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
2063 (validate_mips_insn): Add support for balign instruction.
2064 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
2065 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
2066 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
2067 command line options.
2068 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
2069 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
2070 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
2071 .set dspr2, .set nodspr2.
2072
96e0bbcc
NS
20732007-02-20 Nathan Sidwell <nathan@codesourcery.com>
2074
2075 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
2076 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
2077
d31f0f6d
AM
20782007-02-18 Alan Modra <amodra@bigpond.net.au>
2079
2080 * write.c (TC_FX_SIZE_SLACK): Define.
2081 (write_relocs): Reinstate check for fixup within frag.
2082 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
2083 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
2084 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
2085 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
2086 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
2087
92f01d61
JM
20882007-02-17 Mark Mitchell <mark@codesourcery.com>
2089 Nathan Sidwell <nathan@codesourcery.com>
2090 Vladimir Prus <vladimir@codesourcery.com
2091 Joseph Myers <joseph@codesourcery.com>
2092
2093 * configure.in (--with-bugurl): New option.
2094 * configure: Regenerate.
2095 * dep-in.sed: Remove bin-bugs.h.
2096 * Makefile.am (REPORT_BUGS_TO): Define.
2097 (INCLUDES): Define REPORT_BUGS_TO.
2098 (DEP_INCLUDES): Likewise.
2099 ($(OBJS)): No longer depend on bin-bugs.h.
2100 * Makefile.in: Regenerate.
2101 * doc/Makefile.in: Regenerate.
2102 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
2103 * as.h: Remove include of bin-bugs.h.
2104
b4b24b79
AM
21052007-02-17 Alan Modra <amodra@bigpond.net.au>
2106
2107 * write.c: White space fixes.
2108 (fixup_segment): Move symbol_mri_common_p adjustments..
2109 (write_relocs): ..and symbol_equated_reloc_p adjustments..
2110 (adjust_reloc_syms): ..to here.
2111
e7ff5c73
AM
21122007-02-16 Alan Modra <amodra@bigpond.net.au>
2113
2114 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
2115 xmalloc, memset. Don't bother assigning NULL to known zero mem.
2116 (subseg_set_rest): Remove unnecessary cast.
2117 * write.c: Include libbfd.h. Replace PTR with void * throughout.
2118 Remove unnecessary forward declarations and casts.
2119 (set_symtab): Delete extern bfd_alloc.
2120 (fixup_segment): Move.
2121
a8e24a56
NS
21222007-02-15 Nathan Sidwell <nathan@codesourcery.com>
2123
2124 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
2125 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
2126 (mcf5475_ctrl, mcf5485_ctrl): New.
2127 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
2128 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
2129 (init_table): Add asid, mmubar, adjust rombar0.
2130
4eed87de
AM
21312007-02-14 Alan Modra <amodra@bigpond.net.au>
2132
2133 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
2134 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
2135 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
2136 code, and test for these insns using a combination of
2137 opcode_modifier and operand_types.
2138
7bd1c961
PB
21392007-02-07 Paul Brook <paul@codesourcery.com>
2140
5c817587 2141 * configure.tgt: Add arm*-*-uclinux-*eabi.
7bd1c961 2142
280d71bf 21432007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
2144 Richard Sandiford <rsandifo@redhat.com>
2145 DJ Delorie <dj@redhat.com>
2146 Stan Cox <scox@redhat.com>
2147 Jim Blandy <jimb@redhat.com>
2148 Nick Clifton <nickc@redhat.com>
2149 Jim Wilson <wilson@redhat.com>
2150 Frank Ch. Eigler <fche@redhat.com>
2151 Graydon Hoare <graydon@redhat.com>
2152 Ben Elliston <bje@redhat.com>
2153 John Healy <jhealy@redhat.com>
2154 Richard Henderson <rth@redhat.com>
2155
2156 * Makefile.am (CPU_TYPES): Add mep.
2157 (TARGET_CPU_CFILES): Add tc-mep.c.
2158 (TARGET_CPU_HFILES): Add tc-mep.h.
2159 (DEPTC_mep_elf): New variable.
2160 (DEPTC_mep_coff): Likewise.
2161 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
2162 * configure.in: Support mep.
2163 * configure.tgt: Likewise.
2164 * config/tc-mep.c: New file.
280d71bf
DB
2165 * config/obj-elf.c: New file.
2166 * config/tc-mep.c: New file.
2167 * config/tc-mep.h: New file.
2168 * testsuite/gas/mep: New testsuite with content.
2169 * Makefile.in: Regenerate.
2170 * configure: Regenerate.
2171
21722007-02-05 Dave Brolley <brolley@redhat.com>
2173
2174 * cgen.c (gas_cgen_install_complex_reloc): Removed.
2175 (complex_reloc_installation_howto): Removed.
2176
21772007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
2178 Graydon Hoare <graydon@redhat.com>
2179 DJ Delorie <dj@redhat.com>
2180 Catherine Moore <clm@redhat.com>
2181 Michael Chastain <chastain@redhat.com>
2182 Frank Ch. Eigler <fche@redhat.com>
280d71bf
DB
2183
2184 * symbols.c (use_complex_relocs_for): New, to decide
4948f0d4
DB
2185 when to use complex relocs. Add signed RELC support.
2186 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
2187 encode expression symbols as mangled complex relocation symbols (when
2188 compiled with -DOBJ_COMPLEX_RELOC).
2189 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
2190 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
2191 encode_addend with new args. Modify to get start, length from
2192 ifield whenever it is set. Also change condition on which
2193 self-describing relocs are encoded. Add hook into
2194 gas_cgen_encode_addend.
2195 (queue_fixup_recursively): Add signed RELC support. Change from masked
2196 expr to trunc flag. Restore assignment of sub-field value to
2197 temporary in fixups array. Reflect changed meaning of last arg to
280d71bf 2198 queue_fixup_recursively.
4948f0d4 2199 (fixup): Add cgen_maybe_multi_ifield member.
280d71bf
DB
2200 (make_right_shifted_expr): New function.
2201 (queue_fixup): Change to recursive function that fragments
2202 fixups if operand has a multi-ifield.
2203 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
2204 symbols, call weak_operand_overflow_check, and fragment call
2205 queue_fixup with operand fields.
2206 (gas_cgen_finish_insn) Modify to manage ifield pointer.
280d71bf
DB
2207 (weak_operand_overflow_check): New function to try to select
2208 insns correctly.
4948f0d4 2209 (gas_cgen_encode_addend): New function for relc.
280d71bf 2210 (gas_cgen_install_complex_reloc): Likewise.
280d71bf 2211 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
4948f0d4
DB
2212 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
2213 cgen_maybe_multi_ifield field to fx_cgen substructure.
2214 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
2215 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
2216
e110eeb7
DD
22172007-02-03 DJ Delorie <dj@delorie.com>
2218
2219 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
2220 byte relocs.
2221 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
2222 (m32c_cons_fix_new): Prototype.
2223
60242db2
BW
22242007-02-02 Bob Wilson <bob.wilson@acm.org>
2225
2226 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
2227 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
2228
bbdd25a8
BW
22292007-02-02 Bob Wilson <bob.wilson@acm.org>
2230
2231 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
2232 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
2233 (map_suffix_reloc_to_operator): New.
2234 (map_operator_to_reloc): New.
2235 (expression_maybe_register): Fix incorrect test of return value from
2236 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
2237 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
2238
9c874773
BW
22392007-02-02 Bob Wilson <bob.wilson@acm.org>
2240
2241 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
2242 (tinsn_get_tok): Delete prototype.
2243 * config/tc-xtensa.c (tinsn_get_tok): Delete.
2244
61376837
BW
22452007-02-02 Bob Wilson <bob.wilson@acm.org>
2246
2247 * config/xtensa-relax.h (struct build_instr): Delete id field.
2248 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
2249 and LABEL tokens.
2250 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
2251 set op_data fields to zero.
2252 (parse_id_constant): Delete.
2253 (build_transition): Remove code to handle numbered literals and labels.
2254
bc447904
BW
22552007-02-02 Bob Wilson <bob.wilson@acm.org>
2256
2257 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
2258 (build_transition_table): Likewise.
2259
63a7429b
BW
22602007-02-01 Bob Wilson <bob.wilson@acm.org>
2261
2262 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
2263 fx_tcbit.
2264 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
2265
20ee54e8
AM
22662007-02-02 Alan Modra <amodra@bigpond.net.au>
2267
2268 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
2269 (struct fix <fx_plt>): Rename to tcbit2.
2270 * write.c (fix_new_internal): Adjust.
2271 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
2272 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2273 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2274 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2275 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2276 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2277 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2278 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2279 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
2280 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
2281 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
2282 Instead, compare fx_r_type.
2283 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
2284 fx_tcbit in place of fx_plt.
2285 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
2286 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
2287 to fx_plt.
2288
bf083c64
NC
22892007-01-30 Nick Clifton <nickc@redhat.com>
2290
2291 * as.c (main): Mark symbols created via the --defsym command line
2292 option as volatile so that they can be overridden later on by a
2293 .set directive. This maintains compatibility with the behaviour
2294 of earlier versions of the assembler.
2295 * doc/as.texinfo (--defsym): Document that the defined symbol's
2296 value can be overridden via a .set directive.
2297
fc523535 22982007-01-28 H.J. Lu <hongjiu.lu@intel.com>
4d456e3d
L
2299
2300 * config/tc-i386.c (swap_imm_operands): Renamed to ...
2301 (swap_2_operands): This. Take 2 ints.
2302 (md_assemble): Updated.
2303 (swap_operands): Call swap_2_operands to swap 2 operands.
2304
7bc4c13c
DD
23052007-01-24 DJ Delorie <dj@redhat.com>
2306
2307 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
2308
48903831
NC
23092007-01-22 Nick Clifton <nickc@redhat.com>
2310
07302d31 2311 PR gas/3871
48903831
NC
2312 * tc-score.c: Remove unnecessary uses of _().
2313 Make the err_msg[] a file level local array in order to save
2314 storage space.
2315 Remove unnecessary sprintf()s.
2316
14119072
ML
23172007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
2318
07302d31 2319 PR gas/3871
14119072
ML
2320 * config/tc-score.c : Using _() for const string.
2321 Do not assign inst.error with a local string pointer.
2322 (md_section_align): Pad section.
2323
99018f42
L
23242007-01-13 H.J. Lu <hongjiu.lu@intel.com>
2325
2326 * config/tc-i386.c (build_modrm_byte): Check number of operands
2327 when procssing memory/register operand.
2328
465e5617
NC
23292007-01-12 Nick Clifton <nickc@redhat.com>
2330
2331 PR gas/3856
2332 * macro.c (expand_irp): Do not ignore spaces inside quoted
2333 strings.
2334
e8630bd7
AM
23352007-01-12 Alan Modra <amodra@bigpond.net.au>
2336
2337 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2338 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2339 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2340 (TC_FORCE_RELOCATION): Define.
2341 (TC_FORCE_RELOCATION_LOCAL): Define.
2342 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
2343
1f5409bb
AM
23442007-01-12 Alan Modra <amodra@bigpond.net.au>
2345
2346 * input-file.c (input_file_open): Check fgets return.
2347
dc4503c6
PB
23482007-01-11 Paul Brook <paul@codesourcery.com>
2349
2350 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
2351
04f8d83b
NC
23522007-01-11 Nick Clifton <nickc@redhat.com>
2353
493cb6ef
NC
2354 PR gas/3707
2355 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
2356 variable.
2357
04f8d83b
NC
2358 * config/tc-mcore.c (md_number_to_chars): Use
2359 number_to_chars_{big|little}endian.
2360
3bdcfdf4
KH
23612007-01-08 Kazu Hirata <kazu@codesourcery.com>
2362
2363 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
2364 architecture by itself.
2365 (m68k_ip): Don't issue a warning for tbl instructions on fido.
2366 (m68k_elf_final_processing): Treat Fido as an architecture by
2367 itself.
2368
42037fe5
NC
23692007-01-08 Kai Tietz <kai.tietz@onevision.com>
2370
2371 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
2372
e4a3b5a4
L
23732007-01-05 H.J. Lu <hongjiu.lu@intel.com>
2374
2375 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
2376 depending on allow_naked_reg.
2377
a028a6f5
PB
23782007-01-04 Paul Brook <paul@codesourcery.com>
2379
2380 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
2381
2ca3ace5
L
23822007-01-04 H.J. Lu <hongjiu.lu@intel.com>
2383
44f9b8ac 2384 PR gas/3830
2ca3ace5
L
2385 * config/tc-i386.c (register_prefix): New.
2386 (set_intel_syntax): Set set_intel_syntax to "" if register
2221f452 2387 prefix isn't needed.
2ca3ace5
L
2388 (check_byte_reg): Use register_prefix for error message.
2389 (check_long_reg): Likewise.
2390 (check_qword_reg): Likewise.
2391 (check_word_reg): Likewise.
2392
ec4faa47 23932007-01-04 Julian Brown <julian@codesourcery.com>
627907b7
JB
2394
2395 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
2396 (do_neon_qshl_imm): Likewise.
2397 (do_neon_rshl): New function. Handle rounding variants of
2398 v{q}shl-by-register.
2399 (insns): Use do_neon_rshl for vrshl, vqrshl.
2400
92559b5b
PB
24012007-01-04 Paul Brook <paul@codesourcery.com>
2402
2403 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
2404 and vacle.
2405
2ca3ace5
L
24062007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2407
2408 * config/tc-i386.c (swap_operands): Remove branches.
2409
4dc85607
L
24102007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2411
2412 * config/tc-i386.c: Update copyright year.
2413 * config/tc-i386.h: Likewise.
2414
1509aa9a
L
24152007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2416
2417 * config/tc-i386.c (smallest_imm_type): Return unsigned int
2418 instead of int.
2419
e3bb37b5
L
24202007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2421
2422 * config/tc-i386.c: Convert to ISO C90 formatting
2423 * config/tc-i386.h: Likewise.
2424
d821e36b
DD
24252007-01-03 David Daney <ddaney@avtrex.com>
2426
2427 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
2428 documentation.
2429
44021fe5 2430For older changes see ChangeLog-2006
08d56133
NC
2431\f
2432Local Variables:
2433mode: change-log
2434left-margin: 8
2435fill-column: 74
2436version-control: never
2437End:
This page took 0.562612 seconds and 4 git commands to generate.