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