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