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