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