]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
* gas/mips/macro-warn-[1234].[sdl]: New tests.
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
584892a6
RS
12004-01-23 Richard Sandiford <rsandifo@redhat.com>
2
3 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
4 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
5 (RELAX_USE_SECOND): Bump to 0x10000.
6 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
7 (mips_macro_warning): New variable.
8 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
9 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
10 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
11 of RELAX_ENCODE.
12 (append_insn): Update mips_macro_warning.sizes.
13 (macro_start, macro_warning, macro_end): New functions.
14 (macro_build): Don't emit warnings here.
15 (macro_build_lui, md_estimate_size_before_relax): ...or here.
16 (md_convert_frag): Check for cases where one macro alternative
17 needs a warning and the other doesn't. Emit a warning if the
18 longer sequence was chosen.
19
4d7206a2
RS
202004-01-23 Richard Sandiford <rsandifo@redhat.com>
21
22 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
23 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
24 the first sequence, the size of the second sequence, and a flag
25 that says whether we should warn.
26 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
27 (RELAX_FIRST, RELAX_SECOND): New.
28 (mips_relax): New variable.
29 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
30 (append_insn): Remove "place" argument. Use mips_relax.sequence
31 rather than "place" to check whether we're expanding the second
32 alternative of a relaxable macro. Remove redundant check for
33 branch relaxation. If generating a normal insn, and there
34 is not enough room in the current frag, call relax_close_frag()
35 to close it. Update mips_relax.sizes[]. Emit fixups for the
36 second version of a relaxable macro. Record the first relaxable
37 fixup in mips_relax. Remove tc_gen_reloc workaround.
38 (macro_build): Remove all uses of "place". Use mips_relax.sequence
39 in the same way as in append_insn.
40 (mips16_macro_build): Remove "place" argument.
41 (macro_build_lui): As for macro_build. Don't drop the add_symbol
42 when generating the second version of a relaxable macro.
43 (load_got_offset, add_got_offset): New functions.
44 (load_address, macro): Use new relaxation machinery. Remove
45 tc_gen_reloc workarounds.
46 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
47 version of a relaxable macro is needed. Return -RELAX_SECOND if the
48 first version is needed.
49 (tc_gen_reloc): Remove relaxation handling.
50 (md_convert_frag): Go through the fixups for a relaxable macro and
51 mark those that belong to the unneeded alternative as done. If the
52 second alternative is needed, adjust the fixup addresses to account
53 for the deleted first alternative.
54
0530d30a
RS
552004-01-23 Richard Sandiford <rsandifo@redhat.com>
56
57 * frags.h (frag_room): Declare.
58 * frags.c (frag_room): New function.
59 * doc/internals.texi: Document it.
60
048cdf86
TS
612004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
62
63 * config/tc-mips.c (append_insn): Don't do r3900 interlock
64 optimization for -mtune=r3900, as this will break on other CPUs.
65
28d39d1a
NC
662004-01-11 Tom Rix <tcrix@worldnet.att.net>
67
68 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
69 be relaxed, use fixup.
70 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
71
26664553
JJ
722004-01-19 Jakub Jelinek <jakub@redhat.com>
73
74 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
75 precision operands.
76
895921c9
MR
772004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
78
79 * config/tc-mips.c (append_insn): Properly detect variant frags
80 that preclude swapping of relaxed branches. Correctly swap
81 instructions between frags when dealing with relaxed branches.
82
f8b73030
MR
832004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
84
85 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
86 throughout.
87 * aclocal.m4: Regenerate.
88 * configure: Regenerate.
89
ca9a79a1
NC
902004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
91
92 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
93 manipulation insns.
94
cc3d92a5
RS
952004-01-12 Richard Sandiford <rsandifo@redhat.com>
96
97 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
98 reloc, reserve space for the delay slot as well as the jalr itself.
99
e45d0630
PB
1002004-01-09 Paul Brook <paul@codesourcery.com>
101
102 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
103 (do_vfp_sp2_from_reg2): New function.
104 (insns): Use them.
105 (do_vfp_dp_from_reg2): Check return values properly.
106
81912461
ILT
1072004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
108
78849248
ILT
109 * config/tc-mips.c (warn_nops): Remove static variable.
110 (macro): Remove test of warn_nops.
111 (md_shortops): Remove 'n'.
112 (md_parse_option): Remove 'n' case.
113 (md_show_usage): Remove -n.
114 * doc/as.texinfo (Overview): Remove MIPS -n option.
115 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
116 * NEWS: Mention removal of MIPS -n option.
117
81912461
ILT
118 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
119 (cop_interlocks): Check ISA level.
120 (cop_mem_interlocks): Define.
121 (reg_needs_delay): Check cop_interlocks rather than
122 ISA_HAS_COPROC_DELAYS.
123 (append_insn): Likewise. Use cop_mem_interlocks rather than
124 directly checking mips_opts.isa.
125 (mips_emit_delays): Likewise.
126
73f20958
L
1272004-01-07 H.J. Lu <hongjiu.lu@intel.com>
128
129 * config/tc-ia64.c (unwind): Move next_slot_number and
130 next_slot_frag to ...
131 (unw_rec_list): Here.
132 (free_list_records): Removed.
133 (output_unw_records): Likewise.
134 (generate_unwind_image): Make it void.
135 (alloc_record): Initialize next_slot_number and next_slot_frag.
136 (slot_index): Take .org, .space and .align into account.
137 (fixup_unw_records): Don't set slot_number to 0. Use
138 list->next_slot_number and list->next_slot_frag instead of
139 unwind.next_slot_number and unwind.next_slot_frag.
140 (ia64_convert_frag): New.
141 (generate_unwind_image): Generate a rs_machine_dependent frag
142 for unwind record.
143 (emit_one_bundle): Use list->next_slot_number and
144 list->next_slot_frag instead of unwind.next_slot_number and
145 unwind.next_slot_frag.
146
147 * config/tc-ia64.h (md_convert_frag): Defined as
148 ia64_convert_frag.
149 (md_estimate_size_before_relax): Defined as (f)->fr_var.
150
99d09cdb
AO
1512004-01-06 Alexandre Oliva <aoliva@redhat.com>
152
153 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
154 * config/tc-frv.h (md_apply_fix3): Don't define.
155 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
156 operands.
157 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
158 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
159 * config/tc-frv.c (line_separator_chars): Add `!'.
160 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
161 * config/tc-frv.c (md_assemble): Clear insn upfront.
162 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
163 * config/tc-frv.c (OPTION_FDPIC): New macro.
164 (md_longopts): Add mfdpic.
165 (md_parse_option): Handle it.
166 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
167 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
168 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
169 (frv_pic_ptr): Parse funcdesc.
170
4a4c4a1d
MR
1712004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
172
173 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
174 gasver.texi. Remove duplicate symbol definitions for texi2pod.
175
2251dd89
MR
1762004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
177
178 * Makefile.am (Makefile): Move the dependency on
179 $(BFDDIR)/configure.in to...
180 (CONFIG_STATUS_DEPENDENCIES): ... here.
181 (AUTOMAKE_OPTIONS): Require automake 1.8.
182 * Makefile.in: Regenerate.
183 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
184 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
185 $(BFDDIR)/configure.in here as well.
186 * doc/Makefile.in: Regenerate.
187
c6581168
MR
1882004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
189
190 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
191 * Makefile.in: Regenerate.
192 * aclocal.m4: Regenerate.
193 * doc/Makefile.am (install, install-info): Remove.
194 (install-data-local): A new hook for install-info.
195 (AUTOMAKE_OPTIONS): Require automake 1.8.
196 * doc/Makefile.in: Regenerate.
197
303e7b79
NC
1982004-01-02 Nutan Singh <nutan@kpitcummins.com>
199
200 * doc/c-sh.texi: Update description about floating point behavior
201 of SH family.
202
b50c15dc
NC
2032004-01-02 Bernardo Innocenti <bernie@develer.com>
204
205 * configure.in: Add m68k-uClinux target.
206 * configure: Regenerate.
7de9afa2 207
c9e214e5 208For older changes see ChangeLog-0203
08d56133
NC
209\f
210Local Variables:
211mode: change-log
212left-margin: 8
213fill-column: 74
214version-control: never
215End: