Commit | Line | Data |
---|---|---|
c10d9d8f JW |
1 | 2002-12-04 David Mosberger <davidm@hpl.hp.com> |
2 | ||
3 | * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint" | |
4 | instruction. | |
5 | (emit_one_bundle): Handle "hint" instruction. | |
6 | (operand_match): Match IA64_OPND_AR_CSD. | |
7 | ||
c8970b4b AM |
8 | 2002-12-04 Alan Modra <amodra@bigpond.net.au> |
9 | ||
10 | * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype | |
11 | inside #if. | |
12 | ||
e1a9cb8e NC |
13 | 2002-12-03 Nick Clifton <nickc@redhat.com> |
14 | ||
15 | * config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on | |
6b0817e5 | 16 | .PPC.EMB.apuinfo sections. |
e1a9cb8e | 17 | |
a823923b RH |
18 | 2002-12-03 Richard Henderson <rth@redhat.com> |
19 | ||
20 | * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case. | |
21 | ||
61b5f74b AM |
22 | 2002-12-03 Alan Modra <amodra@bigpond.net.au> |
23 | ||
6297c1fe AM |
24 | * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg. |
25 | (cons, s_align_bytes): Delete declaration. | |
26 | (relax): Delete. | |
27 | (md_begin): Constify "struct opinfo *" var. Don't try to make "name" | |
28 | strings common. | |
29 | (dot): Delete unused function. | |
30 | (w65_expression): Remove unused arg. | |
31 | (parse_exp): Prototype. Remove unused arg. Adjust w65_expression | |
32 | call. | |
33 | (get_operands): Prototype. Constify "struct opinfo *" arg. Fix | |
34 | parse_exp call. | |
35 | (get_specific): Prototype. Constify "struct opinfo *" arg and return | |
36 | value. | |
37 | (check): Remove unused function. | |
38 | (build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort | |
39 | on unhandled switch case. | |
40 | (md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify | |
41 | "opcode". | |
42 | (tc_crawl_symbol_chain): Delete unused function. | |
43 | (tc_headers_hook): Likewise. | |
44 | (tc_Nout_fix_to_chars): Likewise. | |
45 | (md_undefined_symbol): Add ATTRIBUTE_UNUSED. | |
46 | (md_parse_option): Likewise. | |
47 | (md_convert_frag): Likewise. | |
48 | (tc_coff_symbol_emit_hook): Likewise. | |
49 | (md_show_usage): Likewise. | |
50 | * config/tc-w65.h (tc_coff_sizemachdep): Declare. | |
51 | (TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg. | |
52 | (w65_expression): Declare. | |
53 | ||
54 | * po/POTFILES.in: Regenerate. | |
55 | ||
61b5f74b AM |
56 | * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE |
57 | and ARM_ADRL_IMMEDIATE. | |
58 | ||
fea17916 NC |
59 | 2002-12-02 Nick Clifton <nickc@redhat.com> |
60 | ||
61 | * gasp.c: Delete. It has been deprecated. | |
62 | * NEWS: Mention that gasp has been removed. | |
63 | * Makefile.am: Remove references to gasp. | |
64 | * makefile.vms: Likewise. | |
65 | * mpw-make.sed: Likewise. | |
66 | * Makeile.in: Regenerate. | |
67 | * doc/gasp.texi: Delete. | |
68 | * doc/Makefile.am: Remove references to gasp.texi. | |
69 | * doc/Makefile.in: Regenerate. | |
70 | * macro.c: Delete references to gasp. | |
71 | Remove use of comment_char function parameter as it is no longer | |
72 | needed. | |
73 | * macro.h: Update prototypes to remove comment_char parameter. | |
74 | Fix formatting. | |
75 | * read.c (read_a_source_file, s_irp): Remove comment_char | |
76 | parameter from invocation of functions in macro.c | |
77 | ||
dc59a897 HPN |
78 | 2002-12-02 Hans-Peter Nilsson <hp@axis.com> |
79 | ||
4c83186b | 80 | * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump. |
dc59a897 | 81 | |
1910266d SC |
82 | 2002-12-01 Stephane Carrez <stcarrez@nerim.fr> |
83 | ||
84 | * config/tc-m68hc11.c (md_begin): Fix qsort warning. | |
85 | (tc_gen_reloc): Mark section param as not used. | |
86 | ||
c9e03e8b SC |
87 | 2002-12-01 Stephane Carrez <stcarrez@nerim.fr> |
88 | ||
89 | Fix Bug savannah/1825: | |
90 | * config/tc-m68hc11.h (md_relax_frag): Define to support relaxations | |
91 | that are not pc-relative. | |
92 | (m68hc11_relax_frag): Declare. | |
93 | ||
94 | * config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle | |
95 | the offsetable indexed addressing modes (n,r). | |
96 | (build_insn): Cleanup some locals. | |
97 | (m68hc11_relax_frag): New function imported from tc-cris.c to handle | |
98 | relaxation of difference between two symbols of same section. | |
99 | (md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement | |
100 | only when this is a PC-relative operand and the offset is not absolute. | |
101 | (md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag | |
102 | to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will | |
103 | be handled by m68hc11_relax_frag. | |
104 | ||
2f904664 SC |
105 | 2002-12-01 Stephane Carrez <stcarrez@nerim.fr> |
106 | ||
107 | * config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default | |
108 | (32-bit int, 64-bit double). | |
109 | (md_longopts): New options -mshort, -mlong, -mshort-double and | |
110 | -mlong-double to control the ABI. | |
111 | (md_show_usage): Update. | |
112 | (md_parse_option): Handle new options. | |
113 | * doc/as.texinfo (Overview): Document new options for HC11/HC12. | |
114 | ||
0909233e AM |
115 | 2002-12-01 Nathan Sidwell <nathan@codesourcery.com> |
116 | ||
117 | * symbols.c (report_op_error): New function, broken out of ... | |
118 | (resolve_symbol_value): ... here. Use for both monadic and dyadic | |
119 | operators. | |
120 | ||
0174e383 KK |
121 | 2002-11-30 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
122 | ||
123 | * config/tc-sh.c (md_apply_fix3): Take account of fx_offset | |
124 | for BFD_RELOC_32_PLT_PCREL. | |
125 | ||
b34976b6 AM |
126 | 2002-11-30 Alan Modra <amodra@bigpond.net.au> |
127 | ||
128 | * dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c, | |
129 | config/obj-ecoff.c, config/obj-elf.c, config/obj-som.c, | |
130 | config/tc-arm.c, config/tc-arm.h, config/tc-avr.c, config/tc-cris.c, | |
131 | config/tc-d10v.c, config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h, | |
132 | config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h, | |
133 | config/tc-frv.c, config/tc-frv.h, config/tc-hppa.c, config/tc-i370.c, | |
134 | config/tc-i386.c, config/tc-i386.h, config/tc-m32r.c, | |
135 | config/tc-m68hc11.c, config/tc-mcore.c, config/tc-mcore.h, | |
136 | config/tc-mips.c, config/tc-mips.h, config/tc-mn10200.c, | |
137 | config/tc-mn10300.c, config/tc-mn10300.h, config/tc-openrisc.c, | |
138 | config/tc-openrisc.h, config/tc-ppc.c, config/tc-s390.c, | |
139 | config/tc-sh.c, config/tc-sh.h, config/tc-sh64.c, config/tc-tic54x.c, | |
140 | config/tc-v850.c, config/tc-v850.h, config/tc-xstormy16.c, | |
141 | config/tc-xstormy16.h: Replace boolean with bfd_boolean, true with | |
142 | TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars with | |
143 | TRUE/FALSE. Formatting. | |
144 | ||
143c8e19 NC |
145 | 2002-11-29 Nick Clifton <nickc@redhat.com> |
146 | ||
147 | * config/tc-arm.c (do_t_bkpt): If no operand is specified, | |
148 | assume a value of zero. | |
149 | (do_bkpt): Likewise. | |
150 | ||
2bba4140 KK |
151 | 2002-11-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
152 | ||
153 | * config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL | |
154 | for TLS relocations. | |
155 | ||
7925dd68 JJ |
156 | 2002-11-29 Jakub Jelinek <jakub@redhat.com> |
157 | ||
158 | * config/tc-ia64.c (md_apply_fix3): Add default case. | |
159 | ||
00f7efb6 JJ |
160 | 2002-11-28 Jakub Jelinek <jakub@redhat.com> |
161 | ||
162 | * symbols.c (S_SET_THREAD_LOCAL): New function. | |
163 | * symbols.h (S_SET_THREAD_LOCAL): New prototype. | |
164 | * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL | |
165 | for TLS relocations. | |
166 | * config/tc-ia64.c (md_apply_fix3): Likewise. | |
167 | * config/tc-alpha.c (md_apply_fix3): Likewise. | |
168 | ||
381a1ab3 JJ |
169 | 2002-11-28 Jakub Jelinek <jakub@redhat.com> |
170 | ||
171 | * write.c (subsegs_finish): For SEC_MERGE sections pad last fragment | |
172 | to entsize. | |
173 | ||
a3b75434 DD |
174 | 2002-11-26 DJ Delorie <dj@redhat.com. |
175 | ||
176 | * dwarf2dbg.c (scale_addr_delta): New. | |
177 | (size_inc_line_addr): Use it. | |
178 | (emit_inc_line_addr): Use it. | |
179 | ||
fb2fd3e1 HPN |
180 | 2002-11-26 Hans-Peter Nilsson <hp@axis.com> |
181 | ||
182 | * config/tc-cris.c (cris_relax_frag): Fix typo in comment. | |
183 | (md_assemble): Don't pass on branches to constants as relaxable. | |
184 | Tweak comment. | |
185 | ||
da91385d SS |
186 | 2002-11-25 Svein E. Seldal <Svein.Seldal@solidas.com> |
187 | ||
188 | * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode | |
189 | ||
1d421636 DA |
190 | 2002-11-21 Randolph Chung <randolph@tausq.org> |
191 | ||
192 | * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols | |
193 | only if they have default visibility. | |
194 | ||
33bf47a8 RH |
195 | 2002-11-21 Richard Henderson <rth@redhat.com> |
196 | ||
197 | * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant | |
198 | S_IS_DEFINED test. | |
199 | ||
5f8075fa AM |
200 | 2002-11-21 Alan Modra <amodra@bigpond.net.au> |
201 | ||
202 | * config/tc-mcore.c (mcore_pool_count): New function. | |
203 | (mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it. | |
204 | ||
5ff37431 KD |
205 | 2002-11-20 Klee Dienes <kdienes@apple.com> |
206 | ||
207 | * config/tc-mcore.c (md_begin): Use a const iterator. Don't | |
208 | coalesce the name fields to use the same pointer. | |
209 | ||
210 | * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce | |
211 | the name fields to use the same pointer. | |
212 | (get_specific): Check for opcodes with the same name using strcmp | |
213 | as well as comparing the pointer. | |
214 | ||
5045ec7a AM |
215 | 2002-11-20 Alan Modra <amodra@bigpond.net.au> |
216 | ||
217 | * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with | |
218 | fx_subsy non-NULL. | |
219 | ||
20e420c2 RH |
220 | 2002-11-19 Richard Henderson <rth@redhat.com> |
221 | ||
222 | * config/obj-elf.c (obj_elf_visibility): Overwrite only the | |
223 | visibility portion of st_other. | |
224 | ||
a720f7bc KD |
225 | 2002-11-19 Klee Dienes <kdienes@apple.com> |
226 | ||
227 | * config/tc-h8300.c (struct h8_instruction): New type, used to | |
228 | wrap h8_opcodes with length, noperands, idx, and size fields | |
229 | (computed at run-time). | |
230 | (h8_instructions): New variable. | |
231 | (md_begin): Allocate the storage for h8_instructions. Fill | |
232 | h8_instructions with pointers to the appropriate opcode and the | |
233 | correct value for the additional fields. | |
234 | (clever_message): Update to use h8_instructions instead of | |
235 | h8_opcodes. | |
236 | (build_bytes): Ditto. | |
237 | (get_specific): Ditto. | |
238 | (md_assemble): Ditto. | |
bbce6ab7 | 239 | |
0a00dd48 MS |
240 | 2002-11-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
241 | ||
242 | * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent | |
243 | adjustments to symbols in merge sections. | |
244 | ||
81283cde AM |
245 | 2002-11-19 Luke Deller <luked@cse.unsw.edu.au> |
246 | ||
247 | * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL. | |
248 | ||
14e777e0 KB |
249 | 2002-11-18 Kevin Buettner <kevinb@redhat.com> |
250 | ||
251 | * dwarf2dbg.h (dwarf2_format): New enum. | |
252 | * dwarf2dbg.c (DWARF2_FORMAT): Provide default definition. | |
253 | (out_debug_line, out_debug_info): Add code for handling 64-bit | |
254 | DWARF 2 formats. | |
255 | * config/tc-mips.h (mips_dwarf2_format): Declare. | |
256 | * config/tc-mips.c (mips_dwarf2_format): New function. | |
257 | * doc/internals.texi (DWARF2_FORMAT): Document. | |
258 | ||
a816d1ed AO |
259 | 2002-11-18 Alexandre Oliva <aoliva@redhat.com> |
260 | ||
261 | * config/tc-mips.c (s_change_section): Make sure input buffer | |
262 | is not accessed past the end. Don't hand | |
263 | obj_elf_change_section a pointer into the input buffer. | |
264 | ||
6b70243f AO |
265 | 2002-11-18 Alexandre Oliva <aoliva@redhat.com>, Chris Demetriou <cgd@broadcom.com> |
266 | ||
267 | * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of | |
268 | GOT_LO16 on NEWABI. | |
269 | ||
48c5eb8a SS |
270 | 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com> |
271 | ||
9c87d6c7 SS |
272 | * config/tc-tic4x.c: Fixed proper commandline |
273 | parameters. Added support for new opcode-list format. General | |
274 | error message fixups. | |
275 | (c4x_inst_add): Reject insn not for our CPU | |
276 | (md_begin): Added matrix for setting the proper opcode-level & | |
277 | device-flags according to cpu type and revision. Rewrite the | |
278 | opcode hasher. | |
279 | (c4x_operand_parse): Fix opcode bug | |
280 | (c4x_operands_match): New function argument. Added dry-run | |
281 | mechanism, that is optional error generation. Added constraint 'i' | |
282 | and 'j'. | |
283 | (c4x_insn_check): Added new function for post-verification of the | |
284 | generated insn. | |
285 | (md_assemble): Check all opcodes before croaking because of an | |
286 | argument mismatch. Need this to be able to fully support | |
287 | ortogonally arguments. | |
288 | (md_parse_options): Revised commandprompt swicthes and added new | |
289 | ones. | |
290 | (md_show_usage): Complete rewrite of printout. | |
bbce6ab7 | 291 | |
44287f60 SS |
292 | 2002-11-16 Svein E. Seldal <Svein.Seldal@solidas.com> |
293 | ||
294 | * config/tc-tic4x.c: Remove c4x_pseudo_ignore function. | |
295 | (c4x_operands_match): Added check for 8-bits LDF insn. Give | |
296 | warning when using constant direct bigger than 2^16. Add the new | |
297 | arguments. | |
298 | ||
591d4689 CF |
299 | 2002-11-11 Christopher Faylor <cgf@redhat.com> |
300 | ||
301 | * configure.in: Use .gdbinit under Cygwin. | |
302 | * configure: Regenerate. | |
303 | ||
1a89f85f CF |
304 | 2002-11-11 Christopher Faylor <cgf@redhat.com> |
305 | ||
306 | * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if | |
307 | STRICT_PE_FORMAT. | |
308 | ||
247b1fe6 SS |
309 | 2002-11-11 Svein E. Seldal <Svein.Seldal@solidas.com> |
310 | ||
311 | * config/tc-tic4x.c: Declare as many functions as possible as | |
312 | static. Maintenance on the general indenting. Removed unnecessary | |
313 | pseudo-ops and added new ones. Removed obsoleted c4x_pseudo_ignore | |
314 | function. Add support for new DSP, TMS320VC33. Fix bug for | |
315 | converting flonum constants. | |
316 | (c4x_do_align): Add proper align handling. Setup align to insert | |
bbce6ab7 | 317 | NOP's. |
247b1fe6 SS |
318 | (c4x_gen_to_words): Support for extended TI type floats. |
319 | (md_atof): Proper dumping of multiple-word littlenums. | |
320 | (c4x_atof): Added support for extended TI type floats. | |
321 | (c4x_stringer): Added new function to handle compact strings. | |
322 | (c4x_emit_char): Added new function argument to handle custom | |
323 | length inserts, like single-byte strings. | |
324 | * config/tc-tic4x.h: Add proper align handling with NOP's. | |
98199d8f SS |
325 | * Makefile.am: Added tic4x dependecy |
326 | * Makefile.in: Regenerate | |
247b1fe6 | 327 | |
9df59bba HPN |
328 | 2002-11-11 Hans-Peter Nilsson <hp@bitrange.com> |
329 | ||
330 | * macro.c (get_any_string): Correct logic for not going beyond end | |
331 | of in->ptr[]. | |
332 | ||
32c27eed HPN |
333 | 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com> |
334 | ||
480c8d94 HPN |
335 | * config/tc-mmix.c (get_putget_operands): Mark both possible |
336 | operands as invalid at beginning. | |
337 | ||
32c27eed HPN |
338 | * config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>: |
339 | Initialize target of fixup to zero. | |
340 | ||
78e1bb40 AO |
341 | 2002-11-07 Alexandre Oliva <aoliva@redhat.com> |
342 | ||
343 | * config/tc-mips.c (macro_build_lui): _gp_disp is not special on | |
344 | NEWABI, but we should still emit HI16_S for non-PIC n32. | |
345 | ||
66ba4c77 RH |
346 | 2002-11-06 Richard Henderson <rth@redhat.com> |
347 | ||
348 | * config/tc-alpha.c (alpha_validate_fix): Move code ... | |
349 | (alpha_fix_adjustable): ... here. | |
350 | * config/tc-alpha.h (TC_VALIDATE_FIX): Remove. | |
351 | ||
bbce6ab7 | 352 | 2002-11-07 Eric Kohl <ekohl@rz-online.de> |
c9e38879 NC |
353 | |
354 | * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character | |
355 | of a label. | |
356 | ||
aa3d8fdf L |
357 | 2002-11-05 H.J. Lu <hjl@gnu.org> |
358 | ||
359 | * config/tc-mips.c (support_64bit_objects): Check *l before it | |
360 | is freed. | |
361 | ||
e96c5464 NC |
362 | 2002-11-04 Danny Smith <dannysmith@users.sourceforge.net> |
363 | ||
364 | * config/obj-coff.c (obj-coff-section): Set SEC_DATA and | |
365 | SEC_LOAD flags for sections marked as 's'. | |
366 | ||
4d0b3220 AM |
367 | 2002-11-01 Alan Modra <amodra@bigpond.net.au> |
368 | ||
4f3cafa2 AM |
369 | * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero. |
370 | (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK. | |
371 | * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed | |
372 | default. | |
373 | ||
4d0b3220 AM |
374 | * dep-in.sed: Fix typo. |
375 | ||
54847c76 DJ |
376 | 2002-10-30 Daniel Jacobowitz <drow@mvista.com> |
377 | ||
378 | * configure.in: Update ARM CPU patterns. | |
379 | * configure: Regenerated. | |
380 | ||
3d82a647 DJ |
381 | 2002-10-29 Daniel Jacobowitz <drow@mvista.com> |
382 | ||
383 | * itbl-lex.l: Use #include <> for generated headers. | |
384 | * itbl-ops.c: Likewise. | |
385 | ||
b1744eab DJ |
386 | 2002-10-28 Daniel Jacobowitz <drow@mvista.com> |
387 | ||
388 | * doc/gasp.texi: Fix typo in deprecation note. | |
389 | ||
8df7094c NC |
390 | 2002-10-23 Nick Clifton <nickc@redhat.com> |
391 | ||
392 | * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to | |
393 | _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc. | |
394 | ||
3a99b990 HPN |
395 | 2002-10-23 Hans-Peter Nilsson <hp@bitrange.com> |
396 | ||
1cd2bb72 | 397 | * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare. |
3a99b990 HPN |
398 | (tc_frob_file_before_adjust): Don't define. |
399 | * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused | |
400 | function. | |
401 | (mmix_frob_file_before_adjust): Remove ineffective function. | |
402 | ||
1c971160 HPN |
403 | 2002-10-23 Hans-Peter Nilsson <hp@axis.com> |
404 | ||
405 | * config/tc-cris.c (SIMPLE_EXPR): New macro. | |
406 | (cris_relax_frag): New function. | |
407 | (md_estimate_size_before_relax) <case ENCODE_RELAX | |
408 | (STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved | |
409 | expressions that will become absolute expressions to relaxation. | |
410 | (md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, | |
411 | STATE_WORD)>: Expect only absolute expressions. Use the symbol | |
412 | value, not distance to symbol. | |
413 | <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>: | |
414 | Ditto. Correct placement of fixup. | |
415 | (md_assemble): Use SIMPLE_EXPR when dissecting expressions. | |
416 | (gen_bdap): Ditto. | |
417 | * config/tc-cris.h (cris_relax_frag): Declare. | |
418 | (md_relax_frag): Define. | |
419 | ||
7ed1d346 AM |
420 | 2002-10-22 Alan Modra <amodra@bigpond.net.au> |
421 | ||
422 | * config/obj-elf.c (special_sections): Use correct types for init | |
423 | array sections. | |
424 | (obj_elf_change_section): Don't mess with init array section type. | |
425 | ||
631cb423 RS |
426 | 2002-10-21 Richard Sandiford <rsandifo@redhat.com> |
427 | ||
428 | * config/tc-mips.c (mips_need_elf_addend_fixup): Return true | |
429 | for relocs against symbols in a merged section. | |
430 | ||
6047c971 AO |
431 | 2002-10-18 Alexandre Oliva <aoliva@redhat.com> |
432 | ||
433 | * config/tc-mips.c (md_begin): Add $fcc registers to the symbol | |
434 | table as register names. | |
435 | ||
75504fed MS |
436 | 2002-10-18 Ulrich Weigand <uweigand@de.ibm.com> |
437 | ||
438 | * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32 | |
439 | for option -m31. | |
440 | ||
02000999 AM |
441 | 2002-10-18 Svein E. Seldal <Svein.Seldal@solidas.com> |
442 | ||
443 | * expr.c (operand): Add support for n.nn flonums. | |
444 | ||
311797d5 AM |
445 | 2002-10-17 Johannes Stezenbach <js@convergence.de> |
446 | ||
447 | * itbl-parse.y (entry): Provide empty action. | |
448 | ||
4001ad8c AM |
449 | 2002-10-16 Alan Modra <amodra@bigpond.net.au> |
450 | ||
451 | * configure.in (BFDVER_H): Set and subst. | |
452 | * dep-in.sed: Replace bfdver.h with $(BFDVER_H). | |
453 | * Makefile.am: Run "make dep-am". | |
454 | (BFDVER_H): Define. | |
455 | * configure: Regenerate. | |
456 | * Makefile.in: Regenerate. | |
457 | * doc/Makefile.in: Regenerate. | |
458 | ||
3ca4bdc3 AM |
459 | 2002-10-15 Alan Modra <amodra@bigpond.net.au> |
460 | ||
461 | * config/tc-i386.h (EXTERN_FORCE_RELOC): Define. | |
462 | (MD_APPLY_SYM_VALUE): Define for PE too. | |
463 | ||
b95d15c6 AM |
464 | 2002-10-14 Alan Modra <amodra@bigpond.net.au> |
465 | ||
466 | * Makefile.am: Run "make dep-am". | |
467 | (CPU_OBJ_VALID): sh64 coff is invalid. | |
468 | * as.c: #include "bfdver.h". | |
469 | * Makefile.in: Regenerate. | |
470 | * config.in: Regenerate. | |
471 | ||
ec266e19 AM |
472 | 2002-10-14 Momchil Velikov <velco@fadata.bg> |
473 | ||
474 | * config/tc-v850.c (CHECK_): Remove token pasting operator. | |
475 | ||
8f6847cb RS |
476 | 2002-10-14 Richard Sandiford <rsandifo@redhat.com> |
477 | ||
478 | * configure.in (mips64vr-elf, mips64vrel-elf): New config. | |
479 | * configure: Regenerate. | |
480 | ||
ec266e19 AM |
481 | 2002-10-13 Eric Christopher <echristo@redhat.com> |
482 | Alexandre Oliva <aoliva@redhat.com> | |
10181a0d AO |
483 | |
484 | * config/tc-mips.c (s_gpdword): New function. | |
485 | (mips_pseudo_table): Add .gpdword. | |
486 | (mips_need_elf_addend_fixup): never for NEWABI. | |
487 | (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or | |
488 | GPREL32 as done. | |
489 | (s_cpadd): Generate .cpadd on NEWABI. | |
490 | ||
49181a6a AM |
491 | 2002-10-12 Elias Athanasopoulos <eathan@otenet.gr> |
492 | ||
493 | * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int. | |
494 | ||
4a6a3df4 AO |
495 | 2002-10-12 Alexandre Oliva <aoliva@redhat.com> |
496 | ||
497 | * config/tc-mips.h (mips_relax_frag): Take segment as argument. | |
498 | (md_relax_frag): Adjust macro. | |
499 | * config/tc-mips.c (mips_relax_branch): New variable. | |
500 | (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY, | |
501 | RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New. | |
502 | (RELAX_MIPS16_P): Adjust. | |
503 | (append_insn): Emit branch to non-constant in a frag_var if | |
504 | branch-relaxation is desirable and possible. | |
505 | (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options. | |
506 | (OPTION_ELF_BASE): Adjust. | |
507 | (md_parse_option): Handle new options. | |
508 | (md_apply_fix3): Update comment on EMBEDDED_PIC conditional | |
509 | branch relaxation. | |
510 | (relaxed_branch_length): New function. | |
511 | (md_estimate_size_before_relax): Handle branch frags. | |
512 | (mips_relax_frag): Likewise. | |
513 | (md_convert_frag): Handle branch frags. Warn if branch is | |
514 | relaxed. | |
515 | ||
9efb3b7b KK |
516 | 2002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
517 | ||
518 | * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get | |
519 | emitted. | |
520 | (md_apply_fix3): Add TLS relocs. | |
521 | (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and | |
522 | @DTPOFF. | |
523 | ||
3e02c1cc AM |
524 | 2002-10-11 Michel Six <msix@ccr.jussieu.fr> |
525 | Alan Modra <amodra@bigpond.net.au> | |
526 | ||
527 | * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz. | |
528 | (md_estimate_size_before_relax): Likewise for 8 bit branches. | |
529 | ||
ac62e7a3 JR |
530 | Thu Oct 10 14:31:30 2002 J"orn Rennecke <joern.rennecke@superh.com> |
531 | ||
532 | * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n | |
533 | inside loop. | |
534 | ||
f61dfddf SC |
535 | 2002-10-09 Richard Shann <richard.shann@superh.com> |
536 | Stephen Clarke <stephen.clarke@superh.com> | |
537 | ||
538 | * config/tc-sh64.c (sh64_target_format): Add support for sh64 | |
539 | Linux environment. | |
540 | ||
28602ebf KK |
541 | 2002-10-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
542 | ||
543 | * contig/tc-sh.c (sh_local_pcrel): New. | |
544 | (sh_force_relocation): Use sh_local_pcrel. | |
545 | (md_pcrel_from_section): Check the relocation type whether it | |
546 | should be resolved locally. Use S_FORCE_RELOC. | |
547 | ||
97724570 AM |
548 | 2002-10-01 Alan Modra <amodra@bigpond.net.au> |
549 | ||
550 | * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define. | |
551 | (TC_FORCE_RELOCATION): Tidy arg. | |
552 | ||
60b63b72 | 553 | 2002-09-30 Gavin Romig-Koch <gavin@redhat.com> |
3e02c1cc AM |
554 | Ken Raeburn <raeburn@cygnus.com> |
555 | Aldy Hernandez <aldyh@redhat.com> | |
556 | DJ Delorie <dj@redhat.com> | |
557 | Michael Meissner <meissner@redhat.com> | |
558 | Eric Christopher <echristo@redhat.com> | |
559 | Richard Sandiford <rsandifo@redhat.com> | |
60b63b72 RS |
560 | |
561 | * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181, | |
562 | vr5400 and vr5500. Add entry for -mfix-vr4122-bugs. | |
563 | * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros. | |
564 | (hilo_interlocks): True for CPU_VR5500. | |
565 | (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500. | |
566 | (mips_fix_vr4122_bugs): New. | |
567 | (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs. | |
568 | (mips_emit_delays): Likewise. | |
569 | (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR. | |
570 | [M_ROLI]: Likewise ror if CPU_HAS_ROR. | |
571 | (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'. | |
572 | (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options. | |
573 | (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs. | |
574 | (OPTION_ELF_BASE): Bump. | |
575 | (md_parse_option): Handle the new options. | |
576 | (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181, | |
577 | vr5400 and vr5500. | |
578 | ||
7a49a8c2 L |
579 | 2002-09-29 H.J. Lu <hjl@gnu.org> |
580 | ||
581 | * config/tc-mips.c (md_apply_fix3): Subtract the symbol value | |
582 | twice if howto->pcrel_offset is true. | |
583 | ||
04ff5cb5 | 584 | 2002-09-28 Matt Thomas <matt@3am-software.com> |
3e02c1cc | 585 | Jason Thorpe <thorpej@wasabisystems.com> |
04ff5cb5 JT |
586 | |
587 | * config/tc-vax.c (md_estimate_size_before_relax): Only try to | |
588 | convert undefined references to GOT32/PLT32 if PIC code is | |
589 | requested. Fix comment. | |
590 | ||
8ba4dac0 DJ |
591 | 2002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
592 | ||
593 | * config/tc-sh.c (sh_force_relocation): Return 0 for | |
594 | some PC relative relocations when not relaxing. | |
595 | ||
bffbf940 JJ |
596 | 2002-09-26 Jakub Jelinek <jakub@redhat.com> |
597 | ||
598 | * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs. | |
599 | Define them if not BFD_ASSEMBLER. | |
600 | (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add | |
601 | @tlsld. | |
602 | (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD, | |
603 | BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF. | |
604 | (tc_gen_reloc): Handle x86-64 TLS relocs. | |
605 | ||
87733541 AM |
606 | 2002-09-27 Alan Modra <amodra@bigpond.net.au> |
607 | ||
608 | * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel | |
609 | fixups to current or absolute section. | |
610 | ||
825487fa JW |
611 | 2002-09-26 Jim Wilson <wilson@redhat.com> |
612 | ||
613 | * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix | |
614 | and frag_more. | |
615 | ||
3396de36 TS |
616 | 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
617 | ||
618 | * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16 | |
619 | capable configuration. | |
620 | (macro_build): Check for MIPS16 capability, not for actual MIPS16 code | |
621 | generation. | |
622 | (mips_ip): Likewise. | |
623 | ||
f3c0ec86 TS |
624 | 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
625 | ||
626 | * config/tc-mips.c (append_insn): Fix jump overflow check. | |
627 | ||
52271982 AM |
628 | 2002-09-24 Alan Modra <amodra@bigpond.net.au> |
629 | ||
630 | * config/tc-i386.c (process_operands): Warn about "lea" segment | |
631 | overrides. | |
632 | ||
823882f5 DD |
633 | 2002-09-22 Mark Elbrecht <snowball3@softhome.net> |
634 | ||
635 | * write.c: Delete set_segment_vma and prototype. Update all callers. | |
636 | ||
6539b54b AM |
637 | 2002-09-21 Alan Modra <amodra@bigpond.net.au> |
638 | ||
639 | * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL, | |
640 | S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment. | |
641 | Rename "fseg" to "sym_seg". | |
642 | * Makefile.am: Run "make dep-am". | |
643 | * Makefile.in: Regenerate. | |
644 | * doc/Makefile.in: Regenerate. | |
645 | ||
9f269a72 NC |
646 | 2002-09-20 Nick Clifton <nickc@redhat.com> |
647 | ||
648 | * symbols.c (colon): Do not allow symbols to be created in the | |
7cf10893 NC |
649 | absolute section if WORKING_DOT_WORD is not defined and |
650 | new_broken_words would require a new frag to be created. | |
9f269a72 | 651 | |
26346241 AM |
652 | 2002-09-20 Alan Modra <amodra@bigpond.net.au> |
653 | ||
f6cf69d7 AM |
654 | * expr.c (expr): Simplify foo-foo here. |
655 | (clean_up_expression): Remove O_subtract code. | |
656 | ||
26346241 AM |
657 | * write.h (struct fix): Add fx_dot_value. |
658 | (dot_value): Declare. | |
659 | * write.c (dot_value): New var. | |
660 | (fix_new_internal): Save dot_value as fx_dot_value. | |
f6cf69d7 | 661 | (fixup_segment): Adjust fx_offset using fx_dot_value. |
26346241 AM |
662 | * expr.c (expr): Update dot_value. |
663 | ||
37e55690 JJ |
664 | 2002-09-19 Jakub Jelinek <jakub@redhat.com> |
665 | ||
666 | * config/tc-i386.c (tc_i386_fix_adjustable): Handle | |
667 | BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. | |
668 | (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0 | |
669 | if not defined. | |
670 | (lex_got): Handle @GOTNTPOFF and @INDNTPOFF. | |
671 | (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and | |
672 | BFD_RELOC_386_TLS_GOTIE. | |
673 | ||
021c2b5e RH |
674 | 2002-09-19 Richard Henderson <rth@redhat.com> |
675 | ||
676 | * config/tc-alpha.c (md_pcrel_from): Only adjust special for | |
677 | branch type relocs. | |
678 | (alpha_force_relocation): Don't special-case branch type relocs. | |
679 | ||
4f2a7c9e NC |
680 | 2002-09-19 Nick Clifton <nickc@redhat.com> |
681 | ||
682 | * config/tc-m68k.c (select_control_regs): Handle situation where | |
683 | architecture has not yet been selected. | |
684 | ||
885add95 CD |
685 | 2002-09-18 Chris Demetriou <cgd@broadcom.com> |
686 | ||
687 | * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file. | |
688 | (IS_SEXT_16BIT_NUM): New macro. | |
689 | (macro_build_ldst_constoffset): New function, to build a set of | |
690 | instructions to do a load or store from a constant offset relative | |
691 | to a given register. | |
692 | (macro, s_cprestore): Use macro_build_ldst_constoffset to implement | |
693 | .cprestore pseudo-op. | |
694 | ||
65551fa4 CD |
695 | 2002-09-18 Chris Demetriou <cgd@broadcom.com> |
696 | ||
697 | * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8. | |
698 | ||
4cf0dd0d TS |
699 | 2002-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
700 | ||
701 | * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup. | |
702 | ||
ed6fb7bd SC |
703 | 2002-09-17 Stan Cox <scox@redhat.com> |
704 | ||
705 | * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi. | |
706 | (macro): Likewise for la. Likewise for ld. | |
707 | (mips_after_parse_args): Make -xgot optional, not the default. | |
708 | (md_apply_fix3): Allow composite relocation to set up gp. | |
709 | (tc_gen_reloc): Allow relaxing for newabi. | |
710 | Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local. | |
711 | Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local. | |
712 | ||
6189168b NC |
713 | 2002-09-17 Nick Clifton <nickc@redhat.com> |
714 | ||
715 | * config/tc-arm.c (md_apply_fix3): Note that an implemented | |
716 | BFD_RELOC_ARM_IMMEDIATE has been done. | |
f6cf69d7 | 717 | (tc_gen_reloc): Do not issue reloc number of unimplemented |
6189168b NC |
718 | BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs - |
719 | their name is already in the error message - plus remove them | |
720 | from the default case. | |
721 | ||
722 | * config/tc-arm.c (do_ldmstm): Warn about unpredictable | |
723 | behavior of instructions. | |
724 | ||
75d12d11 AM |
725 | 2002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com> |
726 | ||
727 | * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED. | |
728 | Convert functions to K&R format. | |
729 | ||
7ed4a06a TS |
730 | 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
731 | ||
732 | * config/tc-mips.c (pdr_seg): Define only for ELF. | |
733 | (s_change_section): Remove unused variable. Don't use for nonELF. | |
734 | ||
e8cf2216 TS |
735 | 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
736 | ||
737 | * config/obj-elf.c (obj_elf_change_section): Move prototype to | |
738 | obj-elf.h | |
739 | * config/obj-elf.h (obj_elf_change_section): Likewise. | |
740 | ||
48b91938 RH |
741 | 2002-09-16 Elias Athanasopoulos <eathan@otenet.gr> |
742 | ||
743 | * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field. | |
744 | (out_debug_info): Likewise. | |
745 | ||
4ada7262 DB |
746 | 2002-09-16 Bruno Haible <bruno@clisp.org> |
747 | ||
748 | * config/tc-i386.h (ELF_TARGET_FORMAT): New macro. | |
749 | (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386". | |
750 | * config/tc-i386.c (i386_target_format): Likewise. | |
751 | * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro. | |
752 | (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha". | |
753 | ||
7fe9cf6b NC |
754 | 2002-09-13 Nick Clifton <nickc@redhat.com> |
755 | ||
756 | * config/tc-ppc.c (md_assemble): Do not count FAKE operands | |
757 | when deciding if any operands have been skipped. | |
758 | ||
e09f4395 NC |
759 | 2002-09-11 Nick Clifton <nickc@redhat.com> |
760 | ||
004d9caf NC |
761 | * NEWS: New TI port supports both C4x and C3x series of DSPs. |
762 | ||
e09f4395 NC |
763 | * po/tr.po: Updated Turkish translation. |
764 | ||
9dfe7b39 JJ |
765 | 2002-09-11 Jakub Jelinek <jakub@redhat.com> |
766 | ||
767 | * config/tc-i386.c (md_apply_fix3): Allow addend for | |
768 | BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and | |
769 | BFD_RELOC_386_TLS_LE_32. | |
770 | ||
502b19cb JL |
771 | 2002-09-05 Jeff Law <law@redhat.com> |
772 | ||
f6cf69d7 AM |
773 | * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for |
774 | marker relocations such as ENTRY/EXIT. | |
775 | * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies | |
776 | to both OBJ_ELF and OBJ_SOM. | |
502b19cb | 777 | |
a161fe53 AM |
778 | 2002-09-05 Alan Modra <amodra@bigpond.net.au> |
779 | ||
780 | * doc/internals.texi (md_apply_fix3): Expand. | |
781 | (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS, | |
782 | TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME, | |
783 | TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL, | |
784 | TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC, | |
785 | EXTERN_FORCE_RELOC): Document. | |
786 | (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove. | |
787 | * as.h: Don't include struc-symbol.h for arc. | |
788 | (IS_ELF): Define. | |
789 | * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to | |
790 | subtract absolute symbol. | |
791 | * obj.h (struct format_ops): Add frob_file_before_fix. | |
792 | * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag. | |
793 | * symbols.c (S_FORCE_RELOC): New function. | |
794 | * symbols.h (S_FORCE_RELOC): Declare. | |
795 | * write.c (TC_FORCE_RELOCATION): Change default. | |
796 | (TC_FORCE_RELOCATION_ABS): Define. | |
797 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
798 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
799 | (TC_FORCE_RELOCATION_SECTION): Don't define. | |
800 | (TC_FORCE_RELOCATION_SUB_SAME): Define this instead. | |
801 | (TC_FORCE_RELOCATION_SUB_ABS): Define. | |
802 | (TC_FORCE_RELOCATION_SUB_LOCAL): Define. | |
803 | (TC_VALIDATE_FIX_SUB): Define. | |
804 | (TC_FIX_ADJUSTABLE): Don't define. | |
805 | (MD_APPLY_SYM_VALUE): Define this instead. | |
806 | (abs_section_sym): New variable. | |
807 | (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable | |
808 | call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests. | |
809 | Don't put the absolute section sym on fixups here. | |
810 | (fix_segment): New function. | |
811 | (write_relocs): Don't call fixup_segment from here. | |
812 | (write_object_file): Instead call tc_frob_file_before_fix, | |
813 | obj_frob_file_before_fix, and fix_segment prior to symbol table code. | |
814 | Don't output the absolute section symbol. | |
815 | (fixup_segment): Rewrite. | |
816 | * write.h (abs_section_sym): Declare. | |
817 | * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from | |
818 | obj_aout_frob_file. | |
819 | (aout_format_ops): Adjust to suit. | |
820 | * config/obj-aout.h (obj_frob_file): Don't define. | |
821 | (obj_frob_file_before_fix): Define. | |
822 | (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file. | |
823 | (S_FORCE_RELOC): Define. | |
824 | * config/obj-bout.h (S_FORCE_RELOC): Define. | |
825 | * config/obj-coff.c (coff_format_ops): Init new field. | |
826 | * config/obj-coff.h: Formatting fixes. | |
827 | (obj_sec_sym_ok_for_reloc): Define. | |
828 | (S_FORCE_RELOC): Define. | |
829 | * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out .. | |
830 | (ecoff_frob_file): .. from here. | |
831 | (ecoff_format_ops): Add new function. | |
832 | * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare. | |
833 | (obj_frob_file_before_fix): Define. | |
834 | * config/obj-elf.c (elf_format_ops): Init new field. | |
835 | * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment. | |
836 | * config/obj-ieee.h: Formatting fixes. | |
837 | (S_FORCE_RELOC): Define. | |
838 | * config/obj-multi.h (obj_frob_file_before_fix): Define. | |
839 | * config/obj-vms.h (S_FORCE_RELOC): Define. | |
840 | * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment. | |
841 | (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0 | |
842 | for BFD_RELOC_32 and BFD_RELOC_64. | |
843 | (alpha_fix_adjustable): Remove extern and weak tests. | |
844 | (alpha_before_fix): Rename from alpha_adjust_symtab. | |
845 | (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs. | |
846 | * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare. | |
847 | (TC_VALIDATE_FIX): Tweak param name. | |
848 | (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise. | |
849 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
850 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
851 | (MD_APPLY_SYM_VALUE): Define. | |
852 | (tc_adjust_symtab): Don't define. | |
853 | (alpha_adjust_symtab): Don't declare. | |
854 | (tc_frob_file_before_fix): Define. | |
855 | (alpha_before_fix): Declare. | |
856 | (TC_INIT_FIX_DATA): Tweak param names. | |
857 | * config/tc-arc.c: Include "struc-symbol.h". | |
858 | (md_pcrel_from): Remove undefined sym fudge. | |
859 | (md_apply_fix3): Remove *valP fudges and code to subtract abs sym. | |
860 | Don't set fx_addnumber. | |
861 | (tc_gen_reloc): Remove spurious fx_addnumber comment. | |
862 | * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define. | |
863 | (EXTERN_FORCE_RELOC): Define. | |
864 | * config/tc-arm.c (md_apply_fix3 <case BFD_RELOC_ARM_GOTPC>): Remove. | |
865 | (tc_gen_reloc): Fudge ARM_GOTPC addend. | |
866 | (arm_validate_fix): Return void. | |
867 | (arm_fix_adjustable <elf version>): Remove extern and weak tests. | |
868 | Add plt and got reloc tests. | |
869 | (arm_force_relocation): Call S_FORCE_RELOC. | |
870 | * config/tc-arm.h (struct fix): Forward declare. | |
871 | (TC_VALIDATE_FIX): No longer set add_symbolP. | |
872 | (arm_validate_fix): Adjust declaration. | |
873 | (TC_FORCE_RELOCATION <pe version): Call S_FORCE_RELOC. | |
874 | (TC_FORCE_RELOCATION): Tweak param name. | |
875 | (TC_INIT_FIX_DATA): Likewise. | |
876 | (obj_fix_adjustable): Don't define. | |
877 | (tc_fix_adjustable): Call arm_fix_adjustable. | |
878 | (TC_FIX_ADJUSTABLE): Don't define. | |
879 | (MD_APPLY_SYM_VALUE): Define. | |
880 | (EXTERN_FORCE_RELOC): Define. | |
881 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
882 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
883 | * config/tc-avr.c (md_apply_fix3): Don't cast valP pointer type. | |
884 | Remove *valP fudges and code to subtract abs sym. Don't set | |
885 | fx_addnumber. | |
886 | * config/tc-avr.h: Formatting. | |
887 | (EXTERN_FORCE_RELOC): Define. | |
888 | (MD_APPLY_SYM_VALUE): Define. | |
889 | * config/tc-cris.c (tc_gen_reloc): Don't use fx_addnumber. | |
890 | (md_apply_fix3): Remove code to subtract abs sym. | |
891 | (md_cris_force_relocation): Update comment. Call S_FORCE_RELOC. | |
892 | * config/tc-cris.h (TC_FORCE_RELOCATION): Tweak param name. | |
893 | (IS_CRIS_PIC_RELOC, tc_fix_adjustable): Likewise. | |
894 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
895 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
896 | (tc_fix_adjustable): Remove extern, weak tests. | |
897 | * config/tc-d10v.c (tc_gen_reloc): Don't fiddle address of | |
898 | BFD_RELOC_VTABLE_INHERIT relocs. Don't use fx_addnumber. | |
899 | (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges | |
900 | and code to subtract abs sym. | |
901 | (d10v_fix_adjustable): Remove extern, weak, SEC_MERGE tests. | |
902 | (d10v_force_relocation): Call S_FORCE_RELOC. | |
903 | * config/tc-d10v.h: Don't include write.h. | |
904 | (struct fix): Instead, forward declare. | |
905 | (MD_PCREL_FROM_SECTION): Tweak param names. | |
906 | (md_pcrel_from_section): Use "struct fix" instead of "fixS". | |
907 | (d10v_fix_adjustable): Likewise. | |
908 | (obj_fix_adjustable): Don't define. | |
909 | (tc_fix_adjustable): Define. | |
910 | (TC_FORCE_RELOCATION): Tweak param name. | |
911 | (MD_APPLY_SYM_VALUE): Define. | |
912 | (EXTERN_FORCE_RELOC): Define. | |
913 | * config/tc-d30v.c (tc_gen_reloc): Don't use fx_addnumber. | |
914 | (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges | |
915 | and code to subtract abs sym. | |
916 | * config/tc-d30v.h: Don't include write.h. | |
917 | (struct fix): Instead, forward declare. | |
918 | (MD_PCREL_FROM_SECTION): Tweak param names. | |
919 | (md_pcrel_from_section): Use "struct fix" instead of "fixS". | |
920 | (MD_APPLY_SYM_VALUE): Define. | |
921 | (EXTERN_FORCE_RELOC): Define. | |
922 | * config/tc-dlx.c (md_dlx_force_relocation): Call S_FORCE_RELOC. | |
923 | (md_dlx_fix_adjustable): Don't test for NULL fx_addsy. | |
924 | (md_apply_fix3): No need to test fx_pcrel before setting fx_done. | |
925 | (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs. | |
926 | Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend. | |
927 | Don't use fx_addnumber. | |
928 | * config/tc-dlx.h: Don't include write.h. | |
929 | (md_convert_frag): We're not alpha twice over. | |
930 | (EXTERN_FORCE_RELOC): Define. | |
931 | (obj_fix_adjustable): Don't define. | |
932 | (tc_fix_adjustable): Define. | |
933 | (TC_FIX_ADJUSTABLE): Don't define. | |
934 | (MD_APPLY_SYM_VALUE): Define. | |
935 | (LOCAL_LABELS_DOLLAR): Undef always. | |
936 | * config/tc-fr30.c (fr30_force_relocation): Call S_FORCE_RELOC. | |
937 | (fr30_fix_adjustable): Remove extern, weak tests. | |
938 | * config/tc-fr30.h (MD_APPLY_SYM_VALUE): Define. | |
939 | (obj_fix_adjustable): Don't define. | |
940 | (tc_fix_adjustable): Define. | |
941 | (struct fix): Forward declare. | |
942 | (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate. | |
943 | * config/tc-frv.c (frv_force_relocation): Call S_FORCE_RELOC. | |
944 | (frv_fix_adjustable): Don't do extern, weak tests. | |
945 | * config/tc-frv.h (MD_APPLY_SYM_VALUE): Define. | |
946 | (TC_FIX_ADJUSTABLE): Don't define. | |
947 | (obj_fix_adjustable): Don't define. | |
948 | (tc_fix_adjustable): Define. | |
949 | (struct fix): Forward declare. | |
950 | (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.\ | |
951 | * config/tc-h8300.c (md_apply_fix3): Don't cast valP pointer type. | |
952 | * config/tc-h8300.h (struct fix): Forward declare. | |
953 | (EXTERN_FORCE_RELOC): Define. | |
954 | * config/tc-hppa.c (md_apply_fix3): Remove subtraction of sym value. | |
955 | (hppa_fix_adjustable): Don't test extern or weak. Don't | |
956 | symbol_mark_used_in_reloc. | |
957 | (hppa_force_relocation): Use S_FORCE_RELOC instead of S_IS_EXTERNAL | |
958 | and S_IS_WEAK. | |
959 | * config/tc-hppa.h (EXTERN_FORCE_RELOC): Define | |
960 | (TC_FORCE_RELOCATION, TC_INIT_FIX_DATA): Tweak param name. | |
961 | (TC_FORCE_RELOCATION_SECTION): Don't define. | |
962 | (MD_APPLY_SYM_VALUE): Define. | |
963 | * config/tc-i370.c (md_apply_fix3): Remove *valP fudges and code | |
964 | to subtract abs sym. | |
965 | * config/tc-i370.h: Remove ifdef OBJ_ELF tests. | |
966 | (MD_APPLY_SYM_VALUE): Define. | |
967 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
968 | * config/tc-i386.c (tc_i386_fix_adjustable): Remove weak, extern tests. | |
969 | (md_apply_fix3): Test fx_addsy, not fx_pcrel. | |
970 | (i386_force_relocation): New function. | |
971 | * config/tc-i386.h (TC_COFF_FIX2RTYPE): Tweak param name. | |
972 | (TC_VALIDATE_FIX): Likewise. | |
973 | (TC_FIX_ADJUSTABLE): Don't define. | |
974 | (MD_APPLY_SYM_VALUE): Define. | |
975 | (TC_FORCE_RELOCATION <elf version>): Call i386_force_relocation. | |
976 | (i386_force_relocation): Declare. | |
977 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
978 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
979 | (TC_FORCE_RELOCATION <coff version>): Call S_FORCE_RELOC. | |
980 | * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type. | |
981 | * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define. | |
982 | (EXTERN_FORCE_RELOC): Define. | |
983 | * config/tc-i960.c (reloc_callj): Remove declaration. Return false. | |
984 | (md_apply_fix3): Don't cast valP pointer type. Move code here from | |
985 | old fixup_segment. No need to test fx_pcrel before setting fx_done. | |
986 | (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro. | |
987 | Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad. | |
988 | Remove #if 0 code. Invert return boolean. | |
989 | * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name. | |
990 | (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise. | |
991 | (tc_headers_hook, tc_coff_fix2rtype): Remove declaration. | |
992 | (tc_coff_sizemachdep): Prototype. | |
993 | (i960_handle_align): Likewise. | |
994 | (i960_validate_fix): Adjust declaration. | |
995 | (reloc_callj): Likewise. | |
996 | (EXTERN_FORCE_RELOC): Define. | |
997 | (TC_FORCE_RELOCATION_SUB_SAME): Define. | |
998 | (TC_FORCE_RELOCATION_ABS): Define. | |
999 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1000 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1001 | (TC_FIX_ADJUSTABLE): Don't define. | |
1002 | (MD_APPLY_SYM_VALUE): Define. | |
1003 | * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC. | |
1004 | * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define. | |
1005 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1006 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1007 | * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC. | |
1008 | * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define. | |
1009 | (MD_APPLY_SYM_VALUE): Define. | |
1010 | (EXTERN_FORCE_RELOC): Define. | |
1011 | (TC_FORCE_RELOCATION): Tweak param name. | |
1012 | * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC. | |
1013 | (m32r_fix_adjustable): Don't test extern, weak. | |
1014 | * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name. | |
1015 | (MD_APPLY_SYM_VALUE): Define. | |
1016 | (obj_fix_adjustable): Don't define. | |
1017 | (tc_fix_adjustable): Define. | |
1018 | (tc_frob_file): Don't define. | |
1019 | (tc_frob_file_before_fix): Define. | |
1020 | (EXTERN_FORCE_RELOC): Define. | |
1021 | * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust | |
1022 | BFD_RELOC_VTABLE_ENTRY address. | |
1023 | (tc_m68hc11_force_relocation): Call S_FORCE_RELOC. | |
1024 | (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol. | |
1025 | (md_apply_fix3): Remove *valP fudges and code to subtract abs sym. | |
1026 | Remove duplicated fx_done code. | |
1027 | * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define. | |
1028 | (EXTERN_FORCE_RELOC): Define. | |
1029 | * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test | |
1030 | relaxable_symbol. | |
1031 | * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name. | |
1032 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
a161fe53 AM |
1033 | (TC_FIX_ADJUSTABLE): Don't define. |
1034 | (EXTERN_FORCE_RELOC): Define. | |
1035 | (MD_APPLY_SYM_VALUE): Define. | |
1036 | (TC_FORCE_RELOCATION): Call S_FORCE_RELOC. | |
1037 | * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type. | |
1038 | Remove fx_addsy tests. | |
1039 | (mcore_force_relocation): Call S_FORCE_RELOC. | |
1040 | (mcore_fix_adjustable): Don't test fx_addsy. | |
1041 | * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name. | |
1042 | (EXTERN_FORCE_RELOC): Define. | |
1043 | (obj_fix_adjustable): Don't define. | |
1044 | (tc_fix_adjustable): Define. | |
1045 | (MD_APPLY_SYM_VALUE): Define. | |
1046 | * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h. | |
1047 | (mips_pic): No longer static. | |
1048 | (mips_force_relocation): Call S_FORCE_RELOC. | |
1049 | (mips_fix_adjustable): Remove extern, weak tests. | |
1050 | * config/tc-mips.h (enum mips_pic_level): Declare. | |
1051 | (mips_pic): Declare. | |
1052 | (tc_frob_file): Don't define. | |
1053 | (tc_frob_file_before_fix): Define this instead. | |
1054 | (EXTERN_FORCE_RELOC): Define. | |
1055 | * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests | |
1056 | with reg_section tests. Set fx_done instead of calling | |
1057 | symbol_clear_used_in_reloc on bad relocs. | |
1058 | (tc_gen_reloc): Zero fx_addsy on bad relocs. | |
1059 | (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC. | |
1060 | (mmix_adjust_symtab): Simplify list handling. Abort on any | |
1061 | nonsense. | |
1062 | * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check | |
1063 | BFD_RELOC_MMIX_LOCAL. | |
1064 | (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt. | |
1065 | (EXTERN_FORCE_RELOC): Define. | |
1066 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
1067 | (tc_frob_file): Don't define. | |
1068 | (tc_frob_file_before_fix): Define this instead. | |
1069 | * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC. | |
1070 | Remove SEC_CODE checks. | |
1071 | (mn10300_fix_adjustable): Remove extern and weak tests. | |
1072 | * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define. | |
1073 | (TC_FORCE_RELOCATION): Tweak param name. | |
1074 | (obj_fix_adjustable): Don't define. | |
1075 | (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE. | |
1076 | * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name. | |
1077 | * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC. | |
1078 | (openrisc_fix_adjustable): Don't test fx_addsy. | |
1079 | * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define. | |
1080 | (obj_fix_adjustable): Don't define. | |
1081 | (tc_fix_adjustable): Define this instead. | |
1082 | (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name. | |
1083 | * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type. | |
1084 | (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs. | |
1085 | Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend. | |
1086 | * config/tc-or32.h (EXTERN_FORCE_RELOC): Define. | |
1087 | (MD_APPLY_SYM_VALUE): Define. | |
1088 | * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type. | |
1089 | Don't subtract symbol value. | |
1090 | * config/tc-pj.h (md_pcrel_from): Tweak param name. | |
1091 | (EXTERN_FORCE_RELOC): Define. | |
1092 | (TC_FORCE_RELOCATION): Call S_FORCE_RELOC. | |
1093 | (MD_APPLY_SYM_VALUE): Define. | |
1094 | (obj_fix_adjustable): Don't define. | |
1095 | (tc_fix_adjustable): Define this instead. | |
1096 | * config/tc-ppc.c (ppc_frob_symbol <coff version>): Ignore absolute | |
1097 | section sym. | |
1098 | (ppc_force_relocation <coff version>): Call S_FORCE_RELOC. | |
1099 | (ppc_force_relocation <elf version>): New. | |
1100 | (ppc_fix_adjustable <elf version>): Remove extern and weak tests. | |
1101 | (md_apply_fix3): Don't subtract symbol values for ELF. Update | |
1102 | comments. Don't subtract fx_subsy as that is already done. | |
1103 | * config/tc-ppc.h (tc_fix_adjustable): Tweak param name. | |
1104 | (MD_PCREL_FROM_SECTION): Likewise. | |
1105 | (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling | |
1106 | ppc_force_relocation. | |
1107 | (TC_FORCE_RELOCATION_SECTION): Delete. | |
1108 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1109 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1110 | (MD_APPLY_SYM_VALUE): Define. | |
1111 | * config/tc-s390.c: #include "dwarf2dbg.h". | |
1112 | (s390_insn): Remove excess parens. | |
1113 | (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests. | |
1114 | (tc_s390_force_relocation): Call S_FORCE_RELOC. | |
1115 | (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy | |
1116 | non-NULL. Don't subtract off fx_addsy value. | |
1117 | * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1118 | (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name. | |
1119 | (TC_FIX_ADJUSTABLE): Don't define. | |
1120 | (MD_APPLY_SYM_VALUE): Define. | |
1121 | * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h. | |
1122 | (SWITCH_TABLE): Likewise. | |
1123 | (sh_force_relocation): Call S_FORCE_RELOC. | |
1124 | (sh_fix_adjustable): Remove "return 1" cases handled by the default. | |
1125 | Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests. | |
1126 | (md_apply_fix3 <case BFD_RELOC_32_PLT_PCREL>): Simplify, | |
1127 | fx_addnumber is zero on entry. Save val in fx_addnumber. | |
1128 | (tc_gen_reloc): Don't subtract fx_subsy. | |
1129 | * config/tc-sh.h (struct fix): Move. | |
1130 | (obj_fix_adjustable): Don't define. | |
1131 | (tc_fix_adjustable): Define this instead. | |
1132 | (TC_FIX_ADJUSTABLE): Don't define. | |
1133 | (MD_APPLY_SYM_VALUE): Define. | |
1134 | (SWITCH_TABLE_CONS): Define. | |
1135 | (SWITCH_TABLE): Define. | |
1136 | (TC_FORCE_RELOCATION_SUB_SAME): Define. | |
1137 | (TC_VALIDATE_FIX_SUB): Define. | |
1138 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
1139 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1140 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1141 | (TC_FORCE_RELOCATION_SUB_ABS): Define. | |
1142 | * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1143 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1144 | (TC_FORCE_RELOCATION_SUB_SAME): Define. | |
1145 | (TC_VALIDATE_FIX_SUB): Define. | |
1146 | (MD_PCREL_FROM_SECTION): Tweak param name. | |
1147 | * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value. | |
1148 | (tc_gen_reloc): Use S_FORCE_RELOC. | |
1149 | (elf32_sparc_force_relocation): Call S_FORCE_RELOC. | |
1150 | * config/tc-sparc.h (TC_FORCE_RELOCATION <coff version>): Remove. | |
1151 | (TC_FORCE_RELOCATION_ABS): Define this instead. | |
1152 | (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1153 | (TC_FORCE_RELOCATION_LOCAL): Define this instead. | |
1154 | (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC. | |
1155 | (MD_APPLY_SYM_VALUE): Define. | |
1156 | (TC_FIX_DATA_PRINT): Tweak param name. | |
1157 | * config/tc-tic30.c (USE_STDOUT): Don't define. | |
1158 | (md_parse_option): Remove stupid debug code. | |
1159 | (tc_gen_reloc): Don't use fx_addnumber. | |
1160 | * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests. | |
1161 | (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC. | |
1162 | * config/tc-v850.h (obj_fix_adjustable): Don't define. | |
1163 | (tc_fix_adjustable): Define this instead. | |
1164 | (TC_FIX_ADJUSTABLE): Don't define. | |
1165 | (MD_APPLY_SYM_VALUE): Define this instead. | |
1166 | (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name. | |
1167 | * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define. | |
1168 | (TC_FIX_ADJUSTABLE): Don't define. | |
1169 | (MD_APPLY_SYM_VALUE): Define this instead. | |
1170 | (tc_fix_adjustable): Remove extern and weak tests. | |
1171 | * config/tc-w65.h (struct fix): Forward declare. | |
1172 | * config/tc-xstormy16.c (xstormy16_force_relocation): Call | |
1173 | S_FORCE_RELOC. | |
1174 | (xstormy16_fix_adjustable): Remove extern and weak tests. Don't | |
1175 | call xstormy16_force_relocation; Instead test for FPTR16 reloc. | |
1176 | (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract | |
1177 | absolute symbol. | |
1178 | * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define. | |
1179 | (MD_APPLY_SYM_VALUE): Define. | |
1180 | (obj_fix_adjustable): Don't define. | |
1181 | (tc_fix_adjustable): Define this instead. | |
1182 | (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name. | |
1183 | ||
2a98c3a6 AM |
1184 | 2002-09-04 Alan Modra <amodra@bigpond.net.au> |
1185 | ||
b782de16 AM |
1186 | * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix. |
1187 | (ppc_fix_adjustable <coff version>): Cleanup. | |
1188 | ||
2a98c3a6 AM |
1189 | * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning. |
1190 | (md_parse_option): No -a64 without BFD64. | |
1191 | (ppc_set_cpu): Select appropriate cpu when ppc_obj64. | |
1192 | (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000. | |
1193 | ||
341026c1 NC |
1194 | 2002-09-04 Nick Clifton <nickc@redhat.com> |
1195 | ||
1196 | * config/tc-ppc.c (md_begin): Do not insert non-BookE32 | |
1197 | instructions into the hash table if the target cpu is the BookE32. | |
1198 | ||
a6bd2a4f HPN |
1199 | 2002-08-31 Hans-Peter Nilsson <hp@bitrange.com> |
1200 | ||
1201 | * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not | |
1202 | ATTRIBUTE_UNUSED. | |
1203 | ||
86aba9db NC |
1204 | 2000-08-28 Catherine Moore <clm@redhat.com> |
1205 | ||
1206 | * tc-v850.c (v850_relax): Declare. | |
1207 | (v850_longcode): New routine. | |
1208 | (v850_handle_align): New routine. | |
1209 | (md_pseudo_table): Add longcall and longjump. | |
1210 | (md_parse_option): Check for relax option. | |
1211 | (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL, | |
1212 | BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN. | |
1213 | (md_apply_fix3): Likewise. | |
1214 | (v850_force_relocation): Likewise. | |
1215 | (v850_comm): Change the current section. | |
e4512afa | 1216 | (md_assemble): Ensure that the correct value is put in the |
86aba9db NC |
1217 | fixup. |
1218 | (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, | |
1219 | v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping. | |
e4512afa | 1220 | Remove redundant v850ea support. |
86aba9db NC |
1221 | * tc-v850.h (HANDLE_ALIGN): Define. |
1222 | (v850_handle_align): Declare. | |
1223 | * doc/c-v850.c: Document -mrelax, .longcall and .longjump. | |
1224 | ||
026df7c5 NC |
1225 | 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com> |
1226 | ||
1227 | * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets. | |
1228 | * configure: Regenerate. | |
1229 | * NEWS: Mention new port. | |
1230 | ||
1231 | 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz> | |
1232 | ||
1233 | * config/obj-coff.c: Add sdef definition. | |
1234 | * config/obj-coff.h: Add tic4x include file and set | |
1235 | target format. | |
1236 | * config/tc-tic4x.c: New file. | |
1237 | * config/tc-tic4x.h: New file. | |
1238 | ||
4252e537 AM |
1239 | 2002-08-28 Alan Modra <amodra@bigpond.net.au> |
1240 | ||
df44284e AM |
1241 | * write.c (BFD_FAST_SECTION_FILL): Remove unused macro. |
1242 | (TC_ADJUST_RELOC_COUNT): Tweak param name. | |
1243 | (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise. | |
1244 | (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise. | |
1245 | (RELOC_ENUM): Define. | |
1246 | (fix_new_internal): Use RELOC_ENUM. | |
1247 | (fix_new, fix_new_exp): Likewise. | |
1248 | (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL. | |
1249 | Replace gotos with continue. | |
1250 | (write_relocs): Formatting. Avoid symbol loops in | |
1251 | RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange | |
1252 | errors, and error number in other cases. | |
1253 | (fixup_segment): Remove param names from prototype. Rename | |
1254 | "this_segment_type" to "this_segment". Update linkrelax comment. | |
1255 | Remove "size, "place" and "where" local vars. Formatting. Update | |
1256 | "no symbol" comment. Remove #if 0 and #if 1. | |
1257 | ||
4252e537 AM |
1258 | * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy. |
1259 | ||
70658493 AM |
1260 | 2002-08-27 Alan Modra <amodra@bigpond.net.au> |
1261 | ||
1262 | * dwarf2dbg.c: Always include dwarf2dbg.h. | |
1263 | (dwarf2_directive_file): Adjust dummy version args. | |
1264 | * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED. | |
1265 | * expr.c (clean_up_expression <O_subtract>): Allow subtraction | |
1266 | when symbol values differ. | |
1267 | * read.c (do_align): Add ATTRIBUTE_UNUSED to label. | |
1268 | (pseudo_set <O_subtract>): Remove unnecessary segment test. | |
1269 | * config/obj-bout.c (obj_pseudo_table): Warning fix. | |
1270 | ||
a2199cc1 AM |
1271 | 2002-08-26 Alan Modra <amodra@bigpond.net.au> |
1272 | ||
1273 | * config/tc-w65.c (md_section_align): Fix typo. | |
1274 | (md_parse_option): Return 0, not 1. | |
1275 | ||
ececec60 NC |
1276 | 2002-08-22 Nick Clifton <nickc@redhat.com> |
1277 | ||
1278 | * doc/as.texinfo (Section): Note that if '@' is a comment | |
1279 | character then another symbol is used to prefix the section's | |
1280 | type. | |
1281 | ||
14899840 NC |
1282 | 2002-08-22 Christian Groessler <chris@groessler.org> |
1283 | ||
1284 | * config/tc-z8k.c (get_operands): Adjust ptr variable also in | |
1285 | "case 0" case. | |
1286 | ||
ed71e111 NC |
1287 | 2002-08-12 Graeme Peterson <gp@qnx.com> |
1288 | ||
1289 | * configure.in: Add support for sh-**-nto* target. | |
1290 | * configure: Regenerate. | |
1291 | ||
dfe0d3fe JL |
1292 | 2002-08-21 Nitin Gupta <niting@noida.hcltech.com> |
1293 | ||
1294 | * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define. | |
1295 | ||
dc1d03fc EZ |
1296 | 2002-08-21 Elena Zannoni <ezannoni@redhat.com> |
1297 | ||
70658493 AM |
1298 | * config/tc-ppc.c (ppc_cleanup): Do something only if format |
1299 | is ELF. | |
1300 | (ppc_apuinfo_section_add): Define only if format is ELF. | |
1301 | (md_assemble): Emit APUinfo section only if format is ELF. | |
1302 | Fix formatting. | |
dc1d03fc | 1303 | |
9f1838ed AM |
1304 | 2002-08-21 Alan Modra <amodra@bigpond.net.au> |
1305 | ||
70658493 | 1306 | * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast. |
9f1838ed AM |
1307 | * config/tc-frv.c: Likewise. |
1308 | * config/tc-hppa.c: Likewise. | |
1309 | * config/tc-ia64.c: Likewise. | |
1310 | * config/tc-ip2k.c: Likewise. | |
1311 | * config/tc-m68hc11.c: Likewise. | |
1312 | * config/tc-m68k.c: Likewise. | |
1313 | * config/tc-mmix.c: Likewise. | |
1314 | * config/tc-mn10300.c: Likewise. | |
1315 | * config/tc-sh.c: Likewise. | |
1316 | * config/tc-sparc.c: Likewise. | |
1317 | * config/tc-v850.c: Likewise. | |
1318 | ||
483fc7cd RS |
1319 | 2002-08-20 Richard Sandiford <rsandifo@redhat.com> |
1320 | ||
1321 | * config/tc-mips.c (macro2): Implement rotates by zero using shifts | |
1322 | by zero. | |
1323 | ||
6a0c61b7 EZ |
1324 | 2002-08-19 Elena Zannoni <ezannoni@redhat.com> |
1325 | ||
70658493 | 1326 | From matthew green <mrg@redhat.com> |
6a0c61b7 | 1327 | |
70658493 AM |
1328 | * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere |
1329 | PPC_OPCODE_PPC is, except for BookE architectures. | |
1330 | (md_parse_option): Add support for -mspe. | |
1331 | (md_show_usage): Add -mspe. | |
1332 | (md_parse_option): Add support for -me500 and | |
1333 | -me500x2 to generate code for Motorola e500 core complex. | |
1334 | (md_show_usage): Add -me500 and -me500x2. | |
6a0c61b7 | 1335 | |
70658493 AM |
1336 | (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI, |
1337 | PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS, | |
1338 | PPC_APUINFO_BRLOCK): New macros. | |
6a0c61b7 | 1339 | |
70658493 AM |
1340 | (ppc_cleanup): New function. |
1341 | (ppc_apuinfo_section_add): New function. | |
1342 | (APUID): New macro. | |
1343 | (md_assemble): Collect info and write the APUinfo section. | |
6a0c61b7 | 1344 | |
70658493 AM |
1345 | * config/tc-ppc.h (md_cleanup): Define. |
1346 | (ppc_cleanup): Export. | |
1347 | (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section. | |
6a0c61b7 | 1348 | |
cca86cc8 SC |
1349 | 2002-08-17 Stan Cox <scox@redhat.com> |
1350 | ||
1351 | * config/obj-elf.c (obj_elf_change_section): Make non-static. | |
1352 | config/tc-mips.c (s_change_section): New function to support | |
1353 | IRIX .section pseudo-op. | |
1354 | ||
50b15da2 NC |
1355 | 2002-08-16 Nick Clifton <nickc@redhat.com> |
1356 | ||
1357 | * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f". | |
1358 | ||
f21f8242 AO |
1359 | 2002-08-15 Alexandre Oliva <aoliva@redhat.com> |
1360 | ||
1361 | * config/tc-mips.c (macro_build_jalr): Make sure we generate | |
1362 | the fix-up against on the right frag. | |
1363 | (s_cpsetup): Likewise. Parse third argument as expression, to | |
1364 | handle global symbols and forward/backward labels correctly. | |
1365 | ||
11f45fb5 NC |
1366 | 2002-08-14 Nick Clifton <nickc@redhat.com> |
1367 | ||
8ac9ba6c NC |
1368 | * read.c (stringer): Catch attempts to create strings in the abs |
1369 | section. | |
1370 | ||
11f45fb5 NC |
1371 | * config/tc-alpha.c: Fix compiling for COFF targets. |
1372 | Some minor formatting tidyups. | |
1373 | ||
e371935f SC |
1374 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
1375 | ||
1376 | * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove. | |
1377 | (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag | |
1378 | according to the reloc. | |
1379 | (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define. | |
1380 | (TC_FORCE_RELOCATION): Define. | |
1381 | (tc_m68hc11_force_relocation): Declare. | |
1382 | ||
1383 | * config/tc-m68hc11.c (md_pseudo_table): Add relax command. | |
1384 | (s_m68hc11_relax): New function for relax group. | |
70658493 | 1385 | (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at |
e371935f SC |
1386 | beginning of jump instruction. |
1387 | (md_pcrel_from): Rename from md_pcrel_from_section and fix | |
1388 | address computation. | |
1389 | (tc-gen_reloc): Update. | |
70658493 | 1390 | (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as |
e371935f SC |
1391 | PC-relative fixup. |
1392 | (tc_m68hc11_force_relocation): New function, handle new relocs. | |
1393 | (tc_m68hc11_fix_adjustable): New to make sure there are enough | |
1394 | reloc for the linker relax pass. | |
1395 | (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP | |
1396 | and VTABLE relocs. | |
1397 | ||
eb086b59 SC |
1398 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
1399 | ||
1400 | * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function. | |
1401 | (md_pseudo_table): Add .mode, .far and .interrupt pseudo op. | |
1402 | (s_m68hc11_mode): New function for .mode pseudo op. | |
1403 | (s_m68hc11_mark_symbol): New function for .far and .interrupt | |
1404 | pseudo op. | |
1405 | * config/tc-m68hc11.h (elf_tc_final_processing): Define. | |
1406 | (m68hc11_elf_final_processing): Declare. | |
1407 | ||
7bfda7eb SC |
1408 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
1409 | ||
1410 | * config/tc-m68hc11.c (md_begin): Take into account additional | |
1411 | page operand for call instruction. | |
1412 | (print_opcode_format): Likewise. | |
1413 | (check_range): Likewise for page range checking. | |
1414 | (get_operand): Don't skip a possible comma in operands. | |
1415 | (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc. | |
1416 | (fixup16): Likwise with BFD_RELOC_M68HC11_LO16. | |
1417 | (fixup24): New to handle call reloc. | |
1418 | (build_insn): Handle missing page operand for call instruction. | |
1419 | (find): Likewise. | |
1420 | (md_apply_fix3): Take into account new relocs. | |
1421 | (get_operand): Fix the mode for indexed indirect addressing. | |
1422 | (build_indexed_byte): Fix post index byte for indexed indirect mode. | |
1423 | ||
fdb987ee RS |
1424 | 2002-08-12 Richard Sandiford <rsandifo@redhat.com> |
1425 | ||
1426 | * config/tc-mips.c (mips_ip): Don't work out the value of | |
1427 | constant %hi()s here. | |
1428 | ||
31312f95 AM |
1429 | 2002-08-10 Alan Modra <amodra@bigpond.net.au> |
1430 | ||
1431 | * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR | |
1432 | for ELF, and don't bother checking ELF relocs when non-ELF. | |
1433 | (i386_immediate): Allow absolute_section expressions for aout. | |
1434 | (i386_displacement): Likewise. Also test bfd_is_com_section. | |
1435 | (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF. | |
1436 | (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel, | |
1437 | not when fx_addsy. Remove dead code. | |
1438 | ||
59bc061d NC |
1439 | 2002-08-09 Graeme Peterson <gp@qnx.com> |
1440 | ||
1441 | * configure.in: Add support for ppc-*-nto* target. | |
1442 | * configure: Regenerate. | |
70658493 | 1443 | |
6088b00e AM |
1444 | 2002-08-09 Alan Modra <amodra@bigpond.net.au> |
1445 | ||
1446 | * config/tc-i386.h: Reorganize. | |
1447 | ||
0c11417f MR |
1448 | 2002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1449 | ||
1450 | * config/tc-mips.c (macro): Handle a register plus a 16-bit | |
1451 | immediate offset in "dla" and "la" expansions. | |
1452 | ||
79500683 AM |
1453 | 2002-08-09 Alan Modra <amodra@bigpond.net.au> |
1454 | ||
1455 | * configure.in: bfd_gas=yes for all i386 targets. Formatting. | |
1456 | Remove "bfd_gas=yes" from target table when covered later. | |
1457 | Consolidate some entries. | |
1458 | * configure: Regenerate | |
1459 | ||
2bbd9c25 JJ |
1460 | 2002-08-09 Jakub Jelinek <jakub@redhat.com> |
1461 | ||
1462 | * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix () | |
1463 | at start of insn, pass it to output_disp and output_imm. | |
1464 | (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen | |
1465 | in displacement for R_386_32 reloc, use R_386_GOTPC and compute | |
1466 | properly addend. | |
1467 | (output_imm): Added arguments. Compute properly addend for | |
1468 | R_386_GOTPC. | |
1469 | (md_apply_fix3): Remove R_386_GOTPC handling. | |
2bbd9c25 | 1470 | |
dbac4f5b RH |
1471 | 2002-08-06 George France <france@handhelds.org> |
1472 | ||
1473 | * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a | |
1474 | and m21264b processor names and cpu types. | |
1475 | * doc/c-alpha.texi: Documented new types. | |
1476 | ||
95210096 AM |
1477 | 2002-08-06 Alan Modra <amodra@bigpond.net.au> |
1478 | ||
1479 | * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset. | |
1480 | ||
98605598 RS |
1481 | 2002-08-01 Richard Sandiford <rsandifo@redhat.com> |
1482 | ||
1483 | * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend | |
1484 | handling to BFD_RELOC_MIPS16_GPREL. | |
1485 | ||
08df2379 NC |
1486 | 2002-08-01 Nick Clifton <nickc@redhat.com> |
1487 | ||
1488 | * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal | |
1489 | pool is computed using signed arithmetic so that proper sign | |
1490 | extension is performed if X_add_number is a 64-bit integer. | |
1491 | ||
70ee4658 DJ |
1492 | 2002-08-01 H.J. Lu <hjl@gnu.org> |
1493 | Daniel Jacobowitz <drow@mvista.com> | |
1494 | ||
1495 | * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced | |
1496 | .debug_line section unless it has line information. | |
1497 | ||
4eb6b71c NC |
1498 | 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au> |
1499 | ||
1500 | * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype. | |
1501 | * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage): | |
1502 | Allow default displacement size to be an option "--disp-size-default". | |
1503 | (md_number_to_disp): Make error messages include value. Use %d to | |
1504 | print integers, not %s. | |
1505 | (fix_new_ns32k): Conditionally set fx_no_overflow so we don't | |
1506 | get duplicate messages sometimes. | |
1507 | (convert_iif): Grow frag to max possible instruction size. Avoid | |
1508 | creating unnecessary fixes. | |
1509 | (md_number_to_field) Add prototype. | |
1510 | (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add | |
1511 | prototypes and make static. | |
1512 | (struct addr_mode): Make mode and scaled_mode explicitly signed. | |
1513 | (evaluate_expr): Use resultP argument instead of exprP global. | |
1514 | (get_addr_mode): Quiten compiler warnings. | |
1515 | (encode_operand): eliminate unused variables. Quiten compiler | |
1516 | warnings. Eliminate nul character in format strings. | |
1517 | (parse): argc is unsigned. | |
1518 | (reloc): Type cast index to quieten compiler. | |
1519 | (md_pcrel_adjust, md_apply_fix3): Remove unused variable. | |
1520 | (md_convert_frag): Note unused parameters. Remove unused | |
1521 | variables. | |
1522 | (md_create_long_jump, md_create_short_jump, | |
1523 | md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note | |
1524 | unused parameters. | |
70658493 | 1525 | |
500800ca NC |
1526 | 2002-07-31 Nick Clifton <nickc@redhat.com> |
1527 | ||
1528 | * NEWS: Retroactively add entry for Lars Brinkhoff's contribution | |
1529 | of the PDP-11 and 2.11BSD a.out support. | |
1530 | ||
03223580 NC |
1531 | 2002-07-31 Momchil Velikov <velco@fadata.bg> |
1532 | ||
1533 | * config/tc-v850.c (md_assemble): Fix range check for immediate | |
1534 | operand. | |
1535 | ||
c7a23324 CD |
1536 | 2002-07-30 Chris Demetriou <cgd@broadcom.com> |
1537 | ||
1538 | * config/tc-mips.c (mips_cpu_info_table): Clean up entries related | |
1539 | to Broadcom SB-1 core support. | |
1540 | ||
cfe86eaa TS |
1541 | 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1542 | ||
1543 | * config/tc-mips.c (mips_target_format): Fix formatting. | |
1544 | Add recognition of n32 ABI formats. | |
1545 | ||
460597ba MR |
1546 | 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1547 | ||
1548 | * tc-mips.c (load_address): Don't clobber $at when loading a | |
1549 | 64-bit address in non-PIC code if noat is in effect. | |
1550 | (macro): Likewise. | |
1551 | ||
9bd7d936 MR |
1552 | 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1553 | ||
1554 | * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions | |
1555 | used in division/multiply macro expansions similarly to how they | |
1556 | are used in the variants with break instructions. | |
1557 | (macro2): Likewise. | |
1558 | ||
7e392df6 NC |
1559 | 2002-07-30 Graeme Peterson <gp@qnx.com> |
1560 | ||
1561 | * configure.in: Add support for arm-*-nto target. | |
1562 | * configure: Regenerate. | |
70658493 | 1563 | |
3d0c9500 NC |
1564 | 2002-07-30 Nick Clifton <nickc@redhat.com> |
1565 | ||
1566 | * config/tc-arm.c (struct literal_pool): Add fields to allow | |
1567 | multiple literal pools to be maintained. | |
1568 | (find_literal_pool): New function. | |
1569 | (find_or_make_literal_pool): New function. | |
1570 | (add_to_literal_pool): Use find_or_make_literal_pool. | |
6088b00e | 1571 | (arm_s_text, arm_s_data, arm_s_section): Remove - no longer |
3d0c9500 NC |
1572 | needed. |
1573 | (s_ltorg): Use find_literal_pool. | |
1574 | (arm_cleanup): Dump all literal pools. | |
6088b00e | 1575 | * doc/c-arm.texi: Document new behaviour of only dumping literal |
3d0c9500 NC |
1576 | pools upon request. |
1577 | ||
dfff24c9 AM |
1578 | 2002-07-26 Alan Modra <amodra@bigpond.net.au> |
1579 | ||
1580 | * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default | |
1581 | rather than PPC_OPCODE_32 for powerpc64*. | |
1582 | ||
219576a4 NC |
1583 | 2002-07-25 Nick Clifton <nickc@redhat.com> |
1584 | ||
1585 | * po/es.po: Updated Spanish translation. | |
1586 | * po/fr.po: Updated French translation. | |
1587 | ||
316f5878 RS |
1588 | 2002-07-25 Richard Sandiford <rsandifo@redhat.com> |
1589 | ||
1590 | * doc/c-mips.texi: Remove -mcpu. Document -mabi. | |
1591 | * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro. | |
1592 | (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros. | |
1593 | * configure, config.in: Regenerate. | |
1594 | * config/tc-mips.c (file_mips_abi): Rename to mips_abi. | |
1595 | (mips_set_options): Remove "abi" field. | |
1596 | (mips_opts): Update accordingly. Replace all uses of mips_opts.abi | |
1597 | with mips_abi. | |
1598 | (mips_cpu): Remove. | |
1599 | (mips_arch_string, mips_arch_info): New vars. | |
1600 | (mips_tune_string, mips_tune_info): New vars. | |
1601 | (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros. | |
1602 | (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI. | |
1603 | (mips_isa_to_str, mips_cpu_to_str): Remove. | |
1604 | (mips_ip): If the selected architecture is a generic ISA rather | |
1605 | than a processor, only mention the ISA level in error messages. | |
1606 | (OPTION_MCPU): Remove. | |
1607 | (OPTION_FP64): New. | |
1608 | (md_longopts): Add -mfp64, remove -mcpu. | |
1609 | (mips_set_option_string): New fn. | |
1610 | (md_parse_option): Make -mipsN update file_mips_isa rather than | |
1611 | mips_opts.isa. Use mips_set_option_string to set -march or -mtune. | |
1612 | Don't let -mgp32 and -mfp32 change the ABI. | |
1613 | (show): Move to end of file. Constify string argument. | |
1614 | (md_show_usage): Move to the end of the file. Read available | |
1615 | architectures from mips_cpu_info_table. | |
1616 | (mips_set_architecture): New fn. | |
1617 | (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN | |
1618 | is an alias for -march=mipsN. Don't change the ABI based on other | |
1619 | flags. Infer the register size from the ABI as well as the | |
1620 | architecture. Complain about more conflicting arguments. | |
1621 | Unify logic with GCC. | |
1622 | (s_mipsset): Don't change the ABI. | |
1623 | (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32. | |
1624 | (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just | |
1625 | "mipsN"-type entries. Remove entries that vary only in the | |
1626 | manufacturer's prefix, or that have "000" replaced by "k". | |
1627 | Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000. | |
1628 | (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns. | |
1629 | (mips_parse_cpu): New fn. | |
1630 | (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove. | |
1631 | (mips_cpu_info_from_isa): Minor formatting tweak. | |
1632 | ||
ff3063f5 NC |
1633 | 2002-07-24 Nick Clifton <nickc@redhat.com> |
1634 | ||
1635 | * po/sv.po: Updated Swedish translation. | |
1636 | * po/es.po: Updated Spanish translation. | |
1637 | ||
55eab186 AM |
1638 | 2002-07-23 Alan Modra <amodra@bigpond.net.au> |
1639 | ||
1640 | * Makefile.am: Run "make dep-am". | |
1641 | * Makefile.in: Regenerate. | |
1642 | * doc/Makefile.in: Regenerate. | |
1643 | * config.in: Regenerate. | |
1644 | * po/POTFILES.in: Regenerate. | |
1645 | ||
0461a601 NC |
1646 | 2002-07-23 Nick Clifton <nickc@redhat.com> |
1647 | ||
ff3063f5 | 1648 | * po/fr.po: Updated French translation. |
0461a601 | 1649 | |
ee8929cf NC |
1650 | 2002-07-23 Nick Clifton <nickc@redhat.com> |
1651 | ||
1652 | * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for | |
1653 | GAS. | |
1654 | ||
bad9ca53 TS |
1655 | 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1656 | ||
1657 | * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL | |
1658 | instead of S_IS_EXTERN. | |
1659 | (md_estimate_size_before_relax): Likewise. | |
1660 | (mips_fix_adjustable): Likewise. | |
1661 | ||
a37de3d3 TS |
1662 | 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1663 | ||
1664 | * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC. | |
1665 | ||
8dfa0188 | 1666 | 2002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz> |
dfff24c9 | 1667 | Nick Clifton <nickc@redhat.com> |
8dfa0188 NC |
1668 | |
1669 | * cond.c (s_ifdef): Treat a referenced but not yet defined | |
1670 | symbol as if it were undefined, in exactly the same way as | |
1671 | .equiv. | |
1672 | ||
dfff24c9 AM |
1673 | * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv |
1674 | consider referenced bug not yet defined symbols to be | |
1675 | undefined. | |
8dfa0188 | 1676 | |
a40cbfa3 NC |
1677 | 2002-07-18 Denis Chertykov <denisc@overta.ru> |
1678 | Frank Ch. Eigler <fche@redhat.com> | |
1679 | Alan Lehotsky <alehotsky@cygnus.com> | |
1680 | John Healy <jhealy@redhat.com> | |
1681 | Jeff Johnston <jjohnstn@redhat.com> | |
1682 | ||
1683 | * configure.in: Add ip2k configuraton. | |
1684 | * configure: Regenerate. | |
1685 | * Makefile.am: Add ip2k configuraton. | |
1686 | * Makefile.in: Regenerate. | |
1687 | * configure: Regenerate. | |
1688 | * Makefile.in: Regenerate. | |
1689 | * config/tc-ip2k.c: New file. | |
1690 | * config/tc-ip2k.h: New files. | |
1691 | * NEWS: Mention new support. | |
1692 | * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi. | |
1693 | * doc/Makefile.in: Regenerate. | |
1694 | * doc/all.texi: Set IP2K | |
1695 | * doc/as.texinfo: Add IP2K description. | |
1696 | * doc/c-ip2k.texi: New file. | |
dfff24c9 | 1697 | |
a40cbfa3 NC |
1698 | 2002-07-19 Nick Clifton <nickc@cambridge.redhat.com> |
1699 | ||
1700 | * NEWS: Reformat to match style of other NEWS files. | |
dfff24c9 | 1701 | |
a40cbfa3 | 1702 | 2002-07-17 Jan Hubicka <jh@suse.cz> |
33fef721 JH |
1703 | |
1704 | * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers. | |
1705 | ||
25d3fb58 AM |
1706 | 2002-07-16 Moritz Jodeit <moritz@jodeit.org> |
1707 | ||
1708 | * config/tc-z8k.c (build_bytes): Correct order of memset args. | |
1709 | ||
2cbb2eef NC |
1710 | 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com> |
1711 | ||
1712 | * NEWS: Add 'Changes in 2.13'. | |
1713 | ||
da06c61e AM |
1714 | 2002-07-15 Matt Fredette <fredette@netbsd.org> |
1715 | ||
1716 | * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD. | |
1717 | ||
9146926a AM |
1718 | 2002-07-12 Alan Modra <amodra@bigpond.net.au> |
1719 | ||
1720 | * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte | |
1721 | case with non CODE_64BIT case. Don't warn on "qword ptr" if | |
1722 | not CODE_64BIT. | |
1723 | ||
2b3c4602 AM |
1724 | 2002-07-11 Alan Modra <amodra@bigpond.net.au> |
1725 | ||
7e8d4ab4 AM |
1726 | * config/tc-ppc.c (ppc_elf_frob_symbol): Delete. |
1727 | (ppc_frob_file_before_adjust): New function. | |
1728 | * config/tc-ppc.h (tc_frob_symbol): Don't define. | |
1729 | (ppc_elf_frob_symbol): Don't declare. | |
1730 | (tc_frob_file_before_adjust): Define. | |
1731 | (ppc_frob_file_before_adjust): Declare. | |
1732 | ||
2b3c4602 AM |
1733 | * config/tc-ppc.c (md_pseudo_table): Warning fix. |
1734 | (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode | |
1735 | flags. | |
1736 | (ppc_size): Delete. | |
1737 | (ppc_xcoff64): Rename to ppc_obj64. | |
1738 | (md_parse_option <m>): Encode old ppc_size value in ppc_cpu. | |
1739 | (ppc_set_cpu): Set PPC_OPCODE_32 too. | |
1740 | (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64 | |
1741 | or bfd_mach_ppc. | |
1742 | (ppc_target_format): Use ppc_obj64 to select format. | |
1743 | (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu. | |
1744 | (ppc_insert_operand): Use ppc_obj64 instead of ppc_size. | |
1745 | (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE. | |
1746 | (tc_frob_symbol): Likewise. | |
1747 | (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on | |
1748 | BFD_DEFAULT_TARGET_SIZE. | |
1749 | (ppc_tc): Likewise. | |
1750 | (ppc_is_toc_sym): Likewise. | |
1751 | (md_apply_fix3): Likewise. | |
1752 | * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on | |
1753 | BFD_DEFAULT_TARGET_SIZE. | |
1754 | (ELF_TC_SPECIAL_SECTIONS): Likewise. | |
1755 | (tc_frob_symbol): Likewise. | |
1756 | ||
aec421e0 TS |
1757 | 2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1758 | ||
1759 | * config/tc-mips.c (macro_build): Handle MIPS16 insns. | |
1760 | (mips_ip): Likewise. | |
1761 | ||
c6682705 AM |
1762 | 2002-07-09 Alan Modra <amodra@bigpond.net.au> |
1763 | ||
1764 | * config/tc-i386.c (md_pseudo_table <file>): Warning fix. | |
1765 | (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD. | |
1766 | (md_apply_fix3): Formatting. Remove redundant test. | |
1767 | (tc_gen_reloc): Remove redundant code. | |
1768 | (tc_i386_force_relocation): Delete. Movy body of function to.. | |
1769 | * config/tc-i386.h (TC_FORCE_RELOCATION): .. here. | |
1770 | ||
03111e83 AM |
1771 | 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br> |
1772 | ||
1773 | * configure.in: Add hppa-*-openbsd* target, change | |
1774 | alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd* | |
1775 | with sparc64 cpu. | |
1776 | * configure: Regenerate. | |
1777 | ||
78d32a17 MR |
1778 | 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1779 | ||
1780 | * config/tc-mips.c (macro): Shift the 32-bit address range | |
1781 | accessible with a lone "lui" down by 32768. | |
1782 | ||
3a482fd5 MR |
1783 | 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1784 | ||
1785 | * config/tc-mips.c (load_address): Use non-trapping "daddu" | |
1786 | instead of "dadd" in address calculations. | |
1787 | (macro): Likewise. | |
1788 | ||
cd61ebfe AM |
1789 | 2002-07-08 Alan Modra <amodra@bigpond.net.au> |
1790 | ||
1791 | * config/tc-i386.c (process_suffix): Remove intel mode movsx and | |
1792 | movzx fudges. | |
1793 | (md_assemble): Instead, zap the suffix here. | |
1794 | ||
a5d3c309 NC |
1795 | 2002-07-03 Nick Clifton <nickc@cambridge.redhat.com> |
1796 | ||
1797 | * NEWS: Remove next release number until the release is actually | |
1798 | upon us. | |
1799 | ||
ce4f7385 AM |
1800 | 2002-07-03 Alan Modra <amodra@bigpond.net.au> |
1801 | ||
1802 | * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. | |
1803 | Run "make dep-am". | |
1804 | * Makefile.in: Regenerate. | |
1805 | ||
148b4c7a MS |
1806 | 2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com> |
1807 | ||
1808 | * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment | |
1809 | to symbols in merge sections, even non pc-relative ones. | |
1810 | ||
2916066e SC |
1811 | 2002-06-29 Stephane Carrez <stcarrez@nerim.fr> |
1812 | ||
1813 | * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning. | |
1814 | ||
96e87417 SC |
1815 | 2002-06-29 Stephane Carrez <stcarrez@nerim.fr> |
1816 | ||
1817 | * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections | |
1818 | .softregs and .eeprom. | |
1819 | ||
83518699 DB |
1820 | 2002-06-28 David O'Brien <obrien@FreeBSD.org> |
1821 | ||
1822 | * NEWS: Note the next release is 2.13. | |
1823 | ||
6c6783ff NC |
1824 | 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com> |
1825 | ||
1826 | * po/tr.po: New translation imported. | |
1827 | ||
a2c36061 AM |
1828 | 2002-06-26 Elias Athanasopoulos <eathan@otenet.gr> |
1829 | ||
1830 | * ecoff.c: (get_tag): Replace strcpy with xstrdup. | |
1831 | (ecoff_directive_def): Likewise. | |
1832 | (ecoff_directive_tag): Likewise. | |
1833 | * listing.c (file_info): Likewise. | |
1834 | * hash.c (what): Likewise. | |
1835 | ||
a13a0de8 L |
1836 | 2002-06-25 H.J. Lu <hjl@gnu.org> |
1837 | ||
1838 | * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. | |
1839 | * Makefile.in: Regenerated. | |
1840 | ||
6c6783ff | 1841 | 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com> |
5db33d76 JR |
1842 | |
1843 | * config/tc-sh.c (get_specific): Revert 2002-05-01 change. | |
1844 | (assemble_ppi): Generate warning if the same register is used | |
1845 | twice as destination in the same padd / pmuls instruction. | |
1846 | ||
0ebb9a87 DB |
1847 | 2002-06-18 Dave Brolley <brolley@redhat.com> |
1848 | ||
a2c36061 | 1849 | From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley |
0ebb9a87 DB |
1850 | * po/POTFILES.in: Add tc-frv.c, tc-frv.h. |
1851 | * configure.in: Support frv-*-*. | |
1852 | * Makefile.am (CPU_TYPES): Add frv. | |
1853 | (TARGET_CPU_CFILES): Add tc-frv.c. | |
1854 | (TARGET_CPU_HFILES): Add tc-frv.h. | |
1855 | (DEPTC_frv_coff): New variable. | |
1856 | (DEPTC_frv_elf): New variable. | |
1857 | (DEPOBJ_frv_coff): New variable. | |
1858 | (DEPOBJ_frv_elf): New variable. | |
1859 | (DEP_frv_coff): New variable. | |
1860 | (DEP_frv_elf): New variable. | |
1861 | * tc-frv.c: New file. | |
1862 | * tc-frv.h: New file. | |
1863 | ||
2a24298d CM |
1864 | 2002-06-17 Catherine Moore <clm@redhat.com> |
1865 | ||
a2c36061 | 1866 | * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define. |
2a24298d | 1867 | |
6c6783ff | 1868 | 2002-06-17 J"orn Rennecke <joern.rennecke@superh.com> |
96f31fc7 JR |
1869 | |
1870 | * config/tc-sh.c (assemble_ppi): Initialize reg_n. | |
1871 | ||
184e65b1 TR |
1872 | 2002-06-17 Tom Rix <trix@redhat.com> |
1873 | ||
1874 | * config/tc-i370.h (tc_comment_chars): Define for i370-elf. | |
1875 | ||
ecb4347a DJ |
1876 | 2002-06-14 H.J. Lu <hjl@gnu.org> |
1877 | Daniel Jacobowitz <drow@mvista.com> | |
1878 | ||
1879 | * dwarf2dbg.h (dwarf2_directive_file): Return char *. | |
1880 | * dwarf2dbg.c (dwarf2_directive_file): Return filename. | |
1881 | * config/tc-mips.c (s_mips_file): Call s_app_file_string | |
1882 | and new_logical_line for the first .file directive. | |
1883 | * read.c (s_app_file_string): New function. | |
1884 | (s_app_file): Call it. | |
1885 | * read.h (s_app_file_string): Add declaration. | |
1886 | ||
1887 | 2002-06-14 Daniel Jacobowitz <drow@mvista.com> | |
1888 | ||
1889 | * configure.in: Remove MIPS_STABS_ELF. | |
1890 | * configure: Regenerated. | |
1891 | * config.in: Regenerated. | |
1892 | * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug | |
1893 | for MIPS targets. | |
1894 | * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around | |
1895 | ".extern". | |
1896 | (pdr_seg): Declare unconditionally. | |
1897 | (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF. | |
1898 | (s_mips_end): Likewise. Generate stabs function markers. | |
1899 | (s_mips_ent): Generate stabs function markers. | |
1900 | (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not | |
1901 | ELF. | |
1902 | (s_mips_mask): Likewise. | |
1903 | (mips_flag_mdebug): New. | |
1904 | (md_longopts): Add "mdebug" and "no-mdebug". | |
1905 | (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG. | |
1906 | (mips_after_parse_args): Set mips_flag_mdebug. | |
1907 | * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS. | |
1908 | ||
d6e9d61a MR |
1909 | 2002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
1910 | ||
1911 | * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's | |
1912 | value twice for RELA relocations. | |
1913 | ||
03e83a45 BE |
1914 | 2002-06-12 Ben Elliston <bje@redhat.com> |
1915 | ||
1916 | * symbols.c (resolve_symbol_value): Initialise final_val. | |
1917 | ||
1918 | * subsegs.c (subsegs_print_statistics): Cast frchp to void *. | |
1919 | ||
b4f96c78 TR |
1920 | 2002-06-11 Tom Rix <trix@redhat.com> |
1921 | ||
1922 | * config/tc-ppc.c (ppc_subseg_align): Delete. | |
1923 | (ppc_change_csect): Default csect align is 2. | |
a2c36061 | 1924 | * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete |
b4f96c78 | 1925 | |
8a6def3b MM |
1926 | 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl> |
1927 | ||
1928 | * config/tc-avr.c (mcu_types): Update. | |
1929 | ||
7542c0f2 JT |
1930 | 2002-06-08 Matt Thomas <matt@3am-software.com> |
1931 | ||
1932 | * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*) | |
1933 | (vax-*-netbsd*): New targets. | |
1934 | * configure: Regenerate. | |
a2c36061 | 1935 | * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD. |
7542c0f2 | 1936 | * config/tc-vax.c: Add support for ELF and PIC. |
a2c36061 | 1937 | (flag_want_pic): New flag. |
7542c0f2 JT |
1938 | (float_cons): Fix prototype. |
1939 | (md_apply_fix3): Adjust for BFD_ASSEMBLER. | |
1940 | (md_assemble): Introduce a new is_absolute local, and use it | |
1941 | rather than repeating the test. Make fatal errors actually | |
a2c36061 | 1942 | fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER. |
7542c0f2 | 1943 | Add support for ELF. Add support for PIC. |
a2c36061 | 1944 | (md_convert_frag): Adjust for BFD_ASSEMBLER. |
7542c0f2 JT |
1945 | (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not |
1946 | BFD_ASSEMBLER. | |
a2c36061 | 1947 | (vax_reg_parse): Make the % register prefix mandatory for ELF, |
7542c0f2 JT |
1948 | optional for a.out, and not allowed for VMS. Adjust all callers. |
1949 | (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments. | |
a2c36061 | 1950 | (md_create_long_jump): Likewise. |
7542c0f2 JT |
1951 | (md_undefined_symbol): Likewise. |
1952 | (md_section_align): Likewise. | |
1953 | (md_shortopts): Allow -k and -K for ELF. | |
1954 | (md_parse_option): Set flag_want_pic if -k or -K. | |
1955 | (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER. | |
1956 | (tc_gen_reloc): New function if BFD_ASSEMBLER. | |
1957 | * config/tc-vax.h (tc_headers_hook): Remove. | |
1958 | (TARGET_FORMAT): Set according to object format and target | |
1959 | environment. | |
1960 | (BFD_ARCH, TARGET_ARCH): Define. | |
1961 | (NO_RELOC): Adjust for BFD_ASSEMBLER. | |
1962 | (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE) | |
1963 | (tc_fix_adjustable): Define if BFD_ASSEMBLER. | |
1964 | * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define. | |
1965 | ||
5a38dc70 AM |
1966 | 2002-06-08 Alan Modra <amodra@bigpond.net.au> |
1967 | ||
e90b95f6 AM |
1968 | * Makefile.am: Run "make dep-am". |
1969 | * Makefile.in: Regenerate. | |
1970 | ||
5a38dc70 AM |
1971 | * as.c: Replace CONST with const. |
1972 | * write.c: Likewise. | |
1973 | * config/obj-coff.c: Likewise. | |
1974 | * config/tc-a29k.c: Likewise. | |
1975 | * config/tc-arm.c: Likewise. | |
1976 | * config/tc-dlx.c: Likewise. | |
1977 | * config/tc-h8300.c: Likewise. | |
1978 | * config/tc-h8500.c: Likewise. | |
1979 | * config/tc-i370.c: Likewise. | |
1980 | * config/tc-i860.c: Likewise. | |
1981 | * config/tc-i960.c: Likewise. | |
1982 | * config/tc-m68hc11.c: Likewise. | |
1983 | * config/tc-m68k.c: Likewise. | |
1984 | * config/tc-m88k.c: Likewise. | |
1985 | * config/tc-mcore.c: Likewise. | |
1986 | * config/tc-mips.c: Likewise. | |
1987 | * config/tc-ns32k.c: Likewise. | |
1988 | * config/tc-pdp11.c: Likewise. | |
1989 | * config/tc-pj.c: Likewise. | |
1990 | * config/tc-s390.c: Likewise. | |
1991 | * config/tc-sh.c: Likewise. | |
1992 | * config/tc-sparc.c: Likewise. | |
1993 | * config/tc-tahoe.c: Likewise. | |
1994 | * config/tc-tic80.c: Likewise. | |
1995 | * config/tc-v850.c: Likewise. | |
1996 | * config/tc-vax.c: Likewise. | |
1997 | * config/tc-w65.c: Likewise. | |
1998 | * config/tc-z8k.c: Likewise. | |
1999 | ||
c5dd6aab DJ |
2000 | 2002-06-08 Daniel Jacobowitz <drow@mvista.com> |
2001 | ||
2002 | Based on patch from Matt Green: | |
2003 | * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable. | |
a2c36061 | 2004 | * config/tc-mips.c (s_mips_file): Renamed from s_file. |
c5dd6aab DJ |
2005 | (s_mips_loc): New function. |
2006 | (mips_nonecoff_pseudo_table): Call them. | |
a2c36061 | 2007 | (append_insn): Call dwarf2_emit_insn. |
c5dd6aab | 2008 | |
a4672219 TS |
2009 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2010 | ||
2011 | * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set | |
2012 | to -1. | |
2013 | (file_ase_mips16): New veriable. | |
2014 | (mips_eabi64): Remove. | |
2015 | (CPU_HAS_MIPS16): New define. | |
2016 | (CPU_HAS_MDMX): Fix data type. | |
2017 | (md_begin): Code cleanup. Use file_ase_mips16. | |
2018 | (mips_elf_final_processing): Handle mips16 header flag. | |
2019 | Handle EABI flag without intermediate variable. | |
2020 | ||
437ee9d5 TS |
2021 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2022 | ||
2023 | * doc/as.texinfo: Update MIPS documentation. | |
2024 | ||
85b51719 TS |
2025 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2026 | ||
2027 | * config/tc-mips.c: Add define for $zero register. | |
2028 | (md_begin): Add $zero as alias name for $0. | |
2029 | (insn_uses_reg): Use ZERO define. | |
2030 | (mips_ip): Add $zero as alias name for $0. | |
2031 | (mips16_ip): Likewise. | |
2032 | (s_cplocal): Demand empty rest of input line. | |
2033 | (tc_get_register): Likewise. Add support for $kt0, kt1 register | |
2034 | names. Use ZERO define. Fix input_line_pointer progress. | |
2035 | ||
9758f3fc AM |
2036 | 2002-06-07 Alan Modra <amodra@bigpond.net.au> |
2037 | ||
2038 | * symbols.c: Replace CONST by const throughout. | |
2039 | (symbol_find_exact): Split out from.. | |
2040 | (symbol_find_base): ..here. | |
2041 | * symbols.h: Replace CONST by const throughout. | |
2042 | (symbol_find_exact): Declare. | |
2043 | * config/obj-elf.c: #include "struc-symbol.h". | |
2044 | (elf_frob_file): If group name matches an exported symbol, use that | |
2045 | symbol for the signature and ".group" as the section name. | |
2046 | ||
6c6783ff | 2047 | 2002-06-06 J"orn Rennecke <joern.rennecke@superh.com> |
9691d64f JR |
2048 | |
2049 | * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again, | |
2050 | but warn about it. | |
9691d64f | 2051 | |
ffdefa66 DJ |
2052 | 2002-06-06 Daniel Jacobowitz <drow@mvista.com> |
2053 | ||
2054 | * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d | |
2055 | and mips_opts.ase_mdmx if they are uninitialized. | |
2056 | ||
ec8b3afd JL |
2057 | 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2058 | ||
2059 | * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME. | |
2060 | (hppa_force_relocation): Check if a stub just before the start symbol | |
2061 | of the last call_info is reachable before forcing relocation. Fix | |
2062 | typo. | |
2063 | ||
e9670677 MR |
2064 | 2002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
2065 | ||
2066 | * config/tc-mips.c (mips_after_parse_args): New function. | |
2067 | (md_begin): Move processing of defaults to mips_after_parse_args. | |
2068 | config/tc-mips.h (md_after_parse_args): Define. | |
2069 | ||
5b0e55b6 JT |
2070 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
2071 | ||
2072 | * configure.in (sh5*): Set cpu_type to sh64 and endian to big. | |
2073 | (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little. | |
2074 | (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets. | |
2075 | * configure: Regenerate. | |
2076 | * config/tc-sh64.c (sh64_target_format): Add support for NetBSD | |
2077 | environment. | |
2078 | ||
a074e149 JT |
2079 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
2080 | ||
2081 | * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining. | |
2082 | ||
d2dab548 AM |
2083 | 2002-06-04 Alan Modra <amodra@bigpond.net.au> |
2084 | ||
2085 | * config/obj-elf.c (obj_elf_change_section): Set and check elf | |
2086 | linkonce flag. Print all warnings. | |
2087 | (obj_elf_section): Parse ",comdat" for groups. | |
2088 | (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check | |
2089 | consistency of comdat flag. | |
2090 | ||
20e130e9 RH |
2091 | 2002-06-02 Richard Henderson <rth@redhat.com> |
2092 | ||
2093 | * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko | |
2094 | with LITERALs without sequence numbers. | |
2095 | ||
9e756d64 RH |
2096 | 2002-06-01 Richard Henderson <rth@redhat.com> |
2097 | ||
2098 | * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h". | |
2099 | Rename them LITUSE_ALPHA_*. | |
2100 | ||
3048287a NC |
2101 | 2002-05-31 Shrinivas Atre <ShrinivasA@kpit.com> |
2102 | ||
2103 | * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to | |
2104 | accept parentheses enclosed register lists. | |
2105 | ||
194b5210 AM |
2106 | 2002-05-31 Alan Modra <amodra@bigpond.net.au> |
2107 | ||
2108 | * Makefile.am: Run "make dep-am". | |
2109 | * Makefile.in: Regenerate. | |
2110 | * po/POTFILES.in: Regenerate. | |
2111 | ||
34e97952 AM |
2112 | 2002-05-31 Graeme Peterson <gp@qnx.com> |
2113 | ||
2114 | * configure.in: Add i386-*-nto-qnx*. | |
2115 | * configure: Regenerate. | |
2116 | ||
793b27f4 TS |
2117 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2118 | ||
2119 | * config/tc-mips.c (mips_ip): Use unsigned long values for | |
2120 | warning output. | |
2121 | ||
80245285 TS |
2122 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2123 | ||
2124 | * config/tc-mips.c (s_cpsetup): Fix initialization of | |
2125 | mips_cpreturn_register and mips_cpreturn_offset. | |
2126 | ||
698b7d9d TS |
2127 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2128 | ||
2129 | * config/tc-mips.c (s_cpsetup): Fix comment. | |
2130 | ||
76db943d TS |
2131 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2132 | ||
2133 | * config/tc-mips.c (md_begin): Add $ra as alias name for $31. | |
2134 | (mips_ip): Likewise. | |
2135 | (mips16_ip): Likewise. | |
2136 | (tc_get_register): Likewise. | |
2137 | ||
deec1734 | 2138 | 2002-05-30 Chris G. Demetriou <cgd@broadcom.com> |
a2c36061 | 2139 | Ed Satterthwaite <ehs@broadcom.com> |
deec1734 CD |
2140 | |
2141 | * config/tc-mips.c (mips_set_options): New "ase_mdmx" member. | |
2142 | (mips_opts): Initialize "ase_mdmx" member. | |
2143 | (file_ase_mdmx): New variable. | |
2144 | (CPU_HAS_MDMX): New macro. | |
2145 | (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx | |
2146 | based on command line options and configuration defaults. | |
2147 | (macro_build): Note in comment that use of MDMX in macros is | |
2148 | not currently allowed. | |
2149 | (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and | |
2150 | "Z" MDMX operand types. | |
2151 | (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set, | |
2152 | and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand | |
2153 | types. | |
2154 | (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option): | |
2155 | Add support for "-mdmx" and "-no-mdmx" options. | |
2156 | (OPTION_ELF_BASE): Move to accomodate new options. | |
2157 | (s_mipsset): Support ".set mdmx" and ".set nomdmx". | |
2158 | (mips_elf_final_processing): Set MDMX ASE ELF header flag if | |
2159 | file_ase_mdmx was set. | |
2160 | * doc/as.texinfo: Document -mdmx and -no-mdmx options. | |
2161 | * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set | |
2162 | nomdmx" directives. | |
2163 | ||
9ee72ff1 TS |
2164 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2165 | ||
2166 | * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to | |
2167 | OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000" | |
2168 | command line switch conforming to gcc conventions. | |
2169 | * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000. | |
2170 | ||
438c16b8 TS |
2171 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2172 | ||
2173 | * config/tc-mips.c (macro_build_jalr): New Function. | |
2174 | (md_begin): NewABI uses big GOTs. | |
2175 | (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP, | |
2176 | BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid. | |
2177 | (load_address): Add some NewABI PIC support. | |
2178 | (macro): Likewise. | |
2179 | (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR. | |
2180 | (tc_gen_reloc): Don't encode NewABI vtables in REL relocations. | |
2181 | ||
f7ea7ef2 TS |
2182 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2183 | ||
2184 | * config/tc-mips.c (load_address): Use mips_gp_register instead | |
2185 | of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES | |
2186 | instead. | |
2187 | (macro): Use mips_gp_register instead of hardcoded value. | |
2188 | ||
3765b1be RH |
2189 | 2002-05-30 Richard Henderson <rth@redhat.com> |
2190 | ||
2191 | * expr.h (operatorT): Add O_md17..O_md32. | |
2192 | * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd, | |
2193 | O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel, | |
2194 | O_tprelhi, O_tprello, O_tprel): New. | |
2195 | (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them. | |
2196 | (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New. | |
2197 | (LITUSE_TLSGD, LITUSE_TLSLDM): New. | |
2198 | (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld, | |
2199 | saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field. | |
2200 | (md_apply_fix3): Handle TLS relocations. | |
2201 | (alpha_force_relocation, alpha_fix_adjustable): Likewise. | |
2202 | (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the | |
2203 | associated TLS reloc. Check lituse_tls relocs match up. | |
2204 | (emit_insn): Handle TLS relocations. | |
2205 | (ldX_op): Remove. | |
2206 | ||
1c5cec28 RH |
2207 | * doc/c-alpha.texi: Add docs for tls relocations. |
2208 | ||
def2e0dd TS |
2209 | 2002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2210 | ||
2211 | * config/tc-mips.c (mips_gprel_offset): New variable. | |
2212 | (s_gpvalue): Use it. | |
2213 | ||
8ade06a8 TR |
2214 | 2002-05-30 Diego Novillo <dnovillo@redhat.com> |
2215 | ||
a2c36061 AM |
2216 | * gas/config/tc-d10v.c (check_resource_conflict): Only check |
2217 | write-write conflicts. | |
2218 | (md_assemble): Reformat introductory comment. | |
2219 | (parallel_ok): Prevent packing only if the first | |
2220 | instruction cannot be packed. | |
8ade06a8 TR |
2221 | |
2222 | 2002-05-30 Jason Eckhardt <jle@redhat.com> | |
2223 | Tom Rix <trix@redhat.com> | |
2224 | ||
2225 | * config/tc-d10v.c (build_insn): Check for immediates. | |
2226 | ||
c9914766 TS |
2227 | 2002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2228 | ||
2229 | * config/tc-mips.c: Replace GP in comments by $gp. | |
2230 | (mips_big_got): Initialize. | |
2231 | (mips_trap): Initialize. | |
2232 | (load_address): Use mips_gp_register instead of hardcoded value. | |
2233 | Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead. | |
2234 | (macro): Use mips_gp_register instead of hardcoded value. | |
2235 | (macro2): Change load_address calls. | |
2236 | (md_pcrel_from): Comment formatting. | |
2237 | (s_cpload): Use mips_gp_register instead of hardcoded value. | |
2238 | (s_cprestore): Likewise. Comment formatting. | |
2239 | (s_gpword): Fix data type. | |
2240 | (s_cpadd): Use mips_gp_register instead of hardcoded value. | |
2241 | (nopic_need_relax): Replace GP in comments by $gp. | |
2242 | (mips_elf_final_processing): Better comment. | |
2243 | ||
d172d4ba NC |
2244 | 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> |
2245 | ||
2246 | * configure.in: Add DLX configuraton | |
2247 | * Makefile.am: Add DLX configuraton | |
2248 | * configure: Regenerate. | |
2249 | * Makefile.in: Regenerate. | |
2250 | * config/tc-dlx.c: New file. | |
2251 | * config/tc-dlx.h: New files. | |
52216602 | 2252 | * NEWS: Mention new support. |
d172d4ba | 2253 | |
e9732b6d NC |
2254 | 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com> |
2255 | ||
2256 | * config/obj-coff.c (write_object_file): Add missing semicolon. | |
2257 | ||
f9419b05 TS |
2258 | 2002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2259 | ||
2260 | * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA | |
2261 | by the define. Remove superfluous check of mips_opts.mips16. | |
2262 | (append_insn): Likewise. Canonicalize variable increments. | |
2263 | (macro_build): Canonicalize variable increments. | |
2264 | (macro_build_lui): Likewise. | |
2265 | (load_register): Likewise. | |
2266 | (load_address): Move pointer initialization. | |
2267 | (macro): Move pointer to a more local scope. Canonicalize variable | |
2268 | increments. Better comments. Replace magic constant for RA by the | |
2269 | define. | |
2270 | (macro2): Replace magic constant for RA by the define. Canonicalize | |
2271 | variable increments. | |
2272 | (mips_ip): Canonicalize variable increments. | |
2273 | (mips16_ip): Replace magic constant for RA by the define. | |
2274 | (my_getSmallParser): Canonicalize variable increments/decrements. | |
2275 | (my_getPercentOp): Likewise. | |
2276 | (my_getSmallExpression): Likewise. | |
2277 | (s_align): Likewise. | |
2278 | (s_mipsset): Likewise. | |
2279 | (s_cpsetup): Likewise. | |
2280 | (s_insn): Remove superfluous check of mips_opts.mips16. | |
2281 | (s_mips_stab): Likewise. | |
2282 | (mips_handle_align): Canonicalize variable increments. | |
2283 | (s_mips_ent): Likewise. | |
2284 | (s_mips_end): Add comment. | |
2285 | ||
aa501e5c JT |
2286 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
2287 | ||
2288 | * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. | |
2289 | * configure: Regenerate. | |
2290 | ||
29589b0c AM |
2291 | 2002-05-25 Alan Modra <amodra@bigpond.net.au> |
2292 | ||
2293 | * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h. | |
2294 | * Makefile.in: Regenerate. | |
2295 | * dep-in.sed: Reorder to match OBJS in Makefile.am. | |
2296 | * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd. | |
2297 | * configure: Regenerate. | |
2298 | * as.h: Use #include "" instead of <> for local header files. | |
2299 | * flonum-konst.c: Likewise. | |
2300 | * flonum-mult.c: Likewise. | |
2301 | * gasp.c: Likewise. | |
2302 | * listing.c: Likewise. | |
2303 | * config/tc-ia64.h: Likewise. | |
2304 | * config/tc-v850.h: Likewise. | |
2305 | ||
436e8db0 NC |
2306 | 2002-05-24 TAMURA Kent <kent@netbsd.org> |
2307 | ||
2308 | * configure.in: Add a target for i386-netbsdpe. | |
2309 | * configure: Regenerate. | |
2310 | ||
13ae64f3 JJ |
2311 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
2312 | ||
2313 | * config/obj-elf.c (elf_common): Renamed from obj_elf_common. | |
2314 | (obj_elf_common): Call elf_common. | |
2315 | (obj_elf_tls_common): New function. | |
2316 | (elf_pseudo_tab): Support .tls_common. | |
2317 | (special_sections): Add .tdata and .tbss. | |
2318 | (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS | |
2319 | sections. | |
2320 | (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS). | |
2321 | (obj_elf_parse_section_letters): Include T in error message. | |
2322 | * config/tc-ppc.c (ppc_section_letter): Likewise. | |
2323 | * config/tc-alpha.c (alpha_elf_section_letter): Likewise. | |
2324 | (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as | |
2325 | SEC_MERGE. | |
2326 | * config/tc-sparc.c (md_apply_fix3): Likewise. | |
2327 | * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs. | |
2328 | Define them if not BFD_ASSEMBLER. | |
2329 | (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF | |
2330 | and @NTPOFF. | |
2331 | (md_apply_fix3): Add TLS relocs. | |
2332 | * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE, | |
2333 | FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE, | |
2334 | FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE. | |
2335 | (pseudo_func): Support @dtpmod(), @dtprel() and @tprel(). | |
2336 | (ia64_elf_section_letter): Include T in error message. | |
2337 | (md_begin): Support TLS operators. | |
2338 | (md_operand): Likewise. | |
2339 | (ia64_gen_real_reloc_type): Support TLS relocs. | |
13ae64f3 JJ |
2340 | * write.c (adjust_reloc_syms): Don't change symbols in |
2341 | SEC_THREAD_LOCAL sections to STT_SECTION + addend. | |
2342 | ||
c62e1cc3 NC |
2343 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
2344 | ||
2345 | * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc | |
2346 | round the relocation up rather than down. | |
2347 | ||
6ff96af6 NC |
2348 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
2349 | ||
2350 | * config/obj-coff.c (obj_coff_section): Silently ignore an 'a' | |
2351 | flag. | |
a2c36061 | 2352 | * doc/as.texinfo: Document that the COFF version of .section |
6ff96af6 NC |
2353 | ignores the 'a' flag. |
2354 | ||
18e1d487 AM |
2355 | 2002-05-23 Alan Modra <amodra@bigpond.net.au> |
2356 | ||
69108c1f AM |
2357 | * config/tc-alpha.c (assemble_tokens): Protect use of |
2358 | ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P. | |
2359 | ||
18e1d487 AM |
2360 | * write.c (size_seg): Check adjustment to last frag. |
2361 | (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to | |
2362 | section alignment. | |
2363 | * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise. | |
2364 | * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise. | |
2365 | (write_object_file): Invoke md_do_align if available, and use | |
2366 | frag_align_code on text sections. | |
2367 | * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args. | |
2368 | * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise. | |
2369 | * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise. | |
2370 | * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise. | |
2371 | * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for | |
2372 | BFD_ASSEMBLER too. | |
2373 | ||
9d66a1d9 L |
2374 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
2375 | ||
2376 | * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file | |
2377 | for source file. | |
2378 | ||
76feaaf3 NC |
2379 | 2002-05-22 Nick Clifton <nickc@cambridge.redhat.com> |
2380 | ||
2381 | * config/tc-arm.c (arm_s_section): Enable for COFF builds as well | |
2382 | as ELF builds. | |
2383 | ||
1080e97d L |
2384 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
2385 | ||
2386 | * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol | |
2387 | for one .loc for compiler. | |
2388 | ||
c90bbe5b TS |
2389 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2390 | ||
2391 | * config/tc-mips.c (macro): Relax warning, it's toot strict for | |
2392 | embedded-PIC. | |
2393 | ||
771c7ce4 TS |
2394 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2395 | ||
2396 | * config/tc-mips.c (macro2): Add 64 bit drol, dror macros. | |
2397 | Optimize the rotate by zero case. | |
2398 | ||
fa70f2ed NC |
2399 | 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com> |
2400 | ||
2401 | * configure.in: Remove accidental enabling of bfd_gas=yes for | |
2402 | sh-coff targets. | |
2403 | * configure: Regenerate. | |
2404 | ||
411863a4 KH |
2405 | 2002-05-18 Kazu Hirata <kazu@cs.umass.edu> |
2406 | ||
2407 | * app.c: Fix formatting. | |
2408 | * as.c: Likewise. | |
2409 | * ehopt.c: Likewise. | |
2410 | * expr.c: Likewise. | |
2411 | * input-file.c: Likewise. | |
2412 | * listing.c: Likewise. | |
2413 | * macro.h: Likewise. | |
2414 | * stabs.c: Likewise. | |
2415 | * symbols.c: Likewise. | |
2416 | ||
eb268f46 AM |
2417 | 2002-05-17 Alan Modra <amodra@bigpond.net.au> |
2418 | ||
2419 | * config/obj-generic.c: Delete file. | |
2420 | * config/obj-generic.h: Likewise. | |
2421 | ||
bdfdba87 MM |
2422 | 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl> |
2423 | ||
2424 | * config/tc-avr.c (mcu_types): Update for new devices. | |
2425 | ||
3bec30a8 TS |
2426 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2427 | ||
2428 | * config/tc-mips.c (macro): Warn about wrong la/dla use. | |
2429 | ||
8586fc66 TS |
2430 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2431 | ||
2432 | * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had | |
2433 | worked sometimes by accident. Fix copy&paste comment. | |
2434 | ||
195325d2 TS |
2435 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2436 | ||
2437 | * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section | |
2438 | alignment for NewABI. Let n32 use .reginfo. Remove useless casts. | |
2439 | (mips_elf_final_processing): Let n32 use .reginfo. | |
2440 | ||
4db1a35d TS |
2441 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2442 | ||
2443 | * config/tc-mips.c (append_insn): Fix too small range of variable. | |
2444 | ||
7f367f01 NC |
2445 | 2002-05-14 Nick Clifton <nickc@cambridge.redhat.com> |
2446 | ||
2447 | * config/tc-arm.c (arm_cleanup): Remove redundant call to | |
2448 | listing_prev_line(). | |
2449 | ||
7193a0e7 NC |
2450 | 2002-05-13 Nick Clifton <nickc@cambridge.redhat.com> |
2451 | ||
f5b4e9e4 NC |
2452 | * config/tc-arm.c (md_assemble): Remove redundant call to |
2453 | listing_prev(). | |
2454 | ||
b6675117 NC |
2455 | * dwarf2dbg.c (dwarf2_emit_insn): Do not reset |
2456 | loc_directive_seen. | |
2457 | ||
7193a0e7 NC |
2458 | * stabs.c (s_stab_generic): Fix grammatical error in warning |
2459 | message. | |
2460 | ||
50b31228 AM |
2461 | 2002-05-13 Alan Modra <amodra@bigpond.net.au> |
2462 | ||
2463 | * write.c (subsegs_finish): Don't specially align last subseg. | |
2464 | ||
cce5a618 NC |
2465 | 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com> |
2466 | ||
6360824b NC |
2467 | * stabs.c (s_stab_generic): Warn about a description field that is |
2468 | too big. | |
2469 | ||
f8e42b8c NC |
2470 | * config/obj-coff.c: Fix compile time warnings when compiling |
2471 | without BFD_ASSEMBLER defined. | |
2472 | Fix formatting. | |
2473 | ||
cce5a618 NC |
2474 | * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms |
2475 | target. | |
2476 | (md_pcrel_from_section): Use md_pcrel_from(). | |
2477 | ||
d7c310c2 NC |
2478 | 2002-05-11 Bruno Haible <bruno@clisp.org> |
2479 | ||
2480 | * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled | |
2481 | by dwarf2_directive_loc, instead of calling dwarf2_where. | |
2482 | ||
5d6255fe KH |
2483 | 2002-05-11 Kazu Hirata <kazu@cs.umass.edu> |
2484 | ||
2485 | * config/obj-coff.h: Fix formatting. | |
2486 | * config/tc-mcore.c: Likewise. | |
2487 | * config/tc-mn10300.c: Likewise. | |
2488 | * config/tc-openrisc.c: Likewise. | |
2489 | * config/tc-or32.c: Likewise. | |
2490 | * config/tc-pdp11.c: Likewise. | |
2491 | * config/tc-ppc.c: Likewise. | |
2492 | * config/tc-ppc.h: Likewise. | |
2493 | * config/tc-sh64.c: Likewise. | |
2494 | * config/tc-sh.c: Likewise. | |
2495 | * config/tc-tic54x.c: Likewise. | |
2496 | * config/tc-xstormy16.c: Likewise. | |
2497 | * config/tc-xstormy16.h: Likewise. | |
2498 | ||
cc8a6dd0 KH |
2499 | 2002-05-09 Kazu Hirata <kazu@cs.umass.edu> |
2500 | ||
2501 | * config/obj-coff.c: Fix formatting. | |
2502 | * config/obj-elf.c: Likewise. | |
2503 | * config/tc-alpha.c: Likewise. | |
2504 | * config/tc-arm.c: Likewise. | |
2505 | * config/tc-d10v.c: Likewise. | |
2506 | * config/tc-d30v.c: Likewise. | |
2507 | * config/tc-h8300.c: Likewise. | |
2508 | * config/tc-hppa.c: Likewise. | |
2509 | ||
412167cb AM |
2510 | 2002-05-09 Alan Modra <amodra@bigpond.net.au> |
2511 | ||
2512 | * config/tc-i386.c (md_estimate_size_before_relax) Don't lose | |
2513 | reloc when no_cond_jump_promotion. | |
2514 | ||
91975467 JW |
2515 | 2002-05-08 Jim Wilson <wilson@redhat.com> |
2516 | ||
2517 | * config/tc-i960.c (md_estimate_size_before_relax): Return size of | |
2518 | current variable part of frag. | |
2519 | ||
a1b6236b KH |
2520 | 2002-05-08 Kazu Hirata <kazu@cs.umass.edu> |
2521 | ||
2522 | * config/tc-mmix.c: Fix formatting. | |
2523 | * config/tc-mmix.h: Likewise. | |
2524 | ||
c8615825 AM |
2525 | 2002-05-08 Alan Modra <amodra@bigpond.net.au> |
2526 | ||
2527 | * configure: Regenerate. | |
2528 | ||
8a104df9 KH |
2529 | 2002-05-07 Kazu Hirata <kazu@cs.umass.edu> |
2530 | ||
2531 | * config/tc-m68k.c: Fix formatting. | |
2532 | ||
d3d8a9ee NC |
2533 | 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> |
2534 | ||
2535 | * Makefile.am: Honour DESTDIR. | |
2536 | * Makefile.in: Regenerate. | |
2537 | ||
40449e9f KH |
2538 | 2002-05-06 Kazu Hirata <kazu@cs.umass.edu> |
2539 | ||
2540 | * config/tc-ia64.c: Fix formatting. | |
2541 | * config/tc-ia64.h: Likewise. | |
2542 | ||
98d3f06f KH |
2543 | 2002-05-04 Kazu Hirata <kazu@cs.umass.edu> |
2544 | ||
2545 | * config/tc-mips.c: Fix formatting. | |
2546 | * config/tc-s390.c: Likewise. | |
2547 | * config/tc-s390.h: Likewise. | |
2548 | ||
8f5b2891 AO |
2549 | 2002-05-03 Alexandre Oliva <aoliva@redhat.com> |
2550 | ||
2551 | * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number | |
2552 | information for instructions. | |
2553 | ||
d1a6c242 KH |
2554 | 2002-05-02 Kazu Hirata <kazu@cs.umass.edu> |
2555 | ||
2556 | * as.h: Fix formatting. | |
2557 | * cgen.c: Likewise. | |
2558 | * cgen.h: Likewise. | |
2559 | * dwarf2dbg.c: Likewise. | |
2560 | * frags.h: Likewise. | |
2561 | * gasp.c: Likewise. | |
2562 | * macro.c: Likewise. | |
2563 | * read.c: Likewise. | |
2564 | * stabs.c: Likewise. | |
2565 | * symbols.c: Likewise. | |
2566 | ||
1cfc59d5 AM |
2567 | 2002-05-02 Alan Modra <amodra@bigpond.net.au> |
2568 | ||
72297628 AM |
2569 | * app.c (mri_pseudo): Only declare for TC_M68K. |
2570 | ||
1cfc59d5 AM |
2571 | * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL. |
2572 | (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with | |
2573 | BFD_RELOC_16_BASEREL. | |
2574 | (md_assemble): Likewise. | |
2575 | (md_apply_fix3): Likewise. | |
2576 | ||
358b94bd NC |
2577 | 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com> |
2578 | ||
2579 | * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of | |
2580 | zero into an add of zero - it is not the same. | |
2581 | ||
d8731e7d NC |
2582 | 2002-05-01 Arati Dikey <aratid@kpit.com> |
2583 | ||
2584 | * tc-sh.c (get_specific): Generate warning if the same | |
2585 | destination register is used in parallel instructions. | |
2586 | ||
200dbde8 AM |
2587 | 2002-05-01 Andrew Macleod <amacleod@cygnus.com> |
2588 | ||
2589 | * config/tc-i386.c (extra_symbol_chars): Add '[' to the list. | |
2590 | ||
3f3cdb03 AM |
2591 | 2002-05-01 Alan Modra <amodra@bigpond.net.au> |
2592 | ||
2593 | * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org | |
2594 | backwards to prevent cascading errors. | |
2595 | ||
9b2b7d69 MM |
2596 | 2002-04-30 Mark Mitchell <mark@codesourcery.com> |
2597 | ||
2598 | * configure.in: Add support for powerpc-*-windiss. | |
2599 | * configure: Regenerated. | |
a2c36061 | 2600 | |
0f3f3d8b AM |
2601 | 2002-04-28 Alan Modra <amodra@bigpond.net.au> |
2602 | ||
819e6420 AM |
2603 | * config/tc-s390.c (md_parse_option): Formatting. |
2604 | ||
0f3f3d8b AM |
2605 | * config/tc-i386.c: Formatting fixes, add missing space in error |
2606 | message. | |
2607 | ||
3c25c5f6 NC |
2608 | 2002-04-24 Christian Groessler <chris@groessler.org> |
2609 | ||
2610 | * config/tc-z8k.c (build_bytes): Add support for new cases: | |
2611 | CLASS_IGNORE and ARG_NIM4. | |
2612 | (md_assemble): Prevent destruction of input_line_pointer if | |
2613 | get_operands returns failure. | |
2614 | ||
af55c2e6 CD |
2615 | 2002-04-24 Chris G. Demetriou <cgd@broadcom.com> |
2616 | ||
2617 | * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D | |
2618 | instructions to be generated by macros. | |
2619 | ||
062cd5e7 AS |
2620 | 2002-04-24 Andreas Schwab <schwab@suse.de> |
2621 | ||
2622 | * config/tc-i386.c (output_jump, output_disp) | |
2623 | (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any | |
2624 | more. | |
2625 | (md_apply_fix3): Remember addend value for rela relocations. | |
2626 | (tc_gen_reloc): Correctly compute pc-relative relocation addend. | |
2627 | ||
2b2e39bf CD |
2628 | 2002-04-22 Chris Demetriou <cgd@broadcom.com> |
2629 | ||
2630 | * config/tc-mips.c (macro_build): Add close-parenthesis missing | |
2631 | from previous change. | |
2632 | ||
80cc45a5 EC |
2633 | 2002-04-22 Eric Christopher <echristo@redhat.com> |
2634 | ||
2b2e39bf CD |
2635 | * config/tc-mips.c (macro_build): Add warning if macro instructions |
2636 | are expanded into a branch delay slot. | |
80cc45a5 | 2637 | |
ffa554ed GK |
2638 | 2002-04-17 Geoffrey Keating <geoffk@redhat.com> |
2639 | ||
2640 | * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line | |
2641 | numbers, gdb relies on them to detect the start of the prologue. | |
2642 | ||
302576af MS |
2643 | 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2644 | ||
2645 | * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to | |
2646 | symbols in merge sections. | |
2647 | ||
0f3f3d8b | 2648 | 2002-04-16 Alan Modra <amodra@bigpond.net.au> |
091e58c1 AM |
2649 | |
2650 | * as.c (main): Don't reference _bfd_chunksize. | |
2651 | ||
76b999d0 TR |
2652 | 2002-04-15 Tom Rix <trix@redhat.com> |
2653 | ||
80cc45a5 | 2654 | * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to |
76b999d0 TR |
2655 | symbols in merge sections. |
2656 | ||
580a832e RS |
2657 | 2002-04-11 Richard Sandiford <rsandifo@redhat.com> |
2658 | ||
2659 | * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document. | |
2660 | * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an | |
2661 | argument for the precision. | |
2662 | (gen_to_words): Update accordingly. | |
2663 | ||
edde18a5 AM |
2664 | 2002-04-10 Alan Modra <amodra@bigpond.net.au> |
2665 | ||
2666 | * as.c (parse_args <OPTION_VERSION>): Use VERSION is | |
2667 | BFD_VERSION_STRING unavailable. | |
2668 | * config/tc-i386.c (INLINE): Define (for non-BFD assembler). | |
2669 | ||
6c6783ff | 2670 | 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com> |
5bcd00a6 JR |
2671 | |
2672 | * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if | |
2673 | symbol_used_in_reloc_p is true. | |
2ed5f585 JR |
2674 | |
2675 | * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big | |
2676 | endian hosts. | |
2677 | ||
8e42bcb6 AM |
2678 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
2679 | ||
2680 | * dep-in.sed: Cope with absolute paths. | |
2681 | * Makefile.am (dep.sed): Subst TOPDIR. | |
2682 | Run "make dep-am". | |
2683 | * Makefile.in: Regenerate. | |
2684 | ||
874e8986 TS |
2685 | 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2686 | ||
2687 | * config/tc-mips.c (mips16_macro_build): Cast type mismatch. | |
2688 | (mips_ip): Remove unused variable. | |
2689 | (md_apply_fix3): Cast signed/unsignes mismatches. Replace | |
2690 | unsigned char with bfd_byte. | |
2691 | (s_file): Remove unused variable. | |
2692 | (s_mips_ent): Likewise. | |
2693 | ||
fbdbf472 TR |
2694 | 2002-04-03 Tom Rix <trix@redhat.com> |
2695 | ||
2696 | * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where. | |
2697 | (build_insn): Same. | |
2698 | (find_opcode): Fix warning in as_warn. | |
2699 | * config/tc-d10v.h: Update Copyright. | |
2700 | ||
2701 | 2002-04-03 Alan Matsuoka <alanm@redhat.com> | |
2702 | Tom Rix <trix@redhat.com> | |
2703 | ||
2704 | From Jeff Knaggs <jknaggs@redhat.com> | |
80cc45a5 | 2705 | * config/tc-d10v.c (check_resource_conflict): New function to |
fbdbf472 TR |
2706 | check for resource conflicts. |
2707 | ||
2708 | From Jason Eckhardt <jle@redhat.com> | |
a2c36061 AM |
2709 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or |
2710 | imm3 fields. | |
2711 | * config/tc-d10v.c (find_opcode): Emit a warning if one of the | |
2712 | reserved control registers is used. | |
2713 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or | |
2714 | imm3 fields. | |
fbdbf472 TR |
2715 | |
2716 | From 2001-03-28 Diego Novillo <dnovillo@redhat.com> | |
a2c36061 AM |
2717 | * tc-d10v.c (parallel_ok): Prevent packing only if the first |
2718 | instruction cannot be packed. | |
fbdbf472 TR |
2719 | |
2720 | From 2001-03-30 Diego Novillo <dnovillo@redhat.com> | |
a2c36061 AM |
2721 | * gas/config/tc-d10v.c (check_resource_conflict): Only check |
2722 | write-write conflicts. | |
2723 | (md_assemble): Reformat introductory comment. | |
2724 | * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its | |
2725 | arguments. | |
fbdbf472 | 2726 | |
784b640d AM |
2727 | 2002-04-03 Alan Modra <amodra@bigpond.net.au> |
2728 | ||
2729 | * symbols.c (resolve_symbol_value <O_uminus, O_bit_not, | |
2730 | O_logical_not>): Derive final_seg from add_symbol. | |
2731 | <O_multiply..O_logical_or>: More final_seg twiddles. | |
2732 | ||
5f44c186 RH |
2733 | 2002-04-01 Jessica Han <jessica@cup.hp.com> |
2734 | ||
a2c36061 | 2735 | * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc |
5f44c186 RH |
2736 | in 32-bit mode. |
2737 | ||
3458b54c AS |
2738 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
2739 | ||
2740 | * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of | |
2741 | field for pc-relative fixups. | |
2742 | (output_disp): Likewise. | |
2743 | (md_estimate_size_before_relax): Likewise. | |
2744 | (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for | |
2745 | pc-relative fixups in 64bit mode. | |
2746 | ||
815b453c AM |
2747 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
2748 | ||
2749 | * config/te-aix5.h: Typo fix. | |
2750 | ||
d5b32339 AM |
2751 | 2002-03-21 Alan Modra <amodra@bigpond.net.au> |
2752 | ||
2753 | * Makefile.am: Run "make dep-am". | |
2754 | * Makefile.in: Regenerate. | |
2755 | * doc/Makefile.in: Regenerate. | |
2756 | ||
f201ccb3 NC |
2757 | 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com> |
2758 | ||
2759 | * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo | |
2760 | (vfp_sp_reg_pos -> vfp_dp_reg_pos). | |
2761 | ||
177b4a6a AO |
2762 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
2763 | ||
2764 | * config/tc-mips.c (md_estimate_size_before_relax): Do not modify | |
2765 | the EXTENDED bit here; report the estimate according to the | |
2766 | current size. | |
2767 | ||
eb1e0e80 NC |
2768 | 2002-03-18 Tom Rix <trix@redhat.com> |
2769 | ||
2770 | * configure.in: Add AIX 5 support. | |
2771 | * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target. | |
2772 | * config/te-aix5.h: New file. AIX 5 support. | |
2773 | * configure: Regenerate. | |
2774 | ||
a1c259a1 NC |
2775 | 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
2776 | ||
2777 | * po/fr.po: Updated version. | |
2778 | ||
949f2b5c AJ |
2779 | 2002-03-16 Andreas Jaeger <aj@suse.de> |
2780 | ||
2781 | * doc/c-mips.texi (Machine Dependencies): Add new node. | |
2782 | ||
1f25f5d3 CD |
2783 | 2002-03-15 Chris G. Demetriou <cgd@broadcom.com> |
2784 | ||
2785 | * config/tc-mips.c (mips_set_options): New "ase_mips3d" member. | |
2786 | (mips_opts): Initialize "ase_mips3d" member. | |
2787 | (file_ase_mips3d): New variable. | |
2788 | (CPU_HAS_MIPS3D): New macro. | |
2789 | (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d | |
2790 | based on command line options and configuration defaults. | |
2791 | (macro_build, mips_ip): Accept MIPS-3D instructions if | |
2792 | mips_opts.ase_mips3d is set. | |
2793 | (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option): | |
2794 | Add support for "-mips3d" and "-no-mips3d" options. | |
2795 | (OPTION_ELF_BASE): Move to accomodate new options. | |
2796 | (s_mipsset): Support ".set mips3d" and ".set nomips3d". | |
2797 | (mips_elf_final_processing): Add a comment indicating that a | |
2798 | MIPS-3D ASE ELF header flag should be set, when one exists. | |
2799 | * doc/as.texinfo: Document -mips3d and -no-mips3d options. | |
2800 | * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set | |
2801 | nomips3d" directives. | |
949f2b5c | 2802 | |
2be11e7e HPN |
2803 | 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com> |
2804 | ||
2805 | * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider | |
2806 | a weak symbol in same section to be within reach. | |
2807 | ||
9ce88e60 NC |
2808 | 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
2809 | ||
2810 | * po/fr.po: Updated version. | |
2811 | ||
1e16b528 AS |
2812 | 2002-03-12 Andreas Schwab <schwab@suse.de> |
2813 | ||
2814 | * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a | |
2815 | body record so that an error is given for misplaced .save | |
2816 | pseudo-ops. | |
2817 | ||
29b0f896 AM |
2818 | 2002-03-09 Alan Modra <amodra@bigpond.net.au> |
2819 | ||
2820 | * config/tc-i386.h (REX_OPCODE): Define. | |
2821 | (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define. | |
2822 | (rex_byte): typedef to int. | |
2823 | * config/tc-i386.c: Group prototypes and vars together. | |
2824 | Formatting fixes. Remove occurrences of "register" keyword. | |
2825 | (true): Delete. | |
2826 | (false): Delete. | |
2827 | (mode_from_disp_size): Add INLINE keyword to prototype. | |
2828 | (fits_in_signed_byte): Likewise. | |
2829 | (fits_in_unsigned_byte): Likewise. | |
2830 | (fits_in_unsigned_word): Likewise. | |
2831 | (fits_in_signed_word): Likewise. | |
2832 | (fits_in_unsigned_long): Likewise. | |
2833 | (fits_in_signed_long): Likewise. | |
2834 | (type_names): Constify. | |
2835 | (intel_float_operand): Constify param. | |
2836 | (add_prefix): Use REX_OPCODE. | |
2837 | (md_assemble): Likewise. Modify for changed rex_byte. | |
2838 | (parse_insn): Split out of md_assemble. | |
2839 | (parse_operands): Likewise. | |
2840 | (swap_operands): Likewise. | |
2841 | (optimize_imm): Likewise. | |
2842 | (optimize_disp): Likewise. | |
2843 | (match_template): Likewise. | |
2844 | (check_string): Likewise. | |
2845 | (process_suffix): Likewise. | |
2846 | (check_byte_reg): Likewise. | |
2847 | (check_long_reg): Likewise. | |
2848 | (check_qword_reg): Likewise. | |
2849 | (check_word_reg): Likewise. | |
2850 | (finalize_imm): Likewise. | |
2851 | (process_operands): Likewise. | |
2852 | (build_modrm_byte): Likewise. | |
2853 | (output_insn): Likewise. | |
2854 | (output_branch): Likewise. | |
2855 | (output_jump): Likewise. | |
2856 | (output_interseg_jump): Likewise. | |
2857 | (output_disp): Likewise. | |
2858 | (output_imm): Likewise. | |
2859 | ||
2e64b665 DJ |
2860 | 2002-03-07 Daniel Jacobowitz <drow@mvista.com> |
2861 | ||
2862 | * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo. | |
2863 | ||
937149dd AM |
2864 | 2002-03-06 Alan Modra <amodra@bigpond.net.au> |
2865 | ||
2866 | * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte | |
2867 | relocs except when BFD64. | |
2868 | ||
2869 | * write.c (number_to_chars_bigendian): Don't abort when N is | |
2870 | larger than sizeof (VAL). | |
2871 | (number_to_chars_littleendian): Likewise. | |
2872 | ||
40d74fb1 JL |
2873 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
2874 | ||
2875 | * config/tc-hppa.c (md_apply_fix3): Add cast. | |
2876 | (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and | |
2877 | e_rrsel. | |
2878 | ||
cd3cde86 AM |
2879 | 2002-03-05 Paul Koning <pkoning@equallogic.com> |
2880 | ||
2881 | * tc-pdp11.c: Use VAX float format support for PDP-11 target. | |
2882 | (parse_ac5): New function for parsing float regs in float operand. | |
2883 | (parse_expression): Remove attempt to make literals be octal. | |
2884 | (parse_op_no_deferred): Support float literals. | |
2885 | (parse_op): Reject attempts to refer to float regs. | |
2886 | (parse_fop): New function, like parse_op but for float operand. | |
949f2b5c | 2887 | (md_assemble): Add cases to parse float operands. Also fix |
cd3cde86 AM |
2888 | IMM3, IMM6, IMM8 cases to pick up the operand from the right spot. |
2889 | ||
e9682144 L |
2890 | 2002-03-04 H.J. Lu <hjl@gnu.org> |
2891 | ||
2892 | * config/obj-elf.c (special_section): Add .init_array, | |
2893 | .fini_array and .preinit_array. | |
2894 | ||
2895 | * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove | |
2896 | .init_array and .fini_array. | |
2897 | ||
26eb4093 JJ |
2898 | 2002-03-01 Jakub Jelinek <jakub@redhat.com> |
2899 | ||
2900 | * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy | |
2901 | visibility. | |
2902 | (obj_frob_symbol): Copy visibility. | |
2903 | ||
559e22f3 JJ |
2904 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
2905 | ||
2906 | * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not | |
2907 | s_text. | |
2908 | (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data. | |
2909 | ||
ef412327 NC |
2910 | 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com> |
2911 | ||
2912 | * po/es.po: Updated. | |
2913 | ||
b25a253c CD |
2914 | 2002-02-26 Chris Demetriou <cgd@broadcom.com> |
2915 | ||
2916 | * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC | |
2917 | only, undo the changes made on 2001-06-08, with the | |
2918 | effect being that common or extern symbols are | |
2919 | adjusted for embedded-PIC, but weak symbols are not. | |
2920 | (md_estimate_size_before_relax: Likewise, with the effect | |
2921 | that extern symbols are treated the same as weak symbols | |
2922 | only if not embedded-PIC. | |
2923 | (mips_fix_adjustable) Likewise, with the effect that | |
2924 | weak or extern symbols are not adjusted for embedded-PIC. | |
2925 | (md_apply_fix3): Tweak so that the case where value is zero | |
2926 | is handled more correctly for embedded-PIC code. | |
2927 | ||
fe41178f NC |
2928 | 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com> |
2929 | ||
587fe2b3 NC |
2930 | * doc/as.texinfo (Overview): Add missing @ifset IA64 |
2931 | ||
fe41178f NC |
2932 | * configure.in (LINGUAS): Add es.po. |
2933 | * configure: Regenerate. | |
2934 | * po/es.po: New file. | |
2935 | ||
4d34fb5f TS |
2936 | 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
2937 | ||
2938 | * config/tc-mips.c (set_at): Fix handling of 64bit register loads. | |
2939 | (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC | |
2940 | and NO_PIC cases. Code cleanup. | |
2941 | (macro2): Fix handling of 64bit register loads. | |
2942 | ||
9e32ca89 NC |
2943 | 2002-02-25 David Mosberger <davidm@hpl.hp.com> |
2944 | ||
2945 | * doc/as.texinfo: Add entry for IA64. | |
2946 | * doc/c-ia64.texi: New file. | |
2947 | ||
23e1d84c AM |
2948 | 2002-02-25 Alan Modra <amodra@bigpond.net.au> |
2949 | ||
c7d004c5 AM |
2950 | * config/tc-hppa.c: Update copyright date. |
2951 | ||
2952 | * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400 | |
23e1d84c AM |
2953 | Remove references to chip manufacturers. |
2954 | * config/tc-ppc.c (md_parse_option): Handle -mpower4 option. | |
2955 | Correct comments. | |
2956 | (md_show_usage): Remove references to chip manufacturers. Mention | |
2957 | -mpower4. | |
2958 | (md_begin): Test power4 opcode flag bits. | |
2959 | ||
b1c6bf70 | 2960 | 2002-02-22 David Mosberger <davidm@hpl.hp.com> |
6290819d NC |
2961 | |
2962 | * config/tc-ia64.c (dot_restore): Issue error message of epilogue | |
2963 | count exceeds prologue count. | |
2964 | (md_show_usage): Describe -mconstant-gp and -mauto-pic. | |
2965 | (unwind.label_prologue_count): New member. | |
2966 | ||
2967 | Based on a patch by Hans Boehm <hboehm@hpl.hp.com>: | |
2968 | ||
2969 | (get_saved_prologue_count): New function. | |
2970 | (save_prologue_count): New function. | |
2971 | (free_saved_prologue_count): New function. | |
2972 | (dot_label_state): Record state label by calling save_prologue_count(). | |
2973 | (dot_copy_state): Restore prologue count by calling | |
2974 | get_saved_prologue_count(). | |
2975 | (generate_unwind_image): Free up list of saved prologue | |
2976 | counts by calling free_saved_prologue_counts(). | |
2977 | ||
f1e7a2c9 NC |
2978 | 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com> |
2979 | ||
2980 | * config/tc-tic54x.c: Add missing prototypes and remove ANSI style | |
2981 | function declarations. | |
2982 | ||
3f965e60 NC |
2983 | 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com> |
2984 | ||
2985 | * NEWS: Note that GASP is now deprecated. | |
2986 | * Makefile.am: Do not build gasp-new by default. | |
2987 | * Makefile.in: Regenerate. | |
2988 | * doc/Makefile.am: Do not install gasp.info. | |
2989 | * doc/Makefile.in: Regenerate. | |
2990 | * gas/gasp.texi: Note that gasp is now deprecated. | |
2991 | ||
9a66911f NC |
2992 | 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> |
2993 | ||
2994 | * NEWS: Mark 2.12 branch. | |
2995 | ||
f88fd9fe TT |
2996 | 2002-02-19 Tom Tromey <tromey@redhat.com> |
2997 | ||
2998 | * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. | |
2999 | ||
da0e507f TS |
3000 | 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3001 | ||
3002 | * config/tc-mips.c (md_parse_option): Complain about invalid -mabi | |
3003 | option input. | |
3004 | ||
ff0fb565 MS |
3005 | 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3006 | ||
3007 | * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64. | |
3008 | Make bit size independent of architecture switch. | |
3009 | (md_begin): Add warning for -m64 with -Aesa. | |
3010 | (s390_md_end): Use renamed architecture defines. | |
3011 | ||
a245a9aa DJ |
3012 | 2002-02-18 Daniel Jacobowitz <drow@mvista.com> |
3013 | ||
3014 | * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh. | |
3015 | ||
8bf549a8 NC |
3016 | 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com> |
3017 | ||
3018 | * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used | |
3019 | instead of CRIS. | |
3020 | ||
9151e8bf CD |
3021 | 2002-02-15 Chris Demetriou <cgd@broadcom.com> |
3022 | ||
a2c36061 | 3023 | * config/tc-mips.c (md_estimate_size_before_relax): Really |
9151e8bf CD |
3024 | make sure we treat weak like extern only for ELF. (Fixes |
3025 | patch from 2001-07-25.) | |
3026 | ||
59455fb1 BE |
3027 | 2002-02-15 Ben Elliston <bje@redhat.com> |
3028 | ||
3029 | * doc/as.texinfo: Add duplicate directory entry so that "info gas" | |
3030 | works as expected. | |
3031 | ||
49fda6c8 HPN |
3032 | 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> |
3033 | ||
3034 | * NEWS: Mention support for MMIX. | |
3035 | ||
2d2bf3e0 CD |
3036 | 2002-02-13 Chris Demetriou <cgd@broadcom.com> |
3037 | ||
3038 | * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into | |
3039 | a sequence of indpendent 'if' statements for easier debugging | |
3040 | and future modification. | |
3041 | ||
76f57f3a JT |
3042 | 2002-02-13 Matt Fredette <fredette@netbsd.org> |
3043 | ||
3044 | * config/tc-m68k.c (md_show_usage): No longer display a | |
3045 | hard-coded "68020" for the default CPU, instead display the | |
3046 | canonical name of the true, configured default CPU. | |
3047 | (m68k_elf_final_processing): Mark objects for sub-68020 | |
3048 | CPUs with the new EF_M68000 flag. | |
3049 | ||
3bf057fa AS |
3050 | 2002-02-13 Andreas Schwab <schwab@suse.de> |
3051 | ||
3052 | * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust | |
3053 | pc-relative relocations to merge sections in 64-bit mode. | |
3054 | ||
6334e312 | 3055 | 2002-02-13 Ben Elliston <bje@redhat.com> |
1ac57253 BE |
3056 | |
3057 | * NEWS: Document floating point number handling in gasp. | |
3058 | * gasp.c: Include <assert.h> and "xregex.h". | |
3059 | (is_flonum): New function. | |
3060 | (chew_flownum): Likewise. | |
3061 | (change_base): Consume flonums from the input, where possible. | |
3062 | * doc/gasp.texi (Constants): Document floating point numbers. | |
3063 | ||
3dcfe21d AM |
3064 | 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> |
3065 | ||
3066 | * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types | |
3067 | that implicitly use LR and RR selectors. | |
3068 | ||
913572ec AO |
3069 | 2002-02-12 Alexandre Oliva <aoliva@redhat.com> |
3070 | ||
3071 | * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc' | |
3072 | and `epsw' as available on AM33 and above only. | |
3073 | (other_register_name): Add logic to handle machine type encoded in | |
3074 | reg_number. | |
3075 | ||
9b90b531 TR |
3076 | 2002-02-11 Tom Rix <trix@redhat.com> |
3077 | ||
949f2b5c | 3078 | * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for |
9b90b531 TR |
3079 | xcoff64. |
3080 | ||
6c6783ff | 3081 | 2002-06-11 Alexandre Oliva <aoliva@redhat.com> |
6c1b24e4 AO |
3082 | |
3083 | * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants. | |
3084 | Use all over. | |
3085 | ||
6c6783ff | 3086 | 2002-02-11 Jan Hubicka <jh@suse.cz> |
7ecd2f8b JH |
3087 | |
3088 | * i386.c (md_assemble): Support 32bit address prefix. | |
3089 | (i386_displacement): Likewise. | |
3090 | (i386_index_check): Accept 32bit addressing in 64bit mode. | |
3091 | ||
7eb27ef2 AO |
3092 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
3093 | ||
3094 | * config/tc-sh.c (dot): Removed unused function. | |
3095 | ||
fa702524 AM |
3096 | 2002-02-11 Alan Modra <amodra@bigpond.net.au> |
3097 | ||
3098 | * Makefile.am: "make dep-am". | |
3099 | * Makefile.in: Regenerate. | |
3100 | * aclocal.m4: Regenerate. | |
3101 | * config.in: Regenerate. | |
3102 | * configure: Regenerate. | |
3103 | * doc/Makefile.in: Regenerate. | |
3104 | ||
625e1353 RH |
3105 | 2002-02-10 Richard Henderson <rth@redhat.com> |
3106 | ||
3107 | * doc/c-alpha.texi: New file. | |
3108 | * doc/Makefile.am (CPU_DOCS): Add it. | |
3109 | * doc/all.texi, doc/as.texinfo: Add hooks for Alpha. | |
3110 | ||
543833df RH |
3111 | 2002-02-09 Richard Henderson <rth@redhat.com> |
3112 | ||
3113 | * config/tc-alpha.c (O_samegp): New. | |
3114 | (USER_RELOC_P): Include it. | |
3115 | (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it. | |
3116 | (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP. | |
3117 | (alpha_force_relocation, alpha_fix_adjustable): Likewise. | |
3118 | (alpha_validate_fix): New. | |
3119 | * config/tc-alpha.h (TC_VALIDATE_FIX): New. | |
3120 | ||
328eb32e HPN |
3121 | 2002-02-09 Hans-Peter Nilsson <hp@axis.com> |
3122 | ||
3123 | * doc/c-cris.texi: New. | |
3124 | * doc/all.texi: @set CRIS. | |
3125 | * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview. | |
3126 | Include c-cris.texi. | |
3127 | * doc/Makefile.am (CPU_DOCS): Add c-cris.texi | |
3128 | * doc/Makefile.in: Regenerate. | |
3129 | ||
6373ee54 CD |
3130 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
3131 | ||
3132 | * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to | |
3133 | determine if a number is a sign-extended 32-bit number. | |
3134 | (load_register): Use IS_SEXT_32BIT_NUM. | |
3135 | (macro): Check if load/store macro handling is using a | |
3136 | constant 32-bit address on 64-bit address systems, and if | |
3137 | so optimize the generation of that address. | |
3138 | ||
50a4c611 RH |
3139 | 2002-02-08 Richard Henderson <rth@redhat.com> |
3140 | ||
3141 | * config/tc-alpha.c (alpha_force_relocation): Don't assert that | |
3142 | we've eliminated all foreign relocation types yet. | |
3143 | (alpha_fix_adjustable): Likewise. | |
3144 | ||
324bfcf3 AO |
3145 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
3146 | ||
3147 | Contribute sh64-elf. | |
3148 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> | |
3149 | Stephen Clarke <Stephen.Clarke@st.com> | |
3150 | * doc/c-sh64.texi: Fix citation of SH64 architecture manual. | |
3151 | 2002-01-31 Alexandre Oliva <aoliva@redhat.com> | |
3152 | * config/tc-sh.c (md_relax_table): Added default sizes for | |
3153 | non-PC-relative UNDEF_MOVI, and relaxation sequences for | |
3154 | MOVI_16, MOVI_32 and MOVI_48. | |
3155 | * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning. | |
3156 | (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI | |
3157 | and MOVI_16. | |
3158 | (shmedia_md_estimate_size_before_relax): Remove redundant | |
f6cf69d7 | 3159 | blocks. Set fragP->fr_var even if relaxation type unchanged. |
324bfcf3 AO |
3160 | Retain UNDEF_MOVI until expression decays to number. |
3161 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> | |
3162 | * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC | |
3163 | relocation types. Take fixP->fx_addnumber into account too. | |
3164 | (shmedia_md_apply_fix): Likewise. | |
3165 | (shmedia_md_convert_frag): Likewise. | |
3166 | (shmedia_build_Mytes): Likewise. | |
3167 | (sh64_consume_datalabel): Complain about nested datalabel. | |
3168 | Support PIC relocs. Call sh_parse_name. | |
3169 | * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition | |
3170 | in tc-sh.h to SHmedia reloc types. | |
3171 | * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF, | |
3172 | MOVI_GOTPC): New relaxation constants. | |
3173 | (md_relax_table): Introduce relaxation directives for PIC-related | |
3174 | constants. | |
3175 | (sh_PIC_related_p): Handle datalabel. | |
3176 | (sh_check_fixup): Choose SH5 PIC relocations. | |
3177 | (sh_cons_fix_new): Added BDF_RELOC_64. | |
3178 | (md_apply_fix3, sh_parse_name): Handle GOTPLT. | |
3179 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> | |
3180 | * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the | |
3181 | current ISA is SHmedia, get 7 bytes. | |
3182 | 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com> | |
3183 | * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a | |
3184 | void function. | |
3185 | * config/tc-sh64.c (shmedia_apply_fix): Rename to | |
3186 | shmedia_apply_fix3 and make void. | |
3187 | 2001-05-17 Alexandre Oliva <aoliva@redhat.com> | |
3188 | * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to | |
3189 | as_bad. | |
3190 | 2001-04-12 Alexandre Oliva <aoliva@redhat.com> | |
3191 | * config/tc-sh64.h (md_parse_name): Take &c as argument. | |
3192 | 2001-03-14 DJ Delorie <dj@redhat.com> | |
3193 | * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi | |
3194 | * doc/Makefile.in(CPU_DOCS): Ditto. | |
3195 | * doc/c-sh64.texi: New file. | |
3196 | * doc/as.texinfo: Add SH64 support. | |
3197 | 2001-03-13 DJ Delorie <dj@redhat.com> | |
3198 | * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to | |
3199 | A_REUSE_PREV so that its purpose is more obvious. | |
3200 | (shmedia_build_Mytes): Ditto. | |
3201 | 2001-03-07 DJ Delorie <dj@redhat.com> | |
3202 | * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels | |
3203 | before processing. | |
3204 | (sh64_vtable_inherit): Ditto. | |
3205 | (strip_datalabels): New, strip "datalabel" from given line. | |
3206 | * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable | |
3207 | pseudos. | |
3208 | 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
3209 | * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn | |
3210 | call ... | |
3211 | (shmedia_build_Mytes): ... to here. | |
3212 | 2001-03-06 DJ Delorie <dj@redhat.com> | |
3213 | * config/tc-sh.c: Remove sh64-specific uaquad now that there | |
3214 | is a generic one. | |
3215 | 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com> | |
3216 | * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override. | |
3217 | * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn | |
3218 | address by one in call to dwarf2_emit_insn. | |
3219 | 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com> | |
3220 | Implement ".abi" pseudo and correct .cranges descriptors. Correct | |
3221 | alignment handling broken by imported changes. | |
3222 | * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h. | |
3223 | (sh64_handle_align): Declare. | |
3224 | (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h. | |
3225 | (sh64_max_mem_for_rs_align_code): Declare. | |
3226 | (enum sh64_isa_values): Moved here from tc-sh64.c. | |
3227 | (md_do_align): Define. | |
3228 | (sh64_do_align): Declare. | |
3229 | (struct sh64_tc_frag_data): New. | |
3230 | (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users | |
3231 | changed. | |
3232 | (TC_FRAG_INIT): Change to set new datatype. | |
3233 | (struct sh64_segment_info_type): Rename member | |
3234 | last_flushed_location to last_contents_mark. All users changed. | |
3235 | (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define. | |
3236 | (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype. | |
3237 | * config/tc-sh.c (md_pseudo_table): Add ".abi". | |
3238 | (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead | |
3239 | of unsetting seen_insn. | |
3240 | (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also | |
3241 | call sh64_update_contents_mark. | |
3242 | (sh_handle_align): Remove HAVE_SH64-conditioned code. | |
3243 | * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to | |
3244 | enum sh64_isa_values. | |
3245 | (sh64_set_contents_type): Drop segT parameter. All callers changed. | |
3246 | (emitting_crange): Boolean guard moved to file scope from function | |
3247 | scope in sh64_set_contents_type. | |
3248 | (s_sh64_abi): New. | |
3249 | (sh64_update_contents_mark): New; most split out from | |
3250 | sh64_flush_pending_output. | |
3251 | (shmedia_md_end): Call sh64_update_contents_mark. Set | |
3252 | sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified. | |
3253 | (sh64_do_align): New function. | |
3254 | (sh64_max_mem_for_rs_align_code): New function. | |
3255 | (sh64_handle_align): Rename from shmedia_do_align. Make | |
3256 | non-static. Add head comment. Emit zero bytes for n bytes modulo | |
3257 | four. Change return-type to void. | |
3258 | (shmedia_elf_new_section): Remove. | |
3259 | (shmedia_md_assemble): Call sh64_update_contents_mark. | |
3260 | (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make | |
3261 | new frag. Call sh64_update_contents_mark after making the new | |
3262 | frag. | |
3263 | (sh64_flush_pending_output): Just call sh64_update_contents_mark | |
3264 | and sh_flush_pending_output. | |
3265 | (sh64_flag_output): Also call md_flush_pending_output, but add | |
3266 | condition on not emitting_crange. | |
3267 | (sh64_tc_cons_fix_new): Remove. | |
3268 | 2001-01-12 Nick Clifton <nickc@redhat.com> | |
3269 | * config/tc-sh64.c (shmedia_do_align): Fix to work with new | |
3270 | alignment handling scheme imported from sourceware. | |
3271 | 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
3272 | * config/tc-sh64.h (TARGET_FORMAT): Define. | |
3273 | (sh64_target_format): Prototype. | |
3274 | * config/tc-sh64.c (sh64_target_mach): New function. | |
3275 | 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
3276 | * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use | |
3277 | zero_address_frag instead of copying the frag of the symbol. | |
3278 | (shmedia_frob_file_before_adjust): Ditto. | |
3279 | (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask | |
3280 | to valueT to remove signedness. | |
f6cf69d7 | 3281 | (shmedia_md_convert_frag): Add parameter final. Rename parameter |
324bfcf3 AO |
3282 | headers to output_bfd. Do not evaluate symbols if final is false; |
3283 | do emit fixups. | |
3284 | (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32, | |
3285 | UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative | |
3286 | to the current frag, call shmedia_md_convert_frag to emit fixups | |
f6cf69d7 | 3287 | and make frag_wane neutralize the frag. Update comments. |
324bfcf3 AO |
3288 | * config/tc-sh.c (md_convert_frag): Change caller of |
3289 | shmedia_md_convert_frag. | |
3290 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> | |
3291 | * config/tc-sh64.h: Tweak comments and correct formatting. | |
3292 | * config/tc-sh64.c: Ditto. | |
3293 | (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit | |
3294 | expansion, MOVI pcrel expansion>: Fix thinko calculating offset | |
3295 | for the no-relocation case. | |
3296 | (shmedia_check_limits): Fix range check being off-by-one for PTA. | |
3297 | * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef | |
3298 | wrappers. | |
f6cf69d7 | 3299 | (SH64PCREL16_F): Increment for proper max-PTA handling. Update |
324bfcf3 AO |
3300 | comment. |
3301 | (SH64PCREL16_M, MOVI_16_M): Correct range thinko. | |
3302 | (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of | |
3303 | expansion. | |
3304 | (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression. | |
3305 | Correct comment. | |
3306 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
3307 | * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case | |
3308 | BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1. | |
3309 | (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et | |
3310 | al>: Set lowest bit of field to relocate to 1 and rest to empty, | |
949f2b5c | 3311 | if reloc is emitted. |
324bfcf3 AO |
3312 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> |
3313 | New options plus bugfixes. | |
3314 | * config/tc-sh.c (md_longopts): New options "-no-expand" and | |
3315 | "-expand-pt32". | |
3316 | (md_parse_option): Handle new options. | |
3317 | (md_show_usage): Add blurb for new options. | |
3318 | * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro. | |
3319 | (sh64_expand, sh64_pt32): New variables. | |
3320 | (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16. | |
3321 | (shmedia_md_apply_fix): Hold original fixP->fx_r_type in | |
f6cf69d7 | 3322 | orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into |
324bfcf3 AO |
3323 | BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative. |
3324 | <resolved previously-pc-relative relocs>: Handle | |
3325 | SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16. | |
3326 | (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16), | |
3327 | case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand | |
3328 | points to SHcompact code. | |
3329 | <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64, | |
3330 | SH64PCREL16)>: Check that ISA of what operand points at and | |
3331 | PTA/PTB matches, or emit error. | |
3332 | (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and | |
3333 | SHMEDIA_BFD_RELOC_PT. | |
3334 | (shmedia_immediate_op): If pcrel, emit fixup also for constant | |
3335 | operand. | |
3336 | (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in | |
3337 | condition for MOVI expansion. | |
3338 | <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if | |
3339 | sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not | |
3340 | sh64_expand. | |
3341 | <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT | |
3342 | fixup. | |
3343 | (sh64_target_format): Error-check setting of sh64_pt32 and | |
3344 | sh64_expand. Fix typo in check for sh64_shcompact_const_crange. | |
3345 | (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and | |
3346 | SHMEDIA_BFD_RELOC_PT as coming from SHmedia code. | |
3347 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> | |
3348 | * config/tc-sh64.c: Improve comments. | |
3349 | (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do | |
3350 | not say the linker will check correctness of PTA/PTB expansion. | |
3351 | (shmedia_md_end): Make non-static. | |
3352 | * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add | |
3353 | prototype. | |
3354 | * config/tc-sh.c (sh_finalize): Remove. | |
3355 | * config/tc-sh.h (md_end): Do not define. | |
3356 | Remove prototype for sh_finalize. | |
3357 | 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
3358 | * config/tc-sh64.c (shmedia_frob_section_type): Use a struct | |
3359 | sh64_section_data container when storing section type in tdata | |
3360 | field in elf_section_data. | |
3361 | * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to | |
3362 | EF_SH5. | |
3363 | * Makefile.am: Update dependencies. | |
3364 | * Makefile.in: Regenerate. | |
3365 | 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com> | |
3366 | * config/tc-sh64.c (shmedia_md_assemble): Don't protect | |
3367 | dwarf2_emit_insn call with test on debug_type. | |
3368 | 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> | |
3369 | * config/tc-sh64.c (sh64_set_contents_type): Make contents-type | |
3370 | CRT_SH5_ISA32 sticky for 64-bit. | |
3371 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> | |
3372 | Generate .crange sections when switching ISA mode or emitting | |
3373 | constants in same section as code. | |
3374 | * config/tc-sh64.c: Reformat structure definitions. | |
3375 | (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New | |
3376 | variables. | |
3377 | (sh64_set_contents_type): Rename from sh64_init_section. Rewrite | |
3378 | to emit a .cranges descriptor when contents type changes. Only | |
3379 | emit error if changing contents type and -no-mix is in effect. | |
3380 | (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output, | |
3381 | sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions. | |
3382 | (shmedia_md_end): Set sh64_end_of_assembly. Pass | |
3383 | sh64_flush_last_crange over sections. | |
3384 | When checking main symbol of datalabel symbol, check for | |
3385 | STO_SH5_ISA32, not ISA type of section in definition. | |
3386 | (shmedia_frob_file_before_adjust): Check main symbol for | |
3387 | STO_SH5_ISA32; don't check ISA type of section in definition. | |
3388 | (shmedia_frob_section_type): Adjust for .cranges; set section flag | |
3389 | to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether | |
3390 | .cranges entries have been output. | |
3391 | (shmedia_elf_new_section): Just call md_flush_pending_output. | |
3392 | (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE | |
3393 | fix. Do not set tc_segment_info_data.in_code for section. Call | |
3394 | sh64_set_contents_type for SHmedia code. | |
3395 | (s_sh64_mode): Do not call sh64_init_section or set seen_insn to | |
3396 | false. Call md_flush_pending_output. | |
3397 | (sh64_target_format): Check that -no-mix and | |
3398 | -shcompact-const-crange are used in sane combination with other | |
3399 | options. | |
3400 | (shmedia_md_pcrel_from_section): Check type of fix for how to | |
3401 | adjust pc-relative. | |
3402 | (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32, | |
3403 | not ISA type of section in definition. | |
3404 | * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to | |
3405 | hold contents-type state. | |
3406 | (md_flush_pending_output): Redefine to sh64_flush_pending_output. | |
3407 | (sh64_flush_pending_output): Declare. | |
3408 | (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new. | |
3409 | (sh64_tc_cons_fix_new): Declare. | |
3410 | * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and | |
3411 | call sh64_flag_output. | |
3412 | (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just | |
3413 | call sh64_set_contents_type to mark SHcompact code and set | |
3414 | seen_insn. | |
3415 | (md_longopts): New options "-no-mix" and | |
3416 | "-shcompact-const-crange". | |
3417 | (md_parse_option): Handle new options. | |
3418 | (md_show_usage): Add blurb for new options. | |
3419 | (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output. | |
3420 | 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> | |
3421 | * config/tc-sh64.c: Delete investigated and obsolete fixme:s. | |
3422 | (sh64_last_insn_frag): New. | |
3423 | (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag | |
3424 | to get frag for insn opcode for generating fixups; do not assume it | |
3425 | is the same frag. | |
3426 | (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag | |
3427 | for new insn. | |
3428 | * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges | |
3429 | section. | |
3430 | (TC_FRAG_TYPE): Define as fragS *. | |
3431 | (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag. | |
3432 | (sh64_last_insn_frag): Declare. | |
3433 | (sh64_consume_datalabel): Fix typo; check for seginfo != NULL, | |
3434 | not == NULL before dereferencing. | |
3435 | 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> | |
3436 | Get rid of BFD section flag and EF_SH64_ABI64. | |
3437 | * config/tc-sh64.c (shmedia_frob_section_type): Use | |
3438 | elf_section_data (sec)->tdata, not a specific BFD section flag, to | |
3439 | communicate the section as containing SHmedia code. Describe why. | |
3440 | * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set | |
3441 | EF_SH64 regardless of ABI. | |
3442 | * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid" | |
3443 | in error message. Handle resolved expressions for | |
3444 | BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, | |
3445 | BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64. | |
3446 | (shmedia_check_limits): Handle BFD_RELOC_64. | |
3447 | (sh64_adjust_symtab): Do not decrement the GAS symbol value for | |
3448 | a STO_SH5_ISA32 symbol, only the BFD value. | |
3449 | 2000-12-11 Ben Elliston <bje@redhat.com> | |
3450 | * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct | |
3451 | dwarf2_generate_asm_lineno. | |
3452 | 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com> | |
3453 | Handle PC-relative MOVI expansions with assembler relaxation. | |
3454 | Generate PC-relative relocs from 16-bit PC-relative expressions. | |
3455 | * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from... | |
3456 | (shmedia_md_pcrel_from_section): ...here. | |
3457 | (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has | |
3458 | turned completely resolved. Adjust relocation type for 16-bit | |
f6cf69d7 | 3459 | immediate operands that has turned PC-relative. Adjust back for |
324bfcf3 AO |
3460 | MD_PCREL_FROM_SECTION being applied twice. |
3461 | (shmedia_md_convert_frag): Always emit reloc for expression with | |
3462 | global or weak symbol. Handle relaxation result for PC-relative | |
3463 | expressions. | |
3464 | (shmedia_md_estimate_size_before_relax): An expression with a weak | |
3465 | or global symbol can not be relaxed. Break out tests for | |
3466 | relaxable symbol into variable sym_relaxable. | |
3467 | <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32, | |
3468 | UNDEF_MOVI)>: Break out any PC-relative expression and change | |
3469 | relaxation type. | |
3470 | (shmedia_build_Mytes): CSE &operands->operands[j] into variable | |
3471 | opjp. | |
3472 | <case A_IMMS16>: Fix typo for initial minor relaxation type of | |
f6cf69d7 | 3473 | MOVI expansion. If X_op_symbol of the immediate expression is |
324bfcf3 AO |
3474 | set, make an expression symbol for the argument to frag_var. |
3475 | * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New | |
3476 | relaxations. | |
3477 | (END): Adjust for new relaxations. | |
3478 | (md_relax_table): Add entries for new relaxations. | |
3479 | 2000-12-07 Ben Elliston <bje@redhat.com> | |
3480 | * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len. | |
3481 | 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> | |
3482 | * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and | |
3483 | SHORI operand offsets in PT/PTA/PTB expansions. | |
3484 | 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> | |
3485 | Implement DataLabel semantics. | |
3486 | * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call | |
3487 | shmedia_frob_file_before_adjust. | |
3488 | * config/tc-sh64.c [! OBJ_ELF]: Emit #error. | |
3489 | (DATALABEL_SUFFIX): Define. | |
3490 | (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk | |
3491 | symbol list to update "datalabel" symbols to their main symbol | |
3492 | counterparts. | |
3493 | (shmedia_frob_file_before_adjust): New. | |
3494 | (sh64_adjust_symtab): For remaining datalabel symbols, set to | |
3495 | undefined and set STT_DATALABEL. | |
3496 | (sh64_frob_label): Initialize TC symbol field. | |
f6cf69d7 | 3497 | (sh64_consume_datalabel): Actually implement semantics. New |
324bfcf3 AO |
3498 | parameter operandf, call it instead of expression. |
3499 | (sh64_exclude_symbol): New. | |
3500 | * config/tc-sh64.h (md_parse_name): Pass on the function operand | |
3501 | to sh64_consume_datalabel. | |
3502 | (tc_symbol_new_hook): Define to tc_frob_symbol. | |
3503 | (TC_SYMFIELD_TYPE): Define to symbolS *. | |
3504 | (tc_frob_symbol): Define to call sh64_exclude_symbol. | |
3505 | 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> | |
3506 | * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default | |
3507 | case. | |
3508 | (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if | |
3509 | generating dwarf2 debug information. | |
3510 | 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> | |
3511 | * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and | |
3512 | elf64-sh64 for the 64-bit ABI. | |
3513 | * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=* | |
3514 | option. | |
3515 | 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> | |
3516 | * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for | |
3517 | case-insensitivity. | |
3518 | 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> | |
3519 | * config/tc-sh64.c: Tweak comments, formatting and error messages. | |
3520 | (enum sh64_abi_values): New type. | |
3521 | (enum sh64_isa_values): New type. | |
3522 | (sh64_isa_mode): Replace shmedia_mode. All referers changed. | |
3523 | (seen_shcompact_mode, seen_shmedia_mode): Delete. | |
3524 | (sh64_abi): Replace shmedia_64. | |
3525 | (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64), | |
3526 | C (MOVI_IMM_32, MOVI_32)>: Correct register number handling. | |
3527 | (s_sh64_mode): Check validity for this target. | |
3528 | (sh64_target_format): Initialize defaults for ISA and ABI. | |
3529 | Fallback to old object format if no SH64 ISA or ABI has been | |
3530 | specified. | |
3531 | * config/tc-sh.c (md_parse_option): Check combinations for errors. | |
3532 | (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit | |
3533 | ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified. | |
3534 | * config/tc-sh64.h: Fix typo in comment. | |
3535 | 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> | |
3536 | * config/tc-sh64.c (shmedia_md_estimate_size_before_relax) | |
3537 | <PT fixups for absolute values>: Size will be longest, not | |
3538 | shortest. | |
3539 | (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct | |
3540 | all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. | |
3541 | * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0 | |
3542 | and l1 to hold lowercase of two first characters. Change all | |
3543 | remaining TO_LOWER to tolower. | |
3544 | * config/tc-sh64.c (TO_LOWER): Delete. | |
3545 | (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER. | |
3546 | (md_parse_name): Define. | |
3547 | (sh64_consume_datalabel): Declare. | |
3548 | (DOLLAR_DOT): Define. | |
3549 | * config/tc-sh64.c (shmedia_parse_exp): New. | |
3550 | (sh64_consume_datalabel): New; just ignoring datalabel semantics. | |
3551 | (shmedia_parse_reg): Remove const from src | |
3552 | parameter. | |
3553 | (shmedia_get_operands): Ditto for args parameter and ptr variable. | |
3554 | (shmedia_md_assemble): Ditto for op_end variable. | |
3555 | (shmedia_get_operand): Ditto for ptr parameter and src variable. | |
3556 | Use shmedia_parse_exp, not parse_exp. | |
3557 | * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type | |
3558 | parameter. All callers changed. | |
3559 | (shmedia_get_operand): Add shmedia_arg_type parameter. All | |
3560 | callers changed. | |
3561 | (shmedia_parse_reg): Put first two character in local variables. | |
3562 | Use tolower, not TO_LOWER. If no register is found and argtype | |
3563 | indicates a control register, scan shmedia_creg_table | |
3564 | case-insensitive. | |
3565 | 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> | |
3566 | * Makefile.am (CPU_TYPES): Add sh64. | |
3567 | (TARGET_CPU_CFILES): Add config/tc-sh64.c. | |
3568 | (TARGET_CPU_HFILES): Add config/tc-sh64.h. | |
3569 | Regenerate dependencies. | |
3570 | * Makefile.in: Regenerate. | |
3571 | * configure.in: Add support for sh64-*-elf*. | |
3572 | * configure: Regenerate. | |
3573 | * config/tc-sh64.h: New. | |
3574 | * config/tc-sh64.c: New. | |
3575 | * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos | |
3576 | .mode, .isa and .uaquad. | |
3577 | [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32, | |
3578 | SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define. | |
3579 | [HAVE_SH64] (END): Define as 10. | |
3580 | [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32, | |
3581 | SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48, | |
3582 | MOVI_64): Define. | |
3583 | [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH, | |
3584 | SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F, | |
3585 | SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH, | |
3586 | MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH): | |
3587 | Define. | |
3588 | (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia. | |
3589 | (md_begin) [HAVE_SH64]: Call shmedia_md_begin. | |
3590 | (parse_reg) [HAVE_SH64]: Parse register names case-insensitive. | |
3591 | (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling | |
3592 | SHmedia instructions. Handle state-change after switching to | |
3593 | SHcompact. | |
3594 | (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*. | |
3595 | (md_parse_option) [HAVE_SH64]: Parse new options. | |
3596 | (md_show_usage) [HAVE_SH64]: Show usage of new options. | |
3597 | (md_convert_frag) [HAVE_SH64] <default>: Call | |
3598 | shmedia_md_convert_frag instead of abort. | |
3599 | (sh_force_relocation) [HAVE_SH64]: Also force relocation for | |
3600 | BFD_RELOC_SH_SHMEDIA_CODE. | |
3601 | (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying | |
3602 | SHcompact or SHmedia code. | |
3603 | (md_apply_fix) [HAVE_SH64] <default>: Return result from calling | |
3604 | shmedia_md_apply_fix instead of abort. | |
3605 | (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return | |
3606 | result from calling shmedia_md_estimate_size_before_relax instead | |
3607 | of calling abort. | |
3608 | (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align | |
3609 | do the work. | |
3610 | (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call | |
3611 | shmedia_init_reloc and do nothing more if it returns non-zero. | |
3612 | (sh_finalize) [HAVE_SH64]: Call shmedia_md_end. | |
3613 | * po/POTFILES.in: Regenerate. | |
3614 | * po/gas.pot: Regenerate. | |
3615 | ||
ac3f04d7 AO |
3616 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
3617 | ||
6b32719e AO |
3618 | * config/tc-sh.c (parse_at): Install the correct version of |
3619 | 2002-02-04's patch. | |
949f2b5c | 3620 | |
ac3f04d7 AO |
3621 | * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't |
3622 | assume fixP->fx_subsy is non-NULL. | |
3623 | ||
7679ead9 AO |
3624 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> |
3625 | ||
3626 | * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to | |
fdf4122d | 3627 | A_DISP_PC_ABS, and adjust it by -4. |
7679ead9 AO |
3628 | (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is |
3629 | expected. | |
3630 | (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if | |
3631 | the operand type is not A_DISP_PC_ABS. | |
3632 | ||
5459d7a0 HPN |
3633 | 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
3634 | ||
3635 | * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of | |
3636 | common and weak symbols. Handle common and weak symbols as | |
3637 | undefined symbols with regards to GREG handling and merging. | |
3638 | (mmix_frob_file): Ditto. | |
3639 | ||
006336b8 JT |
3640 | 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
3641 | ||
3642 | * configure.in (hppa-*-netbsd*): New target. | |
3643 | * configure: Regenerate. | |
3644 | * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. | |
3645 | ||
9e0665bc AM |
3646 | 2002-02-02 Alan Modra <amodra@bigpond.net.au> |
3647 | ||
3648 | * config/tc-v850.c: Add missing prototypes amd use old-style | |
3649 | function definitions. | |
3650 | (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. | |
3651 | (sdata_section tdata_section, zdata_section, sbss_section, | |
3652 | tbss_section, zbss_section, rosdata_section, rozdata_section, | |
3653 | scommon_section, tcommon_section, zcommon_section, | |
3654 | call_table_data_section, call_table_text_section): Delete. | |
3655 | (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, | |
3656 | v850_zbss, v850_bss, v850_rosdata, v850_rozdata, | |
3657 | v850_call_table_data, v850_call_table_text): Delete. | |
3658 | (struct v850_seg_entry): New. | |
3659 | (v850_seg_table): New. | |
3660 | (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, | |
3661 | TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, | |
3662 | ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, | |
3663 | CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. | |
3664 | (do_v850_seg): New. | |
3665 | (v850_seg): New. | |
3666 | (v850_comm): Use do_v850_seg and v850_seg_table. Simplify | |
3667 | recording of alignment. | |
3668 | (md_pseudo_table): Use v850_seg. | |
3669 | (md_begin): Don't init .call_table_data and .call_table_text here. | |
3670 | Set v850_seg_table bss entry. | |
3671 | ||
973eb340 HPN |
3672 | 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
3673 | ||
3674 | Support on-demand global register allocation by passing on | |
3675 | base-plus-offset relocs to the linker. | |
3676 | * config/tc-mmix.c: Tweak and fix typos in comments. | |
949f2b5c | 3677 | (allocate_undefined_gregs_in_linker): New variable. |
973eb340 HPN |
3678 | (OPTION_LINKER_ALLOCATED_GREGS): New option macro. |
3679 | (md_longopts): Add --linker-allocated-gregs. | |
3680 | (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs. | |
3681 | <case OPTION_LINKER_ALLOCATED_GREGS>: New. | |
3682 | (md_show_usage): Update text for -x. Add text for | |
3683 | --linker-allocated-gregs. | |
3684 | (tc_gen_reloc): Derive default value for addend from val and | |
3685 | baddsy. Use addsec and bfd_is_abs_section in more places. Don't | |
3686 | emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable | |
3687 | GREG if allocate_undefined_gregs_in_linker. | |
3688 | * doc/as.texinfo (Overview) <Target MMIX options>: Add | |
3689 | --linker-allocated-gregs. | |
3690 | * doc/c-mmix.texi (MMIX-Opts): Add blurb about | |
3691 | --linker-allocated-gregs. Mention that it's implied by -x. | |
3692 | (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted. | |
3693 | (MMIX-mmixal): Clarify dated comparison and location of MMIXware. | |
3694 | ||
3695 | * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper. | |
3696 | ||
ba323545 AM |
3697 | 2002-02-01 Alan Modra <amodra@bigpond.net.au> |
3698 | ||
3699 | * Makefile.am: Run "make dep-am" | |
3700 | * Makefile.in: Regenerate. | |
3701 | ||
3b16e843 NC |
3702 | 2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
3703 | ||
3704 | * config/tc-or32.c: New file. | |
3705 | * config/tc-or32.h: New file. | |
3706 | * configure.in: Add support for or32 targets. | |
3707 | * configure: Regenerate. | |
3708 | * config/obj-coff.c: Add support for or32 targets. | |
3709 | * config/obj-coff.h: Add support for or32 targets. | |
3710 | * Makefile.am: Add support for or32 targets. | |
3711 | * Makefile.in: Regenerate. | |
3712 | * NEWS: Mention support for OpenRISC. | |
3713 | * doc/Makefile.in: Regenerate. | |
3714 | * po/POTFILES.in: Regenerate. | |
3715 | * po/gas.pot: Regenerate. | |
3716 | ||
912a07db RS |
3717 | 2002-01-30 Richard Sandiford <rsandifo@redhat.com> |
3718 | ||
3719 | * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy | |
3720 | and mod. | |
3721 | ||
4514d474 CD |
3722 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
3723 | ||
3724 | * config/tc-mips.c (tc_gen_reloc): Arrange for | |
3725 | BFD_RELOC_PCREL_HI16_S relocations to be output relative to | |
3726 | their LO16 parts, even for ELF. | |
3727 | ||
246fcdee DJ |
3728 | 2002-01-29 Daniel Jacobowitz <drow@mvista.com> |
3729 | ||
3730 | * config/tc-i386.c: Protect definitions of true and false | |
3731 | from redefinition. | |
3732 | ||
00e6e13d JJ |
3733 | 2002-01-28 Jakub Jelinek <jakub@redhat.com> |
3734 | ||
3735 | * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols | |
3736 | made because of .weak, if they are neither defined nor used in any | |
3737 | way. | |
3738 | ||
4867be41 DJ |
3739 | 2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
3740 | ||
3741 | * configure: Regenerated. | |
3742 | ||
7562a296 HPN |
3743 | 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
3744 | ||
3745 | * doc/Makefile.am (install): Depend on install-info. | |
3746 | * doc/Makefile.in: Regenerate. | |
3747 | ||
1caa7b23 NC |
3748 | 2002-01-26 Nick Clifton <nick@redhat.com> |
3749 | ||
3750 | * po/fr.po: Updated version | |
3751 | ||
166e23f9 KH |
3752 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
3753 | ||
3754 | * config/tc-h8300.c (check_operand): Don't print a warning | |
3755 | when a valid 24-bit address is given to a 16-bit address | |
3756 | operand. | |
3757 | ||
538cd60f AO |
3758 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
3759 | ||
3760 | * config/tc-sh.c (sh_elf_suffix): Removed. | |
3761 | (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new, | |
3762 | sh_end_of_match, sh_parse_name): New functions. | |
3763 | (sh_elf_cons): Simplify. | |
3764 | (parse_exp): Reject misplaced PIC operands. | |
3765 | (md_undefined_symbol): Simplify. | |
3766 | (sh_fix_adjustable): Let @GOTOFF be adjusted. | |
3767 | (md_apply_fix3): Write @PLT and @GOTOFF addends in place. | |
3768 | (tc_gen_reloc): Move fixp subsy absolute value into addnumber. | |
3769 | Complain if subsy remains at the end. | |
3770 | * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare. | |
3771 | (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define. | |
3772 | ||
b386f24b AO |
3773 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
3774 | ||
3775 | * config/tc-mn10300.c (xr_registers): Move `pc'... | |
3776 | (other_registers): ... here. | |
3777 | ||
c46f0c34 AM |
3778 | 2002-01-22 Alan Modra <amodra@bigpond.net.au> |
3779 | ||
3780 | * Makefile.am: Run "make dep-am". | |
3781 | * Makefile.in: Regenerate. | |
3782 | * gas/po/POTFILES.in: Regenerate. | |
3783 | ||
23deb923 DD |
3784 | 2002-01-21 DJ Delorie <dj@redhat.com> |
3785 | ||
3786 | * config/obj-coff.c (obj_coff_init_stab_section): Make the | |
3787 | stabstr_name allocation permanent, as it will be referenced from | |
3788 | the section hash. | |
3789 | ||
9596feea JT |
3790 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
3791 | ||
3792 | * configure.in (ia64-*-netbsd*): New target. | |
949f2b5c | 3793 | * configure: Regenerate. |
9596feea | 3794 | |
92081f48 HPN |
3795 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
3796 | ||
3797 | * doc/as.texinfo (Overview) <Target ARM options>: Add missing {} | |
3798 | to @dots call. | |
3799 | <Detailed description, ARM options>: Ditto. | |
3800 | * doc/c-arm.texi (ARM Options): Ditto. | |
3801 | ||
63e63b07 RE |
3802 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
3803 | ||
3804 | * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from | |
3805 | do_mia, do_mar and do_mra respectively. | |
3806 | (do_mav_*): Renamed from do_c_*. | |
3807 | (mav_reg_required_here, mav_parse_offset): Renamed from | |
3808 | cirrus_reg_required_here and cirrus_parse_offset respectively. | |
3809 | (MAV_MODE?): Renamed from CIRRUS_MODE?. | |
3810 | ||
ea6ef066 RE |
3811 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
3812 | Keith Walker <keith.walker@arm.com> | |
3813 | ||
3814 | * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define. | |
3815 | (insns): Add pattern for bxj instruction. | |
3816 | (do_bxj): New function. | |
3817 | (arm_cpus): Add arm926ej. | |
3818 | (arm_archs): Add armv5tej. | |
3819 | ||
bc89618b RE |
3820 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
3821 | ||
3822 | * doc/c-arm.texi: Add new fpe options to list of supported flags. | |
3823 | ||
d193a22a RE |
3824 | 2002-01-19 Keith Walker <keith.walker@arm.com> |
3825 | ||
3826 | * tc-arm.c (arm_fpus): Add fpe2 and fpe3. | |
3827 | ||
03b1477f RE |
3828 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
3829 | ||
3830 | * NEWS: Mention new ARM command-line options and VFP support. | |
3831 | ||
949f2b5c | 3832 | * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All |
03b1477f RE |
3833 | uses changed. |
3834 | (ARM_CEXT_MAVERICK): Similarly. | |
3835 | (ARM_ANY): Now means any core instruction. | |
3836 | (CPU_DEFAULT): Default to ARM_ANY. | |
3837 | (uses_apcs_26, atcps, support_interwork, uses_apcs_float) | |
3838 | (pic_code): Declare for all object types. Make type int. | |
3839 | (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt) | |
3840 | (march_fpu_opt, mfpu_opt): Declare. | |
3841 | (md_longopts): Tidy up conditional definitions. | |
3842 | (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions) | |
3843 | (arm_long_opts): New tables. | |
3844 | (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions. | |
3845 | (arm_parse_extension): New function. | |
3846 | (md_parse_option): Rewrite using new table-driven system. | |
3847 | (md_show_usage): Use new table-driven system. | |
3848 | (md_begin): Calculate cpu_variant from command line option data. | |
3849 | * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific | |
3850 | command-line options. | |
3851 | * doc/c-arm.texi: Likewise. | |
3852 | ||
2a538ba5 AJ |
3853 | 2002-01-18 Andreas Jaeger <aj@suse.de> |
3854 | ||
3855 | * as.c (parse_args): Update year. | |
3856 | ||
b1ffc257 | 3857 | 2002-01-17 Timothy Wall <twall@alum.mit.edu> |
2a538ba5 | 3858 | |
b1ffc257 TW |
3859 | * config/tc-tic54x.c (encode_address): Add a more informative |
3860 | warning about incorrect syntax. | |
3861 | ||
328577ad NC |
3862 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
3863 | ||
3864 | * po/gas.pot: Regenerate. | |
3865 | ||
06f030db NC |
3866 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
3867 | ||
3868 | * macro.c (get_any_string): Add no-c-format comment to prevent | |
3869 | confusion when translating string. | |
3870 | * gasp.c (get_any_string): Add no-c-format comment to prevent | |
3871 | confusion when translating string. | |
3872 | ||
394f9b3a TS |
3873 | 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
3874 | Johannes Stezenbach <js@convergence.de> | |
3875 | * config/tc-mips.c (percent_op): Ensure longer percent_op's are | |
3876 | matched before the shorter ones. | |
3877 | (my_getSmallParser): Fix handling of nested parentheses in | |
3878 | percent_op's. Code cleanup. | |
3879 | (my_getPercentOp): New function, code from my_getSmallParser. | |
3880 | (my_getSmallExpression): Fix handling of closing parentheses. | |
3881 | Code cleanup. Better comments. | |
3882 | ||
af3ae48d NC |
3883 | 2002-01-16 Nick Clifton <nickc@redhat.com> |
3884 | ||
3885 | po/tr.po: New file: Turkish translation. | |
3886 | configure.in (LINGUAS): Add "tr". | |
3887 | configure: Regenerate. | |
3888 | ||
bfae80f2 RE |
3889 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
3890 | ||
3891 | Support for VFP instructions | |
3892 | * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines. | |
3893 | (cp_address_required_here): New argument wb_ok. When false, do not | |
3894 | accept write-back forms of addressing. Change all callers. | |
3895 | (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1) | |
3896 | (FPU_VFP_EXT_V2): Define. | |
3897 | (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2): | |
3898 | Define in terms of above. | |
3899 | (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums. | |
3900 | (vfp_reg): New struct. | |
3901 | (vfp_regs): New array of registers. | |
3902 | (insns): Add VFP instructions. | |
3903 | (sn_table): New array of VFP single-precision register names. | |
3904 | (dn_table): New array of VFP double-precision register names. | |
3905 | (all_reg_maps): Add the new register tables. | |
3906 | (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX. | |
3907 | (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic) | |
3908 | (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic) | |
3909 | (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg) | |
3910 | (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg) | |
3911 | (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here) | |
3912 | (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst) | |
3913 | (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm) | |
3914 | (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia) | |
3915 | (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb) | |
3916 | (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt) | |
3917 | (do_vfp_sp_dp_cvt): New functions. | |
3918 | (md_begin): Set soft-float flag for appropriate VFP work. | |
3919 | (md_atof): Handle VFP-format doubles. | |
3920 | (md_parse_option): Handle VFP command-line options. | |
3921 | (md_show_usage): Display VFP command-line options. | |
3922 | ||
fcd6d8d6 RE |
3923 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
3924 | ||
2a538ba5 | 3925 | * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for |
fcd6d8d6 RE |
3926 | various command line options. |
3927 | ||
1f7fd478 NC |
3928 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
3929 | ||
3930 | * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix | |
3931 | vtinherit relocs. | |
3932 | (xstormy16_md_apply_fix3): Do not return a value. | |
3933 | ||
21f0f23a RE |
3934 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
3935 | ||
3936 | * tc-arm.c (md_longopts): On targets that aren't bi-endian, support | |
3937 | the -EL/-EB option that matches the target's endianness. | |
3938 | (md_parse_option): Likewise. | |
3939 | ||
ce058b6c RE |
3940 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
3941 | ||
2a538ba5 | 3942 | * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option |
ce058b6c RE |
3943 | is not dependent on ARM_BI_ENDIAN. |
3944 | ||
f03698e6 RE |
3945 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
3946 | ||
3947 | * tc-arm.c (all error messages): Normalize capitalization of messages. | |
3948 | ||
3949 | * tc-arm.h (md_operand): Delete define. | |
3950 | * tc-arm.c (in_my_get_expression): New static variable. | |
3951 | (my_get_expression): Set and clear it. | |
3952 | (md_operand): New function. If called from my_get_expression | |
3953 | put the error in inst.error. | |
3954 | (output_inst): Now takes argument of instruction being assembled. | |
3955 | Print it out with any error message. | |
3956 | (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store | |
3957 | with '=' syntax. | |
3958 | (end_of_line): Don't update inst.error if it is already set. | |
3959 | ||
e28cd48c RE |
3960 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
3961 | ||
6088b00e | 3962 | * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo |
e28cd48c RE |
3963 | op that can be translated into a mvn instruction. |
3964 | ||
1cd8ff38 NC |
3965 | 2002-01-11 Steve Ellcey <sje@cup.hp.com> |
3966 | ||
3967 | * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for | |
3968 | setting default md.flags. | |
3969 | (SHT_INIT_ARRAY): New elf special section used by HP-UX. | |
3970 | (SHT_FINI_ARRAY): New elf special section used by HP-UX. | |
3971 | * gas/config/tc-ia64.c (setup_unwind_header): Add support | |
3972 | for 32 bit unwind info blocks. | |
3973 | (generate_unwind_image): Add support for different types | |
3974 | of unwind images (32 bits and/or big-endian). | |
3975 | (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags. | |
3976 | (ia64_target_format): Add support for hpux target formats. | |
3977 | (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC. | |
3978 | (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and | |
3979 | SHT_FINI_ARRAY elf section types. | |
3980 | ||
6c43fab6 RE |
3981 | 2002-01-10 Richard Earnshaw <rearnsha@arm.com> |
3982 | ||
3983 | * tc-arm.c (struct reg_entry): Move before prototypes. | |
3984 | (int_register, cp_register, fp_register): Delete. | |
3985 | (reg_table): Delete. Replaced with ... | |
3986 | (rn_table, cp_table, cn_table, fn_table, mav_mvf_table) | |
3987 | (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table) | |
3988 | (mav_dspsc_table): ... one table per register set. | |
3989 | (arm_reg_hsh): Delete. | |
3990 | (struct reg_map): New structure. | |
3991 | (all_reg_maps): New array. | |
3992 | (enum arm_reg_type): New enums. | |
3993 | (build_reg_hsh): New function. | |
3994 | (insert_reg_alias): Use hash table passed by caller. Adjust all | |
3995 | callers. | |
3996 | (create_register_alias): New function, split out from ... | |
3997 | (md_assemble): ... here. | |
3998 | (md_begin): Build new register hash tables. | |
3999 | (arm_reg_parse): New argument for the hash table to search. Adjust all | |
4000 | callers. | |
4001 | (arm_reg_parse_any): New function. | |
4002 | (co_proc_number): Look up the processor number in the processor hash | |
4003 | table. | |
4004 | (cirrus_regtype): Delete. | |
4005 | (cirrus_register, cirrus_mvf_register, cirrus_mvd_register) | |
4006 | (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register) | |
4007 | (ARM_EXT_MAVERICKsc_register): Delete. | |
4008 | (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete. | |
4009 | (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New | |
4010 | functions. | |
4011 | (do_c_triple_4, do_c_triple_5): Delete. | |
4012 | (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions. | |
4013 | (do_c_quad_6): Delete. | |
4014 | (do_c_quad_6[ab]): New functions. | |
4015 | (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework | |
4016 | arguments to use new register parsing methods. | |
4017 | (cirrus_reg_required_here): Likewise. | |
4018 | (insns): Reclassify cirrus maverick worker functions. | |
4019 | (cirrus_valid_reg): Delete. | |
4020 | ||
8d05742f JT |
4021 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
4022 | ||
4023 | * configure.in (sh*le): Set cpu_type=sh and endian=little. | |
4024 | (sh*-*-netbsdelf*): New target. | |
4025 | * configure: Regenerate. | |
2a538ba5 | 4026 | * tc-sh.h: Update copyright years. |
8d05742f JT |
4027 | (TARGET_FORMAT): Add version for TE_NetBSD. |
4028 | ||
ceac3f62 NC |
4029 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
4030 | ||
4031 | * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go | |
4032 | negative. | |
4033 | ||
d7861ad2 AM |
4034 | 2002-01-06 Alan Modra <amodra@bigpond.net.au> |
4035 | ||
4036 | * config/tc-m68k.h (md_prepare_relax_scan): Rewrite. | |
4037 | * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment. | |
4038 | ||
7a621144 DJ |
4039 | 2002-01-05 Daniel Jacobowitz <drow@mvista.com> |
4040 | ||
4041 | * tc-mips.c (mips_cprestore_valid): New flag. | |
4042 | (mips_frame_reg_valid): New flag. | |
4043 | (macro) [M_JAL_2]: Check both flags. | |
4044 | [M_JAL_A]: Likewise. | |
4045 | (s_cprestore): Set mips_cprestore_valid. | |
4046 | (tc_get_register): If setting mips_frame_reg, set | |
4047 | mips_frame_reg_valid and clear mips_cprestore_valid. | |
4048 | (s_mips_ent): Clear both flags. | |
4049 | (s_mips_end): Clear both flags. | |
4050 | ||
7c6beb69 AM |
4051 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
4052 | ||
4053 | * write.c (write_object_file): Make use of bfd_section_list_remove. | |
4054 | * config/obj-ecoff.c (ecoff_frob_file): Likewise. | |
4055 | * config/tc-mmix.c (mmix_frob_file): Likewise. | |
4056 | ||
8a8b2d4b AJ |
4057 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
4058 | ||
4059 | * configure.in (i386-*-netbsdelf*): Collapse target into... | |
4060 | (i386-*-netbsd*): ...this. Add support for x86-64. | |
4061 | * configure: Regenerated. | |
4062 | ||
a09cf9bd MG |
4063 | 2002-01-03 matthew green <mrg@redhat.com> |
4064 | ||
4065 | * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific. | |
4066 | ||
23b7f870 NC |
4067 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
4068 | ||
4069 | * config/tc-m68k.c (md_estimate_size_before_relax): Test for a | |
4070 | NULL frag link. | |
4071 | ||
08d56133 NC |
4072 | For older changes see ChangeLog-0001 |
4073 | \f | |
4074 | Local Variables: | |
4075 | mode: change-log | |
4076 | left-margin: 8 | |
4077 | fill-column: 74 | |
4078 | version-control: never | |
4079 | End: |