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