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