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