Mark Kettenis <kettenis@gnu.org>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
3e722fb5
CD
12004-04-28 Chris Demetriou <cgd@broadcom.com>
2
3 * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
4 (load_address, macro, mips_ip, md_parse_option)
5 (mips_force_relocation, mips_validate_fix, md_apply_fix3)
6 (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
7 embedded-PIC handling, and update comments.
8 (SWITCH_TABLE): Remove.
9 * config/tc-mips.h (DIFF_EXPR_OK): Delete.
10 (enum mips_pic_level): Remove EMBEDDED_PIC.
11 (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
12 (TC_FORCE_RELOCATION): Update comment.
13 * ecoff.c (ecoff_build_lineno): Add comment about some code that
14 might be safe to remove now that MIPS embedded-PIC is gone.
15
351e2b5a
DA
162004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
17
18 * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
19 call to obj_set_subsection_attributes.
20 (obj_som_init_stab_section): Likewise.
21 * config/tc-hppa.c (default_subspace_dict): Add comdat field.
22 (pa_def_subspaces): Provide comdat default.
23 (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and
24 not SEC_IS_COMMON if section is comdat, common or dup_common. Update
25 calls to create_new_subspace and update_subspace to pass comdat flag.
26 (create_new_subspace, update_subspace): Add new comdat argument. Use
27 it in calls to obj_set_subsection_attributes.
28 * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
29 and use of comdat, common and dup_comm parameters.
30
f5842774
L
312004-04-26 H.J. Lu <hongjiu.lu@intel.com>
32
33 * config/obj-elf.c (obj_elf_change_section): Check if the old
34 group name is NULL before comparison.
35
558fe4a7
CD
362004-04-23 Chris Demetriou <cgd@broadcom.com>
37
38 * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
39
81a21e38
TS
402004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
41
42 * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
43
442004-04-23 Chris Demetriou <cgd@broadcom.com>
1ffcab4b
CD
45
46 * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
47 (OPTION_MEMBEDDED_PIC): Remove.
48 (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
49 (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
50 (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
51 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
52 (OPTION_ELF_BASE): Renumber.
53 (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
54 (md_show_usage): Remove mention of -membedded-pic.
55 * doc/as.texinfo: Remove mention of -membedded-pic.
56
4d0d148d
TS
572004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
58
59 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
60 * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
61 a.out support.
62 (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
63 s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
64 USE_GLOBAL_POINTER_OPT.
65
017315e4
TS
662004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
67
68 * config/tc-mips.c (macro): One more use of load_delay_nop.
69
269137b2
TS
702004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
71
72 * config/tc-mips.c (load_delay_nop): New function.
73 (load_address, macro): Use load_delay_nop() to build a nop
74 which can be omitted with gpr_interlocks.
75
24772049
TS
762004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
77
78 * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
79 cop_interlocks): Remove superfluous CPU entries.
80
06516a5e
PB
812004-04-22 Paul Brook <paul@codesourcery.com>
82
83 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
84
fd99574b
NC
852004-04-22 Peter Barada <peter@the-baradas.com>
86
87 * NEWS: Added support for EMAC instructions and MAC/EMAC
88 Motorola syntax.
89 * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
90 scale factor tokens, trailing_ampersand to mark mask addressing
91 for MAC/EMAC instructions.
92 * config/m68k-parse.y: Add options_ampersand clause, '<<',
93 '>>'.
94 (yylex): Handle '>', '<', and '&' following '+'.
95 * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
96 architectures in archs[].
97 (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
98 for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
99 respectively.
100 (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
101 (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
102 cases.
103 Add EMAC operands to init_table[].
104
69b97547
NC
1052004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
106
107 * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
108 state.
109 (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
110 * config/tc-arm.c (enum mstate): Delete from here.
111 (mapping_state): Remove the static mapstate variable and instead
112 store the state in the segment. This allows a per-section mapping
113 state. Handle and ignore MAP_UNDEFINED states.
114 (arm_elf_change_section): Get the current mapping state from the
115 new section.
116 (s_ltorg): Set the mapping state to MAP_DATA.
117 (arm_cleanup): Use arm_elf_change_section to get the mapping state
118 for each pool as it is emitted.
119
1202004-04-22 Nick Clifton <nickc@redhat.com>
121
122 * config/tc-arm.h: Formatting tidy ups.
123
7a7f4e42
CD
1242004-04-20 Chris Demetriou <cgd@broadcom.com>
125
126 * NEWS: Note that MIPS -membedded-pic option is deprecated.
127
6482c264
NC
1282004-04-20 DJ Delorie <dj@redhat.com>
129
130 * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
131 * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
132 [TE_PE] (O_secrel): Define.
133 [TE_PE] (x86_pe_cons_fix_new): New.
134 [TE_PE] (pe_directive_secrel): Likewise.
135 (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
136
5bf10039
EC
1372004-04-19 Eric Christopher <echristo@redhat.com>
138
139 * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
140 of previous patch for fix in gcc.
141
77cd6497
JJ
1422004-04-19 Jakub Jelinek <jakub@redhat.com>
143
144 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
145
b8861cfb
NS
1462004-04-19 Nathan Sidwell <nathan@codesourcery.com>
147
148 * read.c (do_align): Call md_flush_pending_output, if defined.
149
f4c724fc
AM
1502004-04-16 Alan Modra <amodra@bigpond.net.au>
151
152 * expr.c (operand): Correct checks for ++ and --.
153
a4b6e8f6
L
1542004-04-14 H.J. Lu <hongjiu.lu@intel.com>
155
156 * config/tc-generic.c: Add some comments.
157
d766e8ec
RS
1582004-04-14 Richard Sandiford <rsandifo@redhat.com>
159
160 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
161 -{no-}mfix-vr4122-bugs.
162 * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
163 (append_insn, mips_emit_delays): Update accordingly.
164 (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
165 (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
166 (md_parse_option): Update after above changes.
167 (md_show_usage): Add -mfix-vr4120.
168
ed9589d4
BW
1692004-04-13 Bob Wilson <bob.wilson@acm.org>
170
171 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
172 of .section directive; add a reference to the ELF .subsection
173 directive.
174
097dba13
NC
1752004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
176
177 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
178 in parallel.
179
279500de
TS
1802004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
181
182 * Makefile.am: Remove mips from aout targets.
183 * Makefile.in: Regenerate.
184 * configure.in: Remove mips-dec-bsd* target.
185 * configure: Regenerate.
186
b7d7dc63
AM
1872004-04-07 Alan Modra <amodra@bigpond.net.au>
188
189 PR 96
190 * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
191 to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
192 Update "mapping". Restrict some @ modifiers to 32 bit.
193
f55629b8
KK
1942004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
195 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
196
197 * config/tc-sh.c (dont_adjust_reloc_32): New variable.
198 (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
199 dont_adjust_reloc_32 is set.
200 (md_longopts): Add option -renesas.
201 (md_parse_option, md_show_usage): Likewise.
202 * doc/c-sh.texi: Likewise.
203
a7844384
NC
2042004-04-01 Dave Korn <dk@artimi.com>
205
206 * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
207 hi16 and lo16 fixS structs.
208 (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
209 exactly the same way as for RELOC_DLX_REL16.
210 (machine_ip): properly respect LO flag in the_insn and
211 output RELOC_DLX_LO16 rather than RELOC_DLX_16.
212 (md_apply_fix3): apply RELOC_DLX_LO16.
213
6c71dbc4
SS
2142004-03-30 Stan Shebs <shebs@apple.com>
215
216 Remove long-obsolete MPW support.
217 * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
218 * configure.in: Remove mention of ppc-*-mpw* config.
219 * configure.in: Likewise.
220
7cc69913
NC
2212004-03-30 Nick Clifton <nickc@redhat.com>
222
223 * config/tc-arm.c (meabi_flags): Make its use conditional upon
224 OBJ_ELF being defined.
225
53fbb48a
AM
2262004-03-27 Alan Modra <amodra@bigpond.net.au>
227
228 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
229
d507cf36
PB
2302004-03-23 Paul Brook <paul@codesourcery.com>
231
232 * config/tc-arm.c (meabi_flags): New variable.
233 (arm_parse_eabi): New function.
234 (md_begin): Set flags for EABI v3.
235 (arm_eabis): Add.
236 (arm_long_opts): Add meabi.
237 * doc/as.texinf <ARM>: Document -meabi.
238 * doc/c-arm.texi: Ditto.
239
88d65ad6
BW
2402004-03-22 Bob Wilson <bob.wilson@acm.org>
241
242 * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
243 tables even when use_literal_section flag is not set.
244
13ef8878
AM
2452004-03-22 Alan Modra <amodra@bigpond.net.au>
246
247 * config/tc-sh.c: Remove trailing whitespace.
248
1048a9ba
HPN
2492004-03-22 Hans-Peter Nilsson <hp@axis.com>
250
251 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
252 --mul-bug-abort and the default behavior.
253 * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
254 (err_for_dangerous_mul_placement): New variable.
255 (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
256 macros.
257 (md_cris_relax_table): Have placeholder for STATE_MUL.
258 (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
259 (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
260 case doing nothing.
261 (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
262 STATE_BYTE)>: Ditto.
263 (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
264 alignment and position of this frag, emit error message if
265 suspicious.
266 (md_assemble): For a multiply insn and when checking it,
267 transform the current frag into a special frag for that purpose.
268 (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
269 OPTION_MULBUG_ABORT_ON>: Handle new options.
270
a7877748
BW
2712004-03-19 Bob Wilson <bob.wilson@acm.org>
272
273 * config/tc-xtensa.c (mark_literal_frags): New function.
274 (xtensa_move_literals): Call mark_literal_frags for all literal
275 segments, including init and fini literal segments.
276 (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
277
9992270f
DA
2782004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
279
280 * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
281 (pa_comm): Set BSF_OBJECT in symbol flags.
282
6e1772d5
AM
2832004-03-19 Alan Modra <amodra@bigpond.net.au>
284
285 * Makefile.am: Run "make dep-am".
286 * Makefile.in: Regenerate.
287 * doc/Makefile.in: Regenerate.
288 * config.in: Regenerate.
289 * po/gas.pot: Regenerate.
290
3e4caed2
NS
2912004-03-18 Nathan Sidwell <nathan@codesourcery.com>
292
c95b35a9
NS
293 * read.c (read_a_source_file): Use demand_empty_rest_of_line.
294 (demand_empty_rest_of_line): Issue an error here.
295 (ignore_rest_of_line): Silently skip to end.
296 (demand_copy_string): Issue an error, not warning.
297 (equals): Likewise.
298 * config/obj-elf.c (obj_elf_section_name): Likewise.
299 (obj_elf_section): Likewise.
300 * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
301 (arc_extinst): Likewise.
302 * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
303 (dot_spill): Likewise.
304 (dot_unwabi): Likewise.
305 (dot_prologue): Likewise.
306
3e4caed2
NS
307 * expr.c (operand): Reject ++ and --.
308 (operator): Likewise.
309
2ce4cc60
KK
3102004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
311
312 * config/tc-sh.c: Include dw2gencfi.h.
313 (sh_cfi_frame_initial_instructions): New function.
314 (sh_regname_to_dw2regnum): Likewise.
315 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
316 file.
317 (TARGET_USE_CFIPOP): Define.
318 (tc_cfi_frame_initial_instructions): Likewise.
319 (tc_regname_to_dw2regnum): Likewise.
320 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
321 * Makefile.am: Update dependencies.
322 * Makefile.in: Regenerate.
323
9183ed4b
AM
3242004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
325
326 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
327 * configure: Regenerate.
328
00bbdfe7
BW
3292004-03-12 Bob Wilson <bob.wilson@acm.org>
330
331 * read.c (s_leb128): Call md_flush_pending_output.
332
0f10071e
ML
3332004-03-12 Michal Ludvig <mludvig@suse.cz>
334
335 * config/tc-i386.c (output_insn): Handle PadLock instructions.
336 * config/tc-i386.h (CpuPadLock): New define.
337 (CpuUnknownFlags): Added CpuPadLock.
338
84c84759
AS
3392004-03-07 Andreas Schwab <schwab@suse.de>
340
341 * doc/c-hppa.texi (HPPA Directives): Fix typo.
342
6ec51dba
RH
3432004-03-07 Richard Henderson <rth@redhat.com>
344
345 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
346 (cfi_finish): Likewise for fde.
347
bae25f19
L
3482004-03-05 H.J. Lu <hongjiu.lu@intel.com>
349
350 * config/tc-ia64.c (md_assemble): Properly handle NULL
351 align_frag.
352 (ia64_handle_align): Don't abort if failed to add a stop bit.
353
ab509236
L
3542004-03-04 H.J. Lu <hongjiu.lu@intel.com>
355
356 * Makefile.in: Regenerated.
357 * aclocal.m4: Likewise.
358 * configure: Likewise.
359 * doc/Makefile.in: Likewise.
360
d9201763
L
3612004-03-03 H.J. Lu <hongjiu.lu@intel.com>
362
363 * config/tc-ia64.c (dot_align): New.
364 (ia64_do_align): Make it static.
365 (md_pseudo_table): Use "dot_align" for "align".
366 (ia64_md_do_align): Don't set align_frag here.
367 (ia64_handle_align): Add a stop bit to the previous bundle if
368 needed.
369
370 * config/tc-ia64.h (ia64_do_align): Removed.
371
ae51a426
JR
3722003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
373
374 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
375 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
376 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
377 the most general type or the user specifically requested it.
378 (md_assemble): Add a new error message for when an instruction
379 is understood, but is not allowed due to an -isa option.
380
9545c4ce
L
3812004-03-02 H.J. Lu <hongjiu.lu@intel.com>
382
383 * config/tc-ia64.c (align_frag): New.
384 (md_assemble): Set the tc_frag_data field in align_frag for
385 IA64_OPCODE_FIRST instructions.
386 (ia64_md_do_align): Set align_frag.
387 (ia64_handle_align): Add a stop bit if needed.
388
389 * config/tc-ia64.h (TC_FRAG_TYPE): New.
390 (TC_FRAG_INIT): New.
391
676a64f4
RS
3922004-03-01 Richard Sandiford <rsandifo@redhat.com>
393
394 * config/tc-frv.c (fr400_audio): New variable.
395 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
396 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
397 (target_implements_insn_p): New function.
398 (md_assemble): Report an error if the processor doesn't implement
399 the instruction.
400
bd337dde
NC
4012004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
402
403 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
404 (md_parse_option): Ditto.
405 (OPTION_NO_SPECIAL_M32R): Added.
406 (md_show_usage): Document it.
407 (enable_speial_m32r): Changed a default value from 0 to 1.
408 * doc/c-m32r.texi: Document the -no-bitinst option.
409
78878175
NC
4102004-02-27 Nick Clifton <nickc@redhat.com>
411
412 * config/tc-sh.c (get_operand): Revert previous delta.
413 (tc_gen_reloc): Check for an unknown reloc type before processing
414 the addend.
415
1d6d62a4
MS
4162004-02-27 Hannes Reinecke <hare@suse.de>
417
418 * config/tc-s390.c (s390_insn): Correct range check for opcode in
419 .insn pseudo operation.
420
4aa3e325
NC
4212004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
422
423 * config/tc-sh.c (get_operand): In case of #Imm, check has been
424 added for wrong syntax.
425
73369e65
EC
4262004-02-26 Eric Christopher <echristo@redhat.com>
427
428 * config/tc-mips.c (mips_dwarf2_addr_size): New.
429 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
430
6a5709a5
JR
4312004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
432
433 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
434 nibble types to assembler.
435
95385380
FF
4362004-02-25 Fred Fish <fnf@redhat.com>
437
438 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
439
b5e0fabd
JW
4402004-02-20 James E Wilson <wilson@specifixinc.com>
441
442 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
443 finalize_syms.
444 (fixup_unw_records): New arg before_relax. Pass to slot_index.
445 (ia64_estimate_size_before_relax): New.
446 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
447 (generate_unwind_image): Pass 1 to fixup_unw_records.
448 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
449 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
450
2f01ffbf
JJ
4512004-02-19 Jakub Jelinek <jakub@redhat.com>
452
453 * stabs.c (generate_asm_file): Avoid warning about use of
454 uninitialized variable.
455
9c59842f
JW
4562004-02-18 David Mosberger <davidm@hpl.hp.com>
457
458 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
459 body, and endp, allow unwind records which do not have a "t"
460 (time/instruction) field.
461
34920d91
NC
4622004-02-17 Petko Manolov <petkan@nucleusys.com>
463
464 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
465 (do_mav_dspsc_2): Likewise.
466 Fix accumulator registers move opcodes.
467
4dde8e61 4682004-02-13 Hannes Reinecke <hare@suse.de>
13ef8878 469 Jakub Jelinek <jakub@redhat.com>
4dde8e61
AJ
470
471 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
472
936cf02e
JW
4732004-02-10 Steve Ellcey <sje@cup.hp.com>
474
475 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
476 (tc_frob_symbol): New macro definition.
477 * config/tc-ia64.c (ia64_frob_symbol): New routine.
478
e41f12f3
DJ
4792004-02-09 Daniel Jacobowitz <drow@mvista.com>
480
481 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
482 read-only.
483
a8a3b3b2
NS
4842004-02-09 Nathan Sidwell <nathan@codesourcery.com>
485
486 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
487 (TC_CASE_SENSITIVE): ... this.
488 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
489 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
490
c97b7ef6
JW
4912004-02-06 James E Wilson <wilson@specifixinc.com>
492
493 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
494 (generate_unwind_image): Re-add it here.
495
e4475e39
NS
4962004-02-06 Nathan Sidwell <nathan@codesourcery.com>
497
498 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
499 * read.h (SKIP_WHITESPACE): Turn into an expression.
500 * read.c (read_a_source_file): A pseudo is removed by having a
501 NULL handler.
502
5738bc24
JW
5032004-02-05 James E Wilson <wilson@specifixinc.com>
504
505 * config/tc-ia64.c (output_endp): New.
506 (count_bits): Delete.
507 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
508 endp unwind records.
509 (fixup_unw_records): Handle endp unwind records. Delete code for
510 shortening prologue regions not followed by a body record.
511 (dot_endp): Call add_unwind_entry to emit endp unwind record.
512 * config/tc-ia64.h (unw_record_type): Add endp.
513
d6e78c11
JW
5142004-02-03 James E Wilson <wilson@specifixinc.com>
515
516 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
517 fill padding bytes with zeroes.
518 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
519 sets unwind_record slot_number and slot_frag fields.
520
f6a22291
MR
5212004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
522
523 * config/tc-mips.c (add_got_offset_hilo): New function.
524 (macro): Use load_register() and add_got_offset_hilo() to load
525 constants instead of hardcoding code sequences throughout.
526
127cab00
L
5272004-01-28 H.J. Lu <hongjiu.lu@intel.com>
528
529 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
530
6358301e
NC
5312004-01-26 Bernardo Innocenti <bernie@develer.com>
532
533 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
534 like m68k-elf.
535 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
536 of hard-coded test for TARGET_OS=elf.
537
c8978940
CD
5382004-01-24 Chris Demetriou <cgd@broadcom.com>
539
540 * config/tc-mips.c (hilo_interlocks): Change definition
541 so that MIPS32, MIPS64 and later ISAs are included, along with
542 the already-included machines. Update comments.
543
c3ba240c
DJ
5442004-01-23 Daniel Jacobowitz <drow@mvista.com>
545
546 * config/tc-arm.c (tc_gen_reloc): Improve error message for
547 undefined local labels.
548
e864ceca
RS
5492004-01-23 Richard Sandiford <rsandifo@redhat.com>
550
551 * config/tc-mips.c (load_address, macro): Update comments about
552 NewABI GP relaxation.
553
67c0d1eb
RS
5542004-01-23 Richard Sandiford <rsandifo@redhat.com>
555
556 * config/tc-mips.c (macro_build): Remove place and counter arguments.
557 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
558 (mips16_macro_build, macro_build_jalr): Remove counter argument.
559 (set_at, load_register, load_address, move_register): Likewise.
560 (load_got_offset, add_got_offset): Likewise.
561 Update all calls and tidy accordingly.
562
584892a6
RS
5632004-01-23 Richard Sandiford <rsandifo@redhat.com>
564
565 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
566 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
567 (RELAX_USE_SECOND): Bump to 0x10000.
568 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
569 (mips_macro_warning): New variable.
570 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
571 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
572 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
573 of RELAX_ENCODE.
574 (append_insn): Update mips_macro_warning.sizes.
575 (macro_start, macro_warning, macro_end): New functions.
576 (macro_build): Don't emit warnings here.
577 (macro_build_lui, md_estimate_size_before_relax): ...or here.
578 (md_convert_frag): Check for cases where one macro alternative
579 needs a warning and the other doesn't. Emit a warning if the
580 longer sequence was chosen.
581
4d7206a2
RS
5822004-01-23 Richard Sandiford <rsandifo@redhat.com>
583
584 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
585 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
586 the first sequence, the size of the second sequence, and a flag
587 that says whether we should warn.
588 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
589 (RELAX_FIRST, RELAX_SECOND): New.
590 (mips_relax): New variable.
591 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
592 (append_insn): Remove "place" argument. Use mips_relax.sequence
593 rather than "place" to check whether we're expanding the second
594 alternative of a relaxable macro. Remove redundant check for
595 branch relaxation. If generating a normal insn, and there
596 is not enough room in the current frag, call relax_close_frag()
597 to close it. Update mips_relax.sizes[]. Emit fixups for the
598 second version of a relaxable macro. Record the first relaxable
599 fixup in mips_relax. Remove tc_gen_reloc workaround.
600 (macro_build): Remove all uses of "place". Use mips_relax.sequence
601 in the same way as in append_insn.
602 (mips16_macro_build): Remove "place" argument.
603 (macro_build_lui): As for macro_build. Don't drop the add_symbol
604 when generating the second version of a relaxable macro.
605 (load_got_offset, add_got_offset): New functions.
606 (load_address, macro): Use new relaxation machinery. Remove
607 tc_gen_reloc workarounds.
608 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
609 version of a relaxable macro is needed. Return -RELAX_SECOND if the
610 first version is needed.
611 (tc_gen_reloc): Remove relaxation handling.
612 (md_convert_frag): Go through the fixups for a relaxable macro and
613 mark those that belong to the unneeded alternative as done. If the
614 second alternative is needed, adjust the fixup addresses to account
615 for the deleted first alternative.
616
0530d30a
RS
6172004-01-23 Richard Sandiford <rsandifo@redhat.com>
618
619 * frags.h (frag_room): Declare.
620 * frags.c (frag_room): New function.
621 * doc/internals.texi: Document it.
622
048cdf86
TS
6232004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
624
625 * config/tc-mips.c (append_insn): Don't do r3900 interlock
626 optimization for -mtune=r3900, as this will break on other CPUs.
627
28d39d1a
NC
6282004-01-11 Tom Rix <tcrix@worldnet.att.net>
629
630 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
73369e65 631 be relaxed, use fixup.
28d39d1a
NC
632 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
633
26664553
JJ
6342004-01-19 Jakub Jelinek <jakub@redhat.com>
635
636 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
637 precision operands.
638
895921c9
MR
6392004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
640
641 * config/tc-mips.c (append_insn): Properly detect variant frags
642 that preclude swapping of relaxed branches. Correctly swap
643 instructions between frags when dealing with relaxed branches.
644
f8b73030
MR
6452004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
646
647 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
648 throughout.
649 * aclocal.m4: Regenerate.
650 * configure: Regenerate.
651
ca9a79a1 6522004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
73369e65 653
ca9a79a1
NC
654 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
655 manipulation insns.
656
cc3d92a5
RS
6572004-01-12 Richard Sandiford <rsandifo@redhat.com>
658
659 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
660 reloc, reserve space for the delay slot as well as the jalr itself.
661
e45d0630
PB
6622004-01-09 Paul Brook <paul@codesourcery.com>
663
664 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
665 (do_vfp_sp2_from_reg2): New function.
666 (insns): Use them.
667 (do_vfp_dp_from_reg2): Check return values properly.
668
81912461
ILT
6692004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
670
78849248
ILT
671 * config/tc-mips.c (warn_nops): Remove static variable.
672 (macro): Remove test of warn_nops.
673 (md_shortops): Remove 'n'.
674 (md_parse_option): Remove 'n' case.
675 (md_show_usage): Remove -n.
676 * doc/as.texinfo (Overview): Remove MIPS -n option.
677 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
678 * NEWS: Mention removal of MIPS -n option.
679
81912461
ILT
680 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
681 (cop_interlocks): Check ISA level.
682 (cop_mem_interlocks): Define.
683 (reg_needs_delay): Check cop_interlocks rather than
684 ISA_HAS_COPROC_DELAYS.
685 (append_insn): Likewise. Use cop_mem_interlocks rather than
686 directly checking mips_opts.isa.
687 (mips_emit_delays): Likewise.
688
73f20958
L
6892004-01-07 H.J. Lu <hongjiu.lu@intel.com>
690
691 * config/tc-ia64.c (unwind): Move next_slot_number and
692 next_slot_frag to ...
693 (unw_rec_list): Here.
694 (free_list_records): Removed.
695 (output_unw_records): Likewise.
696 (generate_unwind_image): Make it void.
697 (alloc_record): Initialize next_slot_number and next_slot_frag.
698 (slot_index): Take .org, .space and .align into account.
699 (fixup_unw_records): Don't set slot_number to 0. Use
700 list->next_slot_number and list->next_slot_frag instead of
701 unwind.next_slot_number and unwind.next_slot_frag.
702 (ia64_convert_frag): New.
703 (generate_unwind_image): Generate a rs_machine_dependent frag
704 for unwind record.
705 (emit_one_bundle): Use list->next_slot_number and
706 list->next_slot_frag instead of unwind.next_slot_number and
707 unwind.next_slot_frag.
708
709 * config/tc-ia64.h (md_convert_frag): Defined as
710 ia64_convert_frag.
711 (md_estimate_size_before_relax): Defined as (f)->fr_var.
712
99d09cdb
AO
7132004-01-06 Alexandre Oliva <aoliva@redhat.com>
714
715 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
716 * config/tc-frv.h (md_apply_fix3): Don't define.
717 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
718 operands.
719 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
720 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
721 * config/tc-frv.c (line_separator_chars): Add `!'.
722 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
723 * config/tc-frv.c (md_assemble): Clear insn upfront.
724 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
725 * config/tc-frv.c (OPTION_FDPIC): New macro.
726 (md_longopts): Add mfdpic.
727 (md_parse_option): Handle it.
728 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
729 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
730 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
731 (frv_pic_ptr): Parse funcdesc.
732
4a4c4a1d
MR
7332004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
734
735 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
736 gasver.texi. Remove duplicate symbol definitions for texi2pod.
737
2251dd89
MR
7382004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
739
740 * Makefile.am (Makefile): Move the dependency on
741 $(BFDDIR)/configure.in to...
742 (CONFIG_STATUS_DEPENDENCIES): ... here.
743 (AUTOMAKE_OPTIONS): Require automake 1.8.
744 * Makefile.in: Regenerate.
745 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
746 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
747 $(BFDDIR)/configure.in here as well.
748 * doc/Makefile.in: Regenerate.
749
c6581168
MR
7502004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
751
752 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
753 * Makefile.in: Regenerate.
754 * aclocal.m4: Regenerate.
755 * doc/Makefile.am (install, install-info): Remove.
756 (install-data-local): A new hook for install-info.
757 (AUTOMAKE_OPTIONS): Require automake 1.8.
758 * doc/Makefile.in: Regenerate.
759
303e7b79
NC
7602004-01-02 Nutan Singh <nutan@kpitcummins.com>
761
762 * doc/c-sh.texi: Update description about floating point behavior
763 of SH family.
764
b50c15dc
NC
7652004-01-02 Bernardo Innocenti <bernie@develer.com>
766
767 * configure.in: Add m68k-uClinux target.
768 * configure: Regenerate.
7de9afa2 769
c9e214e5 770For older changes see ChangeLog-0203
08d56133
NC
771\f
772Local Variables:
773mode: change-log
774left-margin: 8
775fill-column: 74
776version-control: never
777End:
This page took 0.204922 seconds and 4 git commands to generate.