Commit | Line | Data |
---|---|---|
6482c264 NC |
1 | 2004-04-20 DJ Delorie <dj@redhat.com> |
2 | ||
3 | * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define. | |
4 | * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32". | |
5 | [TE_PE] (O_secrel): Define. | |
6 | [TE_PE] (x86_pe_cons_fix_new): New. | |
7 | [TE_PE] (pe_directive_secrel): Likewise. | |
8 | (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL. | |
9 | ||
5bf10039 EC |
10 | 2004-04-19 Eric Christopher <echristo@redhat.com> |
11 | ||
12 | * config/tc-mips.c (mips_dwarf2_addr_size): Revert part | |
13 | of previous patch for fix in gcc. | |
14 | ||
77cd6497 JJ |
15 | 2004-04-19 Jakub Jelinek <jakub@redhat.com> |
16 | ||
17 | * config/tc-xtensa.c (xg_assembler_literal): Fix a typo. | |
18 | ||
b8861cfb NS |
19 | 2004-04-19 Nathan Sidwell <nathan@codesourcery.com> |
20 | ||
21 | * read.c (do_align): Call md_flush_pending_output, if defined. | |
22 | ||
f4c724fc AM |
23 | 2004-04-16 Alan Modra <amodra@bigpond.net.au> |
24 | ||
25 | * expr.c (operand): Correct checks for ++ and --. | |
26 | ||
a4b6e8f6 L |
27 | 2004-04-14 H.J. Lu <hongjiu.lu@intel.com> |
28 | ||
29 | * config/tc-generic.c: Add some comments. | |
30 | ||
d766e8ec RS |
31 | 2004-04-14 Richard Sandiford <rsandifo@redhat.com> |
32 | ||
33 | * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from | |
34 | -{no-}mfix-vr4122-bugs. | |
35 | * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs. | |
36 | (append_insn, mips_emit_delays): Update accordingly. | |
37 | (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122. | |
38 | (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120. | |
39 | (md_parse_option): Update after above changes. | |
40 | (md_show_usage): Add -mfix-vr4120. | |
41 | ||
ed9589d4 BW |
42 | 2004-04-13 Bob Wilson <bob.wilson@acm.org> |
43 | ||
44 | * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use | |
45 | of .section directive; add a reference to the ELF .subsection | |
46 | directive. | |
47 | ||
097dba13 NC |
48 | 2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
49 | ||
50 | * config/tc-m32r.c (md_assemble): Fixed infinite loop bug | |
51 | in parallel. | |
52 | ||
279500de TS |
53 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
54 | ||
55 | * Makefile.am: Remove mips from aout targets. | |
56 | * Makefile.in: Regenerate. | |
57 | * configure.in: Remove mips-dec-bsd* target. | |
58 | * configure: Regenerate. | |
59 | ||
b7d7dc63 AM |
60 | 2004-04-07 Alan Modra <amodra@bigpond.net.au> |
61 | ||
62 | PR 96 | |
63 | * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields | |
64 | to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64. | |
65 | Update "mapping". Restrict some @ modifiers to 32 bit. | |
66 | ||
f55629b8 KK |
67 | 2004-04-01 Asgari Jinia <asgarij@kpitcummins.com> |
68 | Dhananjay Deshpande <dhananjayd@kpitcummins.com> | |
69 | ||
70 | * config/tc-sh.c (dont_adjust_reloc_32): New variable. | |
71 | (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when | |
72 | dont_adjust_reloc_32 is set. | |
73 | (md_longopts): Add option -renesas. | |
74 | (md_parse_option, md_show_usage): Likewise. | |
75 | * doc/c-sh.texi: Likewise. | |
76 | ||
a7844384 NC |
77 | 2004-04-01 Dave Korn <dk@artimi.com> |
78 | ||
79 | * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for | |
80 | hi16 and lo16 fixS structs. | |
81 | (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in | |
82 | exactly the same way as for RELOC_DLX_REL16. | |
83 | (machine_ip): properly respect LO flag in the_insn and | |
84 | output RELOC_DLX_LO16 rather than RELOC_DLX_16. | |
85 | (md_apply_fix3): apply RELOC_DLX_LO16. | |
86 | ||
6c71dbc4 SS |
87 | 2004-03-30 Stan Shebs <shebs@apple.com> |
88 | ||
89 | Remove long-obsolete MPW support. | |
90 | * mpw-config.in, mpw-make.sed, mac-as.r: Remove files. | |
91 | * configure.in: Remove mention of ppc-*-mpw* config. | |
92 | * configure.in: Likewise. | |
93 | ||
7cc69913 NC |
94 | 2004-03-30 Nick Clifton <nickc@redhat.com> |
95 | ||
96 | * config/tc-arm.c (meabi_flags): Make its use conditional upon | |
97 | OBJ_ELF being defined. | |
98 | ||
53fbb48a AM |
99 | 2004-03-27 Alan Modra <amodra@bigpond.net.au> |
100 | ||
101 | * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code. | |
102 | ||
d507cf36 PB |
103 | 2004-03-23 Paul Brook <paul@codesourcery.com> |
104 | ||
105 | * config/tc-arm.c (meabi_flags): New variable. | |
106 | (arm_parse_eabi): New function. | |
107 | (md_begin): Set flags for EABI v3. | |
108 | (arm_eabis): Add. | |
109 | (arm_long_opts): Add meabi. | |
110 | * doc/as.texinf <ARM>: Document -meabi. | |
111 | * doc/c-arm.texi: Ditto. | |
112 | ||
88d65ad6 BW |
113 | 2004-03-22 Bob Wilson <bob.wilson@acm.org> |
114 | ||
115 | * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal | |
116 | tables even when use_literal_section flag is not set. | |
117 | ||
13ef8878 AM |
118 | 2004-03-22 Alan Modra <amodra@bigpond.net.au> |
119 | ||
120 | * config/tc-sh.c: Remove trailing whitespace. | |
121 | ||
1048a9ba HPN |
122 | 2004-03-22 Hans-Peter Nilsson <hp@axis.com> |
123 | ||
124 | * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort, | |
125 | --mul-bug-abort and the default behavior. | |
126 | * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL. | |
127 | (err_for_dangerous_mul_placement): New variable. | |
128 | (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New | |
129 | macros. | |
130 | (md_cris_relax_table): Have placeholder for STATE_MUL. | |
131 | (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort. | |
132 | (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New | |
133 | case doing nothing. | |
134 | (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL, | |
135 | STATE_BYTE)>: Ditto. | |
136 | (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check | |
137 | alignment and position of this frag, emit error message if | |
138 | suspicious. | |
139 | (md_assemble): For a multiply insn and when checking it, | |
140 | transform the current frag into a special frag for that purpose. | |
141 | (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case | |
142 | OPTION_MULBUG_ABORT_ON>: Handle new options. | |
143 | ||
a7877748 BW |
144 | 2004-03-19 Bob Wilson <bob.wilson@acm.org> |
145 | ||
146 | * config/tc-xtensa.c (mark_literal_frags): New function. | |
147 | (xtensa_move_literals): Call mark_literal_frags for all literal | |
148 | segments, including init and fini literal segments. | |
149 | (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec. | |
150 | ||
9992270f DA |
151 | 2004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
152 | ||
153 | * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type. | |
154 | (pa_comm): Set BSF_OBJECT in symbol flags. | |
155 | ||
6e1772d5 AM |
156 | 2004-03-19 Alan Modra <amodra@bigpond.net.au> |
157 | ||
158 | * Makefile.am: Run "make dep-am". | |
159 | * Makefile.in: Regenerate. | |
160 | * doc/Makefile.in: Regenerate. | |
161 | * config.in: Regenerate. | |
162 | * po/gas.pot: Regenerate. | |
163 | ||
3e4caed2 NS |
164 | 2004-03-18 Nathan Sidwell <nathan@codesourcery.com> |
165 | ||
c95b35a9 NS |
166 | * read.c (read_a_source_file): Use demand_empty_rest_of_line. |
167 | (demand_empty_rest_of_line): Issue an error here. | |
168 | (ignore_rest_of_line): Silently skip to end. | |
169 | (demand_copy_string): Issue an error, not warning. | |
170 | (equals): Likewise. | |
171 | * config/obj-elf.c (obj_elf_section_name): Likewise. | |
172 | (obj_elf_section): Likewise. | |
173 | * config/tc-arc.c (arc_extoper): Remove bogus NULL checks. | |
174 | (arc_extinst): Likewise. | |
175 | * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line. | |
176 | (dot_spill): Likewise. | |
177 | (dot_unwabi): Likewise. | |
178 | (dot_prologue): Likewise. | |
179 | ||
3e4caed2 NS |
180 | * expr.c (operand): Reject ++ and --. |
181 | (operator): Likewise. | |
182 | ||
2ce4cc60 KK |
183 | 2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
184 | ||
185 | * config/tc-sh.c: Include dw2gencfi.h. | |
186 | (sh_cfi_frame_initial_instructions): New function. | |
187 | (sh_regname_to_dw2regnum): Likewise. | |
188 | * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of | |
189 | file. | |
190 | (TARGET_USE_CFIPOP): Define. | |
191 | (tc_cfi_frame_initial_instructions): Likewise. | |
192 | (tc_regname_to_dw2regnum): Likewise. | |
193 | (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise. | |
194 | * Makefile.am: Update dependencies. | |
195 | * Makefile.in: Regenerate. | |
196 | ||
9183ed4b AM |
197 | 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
198 | ||
199 | * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. | |
200 | * configure: Regenerate. | |
201 | ||
00bbdfe7 BW |
202 | 2004-03-12 Bob Wilson <bob.wilson@acm.org> |
203 | ||
204 | * read.c (s_leb128): Call md_flush_pending_output. | |
205 | ||
0f10071e ML |
206 | 2004-03-12 Michal Ludvig <mludvig@suse.cz> |
207 | ||
208 | * config/tc-i386.c (output_insn): Handle PadLock instructions. | |
209 | * config/tc-i386.h (CpuPadLock): New define. | |
210 | (CpuUnknownFlags): Added CpuPadLock. | |
211 | ||
84c84759 AS |
212 | 2004-03-07 Andreas Schwab <schwab@suse.de> |
213 | ||
214 | * doc/c-hppa.texi (HPPA Directives): Fix typo. | |
215 | ||
6ec51dba RH |
216 | 2004-03-07 Richard Henderson <rth@redhat.com> |
217 | ||
218 | * dw2gencfi.c (output_cie): Align length to 4 byte boundary. | |
219 | (cfi_finish): Likewise for fde. | |
220 | ||
bae25f19 L |
221 | 2004-03-05 H.J. Lu <hongjiu.lu@intel.com> |
222 | ||
223 | * config/tc-ia64.c (md_assemble): Properly handle NULL | |
224 | align_frag. | |
225 | (ia64_handle_align): Don't abort if failed to add a stop bit. | |
226 | ||
ab509236 L |
227 | 2004-03-04 H.J. Lu <hongjiu.lu@intel.com> |
228 | ||
229 | * Makefile.in: Regenerated. | |
230 | * aclocal.m4: Likewise. | |
231 | * configure: Likewise. | |
232 | * doc/Makefile.in: Likewise. | |
233 | ||
d9201763 L |
234 | 2004-03-03 H.J. Lu <hongjiu.lu@intel.com> |
235 | ||
236 | * config/tc-ia64.c (dot_align): New. | |
237 | (ia64_do_align): Make it static. | |
238 | (md_pseudo_table): Use "dot_align" for "align". | |
239 | (ia64_md_do_align): Don't set align_frag here. | |
240 | (ia64_handle_align): Add a stop bit to the previous bundle if | |
241 | needed. | |
242 | ||
243 | * config/tc-ia64.h (ia64_do_align): Removed. | |
244 | ||
ae51a426 JR |
245 | 2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com> |
246 | ||
247 | * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and | |
248 | -isa=sh4-nommu-nofpu options. Adjust help messages accordingly. | |
249 | (sh_elf_final_processing): Output BFD type sh4_nofpu if that is | |
250 | the most general type or the user specifically requested it. | |
251 | (md_assemble): Add a new error message for when an instruction | |
252 | is understood, but is not allowed due to an -isa option. | |
253 | ||
9545c4ce L |
254 | 2004-03-02 H.J. Lu <hongjiu.lu@intel.com> |
255 | ||
256 | * config/tc-ia64.c (align_frag): New. | |
257 | (md_assemble): Set the tc_frag_data field in align_frag for | |
258 | IA64_OPCODE_FIRST instructions. | |
259 | (ia64_md_do_align): Set align_frag. | |
260 | (ia64_handle_align): Add a stop bit if needed. | |
261 | ||
262 | * config/tc-ia64.h (TC_FRAG_TYPE): New. | |
263 | (TC_FRAG_INIT): New. | |
264 | ||
676a64f4 RS |
265 | 2004-03-01 Richard Sandiford <rsandifo@redhat.com> |
266 | ||
267 | * config/tc-frv.c (fr400_audio): New variable. | |
268 | (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450. | |
269 | (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405. | |
270 | (target_implements_insn_p): New function. | |
271 | (md_assemble): Report an error if the processor doesn't implement | |
272 | the instruction. | |
273 | ||
bd337dde NC |
274 | 2004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
275 | ||
276 | * config/tc-m32r.c (md_longopts): Added -no-bitinst option. | |
277 | (md_parse_option): Ditto. | |
278 | (OPTION_NO_SPECIAL_M32R): Added. | |
279 | (md_show_usage): Document it. | |
280 | (enable_speial_m32r): Changed a default value from 0 to 1. | |
281 | * doc/c-m32r.texi: Document the -no-bitinst option. | |
282 | ||
78878175 NC |
283 | 2004-02-27 Nick Clifton <nickc@redhat.com> |
284 | ||
285 | * config/tc-sh.c (get_operand): Revert previous delta. | |
286 | (tc_gen_reloc): Check for an unknown reloc type before processing | |
287 | the addend. | |
288 | ||
1d6d62a4 MS |
289 | 2004-02-27 Hannes Reinecke <hare@suse.de> |
290 | ||
291 | * config/tc-s390.c (s390_insn): Correct range check for opcode in | |
292 | .insn pseudo operation. | |
293 | ||
4aa3e325 NC |
294 | 2004-02-27 Anil Paranjpe <anilp1@kpitcummins.com> |
295 | ||
296 | * config/tc-sh.c (get_operand): In case of #Imm, check has been | |
297 | added for wrong syntax. | |
298 | ||
73369e65 EC |
299 | 2004-02-26 Eric Christopher <echristo@redhat.com> |
300 | ||
301 | * config/tc-mips.c (mips_dwarf2_addr_size): New. | |
302 | * config/tc-mips.h (DWARF2_ADDR_SIZE): Use. | |
303 | ||
6a5709a5 JR |
304 | 2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com> |
305 | ||
306 | * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01 | |
307 | nibble types to assembler. | |
308 | ||
95385380 FF |
309 | 2004-02-25 Fred Fish <fnf@redhat.com> |
310 | ||
311 | * config/tc-iq2000.c: Add missing \n\ in multiline string literal. | |
312 | ||
b5e0fabd JW |
313 | 2004-02-20 James E Wilson <wilson@specifixinc.com> |
314 | ||
315 | * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of | |
316 | finalize_syms. | |
317 | (fixup_unw_records): New arg before_relax. Pass to slot_index. | |
318 | (ia64_estimate_size_before_relax): New. | |
319 | (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment. | |
320 | (generate_unwind_image): Pass 1 to fixup_unw_records. | |
321 | * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare. | |
322 | (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax. | |
323 | ||
2f01ffbf JJ |
324 | 2004-02-19 Jakub Jelinek <jakub@redhat.com> |
325 | ||
326 | * stabs.c (generate_asm_file): Avoid warning about use of | |
327 | uninitialized variable. | |
328 | ||
9c59842f JW |
329 | 2004-02-18 David Mosberger <davidm@hpl.hp.com> |
330 | ||
331 | * config/tc-ia64.c (ia64_flush_insns): In addition to prologue, | |
332 | body, and endp, allow unwind records which do not have a "t" | |
333 | (time/instruction) field. | |
334 | ||
34920d91 NC |
335 | 2004-02-17 Petko Manolov <petkan@nucleusys.com> |
336 | ||
337 | * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn. | |
338 | (do_mav_dspsc_2): Likewise. | |
339 | Fix accumulator registers move opcodes. | |
340 | ||
4dde8e61 | 341 | 2004-02-13 Hannes Reinecke <hare@suse.de> |
13ef8878 | 342 | Jakub Jelinek <jakub@redhat.com> |
4dde8e61 AJ |
343 | |
344 | * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory. | |
345 | ||
936cf02e JW |
346 | 2004-02-10 Steve Ellcey <sje@cup.hp.com> |
347 | ||
348 | * config/tc-ia64.h (ia64_frob_symbol): New declaration. | |
349 | (tc_frob_symbol): New macro definition. | |
350 | * config/tc-ia64.c (ia64_frob_symbol): New routine. | |
351 | ||
e41f12f3 DJ |
352 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
353 | ||
354 | * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as | |
355 | read-only. | |
356 | ||
a8a3b3b2 NS |
357 | 2004-02-09 Nathan Sidwell <nathan@codesourcery.com> |
358 | ||
359 | * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ... | |
360 | (TC_CASE_SENSITIVE): ... this. | |
361 | * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE. | |
362 | * doc/internals.texi (TC_CASE_SENSITIVE): Document. | |
363 | ||
c97b7ef6 JW |
364 | 2004-02-06 James E Wilson <wilson@specifixinc.com> |
365 | ||
366 | * config/tc-ia64.c (dot_endp): Delete call to output_endp. | |
367 | (generate_unwind_image): Re-add it here. | |
368 | ||
e4475e39 NS |
369 | 2004-02-06 Nathan Sidwell <nathan@codesourcery.com> |
370 | ||
371 | * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';' | |
372 | * read.h (SKIP_WHITESPACE): Turn into an expression. | |
373 | * read.c (read_a_source_file): A pseudo is removed by having a | |
374 | NULL handler. | |
375 | ||
5738bc24 JW |
376 | 2004-02-05 James E Wilson <wilson@specifixinc.com> |
377 | ||
378 | * config/tc-ia64.c (output_endp): New. | |
379 | (count_bits): Delete. | |
380 | (ia64_flush_insns, process_one_record, optimize_unw_records): Handle | |
381 | endp unwind records. | |
382 | (fixup_unw_records): Handle endp unwind records. Delete code for | |
383 | shortening prologue regions not followed by a body record. | |
384 | (dot_endp): Call add_unwind_entry to emit endp unwind record. | |
385 | * config/tc-ia64.h (unw_record_type): Add endp. | |
386 | ||
d6e78c11 JW |
387 | 2004-02-03 James E Wilson <wilson@specifixinc.com> |
388 | ||
389 | * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to | |
390 | fill padding bytes with zeroes. | |
391 | (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that | |
392 | sets unwind_record slot_number and slot_frag fields. | |
393 | ||
f6a22291 MR |
394 | 2004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
395 | ||
396 | * config/tc-mips.c (add_got_offset_hilo): New function. | |
397 | (macro): Use load_register() and add_got_offset_hilo() to load | |
398 | constants instead of hardcoding code sequences throughout. | |
399 | ||
127cab00 L |
400 | 2004-01-28 H.J. Lu <hongjiu.lu@intel.com> |
401 | ||
402 | * config/tc-ia64.c (emit_one_bundle): Add proper indentation. | |
403 | ||
6358301e NC |
404 | 2004-01-26 Bernardo Innocenti <bernie@develer.com> |
405 | ||
406 | * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, | |
407 | like m68k-elf. | |
408 | * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead | |
409 | of hard-coded test for TARGET_OS=elf. | |
410 | ||
c8978940 CD |
411 | 2004-01-24 Chris Demetriou <cgd@broadcom.com> |
412 | ||
413 | * config/tc-mips.c (hilo_interlocks): Change definition | |
414 | so that MIPS32, MIPS64 and later ISAs are included, along with | |
415 | the already-included machines. Update comments. | |
416 | ||
c3ba240c DJ |
417 | 2004-01-23 Daniel Jacobowitz <drow@mvista.com> |
418 | ||
419 | * config/tc-arm.c (tc_gen_reloc): Improve error message for | |
420 | undefined local labels. | |
421 | ||
e864ceca RS |
422 | 2004-01-23 Richard Sandiford <rsandifo@redhat.com> |
423 | ||
424 | * config/tc-mips.c (load_address, macro): Update comments about | |
425 | NewABI GP relaxation. | |
426 | ||
67c0d1eb RS |
427 | 2004-01-23 Richard Sandiford <rsandifo@redhat.com> |
428 | ||
429 | * config/tc-mips.c (macro_build): Remove place and counter arguments. | |
430 | (mips_build_lui, macro_build_ldst_constoffset): Likewise. | |
431 | (mips16_macro_build, macro_build_jalr): Remove counter argument. | |
432 | (set_at, load_register, load_address, move_register): Likewise. | |
433 | (load_got_offset, add_got_offset): Likewise. | |
434 | Update all calls and tidy accordingly. | |
435 | ||
584892a6 RS |
436 | 2004-01-23 Richard Sandiford <rsandifo@redhat.com> |
437 | ||
438 | * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument. | |
439 | (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities. | |
440 | (RELAX_USE_SECOND): Bump to 0x10000. | |
441 | (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags. | |
442 | (mips_macro_warning): New variable. | |
443 | (md_assemble): Wrap macro expansion in macro_start() and macro_end(). | |
444 | (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise. | |
445 | (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use | |
446 | of RELAX_ENCODE. | |
447 | (append_insn): Update mips_macro_warning.sizes. | |
448 | (macro_start, macro_warning, macro_end): New functions. | |
449 | (macro_build): Don't emit warnings here. | |
450 | (macro_build_lui, md_estimate_size_before_relax): ...or here. | |
451 | (md_convert_frag): Check for cases where one macro alternative | |
452 | needs a warning and the other doesn't. Emit a warning if the | |
453 | longer sequence was chosen. | |
454 | ||
4d7206a2 RS |
455 | 2004-01-23 Richard Sandiford <rsandifo@redhat.com> |
456 | ||
457 | * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove. | |
458 | * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of | |
459 | the first sequence, the size of the second sequence, and a flag | |
460 | that says whether we should warn. | |
461 | (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete. | |
462 | (RELAX_FIRST, RELAX_SECOND): New. | |
463 | (mips_relax): New variable. | |
464 | (relax_close_frag, relax_start, relax_switch, relax_end): New fns. | |
465 | (append_insn): Remove "place" argument. Use mips_relax.sequence | |
466 | rather than "place" to check whether we're expanding the second | |
467 | alternative of a relaxable macro. Remove redundant check for | |
468 | branch relaxation. If generating a normal insn, and there | |
469 | is not enough room in the current frag, call relax_close_frag() | |
470 | to close it. Update mips_relax.sizes[]. Emit fixups for the | |
471 | second version of a relaxable macro. Record the first relaxable | |
472 | fixup in mips_relax. Remove tc_gen_reloc workaround. | |
473 | (macro_build): Remove all uses of "place". Use mips_relax.sequence | |
474 | in the same way as in append_insn. | |
475 | (mips16_macro_build): Remove "place" argument. | |
476 | (macro_build_lui): As for macro_build. Don't drop the add_symbol | |
477 | when generating the second version of a relaxable macro. | |
478 | (load_got_offset, add_got_offset): New functions. | |
479 | (load_address, macro): Use new relaxation machinery. Remove | |
480 | tc_gen_reloc workarounds. | |
481 | (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second | |
482 | version of a relaxable macro is needed. Return -RELAX_SECOND if the | |
483 | first version is needed. | |
484 | (tc_gen_reloc): Remove relaxation handling. | |
485 | (md_convert_frag): Go through the fixups for a relaxable macro and | |
486 | mark those that belong to the unneeded alternative as done. If the | |
487 | second alternative is needed, adjust the fixup addresses to account | |
488 | for the deleted first alternative. | |
489 | ||
0530d30a RS |
490 | 2004-01-23 Richard Sandiford <rsandifo@redhat.com> |
491 | ||
492 | * frags.h (frag_room): Declare. | |
493 | * frags.c (frag_room): New function. | |
494 | * doc/internals.texi: Document it. | |
495 | ||
048cdf86 TS |
496 | 2004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
497 | ||
498 | * config/tc-mips.c (append_insn): Don't do r3900 interlock | |
499 | optimization for -mtune=r3900, as this will break on other CPUs. | |
500 | ||
28d39d1a NC |
501 | 2004-01-11 Tom Rix <tcrix@worldnet.att.net> |
502 | ||
503 | * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot | |
73369e65 | 504 | be relaxed, use fixup. |
28d39d1a NC |
505 | (md_apply_fix3): Use 5 bit reloc from movb and movw fixup. |
506 | ||
26664553 JJ |
507 | 2004-01-19 Jakub Jelinek <jakub@redhat.com> |
508 | ||
509 | * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single | |
510 | precision operands. | |
511 | ||
895921c9 MR |
512 | 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
513 | ||
514 | * config/tc-mips.c (append_insn): Properly detect variant frags | |
515 | that preclude swapping of relaxed branches. Correctly swap | |
516 | instructions between frags when dealing with relaxed branches. | |
517 | ||
f8b73030 MR |
518 | 2004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
519 | ||
520 | * acinclude.m4: Quote names of macros to be defined by AC_DEFUN | |
521 | throughout. | |
522 | * aclocal.m4: Regenerate. | |
523 | * configure: Regenerate. | |
524 | ||
ca9a79a1 | 525 | 2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com> |
73369e65 | 526 | |
ca9a79a1 NC |
527 | * config/tc-h8300.c (build_bytes): Apply relaxation to bit |
528 | manipulation insns. | |
529 | ||
cc3d92a5 RS |
530 | 2004-01-12 Richard Sandiford <rsandifo@redhat.com> |
531 | ||
532 | * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR | |
533 | reloc, reserve space for the delay slot as well as the jalr itself. | |
534 | ||
e45d0630 PB |
535 | 2004-01-09 Paul Brook <paul@codesourcery.com> |
536 | ||
537 | * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2. | |
538 | (do_vfp_sp2_from_reg2): New function. | |
539 | (insns): Use them. | |
540 | (do_vfp_dp_from_reg2): Check return values properly. | |
541 | ||
81912461 ILT |
542 | 2004-01-08 Ian Lance Taylor <ian@wasabisystems.com> |
543 | ||
78849248 ILT |
544 | * config/tc-mips.c (warn_nops): Remove static variable. |
545 | (macro): Remove test of warn_nops. | |
546 | (md_shortops): Remove 'n'. | |
547 | (md_parse_option): Remove 'n' case. | |
548 | (md_show_usage): Remove -n. | |
549 | * doc/as.texinfo (Overview): Remove MIPS -n option. | |
550 | * doc/c-mips.texi (MIPS Opts): Remove mention -n. | |
551 | * NEWS: Mention removal of MIPS -n option. | |
552 | ||
81912461 ILT |
553 | * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove. |
554 | (cop_interlocks): Check ISA level. | |
555 | (cop_mem_interlocks): Define. | |
556 | (reg_needs_delay): Check cop_interlocks rather than | |
557 | ISA_HAS_COPROC_DELAYS. | |
558 | (append_insn): Likewise. Use cop_mem_interlocks rather than | |
559 | directly checking mips_opts.isa. | |
560 | (mips_emit_delays): Likewise. | |
561 | ||
73f20958 L |
562 | 2004-01-07 H.J. Lu <hongjiu.lu@intel.com> |
563 | ||
564 | * config/tc-ia64.c (unwind): Move next_slot_number and | |
565 | next_slot_frag to ... | |
566 | (unw_rec_list): Here. | |
567 | (free_list_records): Removed. | |
568 | (output_unw_records): Likewise. | |
569 | (generate_unwind_image): Make it void. | |
570 | (alloc_record): Initialize next_slot_number and next_slot_frag. | |
571 | (slot_index): Take .org, .space and .align into account. | |
572 | (fixup_unw_records): Don't set slot_number to 0. Use | |
573 | list->next_slot_number and list->next_slot_frag instead of | |
574 | unwind.next_slot_number and unwind.next_slot_frag. | |
575 | (ia64_convert_frag): New. | |
576 | (generate_unwind_image): Generate a rs_machine_dependent frag | |
577 | for unwind record. | |
578 | (emit_one_bundle): Use list->next_slot_number and | |
579 | list->next_slot_frag instead of unwind.next_slot_number and | |
580 | unwind.next_slot_frag. | |
581 | ||
582 | * config/tc-ia64.h (md_convert_frag): Defined as | |
583 | ia64_convert_frag. | |
584 | (md_estimate_size_before_relax): Defined as (f)->fr_var. | |
585 | ||
99d09cdb AO |
586 | 2004-01-06 Alexandre Oliva <aoliva@redhat.com> |
587 | ||
588 | 2003-12-19 Alexandre Oliva <aoliva@redhat.com> | |
589 | * config/tc-frv.h (md_apply_fix3): Don't define. | |
590 | * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo | |
591 | operands. | |
592 | * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define. | |
593 | 2003-10-07 Alexandre Oliva <aoliva@redhat.com> | |
594 | * config/tc-frv.c (line_separator_chars): Add `!'. | |
595 | 2003-09-19 Alexandre Oliva <aoliva@redhat.com> | |
596 | * config/tc-frv.c (md_assemble): Clear insn upfront. | |
597 | 2003-09-18 Alexandre Oliva <aoliva@redhat.com> | |
598 | * config/tc-frv.c (OPTION_FDPIC): New macro. | |
599 | (md_longopts): Add mfdpic. | |
600 | (md_parse_option): Handle it. | |
601 | 2003-08-04 Alexandre Oliva <aoliva@redhat.com> | |
602 | * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12, | |
603 | FRV_OPERAND_S12>: Use reloc type encoded in fix-up. | |
604 | (frv_pic_ptr): Parse funcdesc. | |
605 | ||
4a4c4a1d MR |
606 | 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
607 | ||
608 | * doc/as.texinfo: Let texi2pod parse asconfig.texi and | |
609 | gasver.texi. Remove duplicate symbol definitions for texi2pod. | |
610 | ||
2251dd89 MR |
611 | 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
612 | ||
613 | * Makefile.am (Makefile): Move the dependency on | |
614 | $(BFDDIR)/configure.in to... | |
615 | (CONFIG_STATUS_DEPENDENCIES): ... here. | |
616 | (AUTOMAKE_OPTIONS): Require automake 1.8. | |
617 | * Makefile.in: Regenerate. | |
618 | * doc/Makefile.am (BASEDIR, BFDDIR): Define. | |
619 | (CONFIG_STATUS_DEPENDENCIES): Add a dependency on | |
620 | $(BFDDIR)/configure.in here as well. | |
621 | * doc/Makefile.in: Regenerate. | |
622 | ||
c6581168 MR |
623 | 2004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
624 | ||
625 | * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove. | |
626 | * Makefile.in: Regenerate. | |
627 | * aclocal.m4: Regenerate. | |
628 | * doc/Makefile.am (install, install-info): Remove. | |
629 | (install-data-local): A new hook for install-info. | |
630 | (AUTOMAKE_OPTIONS): Require automake 1.8. | |
631 | * doc/Makefile.in: Regenerate. | |
632 | ||
303e7b79 NC |
633 | 2004-01-02 Nutan Singh <nutan@kpitcummins.com> |
634 | ||
635 | * doc/c-sh.texi: Update description about floating point behavior | |
636 | of SH family. | |
637 | ||
b50c15dc NC |
638 | 2004-01-02 Bernardo Innocenti <bernie@develer.com> |
639 | ||
640 | * configure.in: Add m68k-uClinux target. | |
641 | * configure: Regenerate. | |
7de9afa2 | 642 | |
c9e214e5 | 643 | For older changes see ChangeLog-0203 |
08d56133 NC |
644 | \f |
645 | Local Variables: | |
646 | mode: change-log | |
647 | left-margin: 8 | |
648 | fill-column: 74 | |
649 | version-control: never | |
650 | End: |