gdb/
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
96e0bbcc
NS
12007-02-20 Nathan Sidwell <nathan@codesourcery.com>
2
3 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
4 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
5
d31f0f6d
AM
62007-02-18 Alan Modra <amodra@bigpond.net.au>
7
8 * write.c (TC_FX_SIZE_SLACK): Define.
9 (write_relocs): Reinstate check for fixup within frag.
10 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
11 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
12 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
13 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
14 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
15
92f01d61
JM
162007-02-17 Mark Mitchell <mark@codesourcery.com>
17 Nathan Sidwell <nathan@codesourcery.com>
18 Vladimir Prus <vladimir@codesourcery.com
19 Joseph Myers <joseph@codesourcery.com>
20
21 * configure.in (--with-bugurl): New option.
22 * configure: Regenerate.
23 * dep-in.sed: Remove bin-bugs.h.
24 * Makefile.am (REPORT_BUGS_TO): Define.
25 (INCLUDES): Define REPORT_BUGS_TO.
26 (DEP_INCLUDES): Likewise.
27 ($(OBJS)): No longer depend on bin-bugs.h.
28 * Makefile.in: Regenerate.
29 * doc/Makefile.in: Regenerate.
30 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
31 * as.h: Remove include of bin-bugs.h.
32
b4b24b79
AM
332007-02-17 Alan Modra <amodra@bigpond.net.au>
34
35 * write.c: White space fixes.
36 (fixup_segment): Move symbol_mri_common_p adjustments..
37 (write_relocs): ..and symbol_equated_reloc_p adjustments..
38 (adjust_reloc_syms): ..to here.
39
e7ff5c73
AM
402007-02-16 Alan Modra <amodra@bigpond.net.au>
41
42 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
43 xmalloc, memset. Don't bother assigning NULL to known zero mem.
44 (subseg_set_rest): Remove unnecessary cast.
45 * write.c: Include libbfd.h. Replace PTR with void * throughout.
46 Remove unnecessary forward declarations and casts.
47 (set_symtab): Delete extern bfd_alloc.
48 (fixup_segment): Move.
49
a8e24a56
NS
502007-02-15 Nathan Sidwell <nathan@codesourcery.com>
51
52 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
53 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
54 (mcf5475_ctrl, mcf5485_ctrl): New.
55 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
56 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
57 (init_table): Add asid, mmubar, adjust rombar0.
58
4eed87de
AM
592007-02-14 Alan Modra <amodra@bigpond.net.au>
60
61 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
62 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
63 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
64 code, and test for these insns using a combination of
65 opcode_modifier and operand_types.
66
7bd1c961
PB
672007-02-07 Paul Brook <paul@codesourcery.com>
68
5c817587 69 * configure.tgt: Add arm*-*-uclinux-*eabi.
7bd1c961 70
280d71bf 712007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
72 Richard Sandiford <rsandifo@redhat.com>
73 DJ Delorie <dj@redhat.com>
74 Stan Cox <scox@redhat.com>
75 Jim Blandy <jimb@redhat.com>
76 Nick Clifton <nickc@redhat.com>
77 Jim Wilson <wilson@redhat.com>
78 Frank Ch. Eigler <fche@redhat.com>
79 Graydon Hoare <graydon@redhat.com>
80 Ben Elliston <bje@redhat.com>
81 John Healy <jhealy@redhat.com>
82 Richard Henderson <rth@redhat.com>
83
84 * Makefile.am (CPU_TYPES): Add mep.
85 (TARGET_CPU_CFILES): Add tc-mep.c.
86 (TARGET_CPU_HFILES): Add tc-mep.h.
87 (DEPTC_mep_elf): New variable.
88 (DEPTC_mep_coff): Likewise.
89 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
90 * configure.in: Support mep.
91 * configure.tgt: Likewise.
92 * config/tc-mep.c: New file.
280d71bf
DB
93 * config/obj-elf.c: New file.
94 * config/tc-mep.c: New file.
95 * config/tc-mep.h: New file.
96 * testsuite/gas/mep: New testsuite with content.
97 * Makefile.in: Regenerate.
98 * configure: Regenerate.
99
1002007-02-05 Dave Brolley <brolley@redhat.com>
101
102 * cgen.c (gas_cgen_install_complex_reloc): Removed.
103 (complex_reloc_installation_howto): Removed.
104
1052007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
106 Graydon Hoare <graydon@redhat.com>
107 DJ Delorie <dj@redhat.com>
108 Catherine Moore <clm@redhat.com>
109 Michael Chastain <chastain@redhat.com>
110 Frank Ch. Eigler <fche@redhat.com>
280d71bf
DB
111
112 * symbols.c (use_complex_relocs_for): New, to decide
4948f0d4
DB
113 when to use complex relocs. Add signed RELC support.
114 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
115 encode expression symbols as mangled complex relocation symbols (when
116 compiled with -DOBJ_COMPLEX_RELOC).
117 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
118 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
119 encode_addend with new args. Modify to get start, length from
120 ifield whenever it is set. Also change condition on which
121 self-describing relocs are encoded. Add hook into
122 gas_cgen_encode_addend.
123 (queue_fixup_recursively): Add signed RELC support. Change from masked
124 expr to trunc flag. Restore assignment of sub-field value to
125 temporary in fixups array. Reflect changed meaning of last arg to
280d71bf 126 queue_fixup_recursively.
4948f0d4 127 (fixup): Add cgen_maybe_multi_ifield member.
280d71bf
DB
128 (make_right_shifted_expr): New function.
129 (queue_fixup): Change to recursive function that fragments
130 fixups if operand has a multi-ifield.
131 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
132 symbols, call weak_operand_overflow_check, and fragment call
133 queue_fixup with operand fields.
134 (gas_cgen_finish_insn) Modify to manage ifield pointer.
280d71bf
DB
135 (weak_operand_overflow_check): New function to try to select
136 insns correctly.
4948f0d4 137 (gas_cgen_encode_addend): New function for relc.
280d71bf 138 (gas_cgen_install_complex_reloc): Likewise.
280d71bf 139 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
4948f0d4
DB
140 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
141 cgen_maybe_multi_ifield field to fx_cgen substructure.
142 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
143 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
144
e110eeb7
DD
1452007-02-03 DJ Delorie <dj@delorie.com>
146
147 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
148 byte relocs.
149 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
150 (m32c_cons_fix_new): Prototype.
151
60242db2
BW
1522007-02-02 Bob Wilson <bob.wilson@acm.org>
153
154 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
155 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
156
bbdd25a8
BW
1572007-02-02 Bob Wilson <bob.wilson@acm.org>
158
159 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
160 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
161 (map_suffix_reloc_to_operator): New.
162 (map_operator_to_reloc): New.
163 (expression_maybe_register): Fix incorrect test of return value from
164 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
165 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
166
9c874773
BW
1672007-02-02 Bob Wilson <bob.wilson@acm.org>
168
169 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
170 (tinsn_get_tok): Delete prototype.
171 * config/tc-xtensa.c (tinsn_get_tok): Delete.
172
61376837
BW
1732007-02-02 Bob Wilson <bob.wilson@acm.org>
174
175 * config/xtensa-relax.h (struct build_instr): Delete id field.
176 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
177 and LABEL tokens.
178 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
179 set op_data fields to zero.
180 (parse_id_constant): Delete.
181 (build_transition): Remove code to handle numbered literals and labels.
182
bc447904
BW
1832007-02-02 Bob Wilson <bob.wilson@acm.org>
184
185 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
186 (build_transition_table): Likewise.
187
63a7429b
BW
1882007-02-01 Bob Wilson <bob.wilson@acm.org>
189
190 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
191 fx_tcbit.
192 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
193
20ee54e8
AM
1942007-02-02 Alan Modra <amodra@bigpond.net.au>
195
196 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
197 (struct fix <fx_plt>): Rename to tcbit2.
198 * write.c (fix_new_internal): Adjust.
199 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
200 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
201 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
202 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
203 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
204 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
205 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
206 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
207 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
208 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
209 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
210 Instead, compare fx_r_type.
211 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
212 fx_tcbit in place of fx_plt.
213 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
214 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
215 to fx_plt.
216
bf083c64
NC
2172007-01-30 Nick Clifton <nickc@redhat.com>
218
219 * as.c (main): Mark symbols created via the --defsym command line
220 option as volatile so that they can be overridden later on by a
221 .set directive. This maintains compatibility with the behaviour
222 of earlier versions of the assembler.
223 * doc/as.texinfo (--defsym): Document that the defined symbol's
224 value can be overridden via a .set directive.
225
fc523535 2262007-01-28 H.J. Lu <hongjiu.lu@intel.com>
4d456e3d
L
227
228 * config/tc-i386.c (swap_imm_operands): Renamed to ...
229 (swap_2_operands): This. Take 2 ints.
230 (md_assemble): Updated.
231 (swap_operands): Call swap_2_operands to swap 2 operands.
232
7bc4c13c
DD
2332007-01-24 DJ Delorie <dj@redhat.com>
234
235 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
236
48903831
NC
2372007-01-22 Nick Clifton <nickc@redhat.com>
238
07302d31 239 PR gas/3871
48903831
NC
240 * tc-score.c: Remove unnecessary uses of _().
241 Make the err_msg[] a file level local array in order to save
242 storage space.
243 Remove unnecessary sprintf()s.
244
14119072
ML
2452007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
246
07302d31 247 PR gas/3871
14119072
ML
248 * config/tc-score.c : Using _() for const string.
249 Do not assign inst.error with a local string pointer.
250 (md_section_align): Pad section.
251
99018f42
L
2522007-01-13 H.J. Lu <hongjiu.lu@intel.com>
253
254 * config/tc-i386.c (build_modrm_byte): Check number of operands
255 when procssing memory/register operand.
256
465e5617
NC
2572007-01-12 Nick Clifton <nickc@redhat.com>
258
259 PR gas/3856
260 * macro.c (expand_irp): Do not ignore spaces inside quoted
261 strings.
262
e8630bd7
AM
2632007-01-12 Alan Modra <amodra@bigpond.net.au>
264
265 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
266 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
267 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
268 (TC_FORCE_RELOCATION): Define.
269 (TC_FORCE_RELOCATION_LOCAL): Define.
270 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
271
1f5409bb
AM
2722007-01-12 Alan Modra <amodra@bigpond.net.au>
273
274 * input-file.c (input_file_open): Check fgets return.
275
dc4503c6
PB
2762007-01-11 Paul Brook <paul@codesourcery.com>
277
278 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
279
04f8d83b
NC
2802007-01-11 Nick Clifton <nickc@redhat.com>
281
493cb6ef
NC
282 PR gas/3707
283 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
284 variable.
285
04f8d83b
NC
286 * config/tc-mcore.c (md_number_to_chars): Use
287 number_to_chars_{big|little}endian.
288
3bdcfdf4
KH
2892007-01-08 Kazu Hirata <kazu@codesourcery.com>
290
291 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
292 architecture by itself.
293 (m68k_ip): Don't issue a warning for tbl instructions on fido.
294 (m68k_elf_final_processing): Treat Fido as an architecture by
295 itself.
296
42037fe5
NC
2972007-01-08 Kai Tietz <kai.tietz@onevision.com>
298
299 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
300
e4a3b5a4
L
3012007-01-05 H.J. Lu <hongjiu.lu@intel.com>
302
303 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
304 depending on allow_naked_reg.
305
a028a6f5
PB
3062007-01-04 Paul Brook <paul@codesourcery.com>
307
308 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
309
2ca3ace5
L
3102007-01-04 H.J. Lu <hongjiu.lu@intel.com>
311
44f9b8ac 312 PR gas/3830
2ca3ace5
L
313 * config/tc-i386.c (register_prefix): New.
314 (set_intel_syntax): Set set_intel_syntax to "" if register
2221f452 315 prefix isn't needed.
2ca3ace5
L
316 (check_byte_reg): Use register_prefix for error message.
317 (check_long_reg): Likewise.
318 (check_qword_reg): Likewise.
319 (check_word_reg): Likewise.
320
627907b7
JB
3212006-01-04 Julian Brown <julian@codesourcery.com>
322
323 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
324 (do_neon_qshl_imm): Likewise.
325 (do_neon_rshl): New function. Handle rounding variants of
326 v{q}shl-by-register.
327 (insns): Use do_neon_rshl for vrshl, vqrshl.
328
92559b5b
PB
3292007-01-04 Paul Brook <paul@codesourcery.com>
330
331 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
332 and vacle.
333
2ca3ace5
L
3342007-01-03 H.J. Lu <hongjiu.lu@intel.com>
335
336 * config/tc-i386.c (swap_operands): Remove branches.
337
4dc85607
L
3382007-01-03 H.J. Lu <hongjiu.lu@intel.com>
339
340 * config/tc-i386.c: Update copyright year.
341 * config/tc-i386.h: Likewise.
342
1509aa9a
L
3432007-01-03 H.J. Lu <hongjiu.lu@intel.com>
344
345 * config/tc-i386.c (smallest_imm_type): Return unsigned int
346 instead of int.
347
e3bb37b5
L
3482007-01-03 H.J. Lu <hongjiu.lu@intel.com>
349
350 * config/tc-i386.c: Convert to ISO C90 formatting
351 * config/tc-i386.h: Likewise.
352
d821e36b
DD
3532007-01-03 David Daney <ddaney@avtrex.com>
354
355 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
356 documentation.
357
44021fe5 358For older changes see ChangeLog-2006
08d56133
NC
359\f
360Local Variables:
361mode: change-log
362left-margin: 8
363fill-column: 74
364version-control: never
365End:
This page took 0.300314 seconds and 4 git commands to generate.