Remove duplicate definitions of the md_atof() function
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
499ac353
NC
12007-10-17 Nick Clifton <nickc@redhat.com>
2
3 PR gas/5173
4 * as.h (ieee_md_atof, vax_md_atof): New prototypes.
5 * read.c (s_float_space): Allow a zero length return from md_atof
6 if the error message has been set.
7 (float_cons): Likewise.
8 * config/atof-ieee.c (ieee_md_atof): New function. Performs the
9 md_atof() function in a generic way for IEEE using targets.
10 * config/atof-vax.c (md_atof): Rename to vax_md_atof. Use the
11 same error message as ieee_md_atof.
12 * tc-alpha.c (md_atof): Use ieee_md_atof. Remove #define of vax_md_atof.
13 * tc-arc.c (md_atof): Use ieee_md_atof.
14 * tc-arm.c (md_atof): Use sizeof (LITTLENUM_TYPE) instead of the
15 constant 2. Use a precision of 5 for the 'x' and 'p' types.
16 * tc-avr.c (md_atof): Use ieee_md_atof.
17 * tc-bfin.c (md_atof): Use ieee_md_atof.
18 * tc-cr16.c (md_atof): Use ieee_md_atof.
19 * tc-crx.c (md_atof): Use ieee_md_atof.
20 * tc-d10v.c (md_atof): Use ieee_md_atof.
21 * tc-d30v.c (md_atof): Use ieee_md_atof.
22 * tc-dlx.c (md_atof): Use ieee_md_atof.
23 * tc-fr30.c (md_atof): Use ieee_md_atof.
24 * tc-frv.c (md_atof): Use ieee_md_atof.
25 * tc-h8300.c (md_atof): Use ieee_md_atof.
26 * tc-hppa.c (md_atof): Use ieee_md_atof.
27 * tc-i370.c (md_atof): Use ieee_md_atof.
28 (i370_dc): Convert the 'E' type to 'f' before calling md_atof.
29 * tc-i386.c (md_atof): Use ieee_md_atof.
30 * tc-i860.c (md_atof): Use ieee_md_atof.
31 * tc-i960.c (md_atof): Use ieee_md_atof.
32 * tc-ia64.c (md_atof): Use the same error message as ieee_md_atof.
33 * tc-ip2k.c (md_atof): Use ieee_md_atof.
34 * tc-iq2000.c (md_atof): Use ieee_md_atof.
35 * tc-m32c.c (md_atof): Use ieee_md_atof.
36 * tc-m32r.c (md_atof): Use ieee_md_atof.
37 * tc-m68hc11.c (md_atof): Use ieee_md_atof.
38 * tc-m68k.c (md_atof): Use ieee_md_atof.
39 * tc-maxq.c (md_atof): Use ieee_md_atof.
40 * tc-mcore.c (md_atof): Use ieee_md_atof.
41 * tc-mep.c (md_atof): Use ieee_md_atof.
42 * tc-mips.c (md_atof): Use ieee_md_atof.
43 * tc-mmix.c (md_atof): Use ieee_md_atof.
44 * tc-mn10200.c (md_atof): Use ieee_md_atof.
45 * tc-mn10300.c (md_atof): Use ieee_md_atof.
46 * tc-msp430.c (md_atof): Use ieee_md_atof.
47 * tc-mt.c (md_atof): Use ieee_md_atof.
48 * tc-ns32k.c (md_atof): Use ieee_md_atof.
49 * tc-openrisc.c (md_atof): Use ieee_md_atof.
50 * tc-or32.c (md_atof): Use ieee_md_atof.
51 * tc-pdp11.c (md_atof): New function. Call vax_md_atof.
52 * tc-pj.c (md_atof): Use ieee_md_atof.
53 * tc-ppc.c (md_atof): Use ieee_md_atof.
54 * tc-s390.c (md_atof): Use ieee_md_atof.
55 * tc-score.c (md_atof): Use ieee_md_atof.
56 * tc-sh.c (md_atof): Use ieee_md_atof.
57 * tc-sparc.c (md_atof): Use ieee_md_atof.
58 * tc-spu.c (md_atof): Use ieee_md_atof.
59 * tc-tic30.c (md_atof): Use the same error message as ieee_md_atof.
60 * tc-tic4x.c (md_atof): Use the same error message as ieee_md_atof.
61 * tc-tic54.c (md_atof): Use ieee_md_atof.
62 * tc-v850.c (md_atof): Use ieee_md_atof.
63 * tc-vax.c (md_atof): New function. Call vax_md_atof.
64 * tc-xc16x.c (md_atof): Use ieee_md_atof.
65 * tc-xstormy16.c (md_atof): Use ieee_md_atof.
66 * tc-xtensa.c (md_atof): Use ieee_md_atof.
67 * tc-z8k.c (md_atof): Use ieee_md_atof.
68 * doc/internals.texi: Update description of md_atof function.
69 * po/gas.pot: Regenerate.
70
00e3c476
BW
712007-10-16 Bob Wilson <bob.wilson@acm.org>
72
73 * doc/as.texinfo (Overview): Add Xtensa --rename-section option.
74
504b7d20
NC
752007-10-16 Nick Clifton <nickc@redhat.com>
76
77 * config/obj-elf.c (obj_elf_type): Accept "common" as a valid
78 symbol type.
79 * doc/as.texinfo (.type): Document the types accepted by the
80 type pseudo op, including "common".
81
8dbcd839
PB
822007-10-15 Peter Bergner <bergner@vnet.ibm.com>
83
84 * config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted
85 according to major opcode number.
86
05f4ab67
AM
872007-10-15 Alan Modra <amodra@bigpond.net.au>
88
89 * read.c (do_s_func): Check asprintf return status.
90 * stabs.c (stabs_generate_asm_func): Likewise.
91 (stabs_generate_asm_endfunc): Likewise.
92
9fcfb3d7
L
932007-10-12 H.J. Lu <hongjiu.lu@intel.com>
94
95 * config/tc-i386.c (process_operands): Simplify implicit xmm0
96 handling.
97
e2ec9d29
L
982007-10-12 H.J. Lu <hongjiu.lu@intel.com>
99
100 * config/tc-i386.c (process_operands): Check the firstxmm0
101 field in opcode_modifier for instruction with a implicit
102 xmm0 as the first operand.
103
1042007-10-12 Eric B. Weddington <eweddington@cso.atmel.com>
7337fc21
NC
105
106 * config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B,
107 AT90PWM3B.
108 * doc/c-avr.texi: Document new devices.
109
e9deb29d
NC
1102007-10-12 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
111
112 * config/tc-cr16.c: Update the md_relax_table for 1 word b<cc>
113 instruction range information.
114
3a99f02f
DJ
1152007-10-12 Daniel Jacobowitz <dan@codesourcery.com>
116
117 * doc/as.texinfo (Object Attributes): New chapter.
118 (Pseudo Ops): Document .gnu_attribute.
119 (LNS directives): Correct .loc_mark_labels documentation.
120
6f932bce
NC
1212007-10-11 Nick Clifton <nickc@redhat.com>
122
123 * config/obj-elf.c (obj_elf_section): When pushing a section, if
124 there is a comma then the following argument must be a subsection
125 number.
126
96ef6e0f
L
1272007-10-11 H.J. Lu <hongjiu.lu@intel.com>
128
129 * doc/c-i386.texi: Update which instruction's operands are
130 swapped.
131
79cf5950
NC
1322007-10-11 Nick Clifton <nickc@redhat.com>
133
ad4b42b4
NC
134 PR gas/5161
135 * config/tc-ia64.c: Allow for translations of error and warning
136 messages.
137 * po/gas.pot: Regenerate.
138
c85dd50d
NC
139 PR gas/5158
140 * config/tc-h8300.c (tc_gen_reloc): Allow for translation of error
141 message.
142 * po/gas.pot: Regenerate.
143
79cf5950
NC
144 PR gas/5155
145 * config/tc-msp430.c: Fix spelling typos.
146
5671778d
NC
1472007-10-11 Nick Clifton <nickc@redhat.com>
148
149 * doc/as.texinfo (Type): Fix typo: STT_FUNC not STT_FUNCTION.
150
741fe287
MR
1512007-10-08 Maciej W. Rozycki <macro@linux-mips.org>
152
153 * config/tc-mips.c (AT): Rename to...
154 (ATREG): ... this.
155 (AT): New definition.
156 (mips_set_options): Rename "noat" to "at"; change the type.
157 (mips_opts): Update accordingly.
158 (append_insn): Likewise.
159 (macro_build_ldst_constoffset): Likewise.
160 (load_address): Likewise.
161 (macro, macro2): Likewise.
162 (s_mipsset): Handle ".set at=REG". Update handling of ".set at"
163 and ".set noat".
164
8b040e0a
NC
1652007-10-08 Nick Clifton <nickc@redhat.com>
166
167 * doc/as.texinfo (Previous): Clarify explanation of the behaviour
168 of this pseudo-op and add a couple of examples.
169
bd3ba5d1
NC
1702007-10-08 Nick Clifton <nickc@redhat.com>
171
172 PR gas/5121 gas/5122 gas/5123
173 * Makefile.am (CFILES): Add cgen.c
174 (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c,
175 tc-tic4x.c and xtensa-relax.c.
176 (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h,
177 tc-tic4x.h and xtensa-relax.h.
178 (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h,
179 te-ic960.h, te-linux.h. Add te-aix5.h, te-armeabi.h,
180 te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h.
181 (CONFIG_ATOF_CFILES): New variable.
182 (POTFILES): Add CONFIG_ATOF_CFILES to dependencies. Fix typo with
183 dependency upon TARG_ENV_HFILES.
184 (DEPTC): Do not put "#include opcodes/<foo>-desc.h" into
185 cgen-desc.h when foo-desc.h does not exit.
186 Run make dep-am.
187 * Makefile.in: Regenerate.
188 * doc/Makefile.in: Regenerate.
189 * po/POTFILES.in: Regenerate.
190 PR gas/5124 gas/5125
191 * po/es.po: Regenerate.
192 * po/fr.po: Regenerate.
193 * po/gas.pot: Regenerate.
194 * po/rw.po: Regenerate.
195 * po/tr.po: Regenerate.
196 * config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation
197 of error messages.
198 PR gas/5126
199 * config/obj-som.c: Likewise.
200 PR gas/5129
201 * config/tc-arc.c: Likewise.
202 PR gas/5131 gas/5132
203 * config/tc-arm.c: Likewise.
204 PR gas/5137
205 * config/tc-bfin.c: Likewise.
206 PR gas/5143
207 * config/tc-frv.c: Likewise.
b1b17bc5
NC
208 PR gas/5142
209 * config/tc-dlx.c: Likewise.
bd3ba5d1 210
922f0bac
NC
2112007-10-08 Eric B. Weddington <eweddington@cso.atmel.com>
212
213 * config/tc-avr.c (mcu_types): Add new devices: ATtiny43U,
485aa104 214 ATtiny48, AT90PWM216, AT90PWM316.
922f0bac
NC
215 * doc/c-avr.texi: Document new devices.
216
33ffbed9
NC
2172007-10-08 Nick Clifton <nickc@redhat.com>
218
4e6e072b 219 PR gas/5133
ff5075ca
NC
220 * config/tc-arm.c (md_apply_fix): Correct error message.
221 PR gas/5134
222 * config/tc-arm.c (md_apply_fix): Likewise.
33ffbed9
NC
223 PR gas/5136
224 * config/tc-bfin.c (md_apply_fix): Fix error message.
df3e8017
NC
225 PR gas/5135
226 (Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages.
33ffbed9 227
368d64cc
L
2282007-10-05 H.J. Lu <hongjiu.lu@intel.com>
229
230 * config/tc-i386.c (build_modrm_byte): Check the first 2 8bit
231 immediate operands directly for instructions with 4 operands.
232
955e1e6a
L
2332007-10-04 H.J. Lu <hongjiu.lu@intel.com>
234
235 PR gas/5109
236 * config/tc-i386.c (process_suffix): Clear QWORD suffix if it
237 is ignored in Intel mode.
238
38a57ae7
NC
2392007-10-04 Helge Deller <deller@gmx.de>
240
241 * read.c (potable): Add string8, string16, string32 and string64.
242 Add bit size for stringer function.
243 (stringer_append_char): New.
244 (stringer): Use stringer_append_char().
245 * config/obj-coff.c (obj_coff_ident): Add bit size for stringer function.
246 * config/obj-elf.c (obj_elf_ident): Likewise.
247 * config/tc-alpha.c (s_alpha_stringer): Likewise.
248 * config/tc-dlx.c (dlx_pseudo_table): Likewise.
249 * config/tc-hppa.c (pa_stringer): Likewise.
250 * config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise.
251 * config/tc-m68hc11.c (md_pseudo_table): Likewise.
252 * config/tc-mcore.c (md_pseudo_table): Likewise.
253 * config/tc-mips.c (mips_pseudo_table): Likewise.
254 * config/tc-spu.c (md_pseudo_table): Likewise.
255 * config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'.
256 * doc/as.texinfo (ABORT): Fix identing.
257 (String): Document new string8, string16, string32, string64
258 functions.
259 * NEWS: Mention the new feature.
260
6decc662
NC
2612007-10-03 Nick Clifton <nickc@redhat.com>
262
73f4d86e
NC
263 PR gas/5078
264 * config/tc-avr.c (avr_get_constant): Extend error message to
265 mention that the constant must be positive.
266
2672007-10-03 Nick Clifton <nickc@redhat.com>
268
269 * config/tc-avr.c (avr_get_constant):
6decc662
NC
270 PR gas/5089
271 * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo.
272 PR gas/5090
273 (md_assemble): Fix spelling typo.
274
df98fa7d
AM
2752007-10-03 Alan Modra <amodra@bigpond.net.au>
276
277 PR 4303
278 * stabs.c (aout_process_stab): Set BSF_DEBUGGING.
279
7fac7ff4
NC
2802007-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
281
282 * config/tc-cr16.c: Replaced 'tabs' with white spaces and
283 added R_CR16_DISP8 as default reloc type for b<cc> instructions.
284
07e8d93c
L
2852007-09-30 H.J. Lu <hongjiu.lu@intel.com>
286
287 PR gas/5080
288 * config/tc-i386.c (check_long_reg): Also handle cvttss2si.
289 (check_qword_reg): Also handle cvttsd2si.
290
d0fa1372
KH
2912007-09-27 Kazu Hirata <kazu@codesourcery.com>
292
293 * config/m68k-parse.h (m68k_register): Use MBO instead of MBB.
294 (last_movec_reg): Change to MBO.
295 * config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB.
296 (m68k_ip): Use MBO instead of MBO.
297 (init_table): Use MBO instead of MBO. Add an entry for mbo.
298
9a04903e
JB
2992007-09-26 Jan Beulich <jbeulich@novell.com>
300
301 * config/tc-i386.c (build_modrm_byte): Also check for RegEip
302 when considering IP-relative addressing.
303
5a918ce7
JB
3042007-09-26 Jan Beulich <jbeulich@novell.com>
305
306 * config/tc-i386.h (md_register_arithmetic): Define.
307 * config/tc-ia64.h (md_register_arithmetic): Likewise.
308 * doc/internals.texi: Document md_register_arithmetic.
309 * expr.c (make_expr_symbol): Force O_register expressions into
310 reg_section.
311 (expr): Provide default for md_register_arithmetic. Don't resolve
312 adding/subtracting constants to/from registers if
313 md_register_arithmetic is zero.
314
0a7b15ff
JB
3152007-09-26 Jan Beulich <jbeulich@novell.com>
316
317 * dw2gencfi.c: Conditionalize whole body upon TARGET_USE_CFIPOP.
318 (cfi_finish): Add second empty instance.
319
cc941dee
JB
3202007-09-26 Jan Beulich <jbeulich@novell.com>
321
322 * config/tc-ia64.c (dot_pred_rel): Replace specialized handling
323 with simple call to parse_operand.
324
c15900ec
JB
3252007-09-26 Jan Beulich <jbeulich@novell.com>
326
327 * config/tc-i386.c (NUM_FLAG_CODE): Remove.
328
732f54cd
JB
3292007-09-26 Jan Beulich <jbeulich@novell.com>
330
331 * as.c (itbl_parse): Remove #define.
332 (struct itbl_file_list): Move down and ...
333 (itbl_files): .. conditionalize upon HAVE_ITBL_CPU.
334 (show_usage): Conditionalize printing of --itbl option upon
335 HAVE_ITBL_CPU.
336 (parse_args): Conditionalize handling of -t/--itbl options upon
337 HAVE_ITBL_CPU. Remove OPTION_INSTTBL and replace its use with
338 't'.
339
4dffcebc
L
3402007-09-25 H.J. Lu <hongjiu.lu@intel.com>
341
342 * config/tc-i386.c (output_insn): Use i.tm.opcode_length to
343 check opcode length.
344
cac27205
NC
3452007-09-25 Nathan Sidwell <nathan@codesourcery.com>
346
347 * config/tc-m68k.c (LONG_BRANCH_VIA_COND): New.
348 (BRANCHBWPL, FRAG_VAR_SIZE): New.
349 (md_relax_table): Add BRANCHBWPL entries.
350 (m68k_ip): Choose BRANCHBWPL relaxation if necessary.
351 (md_assemble): Use FRAG_VAR_SIZE.
352 (md_convert_frag_1): Add BRANCHBWPL cases.
353 (md_estimate_size_before_relaz): Likewise.
354
49954fb4
CD
3552007-09-24 Carlos O'Donell <carlos@codesourcery.com>
356
357 * config/tc-mips.c (s_align): Set max_alignment to 28.
358
db51cc60
L
3592007-09-20 H.J. Lu <hongjiu.lu@intel.com>
360
361 PR 658
362 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed.
363 (set_allow_index_reg): New.
364 (allow_index_reg): Likewise.
365 (md_pseudo_table): Add "allow_index_reg" and
366 "disallow_index_reg".
367 (build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for
368 fake index registers.
369 (i386_scale): Updated.
370 (i386_index_check): Support fake index registers.
371 (parse_real_register): Return NULL on eiz/riz if fake index
372 registers aren't allowed.
373
217fe99f
NC
3742007-09-19 Nick Clifton <nickc@redhat.com>
375
376 * config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte
377 fixups.
378
e055a931
BW
3792007-09-19 Bob Wilson <bob.wilson@acm.org>
380
381 * doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo.
382
d908d8f4
BS
3832007-09-18 Bernd Schmidt <bernd.schmidt@analog.com>
384
385 * config/bfin-parse.y (asm_1): Slightly improve error messages
386 for "reg += const;".
387
b6ac5419
AM
3882007-09-18 Alan Modra <amodra@bigpond.net.au>
389
390 PR gas/5026
391 * read.c (emit_expr): Only use long long if required and available.
392
20e192ab
L
3932007-09-17 H.J. Lu <hongjiu.lu@intel.com>
394
395 * config/tc-i386.c (baseindex): Removed.
396 (build_modrm_byte): Check reg_num for RIP register instead of
397 reg_type.
398 (i386_index_check): Likewise.
399
1a36c6a7
L
4002007-09-17 H.J. Lu <hongjiu.lu@intel.com>
401
402 PR gas/5035
403 * config/obj-coff.c (obj_coff_endef): Remove checking size of
404 def_symbol_in_progress.
405
5c612369
NC
4062007-09-17 Evandro Menezes <evandro@yahoo.com>
407
408 PR gas/5026
409 * read.c (emit_expr): Use unsigned long long values in warning
410 message about truncated expressions.
411
916af048
L
4122007-09-17 H.J. Lu <hongjiu.lu@intel.com>
413
414 * config/tc-i386.c (intel_e04): Revert the last change.
415
7f396d02
NC
4162007-09-17 Nick Clifton <nickc@redhat.com>
417
418 * po/es.po: Updated Spanish translation.
419
27ac7208
L
4202007-09-15 H.J. Lu <hongjiu.lu@intel.com>
421
422 PR gas/5034
423 * config/tc-i386.c (intel_e04): Return 1 if cur_token.code is
424 T_NIL.
425
8ed77a05
L
4262007-09-14 H.J. Lu <hongjiu.lu@intel.com>
427
428 * config/tc-i386.c (build_modrm_byte): Adjust comment line
429 wrap.
430
b5016f89
L
4312007-09-14 H.J. Lu <hongjiu.lu@intel.com>
432
433 * config/tc-i386.c (build_modrm_byte): Use (A || B) instead
434 of (A || B) != 0.
435
c0209578
L
4362007-09-14 H.J. Lu <hongjiu.lu@intel.com>
437
438 * config/tc-i386.c (build_modrm_byte): Adjust indentation.
439
f033ec5c 4402007-09-14 Michael Meissner <michael.meissner@amd.com>
85f10a01
MM
441 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
442 Tony Linthicum <tony.linthicum@amd.com>
443
444 * NEWS: Add SSE5 support to NEWS file.
445
446 * config/tc-i386.h (drex_byte): Add fields to allow process_drex
447 and build_modrm_byte to communicate.
448 (DREX_OC0): New SSE5 macro.
449 (DREX_OC0_MASK): Ditto.
450 (DREX_OC1): Ditto.
451 (DREX_OC1_MASK): Ditto.
452 (DREX_XMEM_X1_X2_X2): Ditto.
453 (DREX_X1_XMEM_X2_X2): Ditto.
454 (DREX_X1_XMEM_X2_X1: Ditto.
455 (DREX_X1_X2_XMEM_X1: Ditto.
456 (DREX_XMEM_X1_X2): Ditto.
457 (DREX_X1_XMEM_X2): Ditto.
458 (drex_byte): New structure to describe the DREX byte.
459
460 * config/tc-i386.c (process_drex): New function to handle SSE5
461 DREX bits.
462 (build_modrm_byte): Use the information cached away in
463 process_drex in the case of DREX instructions.
464 (i386_insn): Add drex field.
465 (pi): Add debugging of drex field.
466 (md_assemble): Treat SSE5 like SSE3 in instructions with an
467 immediate byte. Move REX field to DREX if this is a DREX
468 instruction.
469 (process_operands): Add SSE5 support.
470 (build_modrm_byte): Ditto.
471 (output_insn): Ditto.
472 (cpu_arch): Ditto.
473 (i386_align_code): Ditto.
474
ec56d5c0
JB
4752007-09-12 Jan Beulich <jbeulich@novell.com>
476
477 * config/tc-i386.c (md_assemble): Move handling of extrq/insertq
478 after generic operand swapping, and swap only the immediate operands.
479
8d100c32
KH
4802007-09-11 Nathan Sidwell <nathan@codesourcery.com>
481
482 * config/tc-m68k.c (m68k_ip): Add mcfisa_c case.
483 (m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV.
484
cf557b51
L
4852007-09-09 H.J. Lu <hongjiu.lu@intel.com>
486
487 * tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3
488 byte opcode.
489
c6fb90c8
L
4902007-09-08 H.J. Lu <hongjiu.lu@intel.com>
491
492 * config/tc-i386.c (cpu_flags_check_x64): Renamed to ...
493 (cpu_flags_check_cpu64): This. Inline.
494 (uints_all_zero): New.
495 (uints_set): Likewise
496 (uints_equal): Likewise
497 (UINTS_ALL_ZERO): Likewise
498 (UINTS_SET): Likewise
499 (UINTS_CLEAR): Likewise
500 (UINTS_EQUAL): Likewise
501 (cpu_flags_and): Likewise.
502 (cpu_flags_or): Likewise.
503 (operand_type_and): Likewise.
504 (operand_type_or): Likewise.
505 (operand_type_xor): Likewise.
506 (cpu_flags_not): Inline and use switch instead of loop.
507 (cpu_flags_match): Updated.
508 (operand_type_match): Likewise.
509 (smallest_imm_type): Likewise.
510 (set_cpu_arch): Likewise.
511 (pt): Likewise.
512 (md_assemble): Likewise.
513 (parse_insn): Likewise.
514 (optimize_imm): Likewise.
515 (match_template): Likewise.
516 (process_suffix): Likewise.
517 (update_imm): Likewise.
518 (finalize_imm): Likewise.
519 (process_operands): Likewise.
520 (build_modrm_byte): Likewise.
521 (i386_immediate): Likewise.
522 (i386_displacement): Likewise.
523 (i386_index_check): Likewise.
524 (i386_operand): Likewise.
525 (i386_target_format): Likewise.
526 (intel_e11): Likewise.
527 (operand_type): Remove implicitregister.
528 (operand_type_check): Updated. Inline.
529 (cpu_flags_all_zero): Removed.
530 (operand_type_all_zero): Likewise.
531 (i386_array_biop): Likewise.
532 (cpu_flags_biop): Likewise.
533 (operand_type_biop): Likewise.
534
33169993
L
5352007-09-08 H.J. Lu <hongjiu.lu@intel.com>
536
537 * Makefile.am: Run "make dep-am".
538 * Makefile.in: Regenerate.
539
40fb9820
L
5402007-09-08 H.J. Lu <hongjiu.lu@intel.com>
541
542 * configure.in (AC_CHECK_HEADERS): Add limits.h.
543 * configure: Regenerated.
544 * config.in: Likewise.
545
546 * config/tc-i386.c: Include "opcodes/i386-init.h".
547 (_i386_insn): Use i386_operand_type for types.
548 (cpu_arch_flags): Updated to new types with bitfield.
549 (cpu_arch_tune_flags): Likewise.
550 (cpu_arch_isa_flags): Likewise.
551 (cpu_arch): Likewise.
552 (i386_align_code): Likewise.
553 (set_code_flag): Likewise.
554 (set_16bit_gcc_code_flag): Likewise.
555 (set_cpu_arch): Likewise.
556 (md_assemble): Likewise.
557 (parse_insn): Likewise.
558 (process_operands): Likewise.
559 (output_branch): Likewise.
560 (output_jump): Likewise.
561 (parse_real_register): Likewise.
562 (mode_from_disp_size): Likewise.
563 (smallest_imm_type): Likewise.
564 (pi): Likewise.
565 (type_names): Likewise.
566 (pt): Likewise.
567 (pte): Likewise.
568 (swap_2_operands): Likewise.
569 (optimize_imm): Likewise.
570 (optimize_disp): Likewise.
571 (match_template): Likewise.
572 (check_string): Likewise.
573 (process_suffix): Likewise.
574 (check_byte_reg): Likewise.
575 (check_long_reg): Likewise.
576 (check_qword_reg): Likewise.
577 (check_word_reg): Likewise.
578 (finalize_imm): Likewise.
579 (build_modrm_byte): Likewise.
580 (output_insn): Likewise.
581 (disp_size): Likewise.
582 (imm_size): Likewise.
583 (output_disp): Likewise.
584 (output_imm): Likewise.
585 (gotrel): Likewise.
586 (i386_immediate): Likewise.
587 (i386_displacement): Likewise.
588 (i386_index_check): Likewise.
589 (i386_operand): Likewise.
590 (parse_real_register): Likewise.
591 (i386_intel_operand): Likewise.
592 (intel_e09): Likewise.
593 (intel_bracket_expr): Likewise.
594 (intel_e11): Likewise.
595 (cpu_arch_flags_not): New.
596 (cpu_flags_check_x64): Likewise.
597 (cpu_flags_all_zero): Likewise.
598 (cpu_flags_not): Likewise.
599 (i386_cpu_flags_biop): Likewise.
600 (cpu_flags_biop): Likewise.
601 (cpu_flags_match); Likewise.
602 (acc32): New.
603 (acc64): Likewise.
604 (control): Likewise.
605 (reg16_inoutportreg): Likewise.
606 (disp16): Likewise.
607 (disp32): Likewise.
608 (disp32s): Likewise.
609 (disp16_32): Likewise.
610 (anydisp): Likewise.
611 (baseindex): Likewise.
612 (regxmm): Likewise.
613 (imm8): Likewise.
614 (imm8s): Likewise.
615 (imm16): Likewise.
616 (imm32): Likewise.
617 (imm32s): Likewise.
618 (imm64): Likewise.
619 (imm16_32): Likewise.
620 (imm16_32s): Likewise.
621 (imm16_32_32s): Likewise.
622 (operand_type): Likewise.
623 (operand_type_check): Likewise.
624 (operand_type_match): Likewise.
625 (operand_type_register_match): Likewise.
626 (update_imm): Likewise.
627 (set_code_flag): Also update cpu_arch_flags_not.
628 (set_16bit_gcc_code_flag): Likewise.
629 (md_begin): Likewise.
630 (parse_insn): Use cpu_flags_check_x64 to check 64bit support.
631 Use cpu_flags_match to match instructions.
632 (i386_target_format): Update cpu_arch_isa_flags and
633 cpu_arch_tune_flags to i386_cpu_flags type with bitfield.
634 (smallest_imm_type): Check cpu_arch_tune to tune for i486.
635 (match_template): Don't initialize overlap0, overlap1,
636 overlap2, overlap3 and operand_types.
637 (process_suffix): Handle crc32 with 64bit register.
638 (MATCH): Removed.
639 (CONSISTENT_REGISTER_MATCH): Likewise.
640
641 * config/tc-i386.h (arch_entry): Updated to i386_cpu_flags
642 type.
643
26186d74
L
6442007-09-06 H.J. Lu <hongjiu.lu@intel.com>
645
646 * config/tc-i386.c (match_template): Handle invlpga, vmload,
647 vmrun and vmsave in SVME.
648 (process_suffix): Likewise.
649
d946b91f
L
6502007-09-05 H.J. Lu <hongjiu.lu@intel.com>
651
652 * config/tc-i386.c (i386_index_check): Don't use RegRex
653 on the reg_type field.
654 (parse_real_register): Use `||' instead of `|'.
655
75178d9d
L
6562007-09-04 H.J. Lu <hongjiu.lu@intel.com>
657
658 * config/tc-i386.c (process_operands): Remove segment override
659 check on SVME instructions.
8aa20f82 660 (i386_index_check): Remove memory operand check on SVME
75178d9d
L
661 instructions.
662
7bc3e93c
AM
6632007-09-04 Alan Modra <amodra@bigpond.net.au>
664
665 * config/tc-spu.c (struct spu_insn): Delete "flag". Add "reloc".
666 (md_assemble): Update init of insn. Use insn.reloc instead of
667 calculating from flag.
668 (get_imm): Set reloc rather than flag.
669 (calcop): Formatting.
670
851feff8
DJ
6712007-08-29 Daniel Jacobowitz <dan@codesourcery.com>
672
673 * dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives.
674
ec744b67
DJ
6752007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
676
677 * doc/c-arc.texi: Fix typo.
678
d9a5e5e5
L
6792007-08-28 H.J. Lu <hongjiu.lu@intel.com>
680
681 * config/tc-i386.c (process_suffix): Handle cmpxchg8b in
682 Intel mode.
683
def8fc92
KH
6842007-08-28 Nathan Sidwell <nathan@codesourcery.com>
685
686 * config/tc-m68k.c (mcf52235_ctrl): Add cache registers.
687 (mcf5253_ctrl): Add RAMBAR, MBAR, MBAR2.
688 (mcf5407_ctrl): New.
689 (m68k_cpus): Adjust 5407 entry.
690
f75192f2
KH
6912007-08-28 Maxim Kuvyrkov <maxim@codesourcery.com>
692
693 * config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers.
694 (m68k_cpus): Define 51QE cpu.
695
7f6a71ff 6962007-08-28 Mark Shinwell <shinwell@codesourcery.com>
d9a5e5e5 697 Joseph Myers <joseph@codesourcery.com>
7f6a71ff
JM
698
699 * as.c (main): Flush stderr before printing listings to ensure
700 consistent output order across platforms.
701
0b3e17e9
NC
7022007-08-28 Robert Sebastian Gerus <arachnist@gmail.com>
703
704 * configure.tgt: Add support for i[3-7]86-*-dragonfly*.
705
3d6b762c 7062007-08-24 Joseph Myers <joseph@codesourcery.com>
d9a5e5e5 707 Paul Brook <paul@codesourcery.com>
3d6b762c
JM
708
709 * remap.c: New.
710 * as.h (remap_debug_filename, add_debug_prefix_map): Declare.
711 * as.c (show_usage): Document --debug-prefix-map option.
712 (parse_args): Handle --debug-prefix-map.
713 * dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths.
714 * stabs.c (stabs_generate_asm_file): Remap debug paths.
715 * Makefile.am (GAS_CFILES): Add remap.c
716 (GENERIC_OBJS): Add remap.o.
717 Regenerate dependencies.
718 * Makefile.in: Regenerate.
719 * doc/as.texinfo (--debug-prefix-map): Document.
720
495bde8e
DJ
7212007-08-24 Aurelien Jarno <aurel32@debian.org>
722
723 * config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long
724 before printing them.
725
67c11a9b
AM
7262007-08-24 Anders Waldenborg <anders@0x63.nu>
727 Alan Modra <amodra@bigpond.net.au>
728
729 * config/tc-i386.c (lex_got): Don't scan past a comma.
730
c3d65c1c
BE
7312007-08-23 Ben Elliston <bje@au.ibm.com>
732
733 * config/tc-ppc.c (parse_cpu): Handle "750cl".
734 (pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7".
735 (md_show_usage): Document -m750cl.
736 (md_assemble): Handle two delimiters in succession (eg. `),').
737 * doc/c-ppc.texi (PowerPC-Opts): Document -m750cl.
738 * testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests.
739 * testsuite/gas/ppc/ppc750ps.s: New file.
740 * testsuite/gas/ppc/ppc750ps.d: Likewise.
741
f467aa98
BE
7422007-08-23 Ben Elliston <bje@au.ibm.com>
743
744 * doc/c-arm.texi (ARM Directives): Move brackets out of @vars.
745
3992d3b7
AM
7462007-08-17 Alan Modra <amodra@bigpond.net.au>
747
748 PR gas/4079
749 * config/tc-i386.c (x86_cons): Complain about invalid @got etc.
750 expressions.
751 (i386_immediate): Detect and complain about more cases of
752 invalid immediate expressions. Return failure rather than
753 converting them to zero.
754 (i386_displacement): Likewise.
755
e9f27433
AM
7562007-08-17 Alan Modra <amodra@bigpond.net.au>
757
758 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
759
cf738528
AS
7602007-08-14 Andreas Schwab <schwab@suse.de>
761
762 * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
763 unrepresentable.
764
9975e4c4
DJ
7652007-08-12 Matthias Klose <doko@ubuntu.com>
766
767 * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
768 $(top_srcdir)/../../bfd/doc.
769 * doc/Makefile.in: Regenerate.
770
7c3d153f
NC
7712007-08-10 Nick Clifton <nickc@redhat.com>
772
773 * NEWS: Add a marker for the 2.18 features.
774
4396b686
PB
7752007-08-09 Paul Brook <paul@codesourcery.com>
776
777 * config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment.
778
c3ad16c0
L
7792007-08-09 H.J. Lu <hongjiu.lu@intel.com>
780
781 * config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb.
782
34828aad
L
7832007-07-29 H.J. Lu <hongjiu.lu@intel.com>
784
785 * config/tc-i386.c (check_long_reg): Allow cvtss2si to convert
786 DWORD memory to Reg64 in Intel synax.
787 (check_qword_reg): Allow cvtsd2si to convert QWORD memory to
788 Reg32 in Intel syntax.
789
d12f9798
BW
7902007-07-25 Sterling Augustine <sterling@tensilica.com>
791
792 * config/tc-xtensa.c (xtensa_extui_opcode): New.
793 (xg_expand_assembly_insn): Check for invalid extui operands.
794 (md_begin): Initialize xtensa_extui_opcode.
795
9ce0cf56
NC
7962007-07-24 Nick Clifton <nickc@redhat.com>
797
798 * config/tc-mep.h (skip_whitespace): Remove definition.
799
76bc74dc
L
8002007-07-23 H.J. Lu <hongjiu.lu@intel.com>
801
802 * config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386.
803 (f32_15): Removed.
804 (jump_31): New.
805 (f32_patt): Remove f32_15.
806 (f16_patt): Likewise.
807 (i386_align_code): Updated to alt_long_patt for 64bit by
808 default.
809
810 * config/tc-i386.h (processor_type): Add PROCESSOR_I386.
811
8122007-07-23 Evandro Menezes <evandro.menezes@amd.com>
813
814 * config/tc-i386.c (i386_align_code): Enable alignment up to
815 MAX_MEM_FOR_RS_ALIGN_CODE bytes. Remove special treatment
816 for K8.
817
e6529493
L
818 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to 31.
819
fc5910c0
NC
8202007-07-20 Nick Clifton <nickc@redhat.com>
821
822 * app.c (do_scrub_chars): Provide a one character buffer to hold a
823 pushed back newline at the end of an unterminated quoted string.
824
d929913e
NC
8252007-07-14 Nick Clifton <nickc@redhat.com>
826
827 * config/tc-arm.c (create_register_alias): Return a boolean rather
828 than an integer.
829 Check the return value of insert_reg_alias and do not continue to
830 create aliases once an insertion has failed.
831 (s_unreq): Delete the all-upper-case and all-lower-case
832 alternatives as well.
833
d2df793a
NC
8342007-07-12 Kai Tietz <kai.tietz@onevision.com>
835
836 * symbols.c: Print bfd_hostptr_t to file via fprintf_vma.
837 * write.c: Likewise.
838
369943fe
DJ
8392007-07-11 Daniel Jacobowitz <dan@codesourcery.com>
840
841 * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
842 HAVE_64BIT_SYMBOLS.
843
0fdf1951
RS
8442007-07-04 Richard Sandiford <richard@codesourcery.com>
845
846 * config/tc-mips.c (mips_cpu_info_table): Add new entries for
847 {24k,24ke,34k,74k}f{2_1,1_1,x}. Also add an entry for 74kf3_2.
848 Deprecate *x and *fx.
849 * doc/c-mips.texi: Document the new CPU arguments. Deprecate
850 *x and *fx.
851
872ce6ff
L
8522007-07-04 H.J. Lu <hongjiu.lu@intel.com>
853
854 * config/obj-coff.h (x86_64_target_format): Renamed to ...
855 (i386_target_format): This
856 (TARGET_FORMAT): Use i386_target_format.
857
858 * config/tc-i386.c (x86_64_target_format): Removed.
859 (i386_target_format): Handle PE formats.
860
1a412f5f
NC
8612007-07-04 Nick Clifton <nickc@redhat.com>
862
863 * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order
864 to get the right length of printed value.
865
ec2655a6
NC
8662007-07-03 Nick Clifton <nickc@redhat.com>
867
868 * COPYING: Replace with GPLv3 text.
869 * app.c: Update copyright notice to refer to GPLv3.
870 * as.c, as.h, asintl.h, atof_generic.c, bignum.h, bit_fix.h,
871 cgen.c, cond.c, debug.c, depend.c, dw2gencfi.c, dw2gencfi.h,
872 dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, emul.h,
873 emul_target.h, expr.c, expr.h, flonum-copy.c, flonum.h,
874 flonum-konst.c, frags.c, frags.h, hash.c, hash.h, input-file.c,
875 input-file.h, input-scrub.c, ibtl-lex.h, itbl-lex.l, itbl-ops.c,
876 itbl-ops.h, itbl-parse.y, listing.c, listing.h, literal.c,
877 macro.c, messages.c, obj.h, output-file.c, output-file.h, read.c,
878 read.h, sb.c, sb,h, stabs.c, struc-symbol.h, subsegs.c, subsegs.h,
879 symbols.c, symbols.h, tc.h, write.c, write.h, config/aout_gnu.h,
880 config/config/atof-ieee.c, config/atof-vax.c, config/bfin-aux.h,
881 config/bfin-defs.h, config/bfin-lex.l, config/bfin-parse.y,
882 config/itbl-mips.h, config/m68k-parse.h, config/m68k-parse.y,
883 config/obj-aout.c, config/obj-aout.h, config/obj-coff.c,
884 config/obj-coff.h, config/obj-ecoff.c, config/obj-ecoff.h,
885 config/obj-elf.c, config/obj-elf.h, config/obj-evax.c,
886 config/obj-evax.h, config/obj-multi.h, config/obj-som.c,
887 config/obj-som.h, config/tc-alpha.c, config/tc-alpha.h,
888 config/tc-arc.c, config/tc-arc.h, config/tc-arm.c,
889 config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
890 config/tc-bfin.c, config/tc-bfin.h, config/tc-cr16.c,
891 config/tc-cr16.h, config/tc-cris.c, config/tc-cris.h,
892 config/tc-crx.c, config/tc-crx.h, config/tc-d10v.c,
893 config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
894 config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c,
895 config/tc-fr30.h, config/tc-frv.c, config/tc-frv.h,
896 config/tc-generic.c, config/tc-generic.h, config/tc-h8300.c,
897 config/tc-h8300.h, config/tc-hppa.c, config/tc-hppa.h,
898 config/tc-i370.c, config/tc-i370.h, config/tc-i386.c,
899 config/tc-i386.h, config/tc-i860.c, config/tc-i860.h,
900 config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c,
901 config/tc-ia64.h, config/tc-ip2k.c, config/tc-ip2k.h,
902 config/tc-iq2000.c, config/tc-iq2000.h, config/tc-m32c.c,
903 config/tc-m32c.h, config/tc-m32r.c, config/tc-m32r.h,
904 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
905 config/tc-m68k.h, config/tc-maxq.c, config/tc-maxq.h,
906 config/tc-mcore.c, config/tc-mcore.h, config/tc-mep.c,
907 config/tc-mep.h, config/tc-mips.c, config/tc-mips.h,
908 config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
909 config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
910 config/tc-msp430.c, config/tc-msp430.h, config/tc-mt.c,
911 config/tc-mt.h, config/tc-ns32k.c, config/tc-ms32k.h,
912 config/tc-openrisc.c, config/tc-openrisc.h, config/tc-or32.c,
913 config/tc-or32.h, config/tc-pdp11.c, config/tc-pdp11.h,
914 config/tc-pj.c, config/tc-pj.h, config/tc-ppc.c, config/tc-ppc.h,
915 config/tc-s390.c, config/tc-s390.h, config/tc-score.c,
916 config/tc-score.h, config/tc-sh64.c, config/tc-sh64.h,
917 config/tc-sh.c, config/tc-sh.h, config/tc-sparc.c,
918 config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
919 config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
920 config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
921 config/tc-v850.c, config/tc-v850.h, config/tc-vax.c,
922 config/tc-vax.h, config/tc-xc16x.c, config/tc-x16x.h,
923 config/tc-xstormy16.c, config/tc-xstormy16.h, config/tc-xtensa.c,
924 config/tc-xtensa.h, config/tc-z80.c, config/tc-z80.h,
925 config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
926 config/te-freebsd.h, config/te-hppa.h, config/te-irix.h,
927 config/te-netware.h, config/te-sparcaout.h, config/te-tmips.h,
928 config/te-vxworks.h, config/vax-inst.h, config/xtensa-istack.h,
929 config/xtensa-relax.c, config/xtensa-relax.h: Likewise.
930
931 * flonum-mult.c: Likewise, and also correct typo referring to
932 non-existant GNU Assembler General Public License.
933 * config/tc-m68851.h: Likewise.
934 * NEWS: Mention the new license. Also note where the 2.17 release
935 happened.
936 * config/e-crisaout.c: Add copyright header.
937 * config/e-criself.c, config/e-i386aout.c, config/e-i386coff.c,
938 config/e-i386elf.c, config/e-mipscoff.c, config/e-mipself.c,
939 config/obj-multi.c, config/te-aix5.h, config/te-armeabi.h,
940 config/te-armlinuxeabi.h, config/te-dynix.h, config/te-epoc-pe.h,
941 config/te-generic.h, config/te-gnu.h, config/te-go32.h,
942 config/te-hppa64.h, config/te-hppalinux64.h, config/te-hpux.h,
943 config/te-i386aix.h, config/te-ia64aix.h, config/te-interix.h,
944 config/te-linux.h, config/te-lnews.h, config/te-lynx.h,
945 config/te-mach.h, config/te-macos.h, config/te-nbsd532.h,
946 config/te-nbsd.h, config/te-pc532mach.h, config/te-pe.h,
947 config/te-pep.h, config/te-psos.h, config/te-riscix.h,
948 config/te-sun3.h, config/te-svr4.h, config/te-symbian.h,
949 config/te-wince-pe.h: Likewise.
950
afa2158f
NS
9512007-07-03 Nathan Sidwell <nathan@codesourcery.com>
952
953 * config/tc-m68k.c (m68k_ip): Add j & K operand types.
954 (install_operand): Add E encoding.
955 (md_begin): Check and skip initial '.' arg character.
956 (get_num): Add 0..511 case.
957
ae4a729b
AM
9582007-07-03 Alan Modra <amodra@bigpond.net.au>
959
960 PR 4713
961 * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF.
962 * config/obj-elf.h (obj_ecoff_set_ext): Comment.
963
df816087
AM
9642007-07-03 Mikkel Lauritsen <renard@nospam.dk>
965
966 PR 4722
967 * app.c (do_scrub_chars <state 5>): Check for output buffer full
968 after memcpy.
969
741d6ea8
JM
9702007-07-02 Joseph Myers <joseph@codesourcery.com>
971
972 * config/tc-mips.c (s_dtprelword, s_dtpreldword,
973 s_dtprel_internal): New.
974 (mips_pseudo_table): Add .dtprelword and .dtpreldword.
975 (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and
976 BFD_RELOC_MIPS_TLS_DTPREL64.
977
ae351704
AM
9782007-07-02 Alan Modra <amodra@bigpond.net.au>
979
980 * Makefile.am: Run "make dep-am".
981 * Makefile.in: Regenerate.
982 * aclocal.m4: Regenerate.
983 * config.in: Regenerate.
984 * doc/Makefile.in: Regenerate.
985 * po/POTFILES.in: Regenerate.
986 * po/gas.pot: Regenerate.
987
8d452c78
AM
9882007-07-02 Alan Modra <amodra@bigpond.net.au>
989
990 * config/tc-ppc.c (ppc_pe_section): Comment out code assigning
991 coff section flag values to bfd section flag.
992
86b57e31
L
9932007-06-30 H.J. Lu <hongjiu.lu@intel.com>
994
995 * aclocal.m4: Regenerated.
996 * doc/Makefile.in: Likewise.
997 * Makefile.in: Likewise.
998
7ace4e4c
JM
9992007-06-29 Joseph Myers <joseph@codesourcery.com>
1000
1001 * as.c (main): Only call create_obj_attrs_section if IS_ELF.
1002
104d59d1
JM
10032007-06-29 Joseph Myers <joseph@codesourcery.com>
1004
1005 * as.c (create_obj_attrs_section): New.
1006 (main): Call create_obj_attrs_section for ELF.
1007 * read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
1008 skip_past_comma, s_vendor_attribute): New.
1009 (potable): Add gnu_attribute for ELF.
1010 * read.h (s_vendor_attribute): Declare.
1011 * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
1012 round s_vendor_attribute.
1013 (aeabi_set_public_attributes): Update for new attributes
1014 interfaces.
1015 (arm_md_end): Remove attributes contents setting now done
1016 generically.
1017
3d3d428f
NC
10182007-06-29 M R Swami Reddy <MR.Swami.Redd@nsc.com>
1019
1020 * Makefile.am: Add CR16 related entry.
1021 * Makefile.in: Regenerate.
1022 * config/tc-cr16.h: New file
1023 * config/tc-cr16.c: New file
1024 * doc/c-cr16.texi: New file for cr16
1025 * doc/all.texi: Entry for cr16
1026 * doc/Makefile.am: Added c-cr16.texi
1027 * doc/Makefile.in: Regenerate
1028 * doc/as.texinfo: Entry for CR16 target
1029 * NEWS: Announce the support for the new target.
1030
cd2cf30b
PB
10312007-06-26 Paul Brook <paul@codesourcery.com>
1032
1033 * config/tc-arm.c (parse_operands): Accept generic coprocessor regs
1034 for OP_RVC.
1035 (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1.
1036
5f15756d
L
10372007-06-25 H.J. Lu <hongjiu.lu@intel.com>
1038
1039 * config/tc-i386.c (process_operands): Replace regKludge
1040 with RegKludge.
1041
b314ec0e
RS
10422007-06-25 Richard Sandiford <richard@codesourcery.com>
1043
1044 * config/tc-mips.h (TC_SYMFIELD_TYPE): New.
1045 * config/tc-mips.c (append_insn): Record which symbols have
1046 R_MIPS16_26 relocations against them.
1047 (mips_fix_adjustable): Don't reduce relocations against such symbols.
1048
b81bf389
BW
10492007-06-22 Sterling Augustine <sterling@tensilica.com>
1050
1051 * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules.
1052 (frag_format_size): Handle RELAX_IMMED_STEP3.
1053 (xtensa_relax_frag, md_convert_frag): Likewise.
1054 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3.
1055 (RELAX_IMMED_MAXSTEPS): Adjust.
1056 * config/xtensa-relax.c (widen_spec_list): Add transitions from
1057 wide branches to branch-over-jumps.
1058 (build_transition): Handle wide branches in transition patterns.
1059
e205caa7
L
10602007-06-22 H.J. Lu <hongjiu.lu@intel.com>
1061
1062 * config/tc-i386.c (disp_size): New.
1063 (imm_size): Likewise.
1064 (output_disp): Use disp_size and imm_size.
1065 (output_imm): Use imm_size.
1066
c48aaca0
BW
10672007-06-19 Sterling Augustine <sterling@tensilica.com>
1068
1069 * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
1070 use of literal_frag field.
1071 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag
1072 in the literal_frag field.
1073 (xtensa_move_literals): Use it here instead of searching. Update
1074 literal_frag field with new value.
1075
728ca7c9
PB
10762007-06-14 Paul Brook <paul@codesourcery.com>
1077
1078 * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and
1079 narrow shift by immediate.
1080
79887925
L
10812007-06-14 H.J. Lu <hongjiu.lu@intel.com>
1082
1083 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
1084
1085 * acinclude.m4: Don't include m4 files.
1086 (BFD_BINARY_FOPEN): Removed.
1087 Remove libtool kludge.
1088
1089 * Makefile.in: Regenerated.
1090 * doc/Makefile.in: Likewise.
1091 * aclocal.m4: Likewise.
1092 * configure: Likewise.
1093
99ded152
BW
10942007-06-11 Sterling Augustine <sterling@tensilica.com>
1095 Bob Wilson <bob.wilson@acm.org>
1096
1097 * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
1098 (XTENSA_PROP_NO_TRANSFORM): ...this.
1099 (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
1100 (xtensa_mark_frags_for_org): New.
1101 (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
1102 (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
1103 (get_frag_property_flags): Adjust reference to is_no_transform flag.
1104 (xtensa_frag_flags_combinable): Likewise.
1105 (frag_flags_to_number): Likewise. Use XTENSA_PROP_NO_TRANSFORM.
1106 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
1107
dce323d1
PB
11082007-06-06 Paul Brook <paul@codesourcery.com>
1109
1110 * config/tc-arm.c (s_align): Pad code sections appropriately.
1111
79d49516
PB
11122007-06-05 Paul Brook <paul@codesourcery.com>
1113
1114 * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.
1115
dfeb0666
NC
11162007-06-05 Nick Clifton <nickc@redhat.com>
1117
1118 PR gas/4587
1119 * config/tc-sparc.c (sparc_ip): Terminate tls_ops array.
1120
353ab861
AM
11212007-06-05 Alan Modra <amodra@bigpond.net.au>
1122
1123 * config/tc-spu.c (spu_cons): Use deferred_expression. Handle
1124 number@ppu.
1125 (tc_gen_reloc): Abort if neither addsy or subsy is set.
1126 (md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
1127 * config/tc-spu.h (md_operand): Handle @ppu without sym.
1128
91568d08
PB
11292007-05-31 Paul Brook <paul@codesourcery.com>
1130
1131 * config/tc-arm.c (insns): Allow strex on M profile cores.
1132
c699f087
JJ
11332007-05-29 David S. Miller <davem@davemloft.net>
1134 Jakub Jelinek <jakub@redhat.com>
1135
1136 PR gas/4558
1137 * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
1138 for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.
1139
945370aa
AM
11402007-05-29 Alan Modra <amodra@bigpond.net.au>
1141
1142 * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros.
1143
98027b10
AM
11442007-05-29 Alan Modra <amodra@bigpond.net.au>
1145
1146 * config/tc-ppc.c: Convert to ISO C.
1147 * config/tc-ppc.c: Likewise.
1148
a32b816e
AM
11492007-05-29 Alan Modra <amodra@bigpond.net.au>
1150
1151 * write.h (EXEC_MACHINE_TYPE): Delete.
1152 (string_byte_count, section_alignment): Delete.
1153
1740b7b1
NS
11542007-05-28 Nathan Sidwell <nathan@codesourcery.com>
1155
1156 * app.c (do_scrub_chars): Cope with \ at end of buffer.
1157
a1867a27
AM
11582007-05-26 Alan Modra <amodra@bigpond.net.au>
1159
1160 * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
1161 top 32 bits of 64 bit value if so doing results in passing
1162 range check. Rewrite sign extension fudges similarly. Enable
1163 fudges for powerpc64 too. Report user value if range check
1164 fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE
1165 range rather than value, also to report user value on failure.
1166
efd81785
PB
11672007-03-25 Paul Brook <paul@codesourcery.com>
1168
1169 * config/tc-arm.c (T2_SUBS_PC_LR): Define.
1170 (do_t_add_sub): Correctly encode subs pc, lr, #const.
1171 (do_t_mov_cmp): Correctly encode movs pc, lr.
1172
37ad9514
SE
11732007-05-24 Steve Ellcey <sje@cup.hp.com>
1174
1175 * Makefile.in: Regnerate.
1176 * configure: Regenerate.
1177 * aclocal.m4: Regenerate.
1178 * doc/Makefile.in: Regenerate.
1179
4c8d1ad4
BW
11802007-05-22 Bob Wilson <bob.wilson@acm.org>
1181
1182 * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
1183 and index entries about automatic alignment of ENTRY instructions.
1184
0e9517a9
NC
11852007-05-22 Nick Clifton <nickc@redhat.com>
1186
1187 * doc/as.texinfo: Use @copying around the copyright notice.
1188
e6559e01
JM
11892007-05-18 Joseph Myers <joseph@codesourcery.com>
1190
1191 * config/tc-mips.c (s_mipsset): Use generic s_set for directives
1192 containing a comma.
1193
4b7d318b
L
11942007-05-17 H.J. Lu <hongjiu.lu@intel.com>
1195
1196 PR gas/4517
1197 2003-06-05 Michal Ludvig <mludvig@suse.cz>
5d14452b 1198 * doc/as.texinfo: Document new directives: .cfi_restore,
4b7d318b
L
1199 .cfi_undefined, .cfi_same_value, .cfi_return_column,
1200 .cfi_remember_state and .cfi_restore_state.
1201
2b878742
NS
12022007-05-17 Nathan Sidwell <nathan@codesourcery.com>
1203
1204 * config/tc-m68k.c (md_apply_fix): Show value of out of range
1205 fixups in error message.
1206 (md_conver_frag_1): Propagate the fix source location and use
1207 as_bad_where rather than fatal, for better error messages.
1208
2b744c99
PB
12092007-05-16 Paul Brook <paul@codesourcery.com>
1210
1211 * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
1212
2a676888
MS
12132007-05-15 Mark Shinwell <shinwell@codesourcery.com>
1214
1215 * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
1216
1c3f20b4
NC
12172007-05-15 Vincent Riviere <vincent.riviere@freesbee.fr>
1218
1219 PR gas/3041
1220 * config/tc-m68k.c (relaxable_symbol): Make sure that the correct
1221 addend is stored for relocs against weak symbols.
1222 (md_apply_fix): So not loose track of addend for relocs against
1223 weak symbols.
1224
24471d42
TS
12252007-05-14 Thiemo Seufer <ths@mips.com>
1226
1227 * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
1228
b0253a53
ML
12292007-05-14 Mei Ligang <ligang@sunnorth.com.cn>
1230
24471d42
TS
1231 * config/tc-score.c (data_op2, validate_immediate): Fix bug for
1232 addri, addri.c, subi, and subi.c when immediate number is hex.
b0253a53
ML
1233 (score_insns): Remove subis and subis.c.
1234 (do_sub_rdi16): Delete.
1235
ece5ef60
AM
12362007-05-11 Alan Modra <amodra@bigpond.net.au>
1237
1238 * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call
1239 spu_cons for word.
1240 (md_assemble): Tidy use of insn.flag.
1241 (get_imm): Likewise. Handle uppercase input too.
1242 (spu_cons): New function.
1243 * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
1244 (TC_FORCE_RELOCATION): Don't resolve them either.
1245
f9d4405b
MS
12462007-05-05 Mark Shinwell <shinwell@codesourcery.com>
1247
1248 * config/tc-arm.c (md_apply_fix): Generate more accurate
1249 diagnostic when 8-bit immediate range is exceeded for
1250 BFD_RELOC_ARM_OFFSET_IMM8.
1251
0787a12d
AM
12522007-05-04 Alan Modra <amodra@bigpond.net.au>
1253
1254 PR gas/4460
1255 * config/tc-i386.c (lex_got): Don't replace the reloc token with
1256 a space if we already have a space.
1257
20592a94
L
12582007-05-03 H.J. Lu <hongjiu.lu@intel.com>
1259
1260 * config/tc-i386.c (match_template): Don't explicitly check
1261 suffix for crc32 in Intel mode.
1262 (process_suffix): Issue an error for crc32 if the operand size
1263 is ambiguous.
1264
22184a77
NC
12652007-05-03 Vincent Riviere <vincent.riviere@freesbee.fr>
1266 Nick Clifton <nickc@redhat.com>
1267
1268 PR gas/3041
1269 * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
1270 (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
1271 (md_apply_fix): Put zero values into the frags referencing weak
1272 symbols.
1273
3896c469
AM
12742007-05-02 Alan Modra <amodra@bigpond.net.au>
1275
1276 PR 4448
1277 * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
1278 PPC_OPERAND_PLUS1.
1279
9344ff29
L
12802007-05-01 H.J. Lu <hongjiu.lu@intel.com>
1281
1282 * config/tc-i386.c (match_template): Check suffix for crc32 in
1283 Intel mdoe.
1284 (process_suffix): Default the suffix of 8bit crc32 to
1285 BYTE_MNEM_SUFFIX.
1286 (check_byte_reg): Skip check for 8bit crc32.
1287
a540244d
L
12882007-04-30 H.J. Lu <hongjiu.lu@intel.com>
1289
1290 * config/tc-i386.c (md_assemble): Use register_prefix in
1291 error/warning message.
1292 (check_byte_reg): Likewise.
1293 (check_long_reg): Likewise.
1294 (check_qword_reg): Likewise.
1295 (check_word_reg): Likewise.
1296 (process_operands): Likewise.
1297
eb42fac1
AM
12982007-04-30 Alan Modra <amodra@bigpond.net.au>
1299
1300 PR 4436
1301 * config/tc-ppc.c (ppc_insert_operand): Disable range check if
1302 min > max.
1303
02ffd3e4
TS
13042007-04-28 Thiemo Seufer <ths@networkno.de>
1305
1306 * config/tc-mips.c: Fix comment.
1307
8eb2af8e
DC
13082007-04-26 Anatoly Sokolov <aesok@post.ru>
1309
1310 * config/tc-avr.c (mcu_types): Add support for atmega8hva and
1311 atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
1312 * doc/c-avr.texi: Document new devices.
1313
6d0f4cb4
AM
13142007-04-24 Alan Modra <amodra@bigpond.net.au>
1315
1316 * Makefile.am: Run "make dep-am".
1317 * Makefile.in: Regenerate.
1318
9a2e615a
NS
13192007-04-23 Nathan Sidwell <nathan@codesourcery.com>
1320
1321 * config/tc-m68k.c (mcf54455_ctrl): New.
1322 (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
1323 (m68k_archs): Add isac.
1324 (m68k_cpus): Add 54455 family.
1325 (m68k_ip): Split Bg into Bb, Bs, Bg.
1326 (m68k_elf_final_processing): Add ISA_C.
1327 * doc/c-m68k.texi (M680x0 Options): Add isac.
1328
d2bdaea8
AM
13292007-04-22 Alan Modra <amodra@bigpond.net.au>
1330
1331 * read.c (read_a_source_file): Skip multiple spaces to
1332 cover hack in mmix md_start_line_hook which overwrites a
1333 colon with a space. Delete sermon and needless assertion.
1334
541d2ffd
AM
13352007-04-21 Alan Modra <amodra@bigpond.net.au>
1336
1337 * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
1338 (md_atof): Make number_of_chars unsigned. Revert last change.
1339 * config/tc-or32.c (md_apply_fix): Delete bogus assertions.
1340 * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
1341 * config/tc-sh.h (md_optimize_expr): Likewise.
1342 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
1343 assertion.
1344 * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
1345
c13781b8
NC
13462007-04-21 Nick Clifton <nickc@redhat.com>
1347
2523cd0a
NC
1348 * config/atof-vax.c (md_atof): Fix comparison inside know().
1349
c13781b8
NC
1350 * config/tc-ia64.c (emit_one_bundle): Fix typo.
1351
c43a438d
AM
13522007-04-21 Alan Modra <amodra@bigpond.net.au>
1353
db557034
AM
1354 * expr.c (expr): Assert on rankarg, not rank which can be unsigned.
1355 * read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
1356 Don't skip over NUL char.
1357 (pseudo_set): Set X_op for registers to O_register.
1358 * symbols.c (symbol_clone): Remove assertion that sym is defined.
1359 (resolve_symbol_value): Resolve O_register symbols.
1360 * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
1361 Instead find st(0) by hash lookup.
1362 * config/tc-ppc.c (ppc_macro): Warning fix.
1363
c43a438d
AM
1364 * as.h (ENABLE_CHECKING): Default define to 0.
1365 (know): Assert if ENABLE_CHECKING.
1366 (struct relax_type): Remove superfluous declaration.
1367 * configure.in (--enable-checking): New.
1368 * configure: Regenerate.
1369 * config.in: Regenerate.
1370 * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
1371 Check for duplicate powerpc_operands entries.
1372
78336706
NS
13732007-04-20 Nathan Sidwell <nathan@codesourcery.com>
1374
d5be9593
NS
1375 * config/tc-m68k.c (mcf5253_ctrl): New.
1376 (mcf52223_ctrl): New.
1377 (m68k_cpus): Add 5253, 52221, 52223.
1378
78336706
NS
1379 * config/m68k-parse.h (RAMBAR_ALT): New.
1380 * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
1381 (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
1382 mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
1383 mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
1384 mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
1385 RAMBAR1.
1386 (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
1387 (m68k_cpus): Adjust 5206, 5206e & 5307 entries.
1388 (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it
1389 to control register mapping.
1390
931774a9
AM
13912007-04-20 Alan Modra <amodra@bigpond.net.au>
1392
1393 * messages.c (as_internal_value_out_of_range): Fix typo in
1394 error message. Return after printing domain error.
1395 * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
1396 in max when shifting right.
1397
b84bf58a
AM
13982007-04-20 Alan Modra <amodra@bigpond.net.au>
1399
1400 * messages.c (as_internal_value_out_of_range): Extend to report
1401 errors for values with invalid low bits set.
1402 * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
1403 fields. Check that operands and opcode fields are disjoint.
1404 (ppc_insert_operand): Check operands using mask rather than bit
1405 count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust
1406 insertion code.
1407 (md_apply_fix): Adjust for struct powerpc_operand change.
1408
076d447c
PB
14092007-04-19 Paul Brook <paul@codesourcery.com>
1410
1411 * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
1412 Thumb-1. Add sanity check for bogus relaxations.
1413
16a4cf17
PB
14142007-04-19 Paul Brook <paul@codesourcery.com>
1415
1416 * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
1417
e30daadc
AM
14182007-04-19 Alan Modra <amodra@bigpond.net.au>
1419
1420 * Makefile.am: Run "make dep-am".
1421 * Makefile.in: Regenerate.
1422
7a467a28
AM
14232007-04-19 Nathan Froyd <froydnj@codesourcery.com>
1424
1425 * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
1426
d76f7bc1
L
14272007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1428
1429 * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
1430
381d071f
L
14312007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1432
1433 * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
1434 (match_template): Handle operand size for crc32 in SSE4.2.
1435 (process_suffix): Handle operand type for crc32 in SSE4.2.
1436 (output_insn): Support SSE4.2.
1437
42903f7f
L
14382007-04-18 H.J. Lu <hongjiu.lu@intel.com>
1439
1440 * config/tc-i386.c (cpu_arch): Add .sse4.1.
1441 (process_operands): Adjust implicit operand for blendvpd,
1442 blendvps and pblendvb in SSE4.1.
1443 (output_insn): Support SSE4.1.
1444
026d3abb
PB
14452007-04-18 Paul Brook <paul@codesourcery.com>
1446
1447 * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
1448
91382b56
KK
14492007-04-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1450
1451 * config/tc-sh.c (sh_handle_align): Call as_bad_where instead
1452 of as_warn_where for misaligned data.
1453
0838d2ac
KK
14542007-04-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1455
1456 * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
1457 rs_fill frags.
1458
b7d19ba6
SE
14592007-04-14 Steve Ellcey <sje@cup.hp.com>
1460
1461 * Makefile.am: Add ACLOCAL_AMFLAGS.
1462 * Makefile.in: Regenerate.
1463
0cc34095
KK
14642007-04-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1465
1466 * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
1467 (sh_optimize_expr): Likewise.
1468 * config/tc-sh.h (md_optimize_expr): Define.
1469 (sh_optimize_expr): Prototype.
1470
6f7b6869
MT
14712007-04-06 Matt Thomas <matt@netbsd.org>
1472
1473 * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
1474 to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
1475 heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
1476
d0e8669a
KH
14772007-04-04 Kazu Hirata <kazu@codesourcery.com>
1478
1479 * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
1480
3b8d421e
PB
14812007-04-04 Paul Brook <paul@codesourcery.com>
1482
1483 * config/tc-arm.c (do_neon_ext): Enforce immediate range.
1484 (insns): Use I15 for vext.
1485
9fcfe2ed
PB
14862007-04-04 Paul Brook <paul@codesourcery.com>
1487
1488 * configure.tgt: Loosen checks for arm uclinux eabi targets.
1489
a3582eee
BW
14902007-04-02 Sterling Augustine <sterling@tensilica.com>
1491
1492 * config/tc-xtensa.c (xtensa_flush_pending_output): Check
1493 outputting_stabs_line_debug.
1494
7b60f473
DC
14952007-03-26 Anatoly Sokolov <aesok@post.ru>
1496
1497 * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
1498 at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
1499 devices.
1500 * doc/c-avr.texi: Document new devices.
1501
0c000745
RS
15022007-04-02 Richard Sandiford <richard@codesourcery.com>
1503
1504 * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
1505 * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
1506 * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
1507
c3ea6048
BW
15082007-03-30 Sterling Augustine <sterling@tensilica.com>
1509 Bob Wilson <bob.wilson@acm.org>
1510
1511 * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
1512 Do not check is_loop_target flag.
1513 (xtensa_frob_label): Adjust calls to xtensa_move_labels.
1514 (xg_assemble_vliw_tokens): Likewise. Also avoid calling
1515 xtensa_move_labels for alignment of loop opcodes.
1516
f6bee062
L
15172007-03-30 H.J. Lu <hongjiu.lu@intel.com>
1518
1519 * config/tc-i386.c (process_suffix): Reindent a bit.
1520
3c707909
PB
15212007-03-30 Paul Brook <paul@codesourcery.com>
1522
1523 * config/tc-arm.c (encode_thumb2_ldmstm): New function.
1524 (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm.
1525 (do_t_push_pop): Use encode_thumb2_ldmstm.
1526
144f4bc6
DD
15272007-03-29 DJ Delorie <dj@redhat.com>
1528
1529 * config/tc-m32c.c (rl_for, relaxable): Protect argument.
1530 (md_relax_table): Add entries for ADJNZ macros.
1531 (M32C_Macros): Add ADJNZ macros.
1532 (subtype_mappings): Add entries for ADJNZ macros.
1533 (insn_to_subtype): Check for adjnz and sbjnz insns.
1534 (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
1535 (md_convert_frag): Convert adjnz and sbjnz.
1536
e5551801
NC
15372007-03-29 Nick Clifton <nickc@redhat.com>
1538
1539 * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
1540 initialization.
1541 * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
1542 using ITBL_NUMBER_OF_PROCESSORS.
1543 * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
1544
e72cf3ec
L
15452007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 * config/tc-i386.c (build_modrm_byte): For instructions with 2
1548 register operands, encode destination in i.rm.regmem if its
1549 RegMem bit is set.
1550
4ecceb71
RS
15512007-03-28 Richard Sandiford <richard@codesourcery.com>
1552 Phil Edwards <phil@codesourcery.com>
1553
1554 * doc/as.texinfo: Put the contents after the title page rather
1555 than at the end of the document.
1556
3f9ce309
AM
15572007-03-27 Alan Modra <amodra@bigpond.net.au>
1558
1559 * NEWS: Mention ".reloc".
1560
eb6d9dce
BW
15612007-03-26 Sterling Augustine <sterling@tensilica.com>
1562
1563 * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
1564 in FLIX instructions.
1565
c96612cc
JB
15662007-03-26 Julian Brown <julian@codesourcery.com>
1567
1568 * config/tc-arm.c (arm_it): Add immisfloat field.
1569 (parse_qfloat_immediate): Disallow integer syntax for floating-point
1570 immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
1571 (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
1572 float.
1573 (neon_cmode_for_move_imm): Reject non-float immediates for float
1574 operands.
1575 (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
1576
23753660
JB
15772007-03-26 Julian Brown <julian@codesourcery.com>
1578
1579 * doc/c-arm.texi: Add documentation for .dn/.qn directives.
1580
05e9452c
AM
15812007-03-26 Alan Modra <amodra@bigpond.net.au>
1582
1583 * doc/as.texinfo (Reloc): Document.
1584 * read.c (potable): Add "reloc".
1585 (s_reloc): New function.
1586 * write.c (reloc_list): New global var.
1587 (resolve_reloc_expr_symbols): New function.
1588 (write_object_file): Call it.
1589 (write_relocs): Process reloc_list.
1590 * write.h (struct reloc_list): New.
1591 (reloc_list): Declare.
1592
1198ca51
PB
15932007-03-24 Paul Brook <paul@codesourcery.com>
1594
1595 * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
1596
b6702015
PB
15972007-03-24 Paul Brook <paul@codesourcery.com>
1598 Mark Shinwell <shinwell@codesourcery.com>
1599
1600 * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
1601 (parse_operands): Don't expect comma if first operand missing.
1602 Handle OP_oRRw.
1603 (do_srs): Encode register number, checking it is r13. Update comment.
1604 (insns): Update SRS entries to take a register.
1605
831480e9 16062007-03-23 H.J. Lu <hongjiu.lu@intel.com>
0003779b
L
1607
1608 * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
1609
738755b0
MS
16102007-03-23 Mark Shinwell <shinwell@codesourcery.com>
1611
35225157 1612 * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
738755b0
MS
1613 attempt to jump to the next instruction into NOPs.
1614
840edabd
AM
16152007-03-23 Alan Modra <amodra@bigpond.net.au>
1616
1617 * config/tc-spu.c: Don't include opcode/spu.h.
1618 (md_assemble): Set tc_fix_data.insn_tag and arg_format.
1619 (md_apply_fix): Adjust.
1620 * config/tc-spu.h: Include opcode/spu.h.
1621 (struct tc_fix_info): New.
1622 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
1623 (TC_FORCE_RELOCATION): Define.
1624
e49e529d
JM
16252007-03-22 Joseph Myers <joseph@codesourcery.com>
1626
1627 * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
1628
831480e9 16292007-03-21 H.J. Lu <hongjiu.lu@intel.com>
13a1e313
L
1630
1631 * config/tc-i386.c (process_suffix): Check 0x90 instead of
1632 xchg for xchg %rax,%rax.
1633
831480e9 16342007-03-21 H.J. Lu <hongjiu.lu@intel.com>
161a04f6
L
1635
1636 * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
1637 and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
1638
831480e9 16392007-03-21 H.J. Lu <hongjiu.lu@intel.com>
8b38ad71
L
1640
1641 PR binutils/4218
1642 * config/tc-i386.c (match_template): Properly handle 64bit mode
1643 "xchg %eax, %eax".
1644
af1c1010
NC
16452007-03-21 Anton Ertl <anton@mips.complang.tuw>
1646
1647 PR gas/4124
1648 * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
1649
1d5f2fe9
L
16502007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1651
1652 * Makefile.am: Run dep-am.
1653 * Makefile.in: Regenerated.
1654
1655 * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
1656
1657 * config/tc-i386.h: Include "opcodes/i386-opc.h".
1658 (NOP_OPCODE): Removed.
1659 (template): Likewise.
1660
5ac8f2a2
AS
16612007-03-21 Andreas Schwab <schwab@suse.de>
1662
1663 * config/tc-i386.h (NOP_OPCODE): Restore.
1664
8fb9d7b9
MS
16652007-03-18 Mark Shinwell <shinwell@codesourcery.com>
1666
1667 * config/tc-arm.c (do_mul): Don't warn about overlapping
1668 Rd and Rm operands when assembling for v6 or above.
1669 Correctly capitalize register names in the messages.
1670 (do_mlas): Likewise. Delete spurious blank line.
1671
b3768379
KH
16722007-03-16 Kazu Hirata <kazu@codesourcery.com>
1673
1674 * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
1675
c3fe08fa
L
16762007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1677
1678 * config/tc-i386.c (md_begin): Use i386_regtab_size to scan
1679 i386_regtab.
1680 (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
1681 on i386_regtab.
1682
4061927e
L
16832007-03-15 Alexandre Oliva <aoliva@redhat.com>
1684
1685 PR gas/4184
1686 * app.c (do_scrub_chars): PUT after setting states.
1687
0b1cf022
L
16882007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1689
1690 * Makefile.am: Run "make dep-am".
1691 * Makefile.in: Regenerated.
1692
1693 * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
1694 "opcode/i386.h".
1695 (md_begin): Check reg_name != NULL for the last entry in
1696 i386_regtab.
1697
1698 * config/tc-i386.h: Move many entries to opcode/i386.h and
1699 opcodes/i386-opc.h.
1700
1701 * configure.in (need_opcodes): Set true for i386.
1702 * configure: Regenerated.
1703
c428fa83
L
17042007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1705
1706 * Makefile.am (REPORT_BUGS_TO): Removed.
1707 (INCLUDES): Remove -DREPORT_BUGS_TO.
1708 * Makefile.in: Regenerated.
1709
1710 * configure.in (--with-bugurl): Removed.
1711 * configure: Regenerated.
1712
1713 * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
1714 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
1715 (TEXI2DVI): Likewise.
1716 (gasver.texi): Removed.
1717 (MOSTLYCLEANFILES): Remove gasver.texi.
1718 (as.1): Don't depend on gasver.texi.
1719 * doc/Makefile.in: Regenerated.
1720
1721 * doc/as.texi: Include bfdver.texi instead of gasver.texi.
1722
794ba86a
DJ
17232007-03-14 Daniel Jacobowitz <dan@codesourcery.com>
1724
1725 * config/tc-arm.c (arm_copy_symbol_attributes): New.
1726 * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
1727 (TC_COPY_SYMBOL_ATTRIBUTES): Define.
1728 * gas/symbols.c (copy_symbol_attributes): Use
1729 TC_COPY_SYMBOL_ATTRIBUTES.
1730
155257ea
PB
17312007-03-14 Paul Brook <paul@codesourcery.com>
1732
1733 * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
1734
d1c5f158
AM
17352007-03-14 Alan Modra <amodra@bigpond.net.au>
1736
1737 PR 4029
1738 * write.c (relax_segment): Insert extra alignment padding
1739 to break infinite relax loop when given impossible
1740 gcc_except_table assembly.
1741
8a2ed489
L
17422007-03-12 H.J. Lu <hongjiu.lu@intel.com>
1743
1744 * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
1745 on i.tm.base_opcode.
1746 (match_template): Likewise.
1747 (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
1748
1749 * config/tc-i386.h (Opcode_D): New.
1750 (Opcode_FloatR): Likewise.
1751 (Opcode_FloatD): Likewise.
1752 (D): Redefined.
1753 (W): Likewise.
1754 (FloatMF): Likewise.
1755 (FloatR): Likewise.
1756 (FloatD): Likewise.
1757
e9fc6c21
AO
17582007-03-09 Alexandre Oliva <aoliva@redhat.com>
1759
1760 * app.c (do_scrub_chars): Recognize comments after # line "file".
1761 * read.c (get_linefile_number): New.
1762 (s_app_line): Accept ill-formed .linefile lines as comments.
1763
b1b7d09b
AM
17642007-03-09 Alan Modra <amodra@bigpond.net.au>
1765
1766 * config/tc-i386.h (WORKING_DOT_WORD): Define.
1767
93e914b2
AO
17682007-03-09 Alexandre Oliva <aoliva@redhat.com>
1769
1770 * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
1771 * as.h (new_logical_line_flags): New.
1772 * input-scrub.c (new_logical_line): Turned into wrapper for...
1773 (new_logical_line_flags): this. Handle flags.
1774 * read.c (potable): Add linefile. Adjust appline argument.
1775 (s_app_file): Fake .appfiles no more.
1776 (s_app_line): For .linefile, accept file name and flags.
1777
6f12865c
AM
17782007-03-08 Alan Modra <amodra@bigpond.net.au>
1779
1780 * symbols.c (symbol_relc_make_sym): Comment typo fixes.
1781
a6d04ec4
AM
17822007-03-08 Alan Modra <amodra@bigpond.net.au>
1783
1784 * Makefile.am: Run "make dep-am".
1785 * Makefile.in: Regenerate.
1786 * po/POTFILES.in: Regenerate.
1787
ad22bfe8
JM
17882007-03-07 Joseph Myers <joseph@codesourcery.com>
1789
1790 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
1791 bug-reporting URL.
1792 * doc/Makefile.am (gasver.texi): Define BUGURL.
1793 * doc/as.texinfo: Use BUGURL.
1794 * Makefile.in, configure, doc/Makefile.in: Regenerate.
1795
b5639b37
MS
17962007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1797
1798 * config/tc-s390.c (md_parse_option): z9-ec option added.
1799
5e77afaa
PB
18002007-03-02 Paul Brook <paul@codesourcery.com>
1801
1802 * config/tc-arm.c (relax_immediate): Always return positive values.
1803 (relaxed_symbol_addr): New function.
1804 (relax_adr, relax_branch): Use it.
1805 (arm_relax_frag): Pass strect argument. Adjust infinite loop check.
1806
066c2a57
JM
18072007-03-01 Joseph Myers <joseph@codesourcery.com>
1808
1809 * as.c (parse_args): Update copyright date.
1810
ed6ba298
NS
18112007-02-28 Nathan Sidwell <nathan@codesourcery.com>
1812
1813 * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
1814
870074dd
NC
18152007-02-28 Nick Clifton <nickc@redhat.com>
1816
c5d07591
NC
1817 PR gas/3797
1818 * config/tc-d10v.c (do_assemble): Do not generate error messages,
1819 just return -1 whenever a problem is encountered.
1820 (md_assemble): If do_assemble returns -1 generate a non-fatal
1821 error message and return.
1822
870074dd
NC
1823 PR gas/2623
1824 * config/tc-msp430.c (line_separator_char): Change to '{'.
1825
fd99afa7
AM
18262007-02-27 Alan Modra <amodra@bigpond.net.au>
1827
1828 * config/tc-m68hc11.c (fixup24): Correct fixup size.
1829 (build_jump_insn): Likewise.
1830 (build_insn): Likewise.
1831 (s_m68hc11_relax): Likewise.
1832
07cb2078
AM
18332007-02-27 Alan Modra <amodra@bigpond.net.au>
1834
1835 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
1836
22b5b651
MS
18372007-02-25 Mark Shinwell <shinwell@codesourcery.com>
1838
1839 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
1840
acb02403
AM
18412007-02-23 Alan Modra <amodra@bigpond.net.au>
1842
1843 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
1844 (md_assemble): Likewise.
1845
e5435dec
AM
18462007-02-22 Alan Modra <amodra@bigpond.net.au>
1847
1848 * write.c (size_seg): Always clear SEC_RELOC here.
1849 (install_reloc): New function, extracted from..
1850 (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
1851 with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
1852 testing frag size. Set SEC_RELOC here.
1853
a1836728
AM
18542007-02-21 Alan Modra <amodra@bigpond.net.au>
1855
1856 PR 4082
1857 * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
1858
f281862d
TS
18592007-02-20 Thiemo Seufer <ths@mips.com>
1860
1861 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
1862
01fd108f
TS
18632007-02-20 Thiemo Seufer <ths@mips.com>
1864
1865 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
1866
8b082fb1
TS
18672007-02-20 Thiemo Seufer <ths@mips.com>
1868 Chao-Ying Fu <fu@mips.com>
1869
1870 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
1871 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
1872 (macro_build): Add case '2'.
1873 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
1874 (validate_mips_insn): Add support for balign instruction.
1875 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
1876 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
1877 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
1878 command line options.
1879 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
1880 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
1881 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
1882 .set dspr2, .set nodspr2.
1883
96e0bbcc
NS
18842007-02-20 Nathan Sidwell <nathan@codesourcery.com>
1885
1886 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
1887 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
1888
d31f0f6d
AM
18892007-02-18 Alan Modra <amodra@bigpond.net.au>
1890
1891 * write.c (TC_FX_SIZE_SLACK): Define.
1892 (write_relocs): Reinstate check for fixup within frag.
1893 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
1894 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
1895 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
1896 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
1897 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
1898
92f01d61
JM
18992007-02-17 Mark Mitchell <mark@codesourcery.com>
1900 Nathan Sidwell <nathan@codesourcery.com>
1901 Vladimir Prus <vladimir@codesourcery.com
1902 Joseph Myers <joseph@codesourcery.com>
1903
1904 * configure.in (--with-bugurl): New option.
1905 * configure: Regenerate.
1906 * dep-in.sed: Remove bin-bugs.h.
1907 * Makefile.am (REPORT_BUGS_TO): Define.
1908 (INCLUDES): Define REPORT_BUGS_TO.
1909 (DEP_INCLUDES): Likewise.
1910 ($(OBJS)): No longer depend on bin-bugs.h.
1911 * Makefile.in: Regenerate.
1912 * doc/Makefile.in: Regenerate.
1913 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
1914 * as.h: Remove include of bin-bugs.h.
1915
b4b24b79
AM
19162007-02-17 Alan Modra <amodra@bigpond.net.au>
1917
1918 * write.c: White space fixes.
1919 (fixup_segment): Move symbol_mri_common_p adjustments..
1920 (write_relocs): ..and symbol_equated_reloc_p adjustments..
1921 (adjust_reloc_syms): ..to here.
1922
e7ff5c73
AM
19232007-02-16 Alan Modra <amodra@bigpond.net.au>
1924
1925 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
1926 xmalloc, memset. Don't bother assigning NULL to known zero mem.
1927 (subseg_set_rest): Remove unnecessary cast.
1928 * write.c: Include libbfd.h. Replace PTR with void * throughout.
1929 Remove unnecessary forward declarations and casts.
1930 (set_symtab): Delete extern bfd_alloc.
1931 (fixup_segment): Move.
1932
a8e24a56
NS
19332007-02-15 Nathan Sidwell <nathan@codesourcery.com>
1934
1935 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
1936 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
1937 (mcf5475_ctrl, mcf5485_ctrl): New.
1938 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
1939 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
1940 (init_table): Add asid, mmubar, adjust rombar0.
1941
4eed87de
AM
19422007-02-14 Alan Modra <amodra@bigpond.net.au>
1943
1944 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
1945 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
1946 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
1947 code, and test for these insns using a combination of
1948 opcode_modifier and operand_types.
1949
7bd1c961
PB
19502007-02-07 Paul Brook <paul@codesourcery.com>
1951
5c817587 1952 * configure.tgt: Add arm*-*-uclinux-*eabi.
7bd1c961 1953
280d71bf 19542007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
1955 Richard Sandiford <rsandifo@redhat.com>
1956 DJ Delorie <dj@redhat.com>
1957 Stan Cox <scox@redhat.com>
1958 Jim Blandy <jimb@redhat.com>
1959 Nick Clifton <nickc@redhat.com>
1960 Jim Wilson <wilson@redhat.com>
1961 Frank Ch. Eigler <fche@redhat.com>
1962 Graydon Hoare <graydon@redhat.com>
1963 Ben Elliston <bje@redhat.com>
1964 John Healy <jhealy@redhat.com>
1965 Richard Henderson <rth@redhat.com>
1966
1967 * Makefile.am (CPU_TYPES): Add mep.
1968 (TARGET_CPU_CFILES): Add tc-mep.c.
1969 (TARGET_CPU_HFILES): Add tc-mep.h.
1970 (DEPTC_mep_elf): New variable.
1971 (DEPTC_mep_coff): Likewise.
1972 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
1973 * configure.in: Support mep.
1974 * configure.tgt: Likewise.
1975 * config/tc-mep.c: New file.
280d71bf
DB
1976 * config/obj-elf.c: New file.
1977 * config/tc-mep.c: New file.
1978 * config/tc-mep.h: New file.
1979 * testsuite/gas/mep: New testsuite with content.
1980 * Makefile.in: Regenerate.
1981 * configure: Regenerate.
1982
19832007-02-05 Dave Brolley <brolley@redhat.com>
1984
1985 * cgen.c (gas_cgen_install_complex_reloc): Removed.
1986 (complex_reloc_installation_howto): Removed.
1987
19882007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
1989 Graydon Hoare <graydon@redhat.com>
1990 DJ Delorie <dj@redhat.com>
1991 Catherine Moore <clm@redhat.com>
1992 Michael Chastain <chastain@redhat.com>
1993 Frank Ch. Eigler <fche@redhat.com>
280d71bf
DB
1994
1995 * symbols.c (use_complex_relocs_for): New, to decide
4948f0d4
DB
1996 when to use complex relocs. Add signed RELC support.
1997 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
1998 encode expression symbols as mangled complex relocation symbols (when
1999 compiled with -DOBJ_COMPLEX_RELOC).
2000 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
2001 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
2002 encode_addend with new args. Modify to get start, length from
2003 ifield whenever it is set. Also change condition on which
2004 self-describing relocs are encoded. Add hook into
2005 gas_cgen_encode_addend.
2006 (queue_fixup_recursively): Add signed RELC support. Change from masked
2007 expr to trunc flag. Restore assignment of sub-field value to
2008 temporary in fixups array. Reflect changed meaning of last arg to
280d71bf 2009 queue_fixup_recursively.
4948f0d4 2010 (fixup): Add cgen_maybe_multi_ifield member.
280d71bf
DB
2011 (make_right_shifted_expr): New function.
2012 (queue_fixup): Change to recursive function that fragments
2013 fixups if operand has a multi-ifield.
2014 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
2015 symbols, call weak_operand_overflow_check, and fragment call
2016 queue_fixup with operand fields.
2017 (gas_cgen_finish_insn) Modify to manage ifield pointer.
280d71bf
DB
2018 (weak_operand_overflow_check): New function to try to select
2019 insns correctly.
4948f0d4 2020 (gas_cgen_encode_addend): New function for relc.
280d71bf 2021 (gas_cgen_install_complex_reloc): Likewise.
280d71bf 2022 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
4948f0d4
DB
2023 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
2024 cgen_maybe_multi_ifield field to fx_cgen substructure.
2025 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
2026 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
2027
e110eeb7
DD
20282007-02-03 DJ Delorie <dj@delorie.com>
2029
2030 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
2031 byte relocs.
2032 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
2033 (m32c_cons_fix_new): Prototype.
2034
60242db2
BW
20352007-02-02 Bob Wilson <bob.wilson@acm.org>
2036
2037 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
2038 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
2039
bbdd25a8
BW
20402007-02-02 Bob Wilson <bob.wilson@acm.org>
2041
2042 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
2043 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
2044 (map_suffix_reloc_to_operator): New.
2045 (map_operator_to_reloc): New.
2046 (expression_maybe_register): Fix incorrect test of return value from
2047 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
2048 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
2049
9c874773
BW
20502007-02-02 Bob Wilson <bob.wilson@acm.org>
2051
2052 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
2053 (tinsn_get_tok): Delete prototype.
2054 * config/tc-xtensa.c (tinsn_get_tok): Delete.
2055
61376837
BW
20562007-02-02 Bob Wilson <bob.wilson@acm.org>
2057
2058 * config/xtensa-relax.h (struct build_instr): Delete id field.
2059 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
2060 and LABEL tokens.
2061 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
2062 set op_data fields to zero.
2063 (parse_id_constant): Delete.
2064 (build_transition): Remove code to handle numbered literals and labels.
2065
bc447904
BW
20662007-02-02 Bob Wilson <bob.wilson@acm.org>
2067
2068 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
2069 (build_transition_table): Likewise.
2070
63a7429b
BW
20712007-02-01 Bob Wilson <bob.wilson@acm.org>
2072
2073 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
2074 fx_tcbit.
2075 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
2076
20ee54e8
AM
20772007-02-02 Alan Modra <amodra@bigpond.net.au>
2078
2079 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
2080 (struct fix <fx_plt>): Rename to tcbit2.
2081 * write.c (fix_new_internal): Adjust.
2082 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
2083 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2084 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2085 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2086 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2087 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2088 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2089 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
2090 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
2091 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
2092 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
2093 Instead, compare fx_r_type.
2094 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
2095 fx_tcbit in place of fx_plt.
2096 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
2097 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
2098 to fx_plt.
2099
bf083c64
NC
21002007-01-30 Nick Clifton <nickc@redhat.com>
2101
2102 * as.c (main): Mark symbols created via the --defsym command line
2103 option as volatile so that they can be overridden later on by a
2104 .set directive. This maintains compatibility with the behaviour
2105 of earlier versions of the assembler.
2106 * doc/as.texinfo (--defsym): Document that the defined symbol's
2107 value can be overridden via a .set directive.
2108
fc523535 21092007-01-28 H.J. Lu <hongjiu.lu@intel.com>
4d456e3d
L
2110
2111 * config/tc-i386.c (swap_imm_operands): Renamed to ...
2112 (swap_2_operands): This. Take 2 ints.
2113 (md_assemble): Updated.
2114 (swap_operands): Call swap_2_operands to swap 2 operands.
2115
7bc4c13c
DD
21162007-01-24 DJ Delorie <dj@redhat.com>
2117
2118 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
2119
48903831
NC
21202007-01-22 Nick Clifton <nickc@redhat.com>
2121
07302d31 2122 PR gas/3871
48903831
NC
2123 * tc-score.c: Remove unnecessary uses of _().
2124 Make the err_msg[] a file level local array in order to save
2125 storage space.
2126 Remove unnecessary sprintf()s.
2127
14119072
ML
21282007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
2129
07302d31 2130 PR gas/3871
14119072
ML
2131 * config/tc-score.c : Using _() for const string.
2132 Do not assign inst.error with a local string pointer.
2133 (md_section_align): Pad section.
2134
99018f42
L
21352007-01-13 H.J. Lu <hongjiu.lu@intel.com>
2136
2137 * config/tc-i386.c (build_modrm_byte): Check number of operands
2138 when procssing memory/register operand.
2139
465e5617
NC
21402007-01-12 Nick Clifton <nickc@redhat.com>
2141
2142 PR gas/3856
2143 * macro.c (expand_irp): Do not ignore spaces inside quoted
2144 strings.
2145
e8630bd7
AM
21462007-01-12 Alan Modra <amodra@bigpond.net.au>
2147
2148 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2149 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2150 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
2151 (TC_FORCE_RELOCATION): Define.
2152 (TC_FORCE_RELOCATION_LOCAL): Define.
2153 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
2154
1f5409bb
AM
21552007-01-12 Alan Modra <amodra@bigpond.net.au>
2156
2157 * input-file.c (input_file_open): Check fgets return.
2158
dc4503c6
PB
21592007-01-11 Paul Brook <paul@codesourcery.com>
2160
2161 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
2162
04f8d83b
NC
21632007-01-11 Nick Clifton <nickc@redhat.com>
2164
493cb6ef
NC
2165 PR gas/3707
2166 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
2167 variable.
2168
04f8d83b
NC
2169 * config/tc-mcore.c (md_number_to_chars): Use
2170 number_to_chars_{big|little}endian.
2171
3bdcfdf4
KH
21722007-01-08 Kazu Hirata <kazu@codesourcery.com>
2173
2174 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
2175 architecture by itself.
2176 (m68k_ip): Don't issue a warning for tbl instructions on fido.
2177 (m68k_elf_final_processing): Treat Fido as an architecture by
2178 itself.
2179
42037fe5
NC
21802007-01-08 Kai Tietz <kai.tietz@onevision.com>
2181
2182 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
2183
e4a3b5a4
L
21842007-01-05 H.J. Lu <hongjiu.lu@intel.com>
2185
2186 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
2187 depending on allow_naked_reg.
2188
a028a6f5
PB
21892007-01-04 Paul Brook <paul@codesourcery.com>
2190
2191 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
2192
2ca3ace5
L
21932007-01-04 H.J. Lu <hongjiu.lu@intel.com>
2194
44f9b8ac 2195 PR gas/3830
2ca3ace5
L
2196 * config/tc-i386.c (register_prefix): New.
2197 (set_intel_syntax): Set set_intel_syntax to "" if register
2221f452 2198 prefix isn't needed.
2ca3ace5
L
2199 (check_byte_reg): Use register_prefix for error message.
2200 (check_long_reg): Likewise.
2201 (check_qword_reg): Likewise.
2202 (check_word_reg): Likewise.
2203
ec4faa47 22042007-01-04 Julian Brown <julian@codesourcery.com>
627907b7
JB
2205
2206 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
2207 (do_neon_qshl_imm): Likewise.
2208 (do_neon_rshl): New function. Handle rounding variants of
2209 v{q}shl-by-register.
2210 (insns): Use do_neon_rshl for vrshl, vqrshl.
2211
92559b5b
PB
22122007-01-04 Paul Brook <paul@codesourcery.com>
2213
2214 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
2215 and vacle.
2216
2ca3ace5
L
22172007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 * config/tc-i386.c (swap_operands): Remove branches.
2220
4dc85607
L
22212007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2222
2223 * config/tc-i386.c: Update copyright year.
2224 * config/tc-i386.h: Likewise.
2225
1509aa9a
L
22262007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2227
2228 * config/tc-i386.c (smallest_imm_type): Return unsigned int
2229 instead of int.
2230
e3bb37b5
L
22312007-01-03 H.J. Lu <hongjiu.lu@intel.com>
2232
2233 * config/tc-i386.c: Convert to ISO C90 formatting
2234 * config/tc-i386.h: Likewise.
2235
d821e36b
DD
22362007-01-03 David Daney <ddaney@avtrex.com>
2237
2238 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
2239 documentation.
2240
44021fe5 2241For older changes see ChangeLog-2006
08d56133
NC
2242\f
2243Local Variables:
2244mode: change-log
2245left-margin: 8
2246fill-column: 74
2247version-control: never
2248End:
This page took 0.462918 seconds and 4 git commands to generate.