2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
2
3 * as.c (close_output_file): New.
4 (main): Register close_output_file with xatexit before
5 dump_statistics. Don't call output_file_close.
6
7 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
8
9 * config/tc-m68k.c (mcf5208_control_regs, mcf5213_control_regs,
10 mcf5329_control_regs): New.
11 (not_current_architecture, selected_arch, selected_cpu): New.
12 (m68k_archs, m68k_extensions): New.
13 (archs): Renamed to ...
14 (m68k_cpus): ... here. Adjust.
15 (n_arches): Remove.
16 (md_pseudo_table): Add arch and cpu directives.
17 (find_cf_chip, m68k_ip): Adjust table scanning.
18 (no_68851, no_68881): Remove.
19 (md_assemble): Lazily initialize.
20 (select_control_regs): Adjust cpu names. Add 5208, 5213, 5329.
21 (md_init_after_args): Move functionality to m68k_init_arch.
22 (mri_chip): Adjust table scanning.
23 (md_parse_option): Reimplement 'm' processing to add -march & -mcpu
24 options with saner parsing.
25 (m68k_lookup_cpu, m68k_set_arch, m68k_set_cpu, m68k_set_extension,
26 m68k_init_arch): New.
27 (s_m68k_cpu, s_m68k_arch): New.
28 (md_show_usage): Adjust.
29 (m68k_elf_final_processing): Set CF EF flags.
30 * config/tc-m68k.h (m68k_init_after_args): Remove.
31 (tc_init_after_args): Remove.
32 * doc/c-m68k.texi (M68K-Opts): Document -march, -mcpu options.
33 (M68k-Directives): Document .arch and .cpu directives.
34
35 2006-02-05 Arnold Metselaar <arnold.metselaar@planet.nl>
36
37 * config/tc-z80.c (z80_start_line_hook): allow .equ and .defl as
38 synonyms for equ and defl.
39 (z80_cons_fix_new): New function.
40 (emit_byte): Disallow relative jumps to absolute locations.
41 (emit_data): Only handle defb, prototype changed, because defb is
42 now handled as pseudo-op rather than an instruction.
43 (instab): Entries for defb,defw,db,dw moved from here...
44 (md_pseudo_table): ... to here, use generic cons() for defw,dw.
45 Add entries for def24,def32,d24,d32.
46 (md_assemble): Improved error handling.
47 (md_apply_fix): New case BFD_RELOC_24, set fixP->fx_no_overflow to one.
48 * config/tc-z80.h (TC_CONS_FIX_NEW): Define.
49 (z80_cons_fix_new): Declare.
50 * doc/c-z80.texi (defb, db): Mention warning on overflow.
51 (def24,d24,def32,d32): New pseudo-ops.
52
53 2006-02-02 Paul Brook <paul@codesourcery.com>
54
55 * config/tc-arm.c (do_shift): Remove Thumb-1 constraint.
56
57 2005-02-02 Paul Brook <paul@codesourcery.com>
58
59 * config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
60 T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR,
61 T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB,
62 T2_OPCODE_RSB): Define.
63 (thumb32_negate_data_op): New function.
64 (md_apply_fix): Use it.
65
66 2006-01-31 Bob Wilson <bob.wilson@acm.org>
67
68 * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
69 fields.
70 * config/tc-xtensa.h (xtensa_frag_type): Remove slot_sub_symbols field.
71 * config/tc-xtensa.c (md_apply_fix): Check for unexpected uses of
72 subtracted symbols.
73 (relaxation_requirements): Add pfinish_frag argument and use it to
74 replace setting tinsn->record_fix fields.
75 (xg_assemble_vliw_tokens): Adjust calls to relaxation_requirements
76 and vinsn_to_insnbuf. Remove references to record_fix and
77 slot_sub_symbols fields.
78 (xtensa_mark_narrow_branches): Delete unused code.
79 (is_narrow_branch_guaranteed_in_range): Handle expr that is not just
80 a symbol.
81 (convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set
82 record_fix fields.
83 (tinsn_immed_from_frag): Remove code for handling slot_sub_symbols.
84 (vinsn_to_insnbuf): Change use of record_fixup argument, replacing use
85 of the record_fix field. Simplify error messages for unexpected
86 symbolic operands.
87 (set_expr_symbol_offset_diff): Delete.
88
89 2006-01-31 Paul Brook <paul@codesourcery.com>
90
91 * config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
92
93 2006-01-31 Paul Brook <paul@codesourcery.com>
94 Richard Earnshaw <rearnsha@arm.com>
95
96 * config/tc-arm.c: Use arm_feature_set.
97 (arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none,
98 arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1,
99 fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2):
100 New variables.
101 (insns): Use them.
102 (md_atof, opcode_select, opcode_select, md_assemble, md_assemble,
103 md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch,
104 arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes,
105 s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU
106 feature flags.
107 (arm_legacy_option_table, arm_option_cpu_value_table): New types.
108 (arm_opts): Move old cpu/arch options from here...
109 (arm_legacy_opts): ... to here.
110 (md_parse_option): Search arm_legacy_opts.
111 (arm_cpus, arm_archs, arm_extensions, arm_fpus)
112 (arm_float_abis, arm_eabis): Make const.
113
114 2006-01-25 Bob Wilson <bob.wilson@acm.org>
115
116 * config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.
117
118 2006-01-21 Jie Zhang <jie.zhang@analog.com>
119
120 * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
121 in load immediate intruction.
122
123 2006-01-21 Jie Zhang <jie.zhang@analog.com>
124
125 * config/bfin-parse.y (value_match): Use correct conversion
126 specifications in template string for __FILE__ and __LINE__.
127 (binary): Ditto.
128 (unary): Ditto.
129
130 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
131
132 Introduce TLS descriptors for i386 and x86_64.
133 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
134 BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
135 BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
136 (optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
137 BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
138 displacement bits.
139 (build_modrm_byte): Set up zero modrm for TLS desc calls.
140 (lex_got): Handle @tlsdesc and @tlscall.
141 (md_apply_fix, tc_gen_reloc): Handle the new relocations.
142
143 2006-01-11 Nick Clifton <nickc@redhat.com>
144
145 Fixes for building on 64-bit hosts:
146 * config/tc-avr.c (mod_index): New union to allow conversion
147 between pointers and integers.
148 (md_begin, avr_ldi_expression): Use it.
149 * config/tc-i370.c (md_assemble): Add cast for argument to print
150 statement.
151 * config/tc-tic54x.c (subsym_substitute): Likewise.
152 * config/tc-mn10200.c (md_assemble): Use a union to convert the
153 opindex field of fr_cgen structure into a pointer so that it can
154 be stored in a frag.
155 * config/tc-mn10300.c (md_assemble): Likewise.
156 * config/tc-frv.c (frv_debug_tomcat): Use %p to print pointer
157 types.
158 * config/tc-v850.c: Replace uses of (int) casts with correct
159 types.
160
161 2006-01-09 H.J. Lu <hongjiu.lu@intel.com>
162
163 PR gas/2117
164 * symbols.c (snapshot_symbol): Don't change a defined symbol.
165
166 2006-01-03 Hans-Peter Nilsson <hp@bitrange.com>
167
168 PR gas/2101
169 * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
170 a local-label reference.
171
172 For older changes see ChangeLog-2005
173 \f
174 Local Variables:
175 mode: change-log
176 left-margin: 8
177 fill-column: 74
178 version-control: never
179 End:
This page took 0.032122 seconds and 4 git commands to generate.