PR savannah/3331:
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
69be0a2b
CD
12003-04-25 Chris Demetriou <cgd@broadcom.com>
2
3 * NEWS: Belatedly mention support for MIPS32 Release 2.
4
684022ea
EC
52003-04-24 Eric Christopher <echristo@redhat.com>
6
7 * config/tc-mips.c (nopic_need_relax): Revert previous
8 change.
9
2c8714f2
NC
102003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
11
12 * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
684022ea 13 * config/tc-h8300.c (dwarf2dbg.h): Include
2c8714f2
NC
14 (md_pseudo_table): Handle .loc and .file
15 (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
16 * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
17 * Makefile.in: Regenerate.
18
684022ea 192003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
8d9cd6b1
NC
20
21 * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
22 (md_pseudo_table): Add h8300hn, h8300sn.
23 * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
24 * doc/c-h8300.texi : Add documentation for new machine directives.
25
5ce8663f
NC
262003-04-24 Nick Clifton <nickc@redhat.com>
27
28 * config/tc-ppc.c (ppc_symbol_chars): Define.
29 * config/tc-ppc.h (tc_symbol_chars): Define.
30
ef230218
JR
312003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
32
33 * config/tc-sh.c: Amend comment to refer to SuperH.
34 * config/tc-sh.h: Likewise.
35 (LISTING_HEADER): Amend to refer to SuperH.
36 * config/tc-sh64.c: Change comment to refer to SuperH.
37 * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
38 * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
39 * doc/c-sh.texi: Amend to refer to SuperH.
40 Add SuperH architecture documentation references.
41 * doc/c-sh64.texi: Change to refer to SuperH.
42
204cd129
NC
432003-04-23 H.J. Lu <hjl@gnu.org>
44
45 * app.c (do_scrub_chars): More checks for valid labels.
46
2cdb18a7
L
472003-04-22 H.J. Lu <hjl@gnu.org>
48
49 * app.c (do_scrub_chars): Check for valid label.
50
26597c86
NC
512003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
52
53 * doc/as.texinfo: Replace references to Mitsubishi M32R with
54 references to Renesas M32R.
55 * doc/c-m32r.texi: Likewise.
56
88b4ca40
RH
572003-04-21 Richard Henderson <rth@redhat.com>
58
59 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
60 (out_file_list): Assign non-null filename after generating error.
61
e5f08f7e
JJ
622003-04-18 Jakub Jelinek <jakub@redhat.com>
63
64 * ehopt.c (check_eh_frame): For aug_size == 0
65 in state_seeing_aug_size state skip the state_skipping_aug
66 state.
67
c2dcd04e
NC
682003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
69
70 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
71 'Renesas'.
72 * doc/c-h8500.texi: Likewise.
73 * doc/c-sh.texi: Likewise.
74 * doc/c-sh64.texi: Likewise.
75 * doc/h8.texi: Likewise.
76 * config/tc-h8300.c: Likewise.
77 * config/tc-h8300.h: Likewise.
78 * config/tc-h8500.c: Likewise.
79 * config/tc-h8500.h: Likewise.
80 * config/tc-sh.c: Likewise.
81 * config/tc-sh.h: Likewise.
82 * config/tc-sh64.c: Likewise.
83 * config/tc-sh64.h: Likewise.
84
f5040a92
AO
852003-04-10 Alexandre Oliva <aoliva@redhat.com>
86
87 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
88 * config/tc-mips.c: Use signed add for n32 address arithmetic.
89 (append_insn): When filling delay slots with instructions
90 that have fixups that tc_gen_reloc might consider modifyable
91 in variant frags, start a new frag.
92 (load_address): Generate GOT_DISP with of without offset
93 depending on whether symbol is local. For -xgot, use
94 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
95 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
96 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
97 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
98 <ld_st>: In NewABI with small got, always use
99 GOT_PAGE/GOT_OFST, with the latter in the load/store
100 instruction. With big got, use GOT_HI16/GOT_LO16 or
101 GOT_PAGE/GOT_OFST.
102 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
103 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
104 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
105 (md_convert_frag): Use memmove for safe copying of overlapping
106 regions.
107
35b55ed2
SC
1082003-04-09 Stephane Carrez <stcarrez@nerim.fr>
109
110 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
111 -mlong, -mshort-double and -mlong-double options; use table @code.
112 (M68HC11-Syntax): Update to document 68HC12 operands.
113 (M68HC11-Modifiers): New section for operand modifiers.
114 (M68HC11-Directives): New section for specific assembler directives.
115 (M68HC11-Branch): Fix Overfull hbox error.
116
9214dd3b
AO
1172003-04-09 Alexandre Oliva <aoliva@redhat.com>
118
119 * config/tc-mips.c (macro): Add comments explaining the rationale
120 for Chris' change.
121
eb0a7d52
AO
1222003-04-09 Chris Demetriou <cgd@broadcom.com>
123
124 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
125 constant address that Alexandre took out by accident. Reject
126 64-bit addresses that are not sign extensions of 32 bits only if
127 we don't support 64-bit address constants.
128
a7fc733f
AM
1292003-04-09 Alan Modra <amodra@bigpond.net.au>
130
131 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
132
9cc92a36
NC
1332003-04-08 Nick Clifton <nickc@redhat.com>
134
135 * as.c (perform_an_assembly_pass): If using cgen, call
136 gas_cgen_begin.
137 * cgen.c (gas_cgen_begin): New function. If
138 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
139 otherwise call cgen_clear_signed_overflow_ok.
140 * cgen.h: Prototype gas_cgen_begin.
141
fe59a223
TS
1422003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
143
144 * write.c (write_relocs): Remove unused variable.
145
5a7a0b7b
AO
1462003-04-06 Chris Demetriou <cgd@broadcom.com>
147
148 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
149 (macro): Use new macro to decide whether to emit constant address
150 as 32 or 64 bits if addresses are 32-bit wide but registers are
151 64-bit wide.
152
577300ce
SC
1532003-04-05 Stephane Carrez <stcarrez@nerim.fr>
154
155 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
156 (M6811_OP_PAGE_ADDR): New internal define.
684022ea 157 (get_operand): New modifier %page and %addr to obtain page and
577300ce 158 address part of a far-function.
684022ea 159 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
577300ce
SC
160 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
161 relocs.
162 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
163 (find_opcode): Add comment.
164 (md_estimate_size_before_relax): Force relocation of
165 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
166 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
167 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
168 on the symbol itself so that DWARF2 strings are merged correctly.
169
be33c5dd
SS
1702003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
171
172 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
173 default tic4x target format to 'coff2-tic4x'.
174 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
175 s/c3x/tic3x/
176 * config/tc-tic4x.h: Ditto
177
e8fd7476
NC
1782003-04-03 Nick Clifton <nickc@redhat.com>
179
180 * NEWS: Mention support for Xtensa architecture.
181
47281638
PB
1822003-04-02 Philip Blundell <philb@gnu.org>
183
184 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
185
af22f5b2
CD
1862003-04-02 Chris Demetriou <cgd@broadcom.com>
187
188 * config/tc-mips.c (macro2): Adjust implementation of
189 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
190 in the case where the source and destination registers
191 are the same.
192
e0001a05
NC
1932003-04-01 Bob Wilson <bob.wilson@acm.org>
194
195 * Makefile.am (CPU_TYPES): Add xtensa.
196 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
197 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
198 (xtensa-relax.o): New target.
199 Run "make dep-am".
200 * Makefile.in: Regenerate.
201 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
202 extra_objects for xtensa targets.
203 * configure: Regenerate.
204 * write.c (write_object_file): Add new md_post_relax_hook.
205 * config/tc-xtensa.c: New file.
206 * config/tc-xtensa.h: Likewise.
207 * config/xtensa-istack.h: Likewise.
208 * config/xtensa-relax.c: Likewise.
209 * config/xtensa-relax.h: Likewise.
210 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
211 * doc/Makefile.in: Regenerate.
212 * doc/all.texi: Set new XTENSA variable.
213 * doc/as.texinfo: Set new Xtensa variable. Describe
214 Xtensa-specific options. Define line comment character for
215 Xtensa. Add Xtensa processors to list of ELF targets where
216 alignment is specified in bytes. Add new Xtensa-Dependent node.
217 Add acknowledgements for those contributing to the Xtensa port.
218 * doc/internals.texi: Describe new md_post_relax_hook.
219 * doc/c-xtensa.texi: New file.
220
221
5a6c6817
NC
2222003-04-01 Nick Clifton <nickc@redhat.com>
223 Richard Earnshaw <rearnsha@arm.com>
224
225 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
226 (ARM_ARCH_IWMMXT): Simplify.
227 (insns): Place iwmmx instructions in correct place in table.
228 (arm_add_note): New function: Add a note entry to a .note section.
229 (md_begin): Make the default architecture be unknown.
230 Suppress the creation of an arm note section.
231
97bbfa38
EC
2322003-03-26 Eric Christopher <echristo@redhat.com>
233
234 * config/tc-mips.c (nopic_need_relax): Check for
235 S_IS_EXTERN.
236
e16bb312
NC
2372003-03-25 Stan Cox <scox@redhat.com>
238 Nick Clifton <nickc@redhat.com>
97bbfa38 239
e16bb312
NC
240 Contribute support for Intel's iWMMXt chip - an ARM variant:
241
242 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
243 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
244 (enum wreg_type, enum iwmmxt_insn_type): New types.
245 (wr_register, wc_register, wcg_register): New macros.
246 (iwmmxt_table): New variable.
247 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
248 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
249 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
250 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
251 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
252 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
253 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
254 cp_byte_address_offset, cp_byte_address_required_here,
255 check_iwmmxt_insn): New functions.
97bbfa38 256 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
257 (md_begin): Set the mach value for iWMMXt targets. Create a note
258 section to identify iwmmxt binaries.
259 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
260 * doc/c-arm.texi: Document the support for the iWMMXt.
261 * NEWS: Mention new support.
262