]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
* corefile.c (core_init): Report that the executable is not in the
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
080eb7fe
PB
12006-03-21 Paul Brook <paul@codesourcery.com>
2
3 * config/tc-arm.c (md_apply_fix): Fix typo in offset mask.
4
03aaa593
BW
52006-03-21 Sterling Augustine <sterling@tensilica.com>
6
7 * config/tc-xtensa.c (enforce_three_byte_loop_align): New flag.
8 (xtensa_setup_hw_workarounds): Set this new flag for older hardware.
9 (get_loop_align_size): New.
10 (xtensa_end): Skip xtensa_mark_narrow_branches when not aligning.
11 (xtensa_mark_zcl_first_insns): Prevent widening of first loop frag.
12 (get_text_align_power): Rewrite to handle inputs in the range 2-8.
13 (get_noop_aligned_address): Use get_loop_align_size.
14 (get_aligned_diff): Likewise.
15
3e94bf1a
PB
162006-03-21 Paul Brook <paul@codesourcery.com>
17
18 * config/tc-arm.c (insns): Correct opcodes for ldrbt and strbt.
19
dfa9f0d5
PB
202006-03-20 Paul Brook <paul@codesourcery.com>
21
22 * config/tc-arm.c (BAD_BRANCH, BAD_NOT_IT): Define.
23 (do_t_branch): Encode branches inside IT blocks as unconditional.
24 (do_t_cps): New function.
25 (do_t_blx, do_t_bkpt, do_t_branch23, do_t_bx, do_t_bxj, do_t_cpsi,
26 do_t_czb, do_t_it, do_t_setend, do_t_tb): Add IT constaints.
27 (opcode_lookup): Allow conditional suffixes on all instructions in
28 Thumb mode.
29 (md_assemble): Advance condexec state before checking for errors.
30 (insns): Use do_t_cps.
31
6e1cb1a6
PB
322006-03-20 Paul Brook <paul@codesourcery.com>
33
34 * config/tc-arm.c (output_relax_insn): Call dwarf2_emit_insn before
35 outputting the insn.
36
0a966e2d
JBG
372006-03-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
38
39 * config/tc-vax.c: Update copyright year.
40 * config/tc-vax.h: Likewise.
41
a49fcc17
JBG
422006-03-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
43
44 * config/tc-vax.c (md_chars_to_number): Used only locally, so
45 make it static.
46 * config/tc-vax.h (md_chars_to_number): Remove obsolete declaration.
47
f5208ef2
PB
482006-03-17 Paul Brook <paul@codesourcery.com>
49
50 * config/tc-arm.c (insns): Add ldm and stm.
51
cb4c78d6
BE
522006-03-17 Ben Elliston <bje@au.ibm.com>
53
54 PR gas/2446
55 * doc/as.texinfo (Ident): Document this directive more thoroughly.
56
c16d2bf0
PB
572006-03-16 Paul Brook <paul@codesourcery.com>
58
59 * config/tc-arm.c (insns): Add "svc".
60
80ca4e2c
BW
612006-03-13 Bob Wilson <bob.wilson@acm.org>
62
63 * config/tc-xtensa.c (xg_translate_sysreg_op): Remove has_underbar
64 flag and avoid double underscore prefixes.
65
3a4a14e9
PB
662006-03-10 Paul Brook <paul@codesourcery.com>
67
68 * config/tc-arm.c (md_begin): Handle EABIv5.
69 (arm_eabis): Add EF_ARM_EABI_VER5.
70 * doc/c-arm.texi: Document -meabi=5.
71
518051dc
BE
722006-03-10 Ben Elliston <bje@au.ibm.com>
73
74 * app.c (do_scrub_chars): Simplify string handling.
75
00a97672
RS
762006-03-07 Richard Sandiford <richard@codesourcery.com>
77 Daniel Jacobowitz <dan@codesourcery.com>
78 Zack Weinberg <zack@codesourcery.com>
79 Nathan Sidwell <nathan@codesourcery.com>
80 Paul Brook <paul@codesourcery.com>
81 Ricardo Anguiano <anguiano@codesourcery.com>
82 Phil Edwards <phil@codesourcery.com>
83
84 * config/tc-arm.c (md_apply_fix): Install a value of zero into a
85 BFD_RELOC_ARM_OFFSET_IMM field if we're going to generate a RELA
86 R_ARM_ABS12 reloc.
87 (tc_gen_reloc): Keep the original fx_offset for RELA pc-relative
88 relocs, but adjust by md_pcrel_from_section. Create R_ARM_ABS12
89 relocations for BFD_RELOC_ARM_OFFSET_IMM on RELA targets.
90
b29757dc
BW
912006-03-06 Bob Wilson <bob.wilson@acm.org>
92
93 * config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables
94 even when using the text-section-literals option.
95
0b2e31dc
NS
962006-03-06 Nathan Sidwell <nathan@codesourcery.com>
97
98 * config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k
99 and cf.
100 (m68k_ip): <case 'J'> Check we have some control regs.
101 (md_parse_option): Allow raw arch switch.
102 (m68k_init_arch): Better detection of arch/cpu mismatch. Detect
103 whether 68881 or cfloat was meant by -mfloat.
104 (md_show_usage): Adjust extension display.
105 (m68k_elf_final_processing): Adjust.
106
df406460
NC
1072006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
108
109 * config/tc-avr.c (avr_mod_hash_value): New function.
110 (md_apply_fix, exp_mod): Use BFD_RELOC_HH8_LDI and
111 BFD_RELOC_MS8_LDI for hlo8() and hhi8()
112 (md_begin): Set linkrelax variable to 1, use avr_mod_hash_value
113 instead of int avr_ldi_expression: use avr_mod_hash_value instead
114 of (int).
115 (tc_gen_reloc): Handle substractions of symbols, if possible do
116 fixups, abort otherwise.
117 * config/tc-avr.h (TC_LINKRELAX_FIXUP, TC_VALIDATE_FIX,
118 tc_fix_adjustable): Define.
119
53022e4a
JW
1202006-03-02 James E Wilson <wilson@specifix.com>
121
122 * config/tc-ia64.c (emit_one_bundle): For IA64_OPCODE_LAST, if we
123 change the template, then clear md.slot[curr].end_of_insn_group.
124
9f6f925e
JB
1252006-02-28 Jan Beulich <jbeulich@novell.com>
126
127 * macro.c (get_any_string): Don't insert quotes for <>-quoted input.
128
0e31b3e1
JB
1292006-02-28 Jan Beulich <jbeulich@novell.com>
130
131 PR/1070
132 * macro.c (getstring): Don't treat parentheses special anymore.
133 (get_any_string): Don't consider '(' and ')' as quoting anymore.
134 Special-case '(', ')', '[', and ']' when dealing with non-quoting
135 characters.
136
10cd14b4
AM
1372006-02-28 Mat <mat@csail.mit.edu>
138
139 * dwarf2dbg.c (get_filenum): Don't inadvertently decrease files_in_use.
140
63752a75
JJ
1412006-02-27 Jakub Jelinek <jakub@redhat.com>
142
143 * dw2gencfi.c (struct fde_entry, struct cie_entry): Add signal_frame
144 field.
145 (CFI_signal_frame): Define.
146 (cfi_pseudo_table): Add .cfi_signal_frame.
147 (dot_cfi): Handle CFI_signal_frame.
148 (output_cie): Handle cie->signal_frame.
149 (select_cie_for_fde): Don't share CIE if signal_frame flag is
150 different. Copy signal_frame from FDE to newly created CIE.
151 * doc/as.texinfo: Document .cfi_signal_frame.
152
f7d9e5c3
CD
1532006-02-27 Carlos O'Donell <carlos@codesourcery.com>
154
155 * doc/Makefile.am: Add html target.
156 * doc/Makefile.in: Regenerate.
157 * po/Make-in: Add html target.
158
331d2d0d
L
1592006-02-27 H.J. Lu <hongjiu.lu@intel.com>
160
8502d882 161 * config/tc-i386.c (output_insn): Support Intel Merom New
331d2d0d
L
162 Instructions.
163
8502d882 164 * config/tc-i386.h (CpuMNI): New.
331d2d0d
L
165 (CpuUnknownFlags): Add CpuMNI.
166
10156f83
DM
1672006-02-24 David S. Miller <davem@sunset.davemloft.net>
168
169 * config/tc-sparc.c (priv_reg_table): Add entry for "gl".
170 (hpriv_reg_table): New table for hyperprivileged registers.
171 (sparc_ip): New cases '$' and '%' for wrhpr/rdhpr hyperprivileged
172 register encoding.
173
6772dd07
DD
1742006-02-24 DJ Delorie <dj@redhat.com>
175
176 * config/tc-m32c.h (md_apply_fix): Define to m32c_apply_fix.
177 (tc_gen_reloc): Don't define.
178 * config/tc-m32c.c (rl_for, relaxable): New convenience macros.
179 (OPTION_LINKRELAX): New.
180 (md_longopts): Add it.
181 (m32c_relax): New.
182 (md_parse_options): Set it.
183 (md_assemble): Emit relaxation relocs as needed.
184 (md_convert_frag): Emit relaxation relocs as needed.
185 (md_cgen_lookup_reloc): Add LAB_8_8 and LAB_8_16.
186 (m32c_apply_fix): New.
187 (tc_gen_reloc): New.
188 (m32c_force_relocation): Force out jump relocs when relaxing.
189 (m32c_fix_adjustable): Return false if relaxing.
190
62b3e311
PB
1912006-02-24 Paul Brook <paul@codesourcery.com>
192
193 * config/arm/tc-arm.c (arm_ext_v6_notm, arm_ext_div, arm_ext_v7,
194 arm_ext_v7a, arm_ext_v7r, arm_ext_v7m): New variables.
195 (struct asm_barrier_opt): Define.
196 (arm_v7m_psr_hsh, arm_barrier_opt_hsh): New variables.
197 (parse_psr): Accept V7M psr names.
198 (parse_barrier): New function.
199 (enum operand_parse_code): Add OP_oBARRIER.
200 (parse_operands): Implement OP_oBARRIER.
201 (do_barrier): New function.
202 (do_dbg, do_pli, do_t_barrier, do_t_dbg, do_t_div): New functions.
203 (do_t_cpsi): Add V7M restrictions.
204 (do_t_mrs, do_t_msr): Validate V7M variants.
205 (md_assemble): Check for NULL variants.
206 (v7m_psrs, barrier_opt_names): New tables.
207 (insns): Add V7 instructions. Mark V6 instructions absent from V7M.
208 (md_begin): Initialize arm_v7m_psr_hsh and arm_barrier_opt_hsh.
209 (arm_cpu_option_table): Add Cortex-M3, R4 and A8.
210 (arm_arch_option_table): Add armv7, armv7a, armv7r and armv7m.
211 (struct cpu_arch_ver_table): Define.
212 (cpu_arch_ver): New.
213 (aeabi_set_public_attributes): Use cpu_arch_ver. Set
214 Tag_CPU_arch_profile.
215 * doc/c-arm.texi: Document new cpu and arch options.
216
59cf82fe
L
2172006-02-23 H.J. Lu <hongjiu.lu@intel.com>
218
219 * config/tc-ia64.c (operand_match): Handle IA64_OPND_IMMU5b.
220
19a7219f
L
2212006-02-23 H.J. Lu <hongjiu.lu@intel.com>
222
223 * config/tc-ia64.c: Update copyright years.
224
7f3dfb9c
L
2252006-02-22 H.J. Lu <hongjiu.lu@intel.com>
226
227 * config/tc-ia64.c (specify_resource): Add the rule 17 from
228 SDM 2.2.
229
f40d1643
PB
2302005-02-22 Paul Brook <paul@codesourcery.com>
231
232 * config/tc-arm.c (do_pld): Remove incorrect write to
233 inst.instruction.
234 (encode_thumb32_addr_mode): Use correct operand.
235
216d22bc
PB
2362006-02-21 Paul Brook <paul@codesourcery.com>
237
238 * config/tc-arm.c (md_apply_fix): Fix off-by-one errors.
239
d70c5fc7
NC
2402006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
241 Anil Paranjape <anilp1@kpitcummins.com>
242 Shilin Shakti <shilins@kpitcummins.com>
243
244 * Makefile.am: Add xc16x related entry.
245 * Makefile.in: Regenerate.
246 * configure.in: Added xc16x related entry.
247 * configure: Regenerate.
248 * config/tc-xc16x.h: New file
249 * config/tc-xc16x.c: New file
250 * doc/c-xc16x.texi: New file for xc16x
251 * doc/all.texi: Entry for xc16x
252 * doc/Makefile.texi: Added c-xc16x.texi
253 * NEWS: Announce the support for the new target.
254
aaa2ab3d
NH
2552006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
256
257 * configure.tgt: set emulation for mips-*-netbsd*
258
82de001f
JJ
2592006-02-14 Jakub Jelinek <jakub@redhat.com>
260
261 * config.in: Rebuilt.
262
431ad2d0
BW
2632006-02-13 Bob Wilson <bob.wilson@acm.org>
264
265 * config/tc-xtensa.c (xg_add_opcode_fix): Number operands starting
266 from 1, not 0, in error messages.
267 (md_assemble): Simplify special-case check for ENTRY instructions.
268 (tinsn_has_invalid_symbolic_operands): Do not include opcode and
269 operand in error message.
270
94089a50
JM
2712006-02-13 Joseph S. Myers <joseph@codesourcery.com>
272
273 * configure.tgt (arm-*-linux-gnueabi*): Change to
274 arm-*-linux-*eabi*.
275
52de4c06
NC
2762006-02-10 Nick Clifton <nickc@redhat.com>
277
70e45ad9
NC
278 * config/tc-crx.c (check_range): Ensure that the sign bit of a
279 32-bit value is propagated into the upper bits of a 64-bit long.
280
52de4c06
NC
281 * config/tc-arc.c (init_opcode_tables): Fix cast.
282 (arc_extoper, md_operand): Likewise.
283
21af2bbd
BW
2842006-02-09 David Heine <dlheine@tensilica.com>
285
286 * config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for
287 each relaxation step.
288
75a706fc
L
2892006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
290
291 * configure.in (CHECK_DECLS): Add vsnprintf.
292 * configure: Regenerate.
293 * messages.c (errno.h, stdarg.h, varargs.h, va_list): Do not
294 include/declare here, but...
295 * as.h: Move code detecting VARARGS idiom to the top.
296 (errno.h, stdarg.h, varargs.h, va_list): ...here.
297 (vsnprintf): Declare if not already declared.
298
0d474464
L
2992006-02-08 H.J. Lu <hongjiu.lu@intel.com>
300
301 * as.c (close_output_file): New.
302 (main): Register close_output_file with xatexit before
303 dump_statistics. Don't call output_file_close.
304
266abb8f
NS
3052006-02-07 Nathan Sidwell <nathan@codesourcery.com>
306
307 * config/tc-m68k.c (mcf5208_control_regs, mcf5213_control_regs,
308 mcf5329_control_regs): New.
309 (not_current_architecture, selected_arch, selected_cpu): New.
310 (m68k_archs, m68k_extensions): New.
311 (archs): Renamed to ...
312 (m68k_cpus): ... here. Adjust.
313 (n_arches): Remove.
314 (md_pseudo_table): Add arch and cpu directives.
315 (find_cf_chip, m68k_ip): Adjust table scanning.
316 (no_68851, no_68881): Remove.
317 (md_assemble): Lazily initialize.
318 (select_control_regs): Adjust cpu names. Add 5208, 5213, 5329.
319 (md_init_after_args): Move functionality to m68k_init_arch.
320 (mri_chip): Adjust table scanning.
321 (md_parse_option): Reimplement 'm' processing to add -march & -mcpu
322 options with saner parsing.
323 (m68k_lookup_cpu, m68k_set_arch, m68k_set_cpu, m68k_set_extension,
324 m68k_init_arch): New.
325 (s_m68k_cpu, s_m68k_arch): New.
326 (md_show_usage): Adjust.
327 (m68k_elf_final_processing): Set CF EF flags.
328 * config/tc-m68k.h (m68k_init_after_args): Remove.
329 (tc_init_after_args): Remove.
330 * doc/c-m68k.texi (M68K-Opts): Document -march, -mcpu options.
331 (M68k-Directives): Document .arch and .cpu directives.
332
134dcee5
AM
3332006-02-05 Arnold Metselaar <arnold.metselaar@planet.nl>
334
335 * config/tc-z80.c (z80_start_line_hook): allow .equ and .defl as
336 synonyms for equ and defl.
337 (z80_cons_fix_new): New function.
338 (emit_byte): Disallow relative jumps to absolute locations.
339 (emit_data): Only handle defb, prototype changed, because defb is
340 now handled as pseudo-op rather than an instruction.
341 (instab): Entries for defb,defw,db,dw moved from here...
342 (md_pseudo_table): ... to here, use generic cons() for defw,dw.
343 Add entries for def24,def32,d24,d32.
344 (md_assemble): Improved error handling.
345 (md_apply_fix): New case BFD_RELOC_24, set fixP->fx_no_overflow to one.
346 * config/tc-z80.h (TC_CONS_FIX_NEW): Define.
347 (z80_cons_fix_new): Declare.
348 * doc/c-z80.texi (defb, db): Mention warning on overflow.
349 (def24,d24,def32,d32): New pseudo-ops.
350
a9931606
PB
3512006-02-02 Paul Brook <paul@codesourcery.com>
352
353 * config/tc-arm.c (do_shift): Remove Thumb-1 constraint.
354
ef8d22e6
PB
3552005-02-02 Paul Brook <paul@codesourcery.com>
356
357 * config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
358 T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR,
359 T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB,
360 T2_OPCODE_RSB): Define.
361 (thumb32_negate_data_op): New function.
362 (md_apply_fix): Use it.
363
e7da6241
BW
3642006-01-31 Bob Wilson <bob.wilson@acm.org>
365
366 * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
367 fields.
368 * config/tc-xtensa.h (xtensa_frag_type): Remove slot_sub_symbols field.
369 * config/tc-xtensa.c (md_apply_fix): Check for unexpected uses of
370 subtracted symbols.
371 (relaxation_requirements): Add pfinish_frag argument and use it to
372 replace setting tinsn->record_fix fields.
373 (xg_assemble_vliw_tokens): Adjust calls to relaxation_requirements
374 and vinsn_to_insnbuf. Remove references to record_fix and
375 slot_sub_symbols fields.
376 (xtensa_mark_narrow_branches): Delete unused code.
377 (is_narrow_branch_guaranteed_in_range): Handle expr that is not just
378 a symbol.
379 (convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set
380 record_fix fields.
381 (tinsn_immed_from_frag): Remove code for handling slot_sub_symbols.
382 (vinsn_to_insnbuf): Change use of record_fixup argument, replacing use
383 of the record_fix field. Simplify error messages for unexpected
384 symbolic operands.
385 (set_expr_symbol_offset_diff): Delete.
386
79134647
PB
3872006-01-31 Paul Brook <paul@codesourcery.com>
388
389 * config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
390
e74cfd16
PB
3912006-01-31 Paul Brook <paul@codesourcery.com>
392 Richard Earnshaw <rearnsha@arm.com>
393
394 * config/tc-arm.c: Use arm_feature_set.
395 (arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none,
396 arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1,
397 fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2):
398 New variables.
399 (insns): Use them.
400 (md_atof, opcode_select, opcode_select, md_assemble, md_assemble,
401 md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch,
402 arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes,
403 s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU
404 feature flags.
405 (arm_legacy_option_table, arm_option_cpu_value_table): New types.
406 (arm_opts): Move old cpu/arch options from here...
407 (arm_legacy_opts): ... to here.
408 (md_parse_option): Search arm_legacy_opts.
409 (arm_cpus, arm_archs, arm_extensions, arm_fpus)
410 (arm_float_abis, arm_eabis): Make const.
411
d47d412e
BW
4122006-01-25 Bob Wilson <bob.wilson@acm.org>
413
414 * config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.
415
b14273fe
JZ
4162006-01-21 Jie Zhang <jie.zhang@analog.com>
417
418 * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
419 in load immediate intruction.
420
39cd1c76
JZ
4212006-01-21 Jie Zhang <jie.zhang@analog.com>
422
423 * config/bfin-parse.y (value_match): Use correct conversion
424 specifications in template string for __FILE__ and __LINE__.
425 (binary): Ditto.
426 (unary): Ditto.
427
67a4f2b7
AO
4282006-01-18 Alexandre Oliva <aoliva@redhat.com>
429
430 Introduce TLS descriptors for i386 and x86_64.
431 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
432 BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
433 BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
434 (optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
435 BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
436 displacement bits.
437 (build_modrm_byte): Set up zero modrm for TLS desc calls.
438 (lex_got): Handle @tlsdesc and @tlscall.
439 (md_apply_fix, tc_gen_reloc): Handle the new relocations.
440
8ad7c533
NC
4412006-01-11 Nick Clifton <nickc@redhat.com>
442
443 Fixes for building on 64-bit hosts:
444 * config/tc-avr.c (mod_index): New union to allow conversion
445 between pointers and integers.
446 (md_begin, avr_ldi_expression): Use it.
447 * config/tc-i370.c (md_assemble): Add cast for argument to print
448 statement.
449 * config/tc-tic54x.c (subsym_substitute): Likewise.
450 * config/tc-mn10200.c (md_assemble): Use a union to convert the
451 opindex field of fr_cgen structure into a pointer so that it can
452 be stored in a frag.
453 * config/tc-mn10300.c (md_assemble): Likewise.
454 * config/tc-frv.c (frv_debug_tomcat): Use %p to print pointer
455 types.
456 * config/tc-v850.c: Replace uses of (int) casts with correct
457 types.
458
4dcb3903
L
4592006-01-09 H.J. Lu <hongjiu.lu@intel.com>
460
461 PR gas/2117
462 * symbols.c (snapshot_symbol): Don't change a defined symbol.
463
e0f6ea40
HPN
4642006-01-03 Hans-Peter Nilsson <hp@bitrange.com>
465
466 PR gas/2101
467 * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
468 a local-label reference.
469
e88d958a 470For older changes see ChangeLog-2005
08d56133
NC
471\f
472Local Variables:
473mode: change-log
474left-margin: 8
475fill-column: 74
476version-control: never
477End: