gas/
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2006-02-28 Jan Beulich <jbeulich@novell.com>
2
3 PR/1070
4 * macro.c (getstring): Don't treat parentheses special anymore.
5 (get_any_string): Don't consider '(' and ')' as quoting anymore.
6 Special-case '(', ')', '[', and ']' when dealing with non-quoting
7 characters.
8
9 2006-02-28 Mat <mat@csail.mit.edu>
10
11 * dwarf2dbg.c (get_filenum): Don't inadvertently decrease files_in_use.
12
13 2006-02-27 Jakub Jelinek <jakub@redhat.com>
14
15 * dw2gencfi.c (struct fde_entry, struct cie_entry): Add signal_frame
16 field.
17 (CFI_signal_frame): Define.
18 (cfi_pseudo_table): Add .cfi_signal_frame.
19 (dot_cfi): Handle CFI_signal_frame.
20 (output_cie): Handle cie->signal_frame.
21 (select_cie_for_fde): Don't share CIE if signal_frame flag is
22 different. Copy signal_frame from FDE to newly created CIE.
23 * doc/as.texinfo: Document .cfi_signal_frame.
24
25 2006-02-27 Carlos O'Donell <carlos@codesourcery.com>
26
27 * doc/Makefile.am: Add html target.
28 * doc/Makefile.in: Regenerate.
29 * po/Make-in: Add html target.
30
31 2006-02-27 H.J. Lu <hongjiu.lu@intel.com>
32
33 * config/tc-i386.c (output_insn): Support Intel Merom New
34 Instructions.
35
36 * config/tc-i386.h (CpuMNI): New.
37 (CpuUnknownFlags): Add CpuMNI.
38
39 2006-02-24 David S. Miller <davem@sunset.davemloft.net>
40
41 * config/tc-sparc.c (priv_reg_table): Add entry for "gl".
42 (hpriv_reg_table): New table for hyperprivileged registers.
43 (sparc_ip): New cases '$' and '%' for wrhpr/rdhpr hyperprivileged
44 register encoding.
45
46 2006-02-24 DJ Delorie <dj@redhat.com>
47
48 * config/tc-m32c.h (md_apply_fix): Define to m32c_apply_fix.
49 (tc_gen_reloc): Don't define.
50 * config/tc-m32c.c (rl_for, relaxable): New convenience macros.
51 (OPTION_LINKRELAX): New.
52 (md_longopts): Add it.
53 (m32c_relax): New.
54 (md_parse_options): Set it.
55 (md_assemble): Emit relaxation relocs as needed.
56 (md_convert_frag): Emit relaxation relocs as needed.
57 (md_cgen_lookup_reloc): Add LAB_8_8 and LAB_8_16.
58 (m32c_apply_fix): New.
59 (tc_gen_reloc): New.
60 (m32c_force_relocation): Force out jump relocs when relaxing.
61 (m32c_fix_adjustable): Return false if relaxing.
62
63 2006-02-24 Paul Brook <paul@codesourcery.com>
64
65 * config/arm/tc-arm.c (arm_ext_v6_notm, arm_ext_div, arm_ext_v7,
66 arm_ext_v7a, arm_ext_v7r, arm_ext_v7m): New variables.
67 (struct asm_barrier_opt): Define.
68 (arm_v7m_psr_hsh, arm_barrier_opt_hsh): New variables.
69 (parse_psr): Accept V7M psr names.
70 (parse_barrier): New function.
71 (enum operand_parse_code): Add OP_oBARRIER.
72 (parse_operands): Implement OP_oBARRIER.
73 (do_barrier): New function.
74 (do_dbg, do_pli, do_t_barrier, do_t_dbg, do_t_div): New functions.
75 (do_t_cpsi): Add V7M restrictions.
76 (do_t_mrs, do_t_msr): Validate V7M variants.
77 (md_assemble): Check for NULL variants.
78 (v7m_psrs, barrier_opt_names): New tables.
79 (insns): Add V7 instructions. Mark V6 instructions absent from V7M.
80 (md_begin): Initialize arm_v7m_psr_hsh and arm_barrier_opt_hsh.
81 (arm_cpu_option_table): Add Cortex-M3, R4 and A8.
82 (arm_arch_option_table): Add armv7, armv7a, armv7r and armv7m.
83 (struct cpu_arch_ver_table): Define.
84 (cpu_arch_ver): New.
85 (aeabi_set_public_attributes): Use cpu_arch_ver. Set
86 Tag_CPU_arch_profile.
87 * doc/c-arm.texi: Document new cpu and arch options.
88
89 2006-02-23 H.J. Lu <hongjiu.lu@intel.com>
90
91 * config/tc-ia64.c (operand_match): Handle IA64_OPND_IMMU5b.
92
93 2006-02-23 H.J. Lu <hongjiu.lu@intel.com>
94
95 * config/tc-ia64.c: Update copyright years.
96
97 2006-02-22 H.J. Lu <hongjiu.lu@intel.com>
98
99 * config/tc-ia64.c (specify_resource): Add the rule 17 from
100 SDM 2.2.
101
102 2005-02-22 Paul Brook <paul@codesourcery.com>
103
104 * config/tc-arm.c (do_pld): Remove incorrect write to
105 inst.instruction.
106 (encode_thumb32_addr_mode): Use correct operand.
107
108 2006-02-21 Paul Brook <paul@codesourcery.com>
109
110 * config/tc-arm.c (md_apply_fix): Fix off-by-one errors.
111
112 2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
113 Anil Paranjape <anilp1@kpitcummins.com>
114 Shilin Shakti <shilins@kpitcummins.com>
115
116 * Makefile.am: Add xc16x related entry.
117 * Makefile.in: Regenerate.
118 * configure.in: Added xc16x related entry.
119 * configure: Regenerate.
120 * config/tc-xc16x.h: New file
121 * config/tc-xc16x.c: New file
122 * doc/c-xc16x.texi: New file for xc16x
123 * doc/all.texi: Entry for xc16x
124 * doc/Makefile.texi: Added c-xc16x.texi
125 * NEWS: Announce the support for the new target.
126
127 2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
128
129 * configure.tgt: set emulation for mips-*-netbsd*
130
131 2006-02-14 Jakub Jelinek <jakub@redhat.com>
132
133 * config.in: Rebuilt.
134
135 2006-02-13 Bob Wilson <bob.wilson@acm.org>
136
137 * config/tc-xtensa.c (xg_add_opcode_fix): Number operands starting
138 from 1, not 0, in error messages.
139 (md_assemble): Simplify special-case check for ENTRY instructions.
140 (tinsn_has_invalid_symbolic_operands): Do not include opcode and
141 operand in error message.
142
143 2006-02-13 Joseph S. Myers <joseph@codesourcery.com>
144
145 * configure.tgt (arm-*-linux-gnueabi*): Change to
146 arm-*-linux-*eabi*.
147
148 2006-02-10 Nick Clifton <nickc@redhat.com>
149
150 * config/tc-crx.c (check_range): Ensure that the sign bit of a
151 32-bit value is propagated into the upper bits of a 64-bit long.
152
153 * config/tc-arc.c (init_opcode_tables): Fix cast.
154 (arc_extoper, md_operand): Likewise.
155
156 2006-02-09 David Heine <dlheine@tensilica.com>
157
158 * config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for
159 each relaxation step.
160
161 2006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
162
163 * configure.in (CHECK_DECLS): Add vsnprintf.
164 * configure: Regenerate.
165 * messages.c (errno.h, stdarg.h, varargs.h, va_list): Do not
166 include/declare here, but...
167 * as.h: Move code detecting VARARGS idiom to the top.
168 (errno.h, stdarg.h, varargs.h, va_list): ...here.
169 (vsnprintf): Declare if not already declared.
170
171 2006-02-08 H.J. Lu <hongjiu.lu@intel.com>
172
173 * as.c (close_output_file): New.
174 (main): Register close_output_file with xatexit before
175 dump_statistics. Don't call output_file_close.
176
177 2006-02-07 Nathan Sidwell <nathan@codesourcery.com>
178
179 * config/tc-m68k.c (mcf5208_control_regs, mcf5213_control_regs,
180 mcf5329_control_regs): New.
181 (not_current_architecture, selected_arch, selected_cpu): New.
182 (m68k_archs, m68k_extensions): New.
183 (archs): Renamed to ...
184 (m68k_cpus): ... here. Adjust.
185 (n_arches): Remove.
186 (md_pseudo_table): Add arch and cpu directives.
187 (find_cf_chip, m68k_ip): Adjust table scanning.
188 (no_68851, no_68881): Remove.
189 (md_assemble): Lazily initialize.
190 (select_control_regs): Adjust cpu names. Add 5208, 5213, 5329.
191 (md_init_after_args): Move functionality to m68k_init_arch.
192 (mri_chip): Adjust table scanning.
193 (md_parse_option): Reimplement 'm' processing to add -march & -mcpu
194 options with saner parsing.
195 (m68k_lookup_cpu, m68k_set_arch, m68k_set_cpu, m68k_set_extension,
196 m68k_init_arch): New.
197 (s_m68k_cpu, s_m68k_arch): New.
198 (md_show_usage): Adjust.
199 (m68k_elf_final_processing): Set CF EF flags.
200 * config/tc-m68k.h (m68k_init_after_args): Remove.
201 (tc_init_after_args): Remove.
202 * doc/c-m68k.texi (M68K-Opts): Document -march, -mcpu options.
203 (M68k-Directives): Document .arch and .cpu directives.
204
205 2006-02-05 Arnold Metselaar <arnold.metselaar@planet.nl>
206
207 * config/tc-z80.c (z80_start_line_hook): allow .equ and .defl as
208 synonyms for equ and defl.
209 (z80_cons_fix_new): New function.
210 (emit_byte): Disallow relative jumps to absolute locations.
211 (emit_data): Only handle defb, prototype changed, because defb is
212 now handled as pseudo-op rather than an instruction.
213 (instab): Entries for defb,defw,db,dw moved from here...
214 (md_pseudo_table): ... to here, use generic cons() for defw,dw.
215 Add entries for def24,def32,d24,d32.
216 (md_assemble): Improved error handling.
217 (md_apply_fix): New case BFD_RELOC_24, set fixP->fx_no_overflow to one.
218 * config/tc-z80.h (TC_CONS_FIX_NEW): Define.
219 (z80_cons_fix_new): Declare.
220 * doc/c-z80.texi (defb, db): Mention warning on overflow.
221 (def24,d24,def32,d32): New pseudo-ops.
222
223 2006-02-02 Paul Brook <paul@codesourcery.com>
224
225 * config/tc-arm.c (do_shift): Remove Thumb-1 constraint.
226
227 2005-02-02 Paul Brook <paul@codesourcery.com>
228
229 * config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
230 T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR,
231 T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB,
232 T2_OPCODE_RSB): Define.
233 (thumb32_negate_data_op): New function.
234 (md_apply_fix): Use it.
235
236 2006-01-31 Bob Wilson <bob.wilson@acm.org>
237
238 * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
239 fields.
240 * config/tc-xtensa.h (xtensa_frag_type): Remove slot_sub_symbols field.
241 * config/tc-xtensa.c (md_apply_fix): Check for unexpected uses of
242 subtracted symbols.
243 (relaxation_requirements): Add pfinish_frag argument and use it to
244 replace setting tinsn->record_fix fields.
245 (xg_assemble_vliw_tokens): Adjust calls to relaxation_requirements
246 and vinsn_to_insnbuf. Remove references to record_fix and
247 slot_sub_symbols fields.
248 (xtensa_mark_narrow_branches): Delete unused code.
249 (is_narrow_branch_guaranteed_in_range): Handle expr that is not just
250 a symbol.
251 (convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set
252 record_fix fields.
253 (tinsn_immed_from_frag): Remove code for handling slot_sub_symbols.
254 (vinsn_to_insnbuf): Change use of record_fixup argument, replacing use
255 of the record_fix field. Simplify error messages for unexpected
256 symbolic operands.
257 (set_expr_symbol_offset_diff): Delete.
258
259 2006-01-31 Paul Brook <paul@codesourcery.com>
260
261 * config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
262
263 2006-01-31 Paul Brook <paul@codesourcery.com>
264 Richard Earnshaw <rearnsha@arm.com>
265
266 * config/tc-arm.c: Use arm_feature_set.
267 (arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none,
268 arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1,
269 fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2):
270 New variables.
271 (insns): Use them.
272 (md_atof, opcode_select, opcode_select, md_assemble, md_assemble,
273 md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch,
274 arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes,
275 s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU
276 feature flags.
277 (arm_legacy_option_table, arm_option_cpu_value_table): New types.
278 (arm_opts): Move old cpu/arch options from here...
279 (arm_legacy_opts): ... to here.
280 (md_parse_option): Search arm_legacy_opts.
281 (arm_cpus, arm_archs, arm_extensions, arm_fpus)
282 (arm_float_abis, arm_eabis): Make const.
283
284 2006-01-25 Bob Wilson <bob.wilson@acm.org>
285
286 * config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.
287
288 2006-01-21 Jie Zhang <jie.zhang@analog.com>
289
290 * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
291 in load immediate intruction.
292
293 2006-01-21 Jie Zhang <jie.zhang@analog.com>
294
295 * config/bfin-parse.y (value_match): Use correct conversion
296 specifications in template string for __FILE__ and __LINE__.
297 (binary): Ditto.
298 (unary): Ditto.
299
300 2006-01-18 Alexandre Oliva <aoliva@redhat.com>
301
302 Introduce TLS descriptors for i386 and x86_64.
303 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
304 BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
305 BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
306 (optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
307 BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
308 displacement bits.
309 (build_modrm_byte): Set up zero modrm for TLS desc calls.
310 (lex_got): Handle @tlsdesc and @tlscall.
311 (md_apply_fix, tc_gen_reloc): Handle the new relocations.
312
313 2006-01-11 Nick Clifton <nickc@redhat.com>
314
315 Fixes for building on 64-bit hosts:
316 * config/tc-avr.c (mod_index): New union to allow conversion
317 between pointers and integers.
318 (md_begin, avr_ldi_expression): Use it.
319 * config/tc-i370.c (md_assemble): Add cast for argument to print
320 statement.
321 * config/tc-tic54x.c (subsym_substitute): Likewise.
322 * config/tc-mn10200.c (md_assemble): Use a union to convert the
323 opindex field of fr_cgen structure into a pointer so that it can
324 be stored in a frag.
325 * config/tc-mn10300.c (md_assemble): Likewise.
326 * config/tc-frv.c (frv_debug_tomcat): Use %p to print pointer
327 types.
328 * config/tc-v850.c: Replace uses of (int) casts with correct
329 types.
330
331 2006-01-09 H.J. Lu <hongjiu.lu@intel.com>
332
333 PR gas/2117
334 * symbols.c (snapshot_symbol): Don't change a defined symbol.
335
336 2006-01-03 Hans-Peter Nilsson <hp@bitrange.com>
337
338 PR gas/2101
339 * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
340 a local-label reference.
341
342 For older changes see ChangeLog-2005
343 \f
344 Local Variables:
345 mode: change-log
346 left-margin: 8
347 fill-column: 74
348 version-control: never
349 End:
This page took 0.037755 seconds and 5 git commands to generate.