OSDN Git Service

2006-04-07 Paul Brook <paul@codesourcery.com>
[pf3gnuchains/pf3gnuchains4x.git] / gas / ChangeLog
1 2006-04-07  Paul Brook  <paul@codesourcery.com>
2
3         * config/tc-arm.c (md_apply_fix): Set H bit on blx instruction.
4
5 2006-04-07  Paul Brook  <paul@codesourcery.com>
6
7         * config/tc-arm.c (THUMB2_LOAD_BIT): Define.
8         (move_or_literal_pool): Handle Thumb-2 instructions.
9         (do_t_ldst): Call move_or_literal_pool for =N addressing modes.
10
11 2006-04-07  Alan Modra  <amodra@bigpond.net.au>
12
13         PR 2512.
14         * config/tc-i386.c (match_template): Move 64-bit operand tests
15         inside loop.
16
17 2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
18
19         * po/Make-in: Add install-html target.
20         * Makefile.am: Add install-html and install-html-recursive targets.
21         * Makefile.in: Regenerate.
22         * configure.in: AC_SUBST datarootdir, docdir, htmldir.
23         * configure: Regenerate.
24         * doc/Makefile.am: Add install-html and install-html-am targets.
25         * doc/Makefile.in: Regenerate.
26
27 2006-04-06  Alan Modra  <amodra@bigpond.net.au>
28
29         * frags.c (frag_offset_fixed_p): Reinitialise offset before
30         second scan.
31
32 2006-04-05  Richard Sandiford  <richard@codesourcery.com>
33             Daniel Jacobowitz  <dan@codesourcery.com>
34
35         * config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS.
36         (GOTT_BASE, GOTT_INDEX): New.
37         (tc_gen_reloc): Don't alter relocations against GOTT_BASE and
38         GOTT_INDEX when generating VxWorks PIC.
39         * configure.tgt (sparc*-*-vxworks*): Remove this special case;
40         use the generic *-*-vxworks* stanza instead.
41
42 2006-04-04  Alan Modra  <amodra@bigpond.net.au>
43
44         PR 997
45         * frags.c (frag_offset_fixed_p): New function.
46         * frags.h (frag_offset_fixed_p): Declare.
47         * expr.c (expr): Use frag_offset_fixed_p when simplifying subtraction.
48         (resolve_expression): Likewise.
49
50 2006-04-03  Sterling Augustine  <sterling@tensilica.com>
51
52         * config/tc-xtensa.c (init_op_placement_info_table): Check for formats
53         of the same length but different numbers of slots.
54
55 2006-03-30  Andreas Schwab  <schwab@suse.de>
56
57         * configure.in: Fix help string for --enable-targets option.
58         * configure: Regenerate.
59
60 2006-03-28  Nathan Sidwell  <nathan@codesourcery.com>
61
62         * gas/config/tc-m68k.c (find_cf_chip): Merge into ...
63         (m68k_ip): ... here.  Use for all chips.  Protect against buffer
64         overrun and avoid excessive copying.
65
66         * config/tc-m68k.c (m68000_control_regs, m68010_control_regs,
67         m68020_control_regs, m68040_control_regs, m68060_control_regs,
68         mcf_control_regs, mcf5208_control_regs, mcf5213_control_regs,
69         mcf5329_control_regs, mcf5249_control_regs, mcf528x_control_regs,
70         mcfv4e_control_regs, m68010_control_regs): Rename and reorder to ...
71         (m68000_ctrl, m68010_ctrl, m68020_ctrl, m68040_ctrl, m68060_ctrl,
72         mcf_ctrl, mcf5208_ctrl, mcf5213_ctrl, mcf5235_ctrl, mcf5249_ctrl, 
73         mcf5216_ctrl, mcf5250_ctrl, mcf5271_ctrl, mcf5272_ctrl,
74         mcf5282_ctrl, mcfv4e_ctrl): ... these.
75         (mcf5275_ctrl, mcf5329_ctrl, mcf5373_ctrl): New.
76         (struct m68k_cpu): Change chip field to control_regs.
77         (current_chip): Remove.
78         (control_regs): New.
79         (m68k_archs, m68k_extensions): Adjust.
80         (m68k_cpus): Reorder to be in cpu number order.  Adjust.
81         (CPU_ALLOW_MC, CPU_ALLOW_NEGATION): Remove.
82         (find_cf_chip): Reimplement for new organization of cpu table.
83         (select_control_regs): Remove.
84         (mri_chip): Adjust.
85         (struct save_opts): Save control regs, not chip.
86         (s_save, s_restore): Adjust.
87         (m68k_lookup_cpu): Give deprecated warning when necessary.
88         (m68k_init_arch): Adjust.
89         (md_show_usage): Adjust for new cpu table organization.
90
91 2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
92
93         * config/bfin-defs.h (Expr_Node_Type enum): Add Expr_Node_GOT_Reloc.
94         * config/bfin-lex.l: Recognize GOT17M4 and FUNCDESC_GOT17M4.
95         * config/bfin-parse.y: Include "libbfd.h", "elf/common.h" and
96         "elf/bfin.h".
97         (GOT17M4, FUNCDESC_GOT17M4): New tokens of type <value>.
98         (any_gotrel): New rule.
99         (got): Use it, and create Expr_Node_GOT_Reloc nodes.
100         * config/tc-bfin.c: Include "libbfd.h", "elf/common.h" and
101         "elf/bfin.h".
102         (DEFAULT_FLAGS, bfin_flags, bfin_pic_flag): New.
103         (bfin_pic_ptr): New function.
104         (md_pseudo_table): Add it for ".picptr".
105         (OPTION_FDPIC): New macro.
106         (md_longopts): Add -mfdpic.
107         (md_parse_option): Handle it.
108         (md_begin): Set BFD flags.
109         (md_apply_fix3, bfin_fix_adjustable): Handle new relocs.
110         (bfin_gen_ldstidxi): Adjust to match the trees that the parser gives
111         us for GOT relocs.
112         * Makefile.am (bfin-parse.o): Update dependencies.
113         (DEPTC_bfin_elf): Likewise.
114         * Makefile.in: Regenerate.
115
116 2006-03-25  Richard Sandiford  <richard@codesourcery.com>
117
118         * config/tc-m68k.c (m68k_cpus): Change cpu_cf5208 entries to use
119         mcfemac instead of mcfmac.
120
121 2006-03-22  Richard Sandiford  <richard@codesourcery.com>
122             Daniel Jacobowitz  <dan@codesourcery.com>
123             Phil Edwards  <phil@codesourcery.com>
124             Zack Weinberg  <zack@codesourcery.com>
125             Mark Mitchell  <mark@codesourcery.com>
126             Nathan Sidwell  <nathan@codesourcery.com>
127
128         * config/tc-mips.c (mips_target_format): Handle vxworks targets.
129         (md_begin): Complain about -G being used for PIC.  Don't change
130         the text, data and bss alignments on VxWorks.
131         (reloc_needs_lo_p): Don't return true for R_MIPS_GOT16 when
132         generating VxWorks PIC.
133         (load_address): Extend SVR4_PIC handling to VXWORKS_PIC.
134         (macro): Likewise, but do not treat la $25 specially for
135         VxWorks PIC, and do not handle jal.
136         (OPTION_MVXWORKS_PIC): New macro.
137         (md_longopts): Add -mvxworks-pic.
138         (md_parse_option): Don't complain about using PIC and -G together here.
139         Handle OPTION_MVXWORKS_PIC.
140         (md_estimate_size_before_relax): Always use the first relaxation
141         sequence on VxWorks.
142         * config/tc-mips.h (VXWORKS_PIC): New.
143
144 2006-03-21  Paul Brook  <paul@codesourcery.com>
145
146         * config/tc-arm.c (md_apply_fix): Fix typo in offset mask.
147
148 2006-03-21  Sterling Augustine  <sterling@tensilica.com>
149
150         * config/tc-xtensa.c (enforce_three_byte_loop_align): New flag.
151         (xtensa_setup_hw_workarounds): Set this new flag for older hardware.
152         (get_loop_align_size): New.
153         (xtensa_end): Skip xtensa_mark_narrow_branches when not aligning.
154         (xtensa_mark_zcl_first_insns): Prevent widening of first loop frag.
155         (get_text_align_power): Rewrite to handle inputs in the range 2-8.
156         (get_noop_aligned_address): Use get_loop_align_size.
157         (get_aligned_diff): Likewise.
158
159 2006-03-21  Paul Brook  <paul@codesourcery.com>
160
161         * config/tc-arm.c (insns): Correct opcodes for ldrbt and strbt.
162
163 2006-03-20  Paul Brook  <paul@codesourcery.com>
164
165         * config/tc-arm.c (BAD_BRANCH, BAD_NOT_IT): Define.
166         (do_t_branch): Encode branches inside IT blocks as unconditional.
167         (do_t_cps): New function.
168         (do_t_blx, do_t_bkpt, do_t_branch23, do_t_bx, do_t_bxj, do_t_cpsi,
169         do_t_czb, do_t_it, do_t_setend, do_t_tb): Add IT constaints.
170         (opcode_lookup): Allow conditional suffixes on all instructions in
171         Thumb mode.
172         (md_assemble): Advance condexec state before checking for errors.
173         (insns): Use do_t_cps.
174
175 2006-03-20  Paul Brook  <paul@codesourcery.com>
176
177         * config/tc-arm.c (output_relax_insn): Call dwarf2_emit_insn before
178         outputting the insn.
179
180 2006-03-18  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
181
182         * config/tc-vax.c: Update copyright year.
183         * config/tc-vax.h: Likewise.
184
185 2006-03-18  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
186
187         * config/tc-vax.c (md_chars_to_number): Used only locally, so
188         make it static.
189         * config/tc-vax.h (md_chars_to_number): Remove obsolete declaration.
190
191 2006-03-17  Paul Brook  <paul@codesourcery.com>
192
193         * config/tc-arm.c (insns): Add ldm and stm.
194
195 2006-03-17  Ben Elliston  <bje@au.ibm.com>
196
197         PR gas/2446
198         * doc/as.texinfo (Ident): Document this directive more thoroughly.
199
200 2006-03-16  Paul Brook  <paul@codesourcery.com>
201
202         * config/tc-arm.c (insns): Add "svc".
203
204 2006-03-13  Bob Wilson  <bob.wilson@acm.org>
205
206         * config/tc-xtensa.c (xg_translate_sysreg_op): Remove has_underbar
207         flag and avoid double underscore prefixes.
208
209 2006-03-10  Paul Brook  <paul@codesourcery.com>
210
211         * config/tc-arm.c (md_begin): Handle EABIv5.
212         (arm_eabis): Add EF_ARM_EABI_VER5.
213         * doc/c-arm.texi: Document -meabi=5.
214
215 2006-03-10  Ben Elliston  <bje@au.ibm.com>
216
217         * app.c (do_scrub_chars): Simplify string handling.
218
219 2006-03-07  Richard Sandiford  <richard@codesourcery.com>
220             Daniel Jacobowitz  <dan@codesourcery.com>
221             Zack Weinberg  <zack@codesourcery.com>
222             Nathan Sidwell  <nathan@codesourcery.com>
223             Paul Brook  <paul@codesourcery.com>
224             Ricardo Anguiano  <anguiano@codesourcery.com>
225             Phil Edwards  <phil@codesourcery.com>
226
227         * config/tc-arm.c (md_apply_fix): Install a value of zero into a
228         BFD_RELOC_ARM_OFFSET_IMM field if we're going to generate a RELA
229         R_ARM_ABS12 reloc.
230         (tc_gen_reloc): Keep the original fx_offset for RELA pc-relative
231         relocs, but adjust by md_pcrel_from_section.  Create R_ARM_ABS12
232         relocations for BFD_RELOC_ARM_OFFSET_IMM on RELA targets.
233
234 2006-03-06  Bob Wilson  <bob.wilson@acm.org>
235
236         * config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables
237         even when using the text-section-literals option.
238
239 2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
240
241         * config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k
242         and cf.
243         (m68k_ip): <case 'J'> Check we have some control regs.
244         (md_parse_option): Allow raw arch switch.
245         (m68k_init_arch): Better detection of arch/cpu mismatch.  Detect
246         whether 68881 or cfloat was meant by -mfloat.
247         (md_show_usage): Adjust extension display.
248         (m68k_elf_final_processing): Adjust.
249
250 2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
251
252         * config/tc-avr.c (avr_mod_hash_value): New function.
253         (md_apply_fix, exp_mod): Use BFD_RELOC_HH8_LDI and
254         BFD_RELOC_MS8_LDI for hlo8() and hhi8() 
255         (md_begin): Set linkrelax variable to 1, use avr_mod_hash_value
256         instead of int avr_ldi_expression: use avr_mod_hash_value instead
257         of (int).
258         (tc_gen_reloc): Handle substractions of symbols, if possible do
259         fixups, abort otherwise.        
260         * config/tc-avr.h (TC_LINKRELAX_FIXUP, TC_VALIDATE_FIX,
261         tc_fix_adjustable): Define.
262         
263 2006-03-02  James E Wilson  <wilson@specifix.com>
264
265         * config/tc-ia64.c (emit_one_bundle): For IA64_OPCODE_LAST, if we
266         change the template, then clear md.slot[curr].end_of_insn_group.
267
268 2006-02-28  Jan Beulich  <jbeulich@novell.com>
269
270         * macro.c (get_any_string): Don't insert quotes for <>-quoted input.
271
272 2006-02-28  Jan Beulich  <jbeulich@novell.com>
273
274         PR/1070
275         * macro.c (getstring): Don't treat parentheses special anymore.
276         (get_any_string): Don't consider '(' and ')' as quoting anymore.
277         Special-case '(', ')', '[', and ']' when dealing with non-quoting
278         characters.
279
280 2006-02-28  Mat <mat@csail.mit.edu>
281
282         * dwarf2dbg.c (get_filenum): Don't inadvertently decrease files_in_use.
283
284 2006-02-27  Jakub Jelinek  <jakub@redhat.com>
285
286         * dw2gencfi.c (struct fde_entry, struct cie_entry): Add signal_frame
287         field.
288         (CFI_signal_frame): Define.
289         (cfi_pseudo_table): Add .cfi_signal_frame.
290         (dot_cfi): Handle CFI_signal_frame.
291         (output_cie): Handle cie->signal_frame.
292         (select_cie_for_fde): Don't share CIE if signal_frame flag is
293         different.  Copy signal_frame from FDE to newly created CIE.
294         * doc/as.texinfo: Document .cfi_signal_frame.
295
296 2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
297
298         * doc/Makefile.am: Add html target.
299         * doc/Makefile.in: Regenerate.
300         * po/Make-in: Add html target.
301
302 2006-02-27  H.J. Lu <hongjiu.lu@intel.com>
303
304         * config/tc-i386.c (output_insn): Support Intel Merom New
305         Instructions.
306
307         * config/tc-i386.h (CpuMNI): New.
308         (CpuUnknownFlags): Add CpuMNI.
309
310 2006-02-24  David S. Miller  <davem@sunset.davemloft.net>
311
312         * config/tc-sparc.c (priv_reg_table): Add entry for "gl".
313         (hpriv_reg_table): New table for hyperprivileged registers.
314         (sparc_ip): New cases '$' and '%' for wrhpr/rdhpr hyperprivileged
315         register encoding.
316
317 2006-02-24  DJ Delorie  <dj@redhat.com>
318
319         * config/tc-m32c.h (md_apply_fix): Define to m32c_apply_fix.
320         (tc_gen_reloc): Don't define.
321         * config/tc-m32c.c (rl_for, relaxable): New convenience macros.
322         (OPTION_LINKRELAX): New.
323         (md_longopts): Add it.
324         (m32c_relax): New.
325         (md_parse_options): Set it.
326         (md_assemble): Emit relaxation relocs as needed.
327         (md_convert_frag): Emit relaxation relocs as needed.
328         (md_cgen_lookup_reloc): Add LAB_8_8 and LAB_8_16.
329         (m32c_apply_fix): New.
330         (tc_gen_reloc): New.
331         (m32c_force_relocation): Force out jump relocs when relaxing.
332         (m32c_fix_adjustable): Return false if relaxing.
333
334 2006-02-24  Paul Brook  <paul@codesourcery.com>
335
336         * config/arm/tc-arm.c (arm_ext_v6_notm, arm_ext_div, arm_ext_v7,
337         arm_ext_v7a, arm_ext_v7r, arm_ext_v7m): New variables.
338         (struct asm_barrier_opt): Define.
339         (arm_v7m_psr_hsh, arm_barrier_opt_hsh): New variables.
340         (parse_psr): Accept V7M psr names.
341         (parse_barrier): New function.
342         (enum operand_parse_code): Add OP_oBARRIER.
343         (parse_operands): Implement OP_oBARRIER.
344         (do_barrier): New function.
345         (do_dbg, do_pli, do_t_barrier, do_t_dbg, do_t_div): New functions.
346         (do_t_cpsi): Add V7M restrictions.
347         (do_t_mrs, do_t_msr): Validate V7M variants.
348         (md_assemble): Check for NULL variants.
349         (v7m_psrs, barrier_opt_names): New tables.
350         (insns): Add V7 instructions.  Mark V6 instructions absent from V7M.
351         (md_begin): Initialize arm_v7m_psr_hsh and arm_barrier_opt_hsh.
352         (arm_cpu_option_table): Add Cortex-M3, R4 and A8.
353         (arm_arch_option_table): Add armv7, armv7a, armv7r and armv7m.
354         (struct cpu_arch_ver_table): Define.
355         (cpu_arch_ver): New.
356         (aeabi_set_public_attributes): Use cpu_arch_ver.  Set
357         Tag_CPU_arch_profile.
358         * doc/c-arm.texi: Document new cpu and arch options.
359
360 2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
361
362         * config/tc-ia64.c (operand_match): Handle IA64_OPND_IMMU5b.
363
364 2006-02-23  H.J. Lu  <hongjiu.lu@intel.com>
365
366         * config/tc-ia64.c: Update copyright years.
367
368 2006-02-22  H.J. Lu  <hongjiu.lu@intel.com>
369
370         * config/tc-ia64.c (specify_resource): Add the rule 17 from
371         SDM 2.2.
372
373 2005-02-22  Paul Brook  <paul@codesourcery.com>
374
375         * config/tc-arm.c (do_pld): Remove incorrect write to
376         inst.instruction.
377         (encode_thumb32_addr_mode): Use correct operand.
378
379 2006-02-21  Paul Brook  <paul@codesourcery.com>
380
381         * config/tc-arm.c (md_apply_fix): Fix off-by-one errors.
382
383 2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
384             Anil Paranjape   <anilp1@kpitcummins.com>
385             Shilin Shakti    <shilins@kpitcummins.com>
386
387         * Makefile.am: Add xc16x related entry.
388         * Makefile.in: Regenerate.
389         * configure.in: Added xc16x related entry.
390         * configure: Regenerate.
391         * config/tc-xc16x.h: New file
392         * config/tc-xc16x.c: New file
393         * doc/c-xc16x.texi: New file for xc16x
394         * doc/all.texi: Entry for xc16x
395         * doc/Makefile.texi: Added c-xc16x.texi 
396         * NEWS: Announce the support for the new target.
397
398 2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
399
400         * configure.tgt: set emulation for mips-*-netbsd*
401
402 2006-02-14  Jakub Jelinek  <jakub@redhat.com>
403
404         * config.in: Rebuilt.
405
406 2006-02-13  Bob Wilson  <bob.wilson@acm.org>
407
408         * config/tc-xtensa.c (xg_add_opcode_fix): Number operands starting
409         from 1, not 0, in error messages.
410         (md_assemble): Simplify special-case check for ENTRY instructions.
411         (tinsn_has_invalid_symbolic_operands): Do not include opcode and
412         operand in error message.
413
414 2006-02-13  Joseph S. Myers  <joseph@codesourcery.com>
415
416         * configure.tgt (arm-*-linux-gnueabi*): Change to
417         arm-*-linux-*eabi*.
418
419 2006-02-10  Nick Clifton  <nickc@redhat.com>
420
421         * config/tc-crx.c (check_range): Ensure that the sign bit of a
422         32-bit value is propagated into the upper bits of a 64-bit long.
423
424         * config/tc-arc.c (init_opcode_tables): Fix cast.
425         (arc_extoper, md_operand): Likewise.
426
427 2006-02-09  David Heine  <dlheine@tensilica.com>
428
429         * config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for
430         each relaxation step.
431
432 2006-02-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
433         
434         * configure.in (CHECK_DECLS): Add vsnprintf.
435         * configure: Regenerate.
436         * messages.c (errno.h, stdarg.h, varargs.h, va_list): Do not
437         include/declare here, but...
438         * as.h: Move code detecting VARARGS idiom to the top.
439         (errno.h, stdarg.h, varargs.h, va_list): ...here.
440         (vsnprintf): Declare if not already declared.
441
442 2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
443
444         * as.c (close_output_file): New.
445         (main): Register close_output_file with xatexit before
446         dump_statistics. Don't call output_file_close.
447
448 2006-02-07  Nathan Sidwell  <nathan@codesourcery.com>
449
450         * config/tc-m68k.c (mcf5208_control_regs, mcf5213_control_regs,
451         mcf5329_control_regs): New.
452         (not_current_architecture, selected_arch, selected_cpu): New.
453         (m68k_archs, m68k_extensions): New.
454         (archs): Renamed to ...
455         (m68k_cpus): ... here.  Adjust.
456         (n_arches): Remove.
457         (md_pseudo_table): Add arch and cpu directives.
458         (find_cf_chip, m68k_ip): Adjust table scanning.
459         (no_68851, no_68881): Remove.
460         (md_assemble): Lazily initialize.
461         (select_control_regs): Adjust cpu names. Add 5208, 5213, 5329.
462         (md_init_after_args): Move functionality to m68k_init_arch.
463         (mri_chip): Adjust table scanning.
464         (md_parse_option): Reimplement 'm' processing to add -march & -mcpu
465         options with saner parsing.
466         (m68k_lookup_cpu, m68k_set_arch, m68k_set_cpu, m68k_set_extension,
467         m68k_init_arch): New.
468         (s_m68k_cpu, s_m68k_arch): New.
469         (md_show_usage): Adjust.
470         (m68k_elf_final_processing): Set CF EF flags.
471         * config/tc-m68k.h (m68k_init_after_args): Remove.
472         (tc_init_after_args): Remove.
473         * doc/c-m68k.texi (M68K-Opts): Document -march, -mcpu options.
474         (M68k-Directives): Document .arch and .cpu directives.
475
476 2006-02-05  Arnold Metselaar  <arnold.metselaar@planet.nl>
477
478         * config/tc-z80.c (z80_start_line_hook): allow .equ and .defl as 
479         synonyms for equ and defl. 
480         (z80_cons_fix_new): New function.
481         (emit_byte): Disallow relative jumps to absolute locations.
482         (emit_data): Only handle defb, prototype changed, because defb is 
483         now handled as pseudo-op rather than an instruction.
484         (instab): Entries for defb,defw,db,dw moved from here...
485         (md_pseudo_table): ... to here, use generic cons() for defw,dw. 
486         Add entries for def24,def32,d24,d32.
487         (md_assemble): Improved error handling.
488         (md_apply_fix): New case BFD_RELOC_24, set fixP->fx_no_overflow to one.
489         * config/tc-z80.h (TC_CONS_FIX_NEW): Define.
490         (z80_cons_fix_new): Declare.
491         * doc/c-z80.texi (defb, db): Mention warning on overflow. 
492         (def24,d24,def32,d32): New pseudo-ops.
493         
494 2006-02-02  Paul Brook  <paul@codesourcery.com>
495
496         * config/tc-arm.c (do_shift): Remove Thumb-1 constraint.
497
498 2005-02-02  Paul Brook  <paul@codesourcery.com>
499
500         * config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
501         T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR,
502         T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB,
503         T2_OPCODE_RSB): Define.
504         (thumb32_negate_data_op): New function.
505         (md_apply_fix): Use it.
506
507 2006-01-31  Bob Wilson  <bob.wilson@acm.org>
508
509         * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
510         fields.
511         * config/tc-xtensa.h (xtensa_frag_type): Remove slot_sub_symbols field.
512         * config/tc-xtensa.c (md_apply_fix): Check for unexpected uses of
513         subtracted symbols.
514         (relaxation_requirements): Add pfinish_frag argument and use it to
515         replace setting tinsn->record_fix fields.
516         (xg_assemble_vliw_tokens): Adjust calls to relaxation_requirements
517         and vinsn_to_insnbuf.  Remove references to record_fix and
518         slot_sub_symbols fields.
519         (xtensa_mark_narrow_branches): Delete unused code.
520         (is_narrow_branch_guaranteed_in_range): Handle expr that is not just
521         a symbol.
522         (convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set
523         record_fix fields.
524         (tinsn_immed_from_frag): Remove code for handling slot_sub_symbols.
525         (vinsn_to_insnbuf): Change use of record_fixup argument, replacing use
526         of the record_fix field.  Simplify error messages for unexpected
527         symbolic operands.
528         (set_expr_symbol_offset_diff): Delete.
529
530 2006-01-31  Paul Brook  <paul@codesourcery.com>
531
532         * config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
533
534 2006-01-31  Paul Brook  <paul@codesourcery.com>
535         Richard Earnshaw <rearnsha@arm.com>
536
537         * config/tc-arm.c: Use arm_feature_set.
538         (arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none,
539         arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1,
540         fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2):
541         New variables.
542         (insns): Use them.
543         (md_atof, opcode_select, opcode_select, md_assemble, md_assemble,
544         md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch,
545         arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes,
546         s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU
547         feature flags.
548         (arm_legacy_option_table, arm_option_cpu_value_table): New types.
549         (arm_opts): Move old cpu/arch options from here...
550         (arm_legacy_opts): ... to here.
551         (md_parse_option): Search arm_legacy_opts.
552         (arm_cpus, arm_archs, arm_extensions, arm_fpus)
553         (arm_float_abis, arm_eabis): Make const.
554
555 2006-01-25  Bob Wilson  <bob.wilson@acm.org>
556
557         * config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.
558
559 2006-01-21  Jie Zhang  <jie.zhang@analog.com>
560
561         * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
562         in load immediate intruction.
563
564 2006-01-21  Jie Zhang  <jie.zhang@analog.com>
565
566         * config/bfin-parse.y (value_match): Use correct conversion
567         specifications in template string for __FILE__ and __LINE__.
568         (binary): Ditto.
569         (unary): Ditto.
570
571 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
572
573         Introduce TLS descriptors for i386 and x86_64.
574         * config/tc-i386.c (tc_i386_fix_adjustable): Handle
575         BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
576         BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
577         (optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
578         BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
579         displacement bits.
580         (build_modrm_byte): Set up zero modrm for TLS desc calls.
581         (lex_got): Handle @tlsdesc and @tlscall.
582         (md_apply_fix, tc_gen_reloc): Handle the new relocations.
583
584 2006-01-11  Nick Clifton  <nickc@redhat.com>
585
586         Fixes for building on 64-bit hosts:
587         * config/tc-avr.c (mod_index): New union to allow conversion
588         between pointers and integers.
589         (md_begin, avr_ldi_expression): Use it.
590         * config/tc-i370.c (md_assemble): Add cast for argument to print
591         statement.
592         * config/tc-tic54x.c (subsym_substitute): Likewise.
593         * config/tc-mn10200.c (md_assemble): Use a union to convert the
594         opindex field of fr_cgen structure into a pointer so that it can
595         be stored in a frag.
596         * config/tc-mn10300.c (md_assemble): Likewise.
597         * config/tc-frv.c (frv_debug_tomcat): Use %p to print pointer
598         types.
599         * config/tc-v850.c: Replace uses of (int) casts with correct
600         types.
601
602 2006-01-09  H.J. Lu  <hongjiu.lu@intel.com>
603
604         PR gas/2117
605         * symbols.c (snapshot_symbol): Don't change a defined symbol.
606
607 2006-01-03  Hans-Peter Nilsson  <hp@bitrange.com>
608
609         PR gas/2101
610         * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
611         a local-label reference.
612
613 For older changes see ChangeLog-2005
614 \f
615 Local Variables:
616 mode: change-log
617 left-margin: 8
618 fill-column: 74
619 version-control: never
620 End: