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