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