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