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