Commit | Line | Data |
---|---|---|
a645d1eb L |
1 | 2003-05-01 H.J. Lu <hjl@gnu.org> |
2 | ||
3 | * config/tc-ia64.c (ia64_check_label): New. | |
4 | * config/tc-ia64.h (tc_check_label): New. | |
5 | ||
6 | * read.c (read_a_source_file): Call tc_check_label after | |
7 | creating a user-defined label if defined. | |
8 | ||
df12615d AM |
9 | 2003-05-02 Alan Modra <amodra@bigpond.net.au> |
10 | ||
11 | * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b, | |
12 | -be and split strings to below 509 bytes in length. | |
13 | ||
f70c8412 CG |
14 | 2003-05-01 Christian Groessler <chris@groessler.org> |
15 | ||
16 | * expr.h: Fix comments in operatorT typedef. | |
17 | * config/tc-z8k.c: Add 2003 to copyright message. | |
18 | Fold s_segm() and s_unseg() into one function s_segm(parm) which | |
19 | decides by the parameter. | |
20 | (md_begin): Don't set linkrelax. Only set Z8002 default if no | |
21 | command line argument was given to select the intended | |
22 | architecure. | |
23 | (get_interrupt_operand): Warn if NOP type code is emitted. | |
24 | (newfix): New parameter 'size', forward it to 'fix_new_exp'. | |
25 | (apply_fix): Call newfix with additional 'size' parameter. | |
26 | (build_bytes): Remove unused variable 'nib'. Detect overflow in | |
27 | 4 bit immediate arguments. | |
28 | (md_longopts): Add 'linkrelax' option. | |
29 | (md_parse_option): Adapt to new s_segm function. Set 'linkrelax' | |
30 | variable when 'linkrelax' command line option is specified. | |
31 | (md_show_usage): Display 'linkrelax' option. | |
32 | (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases | |
33 | R_CALLR and R_REL16. | |
34 | * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD. | |
35 | ||
10a98291 L |
36 | 2003-04-30 H.J. Lu <hjl@gnu.org> |
37 | ||
38 | * config/tc-ia64.c (ia64_number_to_chars): New function pointer. | |
39 | (ia64_float_to_chars): Likewise. | |
40 | (dot_byteorder): Set target_big_endian, ia64_number_to_chars | |
41 | and ia64_float_to_chars by tc_segment_info_data.endian from | |
42 | the current segment if byteorder == -1. | |
43 | (md_begin): Call dot_byteorder to set target_big_endian. | |
44 | (md_atof): Call ia64_float_to_chars to convert floating point. | |
45 | (ia64_float_to_chars_bigendian): New function. | |
46 | (ia64_float_to_chars_littleendian): Likewise. | |
47 | (ia64_elf_section_change_hook): Likewise. | |
48 | ||
49 | * config/tc-ia64.h (ia64_number_to_chars): New. | |
50 | (md_number_to_chars): Changed to (*ia64_number_to_chars) | |
51 | (ia64_elf_section_change_hook): New. | |
52 | (md_elf_section_change_hook): Defined. | |
53 | (ia64_segment_info_type): New struct. | |
54 | (TC_SEGMENT_INFO_TYPE): Defined. | |
55 | ||
bf57c3c9 L |
56 | 2003-04-30 H.J. Lu <hjl@gnu.org> |
57 | ||
58 | * config/tc-ia64.c (md_section_align): Deleted. | |
59 | ||
60 | * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New. | |
61 | (md_section_align): New. | |
62 | ||
165a7f90 L |
63 | 2003-04-30 H.J. Lu <hjl@gnu.org> |
64 | ||
65 | * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10 | |
66 | and add real16. | |
67 | (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and | |
68 | "real16.ua". | |
69 | (md_atof): Add 6 byte padding of zero for real16. | |
70 | ||
eba874d8 NC |
71 | 2003-04-29 Nick Clifton <nickc@redhat.com> |
72 | ||
73 | * config/obj-elf.c (obj_elf_symver): Skip whitespace before the | |
74 | start of a version name. | |
75 | ||
dbeba5e5 CD |
76 | 2003-04-28 Chris Demetriou <cgd@broadcom.com> |
77 | ||
78 | * configure.in (mips-*-*n*bsd*): Replace with... | |
79 | (mips-*-netbsd*, mips-*-openbsd*): These. | |
80 | * configure: Regenerate. | |
81 | ||
f0d7d5f9 NC |
82 | 2003-04-28 H.J. Lu <hjl@gnu.org> |
83 | ||
84 | * config/tc-hppa.c (hppa_symbol_chars): New. | |
85 | * config/tc-hppa.h (tc_symbol_chars): Likewise. | |
86 | ||
a38b42ab TS |
87 | 2003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
88 | ||
89 | * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again. | |
90 | ||
69be0a2b CD |
91 | 2003-04-25 Chris Demetriou <cgd@broadcom.com> |
92 | ||
93 | * NEWS: Belatedly mention support for MIPS32 Release 2. | |
94 | ||
684022ea EC |
95 | 2003-04-24 Eric Christopher <echristo@redhat.com> |
96 | ||
97 | * config/tc-mips.c (nopic_need_relax): Revert previous | |
98 | change. | |
99 | ||
2c8714f2 NC |
100 | 2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com> |
101 | ||
102 | * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New | |
684022ea | 103 | * config/tc-h8300.c (dwarf2dbg.h): Include |
2c8714f2 NC |
104 | (md_pseudo_table): Handle .loc and .file |
105 | (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER. | |
106 | * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets. | |
107 | * Makefile.in: Regenerate. | |
108 | ||
684022ea | 109 | 2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com> |
8d9cd6b1 NC |
110 | |
111 | * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New. | |
112 | (md_pseudo_table): Add h8300hn, h8300sn. | |
113 | * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn. | |
114 | * doc/c-h8300.texi : Add documentation for new machine directives. | |
115 | ||
5ce8663f NC |
116 | 2003-04-24 Nick Clifton <nickc@redhat.com> |
117 | ||
118 | * config/tc-ppc.c (ppc_symbol_chars): Define. | |
119 | * config/tc-ppc.h (tc_symbol_chars): Define. | |
120 | ||
ef230218 JR |
121 | 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com> |
122 | ||
123 | * config/tc-sh.c: Amend comment to refer to SuperH. | |
124 | * config/tc-sh.h: Likewise. | |
125 | (LISTING_HEADER): Amend to refer to SuperH. | |
126 | * config/tc-sh64.c: Change comment to refer to SuperH. | |
127 | * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH. | |
128 | * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH. | |
129 | * doc/c-sh.texi: Amend to refer to SuperH. | |
130 | Add SuperH architecture documentation references. | |
131 | * doc/c-sh64.texi: Change to refer to SuperH. | |
132 | ||
204cd129 NC |
133 | 2003-04-23 H.J. Lu <hjl@gnu.org> |
134 | ||
135 | * app.c (do_scrub_chars): More checks for valid labels. | |
136 | ||
2cdb18a7 L |
137 | 2003-04-22 H.J. Lu <hjl@gnu.org> |
138 | ||
139 | * app.c (do_scrub_chars): Check for valid label. | |
140 | ||
26597c86 NC |
141 | 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
142 | ||
143 | * doc/as.texinfo: Replace references to Mitsubishi M32R with | |
144 | references to Renesas M32R. | |
145 | * doc/c-m32r.texi: Likewise. | |
146 | ||
88b4ca40 RH |
147 | 2003-04-21 Richard Henderson <rth@redhat.com> |
148 | ||
149 | * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers. | |
150 | (out_file_list): Assign non-null filename after generating error. | |
151 | ||
e5f08f7e JJ |
152 | 2003-04-18 Jakub Jelinek <jakub@redhat.com> |
153 | ||
154 | * ehopt.c (check_eh_frame): For aug_size == 0 | |
155 | in state_seeing_aug_size state skip the state_skipping_aug | |
156 | state. | |
157 | ||
c2dcd04e NC |
158 | 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com> |
159 | ||
160 | * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with | |
161 | 'Renesas'. | |
162 | * doc/c-h8500.texi: Likewise. | |
163 | * doc/c-sh.texi: Likewise. | |
164 | * doc/c-sh64.texi: Likewise. | |
165 | * doc/h8.texi: Likewise. | |
166 | * config/tc-h8300.c: Likewise. | |
167 | * config/tc-h8300.h: Likewise. | |
168 | * config/tc-h8500.c: Likewise. | |
169 | * config/tc-h8500.h: Likewise. | |
170 | * config/tc-sh.c: Likewise. | |
171 | * config/tc-sh.h: Likewise. | |
172 | * config/tc-sh64.c: Likewise. | |
173 | * config/tc-sh64.h: Likewise. | |
174 | ||
f5040a92 AO |
175 | 2003-04-10 Alexandre Oliva <aoliva@redhat.com> |
176 | ||
177 | * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New. | |
178 | * config/tc-mips.c: Use signed add for n32 address arithmetic. | |
179 | (append_insn): When filling delay slots with instructions | |
180 | that have fixups that tc_gen_reloc might consider modifyable | |
181 | in variant frags, start a new frag. | |
182 | (load_address): Generate GOT_DISP with of without offset | |
183 | depending on whether symbol is local. For -xgot, use | |
184 | GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16. | |
185 | (macro) <M_DLA_AB, M_LA_AB>: Likewise. | |
186 | <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got, | |
187 | CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got. | |
188 | <ld_st>: In NewABI with small got, always use | |
189 | GOT_PAGE/GOT_OFST, with the latter in the load/store | |
190 | instruction. With big got, use GOT_HI16/GOT_LO16 or | |
191 | GOT_PAGE/GOT_OFST. | |
192 | (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI. | |
193 | Add tc_frag_data.tc_fr_offset to addends. Decay CALL16, | |
194 | GOT_OFST and GOT_DISP to GOT_DISP in NewABI. | |
195 | (md_convert_frag): Use memmove for safe copying of overlapping | |
196 | regions. | |
197 | ||
35b55ed2 SC |
198 | 2003-04-09 Stephane Carrez <stcarrez@nerim.fr> |
199 | ||
200 | * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort, | |
201 | -mlong, -mshort-double and -mlong-double options; use table @code. | |
202 | (M68HC11-Syntax): Update to document 68HC12 operands. | |
203 | (M68HC11-Modifiers): New section for operand modifiers. | |
204 | (M68HC11-Directives): New section for specific assembler directives. | |
205 | (M68HC11-Branch): Fix Overfull hbox error. | |
206 | ||
9214dd3b AO |
207 | 2003-04-09 Alexandre Oliva <aoliva@redhat.com> |
208 | ||
209 | * config/tc-mips.c (macro): Add comments explaining the rationale | |
210 | for Chris' change. | |
211 | ||
eb0a7d52 AO |
212 | 2003-04-09 Chris Demetriou <cgd@broadcom.com> |
213 | ||
214 | * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit | |
215 | constant address that Alexandre took out by accident. Reject | |
216 | 64-bit addresses that are not sign extensions of 32 bits only if | |
217 | we don't support 64-bit address constants. | |
218 | ||
a7fc733f AM |
219 | 2003-04-09 Alan Modra <amodra@bigpond.net.au> |
220 | ||
221 | * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs. | |
222 | ||
9cc92a36 NC |
223 | 2003-04-08 Nick Clifton <nickc@redhat.com> |
224 | ||
225 | * as.c (perform_an_assembly_pass): If using cgen, call | |
226 | gas_cgen_begin. | |
227 | * cgen.c (gas_cgen_begin): New function. If | |
228 | flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok | |
229 | otherwise call cgen_clear_signed_overflow_ok. | |
230 | * cgen.h: Prototype gas_cgen_begin. | |
231 | ||
fe59a223 TS |
232 | 2003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
233 | ||
234 | * write.c (write_relocs): Remove unused variable. | |
235 | ||
5a7a0b7b AO |
236 | 2003-04-06 Chris Demetriou <cgd@broadcom.com> |
237 | ||
238 | * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New. | |
239 | (macro): Use new macro to decide whether to emit constant address | |
240 | as 32 or 64 bits if addresses are 32-bit wide but registers are | |
241 | 64-bit wide. | |
242 | ||
577300ce SC |
243 | 2003-04-05 Stephane Carrez <stcarrez@nerim.fr> |
244 | ||
245 | * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define. | |
246 | (M6811_OP_PAGE_ADDR): New internal define. | |
684022ea | 247 | (get_operand): New modifier %page and %addr to obtain page and |
577300ce | 248 | address part of a far-function. |
684022ea | 249 | (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't |
577300ce SC |
250 | complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation |
251 | relocs. | |
252 | (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier. | |
253 | (find_opcode): Add comment. | |
254 | (md_estimate_size_before_relax): Force relocation of | |
255 | STATE_UNDEXED_OFFSET types when the symbol is not absolute. | |
256 | (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16 | |
257 | instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32 | |
258 | on the symbol itself so that DWARF2 strings are merged correctly. | |
259 | ||
be33c5dd SS |
260 | 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com> |
261 | ||
262 | * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed | |
263 | default tic4x target format to 'coff2-tic4x'. | |
264 | * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and | |
265 | s/c3x/tic3x/ | |
266 | * config/tc-tic4x.h: Ditto | |
267 | ||
e8fd7476 NC |
268 | 2003-04-03 Nick Clifton <nickc@redhat.com> |
269 | ||
270 | * NEWS: Mention support for Xtensa architecture. | |
271 | ||
47281638 PB |
272 | 2003-04-02 Philip Blundell <philb@gnu.org> |
273 | ||
274 | * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM. | |
275 | ||
af22f5b2 CD |
276 | 2003-04-02 Chris Demetriou <cgd@broadcom.com> |
277 | ||
278 | * config/tc-mips.c (macro2): Adjust implementation of | |
279 | M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly | |
280 | in the case where the source and destination registers | |
281 | are the same. | |
282 | ||
e0001a05 NC |
283 | 2003-04-01 Bob Wilson <bob.wilson@acm.org> |
284 | ||
285 | * Makefile.am (CPU_TYPES): Add xtensa. | |
286 | (TARGET_CPU_CFILES): Add config/tc-xtensa.c. | |
287 | (TARGET_CPU_HFILES): Add config/tc-xtensa.h. | |
288 | (xtensa-relax.o): New target. | |
289 | Run "make dep-am". | |
290 | * Makefile.in: Regenerate. | |
291 | * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to | |
292 | extra_objects for xtensa targets. | |
293 | * configure: Regenerate. | |
294 | * write.c (write_object_file): Add new md_post_relax_hook. | |
295 | * config/tc-xtensa.c: New file. | |
296 | * config/tc-xtensa.h: Likewise. | |
297 | * config/xtensa-istack.h: Likewise. | |
298 | * config/xtensa-relax.c: Likewise. | |
299 | * config/xtensa-relax.h: Likewise. | |
300 | * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi. | |
301 | * doc/Makefile.in: Regenerate. | |
302 | * doc/all.texi: Set new XTENSA variable. | |
303 | * doc/as.texinfo: Set new Xtensa variable. Describe | |
304 | Xtensa-specific options. Define line comment character for | |
305 | Xtensa. Add Xtensa processors to list of ELF targets where | |
306 | alignment is specified in bytes. Add new Xtensa-Dependent node. | |
307 | Add acknowledgements for those contributing to the Xtensa port. | |
308 | * doc/internals.texi: Describe new md_post_relax_hook. | |
309 | * doc/c-xtensa.texi: New file. | |
310 | ||
311 | ||
5a6c6817 NC |
312 | 2003-04-01 Nick Clifton <nickc@redhat.com> |
313 | Richard Earnshaw <rearnsha@arm.com> | |
314 | ||
315 | * config/tc-arm.c: Remove presence of (r) and (tm) symbols. | |
316 | (ARM_ARCH_IWMMXT): Simplify. | |
317 | (insns): Place iwmmx instructions in correct place in table. | |
318 | (arm_add_note): New function: Add a note entry to a .note section. | |
319 | (md_begin): Make the default architecture be unknown. | |
320 | Suppress the creation of an arm note section. | |
321 | ||
97bbfa38 EC |
322 | 2003-03-26 Eric Christopher <echristo@redhat.com> |
323 | ||
324 | * config/tc-mips.c (nopic_need_relax): Check for | |
325 | S_IS_EXTERN. | |
326 | ||
e16bb312 NC |
327 | 2003-03-25 Stan Cox <scox@redhat.com> |
328 | Nick Clifton <nickc@redhat.com> | |
97bbfa38 | 329 | |
e16bb312 NC |
330 | Contribute support for Intel's iWMMXt chip - an ARM variant: |
331 | ||
332 | * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX, | |
333 | WC_PREFIX, REG_TYPE_IWMMXT): New constants. | |
334 | (enum wreg_type, enum iwmmxt_insn_type): New types. | |
335 | (wr_register, wc_register, wcg_register): New macros. | |
336 | (iwmmxt_table): New variable. | |
337 | (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc, | |
338 | do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm, | |
339 | do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia, | |
340 | do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc, | |
341 | do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov, | |
342 | do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg, | |
343 | do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero, | |
344 | cp_byte_address_offset, cp_byte_address_required_here, | |
345 | check_iwmmxt_insn): New functions. | |
97bbfa38 | 346 | (asm_opcode_insns): Add iWMMXt instructions. |
e16bb312 NC |
347 | (md_begin): Set the mach value for iWMMXt targets. Create a note |
348 | section to identify iwmmxt binaries. | |
349 | (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2. | |
350 | * doc/c-arm.texi: Document the support for the iWMMXt. | |
351 | * NEWS: Mention new support. | |
352 |