2004-02-26 Orjan Friberg <orjanf@axis.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
1d6d62a4
MS
12004-02-27 Hannes Reinecke <hare@suse.de>
2
3 * config/tc-s390.c (s390_insn): Correct range check for opcode in
4 .insn pseudo operation.
5
4aa3e325
NC
62004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
7
8 * config/tc-sh.c (get_operand): In case of #Imm, check has been
9 added for wrong syntax.
10
73369e65
EC
112004-02-26 Eric Christopher <echristo@redhat.com>
12
13 * config/tc-mips.c (mips_dwarf2_addr_size): New.
14 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
15
6a5709a5
JR
162004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
17
18 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
19 nibble types to assembler.
20
95385380
FF
212004-02-25 Fred Fish <fnf@redhat.com>
22
23 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
24
b5e0fabd
JW
252004-02-20 James E Wilson <wilson@specifixinc.com>
26
27 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
28 finalize_syms.
29 (fixup_unw_records): New arg before_relax. Pass to slot_index.
30 (ia64_estimate_size_before_relax): New.
31 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
32 (generate_unwind_image): Pass 1 to fixup_unw_records.
33 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
34 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
35
2f01ffbf
JJ
362004-02-19 Jakub Jelinek <jakub@redhat.com>
37
38 * stabs.c (generate_asm_file): Avoid warning about use of
39 uninitialized variable.
40
9c59842f
JW
412004-02-18 David Mosberger <davidm@hpl.hp.com>
42
43 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
44 body, and endp, allow unwind records which do not have a "t"
45 (time/instruction) field.
46
34920d91
NC
472004-02-17 Petko Manolov <petkan@nucleusys.com>
48
49 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
50 (do_mav_dspsc_2): Likewise.
51 Fix accumulator registers move opcodes.
52
4dde8e61
AJ
532004-02-13 Hannes Reinecke <hare@suse.de>
54 Jakub Jelinek <jakub@redhat.com>
55
56 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
57
936cf02e
JW
582004-02-10 Steve Ellcey <sje@cup.hp.com>
59
60 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
61 (tc_frob_symbol): New macro definition.
62 * config/tc-ia64.c (ia64_frob_symbol): New routine.
63
e41f12f3
DJ
642004-02-09 Daniel Jacobowitz <drow@mvista.com>
65
66 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
67 read-only.
68
a8a3b3b2
NS
692004-02-09 Nathan Sidwell <nathan@codesourcery.com>
70
71 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
72 (TC_CASE_SENSITIVE): ... this.
73 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
74 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
75
c97b7ef6
JW
762004-02-06 James E Wilson <wilson@specifixinc.com>
77
78 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
79 (generate_unwind_image): Re-add it here.
80
e4475e39
NS
812004-02-06 Nathan Sidwell <nathan@codesourcery.com>
82
83 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
84 * read.h (SKIP_WHITESPACE): Turn into an expression.
85 * read.c (read_a_source_file): A pseudo is removed by having a
86 NULL handler.
87
5738bc24
JW
882004-02-05 James E Wilson <wilson@specifixinc.com>
89
90 * config/tc-ia64.c (output_endp): New.
91 (count_bits): Delete.
92 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
93 endp unwind records.
94 (fixup_unw_records): Handle endp unwind records. Delete code for
95 shortening prologue regions not followed by a body record.
96 (dot_endp): Call add_unwind_entry to emit endp unwind record.
97 * config/tc-ia64.h (unw_record_type): Add endp.
98
d6e78c11
JW
992004-02-03 James E Wilson <wilson@specifixinc.com>
100
101 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
102 fill padding bytes with zeroes.
103 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
104 sets unwind_record slot_number and slot_frag fields.
105
f6a22291
MR
1062004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
107
108 * config/tc-mips.c (add_got_offset_hilo): New function.
109 (macro): Use load_register() and add_got_offset_hilo() to load
110 constants instead of hardcoding code sequences throughout.
111
127cab00
L
1122004-01-28 H.J. Lu <hongjiu.lu@intel.com>
113
114 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
115
6358301e
NC
1162004-01-26 Bernardo Innocenti <bernie@develer.com>
117
118 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
119 like m68k-elf.
120 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
121 of hard-coded test for TARGET_OS=elf.
122
c8978940
CD
1232004-01-24 Chris Demetriou <cgd@broadcom.com>
124
125 * config/tc-mips.c (hilo_interlocks): Change definition
126 so that MIPS32, MIPS64 and later ISAs are included, along with
127 the already-included machines. Update comments.
128
c3ba240c
DJ
1292004-01-23 Daniel Jacobowitz <drow@mvista.com>
130
131 * config/tc-arm.c (tc_gen_reloc): Improve error message for
132 undefined local labels.
133
e864ceca
RS
1342004-01-23 Richard Sandiford <rsandifo@redhat.com>
135
136 * config/tc-mips.c (load_address, macro): Update comments about
137 NewABI GP relaxation.
138
67c0d1eb
RS
1392004-01-23 Richard Sandiford <rsandifo@redhat.com>
140
141 * config/tc-mips.c (macro_build): Remove place and counter arguments.
142 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
143 (mips16_macro_build, macro_build_jalr): Remove counter argument.
144 (set_at, load_register, load_address, move_register): Likewise.
145 (load_got_offset, add_got_offset): Likewise.
146 Update all calls and tidy accordingly.
147
584892a6
RS
1482004-01-23 Richard Sandiford <rsandifo@redhat.com>
149
150 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
151 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
152 (RELAX_USE_SECOND): Bump to 0x10000.
153 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
154 (mips_macro_warning): New variable.
155 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
156 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
157 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
158 of RELAX_ENCODE.
159 (append_insn): Update mips_macro_warning.sizes.
160 (macro_start, macro_warning, macro_end): New functions.
161 (macro_build): Don't emit warnings here.
162 (macro_build_lui, md_estimate_size_before_relax): ...or here.
163 (md_convert_frag): Check for cases where one macro alternative
164 needs a warning and the other doesn't. Emit a warning if the
165 longer sequence was chosen.
166
4d7206a2
RS
1672004-01-23 Richard Sandiford <rsandifo@redhat.com>
168
169 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
170 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
171 the first sequence, the size of the second sequence, and a flag
172 that says whether we should warn.
173 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
174 (RELAX_FIRST, RELAX_SECOND): New.
175 (mips_relax): New variable.
176 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
177 (append_insn): Remove "place" argument. Use mips_relax.sequence
178 rather than "place" to check whether we're expanding the second
179 alternative of a relaxable macro. Remove redundant check for
180 branch relaxation. If generating a normal insn, and there
181 is not enough room in the current frag, call relax_close_frag()
182 to close it. Update mips_relax.sizes[]. Emit fixups for the
183 second version of a relaxable macro. Record the first relaxable
184 fixup in mips_relax. Remove tc_gen_reloc workaround.
185 (macro_build): Remove all uses of "place". Use mips_relax.sequence
186 in the same way as in append_insn.
187 (mips16_macro_build): Remove "place" argument.
188 (macro_build_lui): As for macro_build. Don't drop the add_symbol
189 when generating the second version of a relaxable macro.
190 (load_got_offset, add_got_offset): New functions.
191 (load_address, macro): Use new relaxation machinery. Remove
192 tc_gen_reloc workarounds.
193 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
194 version of a relaxable macro is needed. Return -RELAX_SECOND if the
195 first version is needed.
196 (tc_gen_reloc): Remove relaxation handling.
197 (md_convert_frag): Go through the fixups for a relaxable macro and
198 mark those that belong to the unneeded alternative as done. If the
199 second alternative is needed, adjust the fixup addresses to account
200 for the deleted first alternative.
201
0530d30a
RS
2022004-01-23 Richard Sandiford <rsandifo@redhat.com>
203
204 * frags.h (frag_room): Declare.
205 * frags.c (frag_room): New function.
206 * doc/internals.texi: Document it.
207
048cdf86
TS
2082004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
209
210 * config/tc-mips.c (append_insn): Don't do r3900 interlock
211 optimization for -mtune=r3900, as this will break on other CPUs.
212
28d39d1a
NC
2132004-01-11 Tom Rix <tcrix@worldnet.att.net>
214
215 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
73369e65 216 be relaxed, use fixup.
28d39d1a
NC
217 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
218
26664553
JJ
2192004-01-19 Jakub Jelinek <jakub@redhat.com>
220
221 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
222 precision operands.
223
895921c9
MR
2242004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
225
226 * config/tc-mips.c (append_insn): Properly detect variant frags
227 that preclude swapping of relaxed branches. Correctly swap
228 instructions between frags when dealing with relaxed branches.
229
f8b73030
MR
2302004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
231
232 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
233 throughout.
234 * aclocal.m4: Regenerate.
235 * configure: Regenerate.
236
ca9a79a1 2372004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
73369e65 238
ca9a79a1
NC
239 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
240 manipulation insns.
241
cc3d92a5
RS
2422004-01-12 Richard Sandiford <rsandifo@redhat.com>
243
244 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
245 reloc, reserve space for the delay slot as well as the jalr itself.
246
e45d0630
PB
2472004-01-09 Paul Brook <paul@codesourcery.com>
248
249 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
250 (do_vfp_sp2_from_reg2): New function.
251 (insns): Use them.
252 (do_vfp_dp_from_reg2): Check return values properly.
253
81912461
ILT
2542004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
255
78849248
ILT
256 * config/tc-mips.c (warn_nops): Remove static variable.
257 (macro): Remove test of warn_nops.
258 (md_shortops): Remove 'n'.
259 (md_parse_option): Remove 'n' case.
260 (md_show_usage): Remove -n.
261 * doc/as.texinfo (Overview): Remove MIPS -n option.
262 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
263 * NEWS: Mention removal of MIPS -n option.
264
81912461
ILT
265 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
266 (cop_interlocks): Check ISA level.
267 (cop_mem_interlocks): Define.
268 (reg_needs_delay): Check cop_interlocks rather than
269 ISA_HAS_COPROC_DELAYS.
270 (append_insn): Likewise. Use cop_mem_interlocks rather than
271 directly checking mips_opts.isa.
272 (mips_emit_delays): Likewise.
273
73f20958
L
2742004-01-07 H.J. Lu <hongjiu.lu@intel.com>
275
276 * config/tc-ia64.c (unwind): Move next_slot_number and
277 next_slot_frag to ...
278 (unw_rec_list): Here.
279 (free_list_records): Removed.
280 (output_unw_records): Likewise.
281 (generate_unwind_image): Make it void.
282 (alloc_record): Initialize next_slot_number and next_slot_frag.
283 (slot_index): Take .org, .space and .align into account.
284 (fixup_unw_records): Don't set slot_number to 0. Use
285 list->next_slot_number and list->next_slot_frag instead of
286 unwind.next_slot_number and unwind.next_slot_frag.
287 (ia64_convert_frag): New.
288 (generate_unwind_image): Generate a rs_machine_dependent frag
289 for unwind record.
290 (emit_one_bundle): Use list->next_slot_number and
291 list->next_slot_frag instead of unwind.next_slot_number and
292 unwind.next_slot_frag.
293
294 * config/tc-ia64.h (md_convert_frag): Defined as
295 ia64_convert_frag.
296 (md_estimate_size_before_relax): Defined as (f)->fr_var.
297
99d09cdb
AO
2982004-01-06 Alexandre Oliva <aoliva@redhat.com>
299
300 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
301 * config/tc-frv.h (md_apply_fix3): Don't define.
302 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
303 operands.
304 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
305 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
306 * config/tc-frv.c (line_separator_chars): Add `!'.
307 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
308 * config/tc-frv.c (md_assemble): Clear insn upfront.
309 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
310 * config/tc-frv.c (OPTION_FDPIC): New macro.
311 (md_longopts): Add mfdpic.
312 (md_parse_option): Handle it.
313 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
314 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
315 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
316 (frv_pic_ptr): Parse funcdesc.
317
4a4c4a1d
MR
3182004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
319
320 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
321 gasver.texi. Remove duplicate symbol definitions for texi2pod.
322
2251dd89
MR
3232004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
324
325 * Makefile.am (Makefile): Move the dependency on
326 $(BFDDIR)/configure.in to...
327 (CONFIG_STATUS_DEPENDENCIES): ... here.
328 (AUTOMAKE_OPTIONS): Require automake 1.8.
329 * Makefile.in: Regenerate.
330 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
331 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
332 $(BFDDIR)/configure.in here as well.
333 * doc/Makefile.in: Regenerate.
334
c6581168
MR
3352004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
336
337 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
338 * Makefile.in: Regenerate.
339 * aclocal.m4: Regenerate.
340 * doc/Makefile.am (install, install-info): Remove.
341 (install-data-local): A new hook for install-info.
342 (AUTOMAKE_OPTIONS): Require automake 1.8.
343 * doc/Makefile.in: Regenerate.
344
303e7b79
NC
3452004-01-02 Nutan Singh <nutan@kpitcummins.com>
346
347 * doc/c-sh.texi: Update description about floating point behavior
348 of SH family.
349
b50c15dc
NC
3502004-01-02 Bernardo Innocenti <bernie@develer.com>
351
352 * configure.in: Add m68k-uClinux target.
353 * configure: Regenerate.
7de9afa2 354
c9e214e5 355For older changes see ChangeLog-0203
08d56133
NC
356\f
357Local Variables:
358mode: change-log
359left-margin: 8
360fill-column: 74
361version-control: never
362End:
This page took 0.173579 seconds and 4 git commands to generate.