]> Git Repo - binutils.git/blame - gas/ChangeLog
*** empty log message ***
[binutils.git] / gas / ChangeLog
CommitLineData
dead1419
JR
1Thu Mar 16 21:18:13 2000 J"orn Rennecke <[email protected]>
2
3 * config/tc-sh.c (IDENT_CHAR): Define.
4 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
5 matching back where it came from.
6
182e89d3
JR
7Thu Mar 16 20:58:10 2000 J"orn Rennecke <[email protected]>
8
9 * config/tc-sh.c (md_show_usage): Add description of -dsp.
10
84f73d89
NC
112000-03-15 Jonathan Larmour <[email protected]>
12
13 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
14 normal operands.
15
dbbc7809
JL
162000-03-15 Kazu Hirata <[email protected]>
17
18 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
19
271bb601
HPN
20Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <[email protected]>
21
22 * expr.c (operand) [case 'f']: When testing if '0f' can start a
23 floating-point-number, make sure 'f' is in FLT_CHARS.
24
8684e216
HPN
25Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <[email protected]>
26
27 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
28 (s_lcomm_internal): Use it.
29 * doc/internals.texi (CPU backend): Document it.
30 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
31 bytes.
32
bb2d6cd7
GK
332000-03-10 Geoffrey Keating <[email protected]>
34
35 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
36 when embedded-pic.
37
38 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
39 implementation doesn't have special handling for switch
40 statements.
41 (macro_build): Allow for code in sections other than .text.
42 (macro): Likewise.
43 (mips_ip): Likewise.
44 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
45 Don't perform relocs if we will be outputting them.
46 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
47 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
48 embedded-pic.
49
5c86cbc7
CM
502000-03-09 Catherine Moore <[email protected]>
51
52 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
53 relocation type based on the entry in the fixup structure.
54
f8c827e9
L
552000-03-08 H.J. Lu ([email protected])
56
57 * Makefile.am (install-exec-tooldir): Depend on
58 install-exec-bindir for parallel make.
59 * Makefile.in: Regenerated.
60
8ad9e709
NC
612000-03-06 Nick Clifton <[email protected]>
62
63 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
64 switch.
65 (md_parse_option): Parse -m32r command line switch - disable m32rx
66 compatability.
ded0aeb7
NC
67 (md_show_usage): Document new option.
68
69 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
70 * doc/Makefile.in: Regenerate.
71 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
8ad9e709 72
b7b8f327
MM
732000-03-02 Michael Meissner <[email protected]>
74
75 * config/tc-d30v.c (check_range): Remove code that incorrectly
76 sign extended values where bits < 32.
77
15886821
L
782000-03-02 H.J. Lu ([email protected])
79
80 * configure.in: Support --enable-targets=all on ia32.
81 * configure: Regenerated.
82
8bf950bf
NC
832000-03-01 Nick Clifton <[email protected]>
84
85 * gasp.c (do_align): Remove bogus check of alignment value.
86
c5e54cc2
ILT
872000-02-27 Thomas de Lellis <[email protected]>
88
89 * config/obj-elf.c (elf_frob_symbol): Remove code which when
90 TC_PPC was defined forced the type of a symbol with no other type
91 to be BSF_OBJECT.
92
65fd87bc
ILT
932000-02-27 Hans-Peter Nilsson <[email protected]>
94
95 * doc/internals.texi (CPU backend): Mention that
96 line_separator_chars do not break up comments. Fix typos for
97 LEX_AT and LEX_NAME descriptions. Document operands for
98 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
99 description of md_create_short_jump usage. Document argument for
100 md_undefined_symbol.
101
a25fe906
ILT
1022000-02-27 Jakub Jelinek <[email protected]>
103
104 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
105 (md_parse_option): Handle it.
106 (md_show_usage): Document it.
107
21b10511
ILT
1082000-02-27 Ian Lance Taylor <[email protected]>
109
110 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
111 opcode, for the instruction `pal19'. From Andrea Arcangeli
112 <[email protected]>.
113
773f551c
AM
1142000-02-26 Alan Modra <[email protected]>
115
116 * config/tc-i386.c (i386_immediate): Move constant operand sizing
117 from here..
118 (md_assemble): To here, before template operands are matched.
119 Also ensure a constant immediate is sign extended when we know the
120 size is at most 16 bits. This is to catch cases like "add
121 $0xffc0,%ax" where we don't know the size, and thus that the
122 immediate can be represented as Imm8S until after parsing the
123 register operand.
124 (i386_displacement): Similarly sign extend 16 bit constant
125 displacements.
126 (md_assemble): Relax 16-bit jump constant range check to suit sign
127 extended displacements.
128
28d33191
JL
1292000-02-26 Andreas Jaeger <[email protected]>
130
131 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
132
cc5ca5ce
AM
1332000-02-25 Alan Modra <[email protected]>
134
135 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
136 call operands when intel_syntax.
137 (intel_float_operand): Return 2 for "fi...".
138 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
139 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
140 earlier "SHORT" change.
141 (md_assemble): When determining suffix from Regs, exclude
142 InOutPortReg.
143
056350c6
NC
1442000-02-24 Nick Clifton <[email protected]>
145
146 * configure: Add arm-wince, mips-pe and sh-pe targets.
147 * configure: Regenerate.
148
149 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
150 sh-pe targets.
151 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
152 "pe-mips" for the mips-pe target.
153
154 * config/tc-arm.c (insns): Change displacement encoded in BL
155 and B instructions if the target port is arm-wince.
156 (do_ldst): Do not bias the relocation offset if the target
157 port is arm-wince.
158 (md_pcrel_from): Add in missing relocation offset bias if the
159 target os arm-wince.
160
161 * config/tc-mips.c (mips_target_format): Support COFF flavour.
162 (md_begin): Disable -G support for mips-pe target.
163 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
164 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
165 COFF flavour.
166
167 * config/tc-sh.c (md_begin): sh-pe target is little endian.
168 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
169 assembler, just set the alignment to 4.
170
171 * config/te-wince-pe.h: New file for WinCE targets. Define
172 TE_WINCE.
173
36bf8ab9
AM
1742000-02-25 Alan Modra <[email protected]>
175
176 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
177 string instructions.
178 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
179 (i386_intel_memory_operand): After finding a segment override,
180 check again for no `[' before looking for a displacement. Bomb if
181 more than one displacement rather than silently discarding the
182 second and subsequent ones. Free strings malloc'd by
183 build_displacement_string.
184
f5795b08
CM
1852000-02-24 Catherine Moore <[email protected]>
186
187 * config/obj-som.c (obj_pseudo_table): Add "weak".
188 (obj_som_weak): New routine.
189
abd63a32
AM
1902000-02-24 Alan Modra <[email protected]>
191
520dc8e8
AM
192 * config/tc-i386.c (union i386_op): New.
193 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
194 Throughout file replace occurences of disps[n], imms[n], regs[n]
195 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
196 intel mode operand swapping. Add assert in regKludge and
197 fake_zero_displacement code. Test i.types[n] when outputting
198 displacements and immediates. Combine output of Disp16 with
199 Disp32.
7f3f1ea2
AM
200 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
201 when in intel mode by (not) reversing fsub and fdiv operands
202 before the template search. This fails for single operand
203 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
204 undefined. Instead fix the base_opcode after we've found the
205 template. Move base_opcode xor with found_reverse_match from
206 opcode output code to before this fix so we test for the correct
207 opcodes.
208 (md_assemble): Don't use strcmp when deciding to ignore the suffix
209 check in intel mode. Instead compare opcodes.
520dc8e8
AM
210
211 * config/tc-i386.h (TC_RELOC): Delete.
212 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
213 with equivalent call to reloc.
214
abd63a32
AM
215 * as.h (flag_m68k_mri): Move declaration after target include, and
216 only declare when TC_M68K defined. Define as zero otherwise.
217 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
218 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
219 Define as zero otherwise.
220 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
221 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
222 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
223 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
224 testing whether defined.
225 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
226 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
227 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
228 rather than testing whether defined.
229 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
230 (parse_mri_cons): Declare and use only when TC_M68K.
231 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
232 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
233 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
234
235 * NEWS: Mention IBM 370 support.
236
7e052742
RH
2372000-02-23 Richard Henderson <[email protected]>
238
239 * config/tc-i386.c (md_assemble): When swapping operands for
240 intel_syntax, assume everything that's not Imm or Disp is a
241 register.
242
5b93d8bb
AM
2432000-02-23 Linas Vepstas <[email protected]>
244
245 * config/tc-i370.c, config/tc-i370.h: New files.
246 * Makefile.am: Add support for Linux/IBM 370.
247 * configure.in: Likewise.
248 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
249 * config/obj-elf.c: Include elf/i370.h
250 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
251
252 * Makefile.in: Regenerate.
253 * configure: Regenerate.
254
255 * doc/c-i370.texi: New file.
256 * doc/all.texi: Include it.
257 * doc/as.texinfo: And here.
258 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
259 * doc/Makefile.in: Regenerate.
260
25f2196d
CC
2612000-02-19 Michael Meissner <[email protected]>
262
263 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
264 determine if an instruction can be used in parallel with an ADDppp
265 or SUBppp instruction.
266
6349b5f4
AH
2672000-02-22 Andrew Haley <[email protected]>
268
269 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
270
c97ef257
AH
2711999-12-30 Andrew Haley <[email protected]>
272
273 * config/tc-mips.c (mips_gp32): New variable.
274 (macro_build) Use mips_gp32.
275 (mips_ip): Ditto.
276 (md_longopts): Add "-mgp32" and "-mgp64".
277 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
278
b985eaa8
ILT
2792000-02-22 Alexandre Oliva <[email protected]>
280
281 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
282 warning, and bump it to 1.
283
52454417
ILT
2842000-02-22 Ian Lance Taylor <[email protected]>
285
286 From Brad Lucier <[email protected]>:
287 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
288 match format.
289
6b76fefe
CM
2902000-02-21 Catherine Moore <[email protected]>
291
292 * config/tc-mips.c (MF_HILO_INSN): Define.
293 (mips_7000_hilo_fix): Declare.
294 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
295 (md_parse_option): Check for 7000_HILO_FIX options.
296 (OPTION_M7000_HILO_FIX): Define.
297 (OPTION_NO_M7000_HILO_FIX): Define.
298 * doc/c-mips.texi (-mfix7000): Describe.
299
f6af82bd
AM
3002000-02-21 Alan Modra <[email protected]>
301
302 * listing.c (print_lines): Remove unused variable `end'.
303
304 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
305 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
306 reloc_type when BFD_ASSEMBLER.
307 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
308 reloc_type when BFD_ASSEMBLER. Move common code out of switch
309 statement and quell signed vs. unsigned comparison warning.
310
8c8281f4
NC
3112000-02-18 Nick Clifton <[email protected]>
312
313 * config/tc-d10v.c (find_opcode): Add a symbol's value to
314 the computed frag offset, rather than overwriting it.
315
d4845d57
JR
316Thu Feb 17 00:11:08 2000 J"orn Rennecke <[email protected]>
317
318 * config/tc-sh.c ("elf/sh.h"): Include.
319 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
320 (md.begin): Initialize target_arch.
321 Only include opcodes in has table that match selected architecture.
322 (parse_reg): Recognize register names for sh-dsp.
323 (parse_at): Recognize post-modify addressing.
324 (get_operands): The leading space is now optional.
325 (get_specific): Remove FDREG_N support. Add support for sh-dsp
326 arguments. Update valid_arch.
327 (build_Mytes): Add support for SDT_REG_N.
328 (find_cooked_opcode): New function, broken out of md_assemble.
329 (assemble_ppi, sh_elf_final_processing): New functions.
330 (md_assemble): Use find_cooked_opcode and assemble_ppi.
331 (md_longopts, md_parse_option): New option: -dsp.
332 * config/tc-sh.h (elf_tc_final_processing): Define.
333 (sh_elf_final_processing): Declare.
334
c97305a1
JL
335Fri Feb 11 14:21:51 2000 Jeffrey A Law ([email protected])
336
337 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
338 the unwinder subspace. Save the current seg/subseg before creating
339 the new seg/subseg.
340
bec50466
NC
3412000-02-10 Nick Clifton <[email protected]>
342
343 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
344 little endian targets.
345 (INST_BYTE1): Redefine to handle big and little endian
346 targets.
347 (cpu_type): New type: Select between M340 and M210.
348 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
349 instructions of the M340.
350 (md_assemble): Add support for the MULSH and OPSR classes of
351 instructions.
352 (md_atof): Add support for little endian targets.
353 (md_parse_option): Add support for -EL, -EB and -mcpu command
354 line switches.
355 (md_convert_frag): Add support for little endian targets.
356 (md_apply_fix3): Add support for little endian targets.
357 (md_number_to_chars): Add support for little endian targets.
358
a25c045a
TW
3592000-02-10 Timothy Wall <[email protected]>
360
361 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
362 defined, use it to verify the symbol just read should be a label.
363
f28e8eb3
TW
3642000-02-10 Timothy Wall <[email protected]>
365
366 * app.c (do_scrub_chars): Handle "||" for parallel instructions
367 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
368 around colons when KEEP_WHITE_AROUND_COLON is defined.
369 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
370 and KEEP_WHITE_AROUND_COLON.
371
6dc19fc4
TW
3722000-02-08 Timothy Wall <[email protected]>
373
374 * read.c (s_rept): Call do_repeat, which abstracts the repeat
375 logic.
376 (do_repeat): New. Abstract repeat logic so that a "break" can be
377 implemented.
378 (end_repeat): New. Provide support for a "break" out of the
379 repeat loop.
380 * read.h: Add prototypes for new functions.
381
f805106c
TW
3822000-02-08 Timothy Wall <[email protected]>
383
384 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
385 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
386 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
387 non-zero.
388
4469be0f
TW
3892000-02-08 Timothy Wall <[email protected]>
390
391 * read.c: Added elseif to directives table.
392 * read.h: Added prototype for s_elseif.
393 * doc/as.texinfo: Added description for elseif.
394 * cond.c (s_elseif): New function
395
24a17b6c
TW
3962000-02-04 Timothy Wall <[email protected]>
397
398 * listing.c (print_lines): Remove conditionals causing bug in
399 listings.
400
bea9907b
TW
4012000-02-03 Timothy Wall <[email protected]>
402
403 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
404 default values.
405 * frags.c (frag_new): Calculate fr_fix in octets
406 (frag_now_fix) Return offset as target address offset (bytes).
407 (frag_now_fix_octets) New - Return offset in octets (8-bit
408 quantities).
409 * frags.h: Added prototype for frag_now_fix_octets().
410 Distinguish between octets and bytes in field descriptions.
411 * listing.c (calc_hex): Account for octets vs bytes when
412 printing addresses/offsets.
413 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
414 target is little-endian, print the octets in a word in big-endian
415 order so that the display looks like a proper hexadecimal number,
416 instead of having the octets reversed.
417 * read.c (do_align): When recording alignment, alignment power
418 should be in terms of target bytes (minimum addressible unit)
419 instead of octets.
420 (do_org) Convert ORG target address (byte) argument into an
421 octet offset when generating a variable fragment.
422 * symbols.c (resolve_symbol_value): Symbol final value
423 converted to a target address offset (bytes) from its octet offset.
424 * config/obj-coff.c (coff_frob_symbol): Symbol target address
425 offset (bytes) is adjusted by the frag offset (octets) converted
426 to bytes.
427 (coff_frob_section) Section alignment power is in terms of bytes;
428 convert it to an octet alignment power when calculating size (and
429 size mask) in octets. Don't modify the section size in order to
430 "align" it for TI COFF, since that format has a different method
431 for storing alignment information.
432
210dcc61
TW
4332000-02-01 Timothy Wall <[email protected]>
434
435 * stabs.c (generate_asm_file): Escape backslashes in stabs file
436 entries, matching the way GCC generates them. If not escaped, the
437 filename is encoded incorrectly.
438
557537a5
NC
4392000-01-31 Nick Clifton <[email protected]>
440 * config/tc-arm.c (reg_table): Add support for ATPCS register
441 naming conventions.
2c1c4c62 442
557537a5
NC
4432000-01-31 Geoff Keating <[email protected]>
444
2c1c4c62
GK
445 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
446 already defined.
447 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
448 New macro.
449 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
450 of a symbol when we really care about its value.
451
4522000-01-19 Chandra Chavva <[email protected]>
2d473ce9
NC
453
454 * config/tc-mcore.c (md_assemble): Give warning message if
455 operands passes to instruction are more than the spec.
456
2f0ca46a
NC
4572000-01-27 Thomas de Lellis <[email protected]>
458
459 * config/tc-arm.c (armadjust_symtab): If the assembler is in
460 Thumb mode but the label seen was not declared as '.thumb_func'
461 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
462 correct disassembly of Thumb code bounded by non function labels.
463
4c63da97
AM
4642000-01-27 Alan Modra <[email protected]>
465
466 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
467 Add dependencies for e-i386aout.o. Fix 2 comment lines.
468
469 * Makefile.in: Same here.
470 Update copyright.
471
472 * configure.in: Set bfd_gas for i386-aout when primary target
473 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
474 we may need the primary te_file. Remove incorrect comment.
475
476 * configure: Regenerate.
477
478 * config/e-i386aout.c: New file.
479
480 * as.c (USE_EMULATIONS): Move to before print_version_id.
481 (struct emulation): Add i386aout.
482 (show_usage): Split text strings. Reformat -a text. Add --em
483 help.
484 Update copyright.
485
486 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
487 (aout_format_ops): New.
488 Update copyright.
489
490 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
491 preprocessor conditional and add aout USE_EMULATIONS tests.
492 (read_a_source_file): Don't pass error strings to printf as
493 format arg.
494 Update copyright.
495
496 * gasp.c (exp_get_abs): Don't pass error strings to printf as
497 format arg.
498 (do_data): Same here.
499 (process_file): And here.
500 Update copyright.
501
502 * symbols.c (colon): Rewrite "already defined" fatal message
503 code for aout with USE_EMULATIONS.
504 Update copyright.
505
506 * config/obj-aout.c (OBJ_HEADER): Define.
507 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
508 fields of sentinel.
509 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
510 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
511 forms here.
512 (obj_aout_type): Expand S_SET_OTHER here too.
513 (obj_read_begin_hook): Remove.
514 (aout_pop_insert): New.
515 (obj_aout_s_get_other): New.
516 (obj_aout_s_get_desc): New.
517 (aout_format_ops): New.
518 Update copyright.
519
520 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
521 gets aout_pseudo_table.
522 (aout_pseudo_table): Declare.
523 (obj_read_begin_hook): Define.
524 Update copyright.
525
526 * config/obj-coff.c (obj_pseudo_table): Rename to
527 coff_pseudo_table.
528 (coff_pop_insert): Use coff_pseudo_table.
529 (coff_sec_sym_ok_for_reloc): Remove.
530 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
531 and comment all zero entries and remove #if 0 code.
532 Update copyright.
533
534 * config/obj-coff.h (obj_pop_insert): Define.
535 (coff_pseudo_table): Declare.
536 Update copyright.
537
538 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
539 s_get_size, s_set_size. Comment all zero entries.
540 Update copyright.
541
542 * config/obj-elf.c (elf_s_get_other): New function.
543 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
544 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
545 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
546 comment.
547 (obj_elf_parse_section_letters): Don't pass error strings to
548 printf as format arg.
549 Update copyright.
550
551 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
552 OBJ_MAYBE_ECOFF.
553 (elf_s_get_other): Declare.
554 (S_GET_OTHER) Define as elf_s_get_other if not already
555 defined.
556 (S_SET_OTHER): Only define when not already defined.
557 (elf_obj_read_begin_hook): Declare.
558 (obj_read_begin_hook): Define.
559 (elf_obj_symbol_new_hook): Declare.
560 (obj_symbol_new_hook): Define.
561 Update copyright.
562
563 * config/obj-multi.h: Add copyright header and protect against
564 multiple inclusion. Add * to all function pointers.
565 (OBJ_HEADER): If defined, include it rather than other defines
566 in this file.
567 (obj_frob_file_after_relocs): Test for NULL.
568 (obj_symbol_new_hook): Here too.
569 (obj_sec_sym_ok_for_reloc): And here.
570 (S_GET_OTHER): Define.
571 (S_GET_DESC): Define.
572 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
573 (OBJ_MAYBE_ELF): Update comment.
574
575 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
576 OBJ_AOUT preprocessor conditional and handle emulation by
577 testing OUTPUT_FLAVOR.
578 (i386_displacement): Here too.
579 (md_section_align): Similarly here.
580 (i386_target_format): Conditionally compile when more than one
581 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
582 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
583 (i386_displacement): Here too.
584 Update copyright.
585
586 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
587 Define TARGET_FORMAT for aout only when not multi.
588 Update copyright.
589
590 * config/te-multi.h: Delete file as it's identical to te-generic.h
591
add0c677
AM
5922000-01-15 Alan Modra <[email protected]>
593
594 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
595 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
596 LONG_MNEM_SUFFIX.
597
598 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
599 DWORD_MNEM_SUFFIX.
600 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
601 comments.
602
a19d8eb0
CP
6032000-01-13 Clinton Popetz <[email protected]>
604
605 * config/tc-mips.c (mips_do_align): New function.
606 * config/tc-mips.h (md_do_align): Define.
607
550262c4
NC
6082000-01-10 Philip Blundell <[email protected]>
609
610 * doc/c-arm.texi (ARM Options): Fix typo.
611 (ARM-Chars): Correct description of `#'. Mention that `;' is a
612 line separator for Linux.
613 * doc/as.texinfo (Comments): Mention the ARM.
614
0decc840
NC
6152000-01-10 Philip Blundell <[email protected]>
616
617 * configure.in (arm*-*-conix*): New target.
618 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
619 armv*-*-linux-gnu.
620 * configure: Regenerate.
621
2e13b764
NC
6222000-01-03 Martin v. Loewis <[email protected]>
623
624 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
625 (obj_elf_visibility): New function.
626
627 * doc/as.texinfo (Visibility): New node: document visibility
628 pseudo ops.
629
3138f287
AM
6301999-12-27 Alan Modra <[email protected]>
631
632 * config/tc-i386.c (MATCH): Relax JumpAbsolute check. Emit a
633 warning for absolute jump/call without `*' in non-intel mode. No
634 need to set i.types[0] JumpAbsolute in intel mode.
635
df32bc61
NC
6361999-12-22 Philip Blundell <[email protected]>
637
638 * config/tc-arm.c (arm_s_text): If OBJ_ELF, call the appropriate
639 hook function when changing sections.
640 (arm_s_data): Likewise.
641
b4d0b2b3
NC
6421999-12-14 Nick Clifton <[email protected]>
643
644 * config/tc-arm.c (md_parse_option): Add support for -marm720
df32bc61 645 command line switch.
b4d0b2b3 646
85cb2cf9
JL
647Tue Nov 30 22:59:00 1999 Jeffrey A Law ([email protected])
648
649 * config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op.
650 (r_registers, xr_registers): Define.
651 (r_register_name, xr_register_name): New functions.
652 (md_assemble): Handle new am33 operand types and instruction
653 formats.
654 (mn10300_insert_operand, check_operand): Likewise.
655
a64bcdd8
NC
6561999-11-29 Nick Clifton <[email protected]>
657
658 * config/tc-arm.c (thumb_mode): Turn into a tristate variable.
659 (s_force_thumb): Set thumb_mode to 2.
660 (md_assemble): Do not complain about thumb instructions on a
661 non-thumb target if thumb_mode is set to 2.
662
43b4c25e
MM
6631999-11-28 Michael Meissner <[email protected]>
664
665 * config/tc-alpha.c (toplevel): Include struc-symbol.h.
666 (alpha_macro_arg): Add MACRO_{LITERAL,BASE,BYTOFF,JSR} cases.
667 (O_...): Add new machine dependent expressions if we are handling
668 explicit relocations.
669 (alpha_reloc_op): New static table holding the explicit relocation
670 information.
671 (alpha_literal_hash): New static to hold the hash table for
672 explicit relocations.
673 (alpha_macros): Add support for explicit relocations.
674 (md_begin): If explicit relocations, initialize hash table.
675 (md_assemble): Don't print a second error if tokenize_arguments
676 already printed an error message.
677 (md_apply_fix): Add support for explicit relocations.
678 (alpha_force_relocation): Ditto.
679 (alpha_fix_adjustable): Ditto.
680 (alpha_adjust_symtab): New function to support explicit
681 relocations.
682 (alpha_adjust_symtab_relocs): Ditto.
683 (debug_exp): Debug stub compiled if DEBUG_ALPHA is defined.
684 (tokenize_arguments): Add debug code if DEBUG_ALPHA is defined.
685 Add support for explicit relocations. Return -2 if an error
686 message was already printed.
687 (find_macro_match): Add support for explicit relocations. Comment
688 each of the cases.
689 (emit_insn): Add support for explicit relocations.
690 (assemble_tokens): Ditto.
691 (emit_ldgp): Ditto.
692 (load_expression): Ditto.
693 (emit_lda): Ditto.
694 (emit_ldah): Ditto.
695 (emit_ir_load): Ditto.
696 (emit_loadstore): Ditto.
697 (emit_ldXu): Ditto.
698 (emit_ldil): Ditto.
699 (emit_sextX): Ditto.
700 (emit_division): Ditto.
701 (emit_jsrjmp): Ditto.
702 (emit_retjcr): Ditto.
703
704 * config/tc-alpha.h (RELOC_OP_P): Enable explicit relocations if
705 ELF object format.
706 (tc_adjust_symtab): If explicit relocations, call the function
707 alpha_adjust_symtab.
708 (TC_FIX_TYPE): Add fields to be able to move explicit lituse
709 relocations next to the literal relocation they reference.
710 (TC_INIT_FIX_DATA): Initialize the new fields.
711 (TC_FIX_DATA_PRINT): Print the new fields if DEBUG5 is defined.
712
afbf211f
JL
713Wed Nov 24 20:27:58 1999 Jeffrey A Law ([email protected])
714
715 * config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. Handle
716 'B' operand for PA2.0 bb instruction.
717
f11900d0
NC
7181999-11-18 Nick Clifton <[email protected]>
719
720 * config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe
721 target.
722
723 * config/tc-mcore.c (tc_gen_reloc): Support generation of RVA
724 relocs.
725 (mcore_force_relocation): Force relocations to be generated for
726 RVA relocs.
727
2daf4fd8
AM
7281999-11-16 Alan Modra <[email protected]>
729
730 * config/tc-i386.c (i386_immediate): Disallow O_big immediates.
731 (i386_displacement): Disallow O_big displacements.
732
eb726e5d
DL
733Mon Nov 15 20:12:43 1999 Donald Lindsay <[email protected]>
734
735 * config/tc-arm.c (do_mia,do_mar,do_mra,do_pld,do_ldrl,do_co_reg): Small
736 improvements in error checking.
737 (md_assemble): Support for unconditional ARM instructions.
738 (md_parse_option): Support for -m[arm]v5e flag.
739
035349a4
NC
7401999-11-12 Nick Clifton <[email protected]>
741
742 * macro.c (buffer_and_nest): Do not check beyond the end of the
743 buffer.
744
c1eae114
NC
7451999-11-11 Nick Clifton <[email protected]>
746
747 * macro.c (buffer_and_nest): Look for seperator after TO and
748 FROM tokens.
749
c5c834aa
AH
7501999-11-08 Andrew Haley <[email protected]>
751
752 * app.c (do_scrub_chars): When in State 10, treat backslash
753 characters in the same way as as symbol characters.
754
98007ce7
RH
7551999-11-07 Richard Henderson <[email protected]>
756
757 * config/tc-alpha.c (alpha_align): Check, don't assert, that
758 the previous label was in the current section before playing
759 with auto-alignment.
760
d6c497c7
NC
7611999-11-06 Nick Clifton <[email protected]>
762
763 * config/tc-v850.c (v850_force_relocation): Force relocation
764 for weak symbols.
765 (v850_pcrel_from_selection): Do not compute a pcrel offset if
766 the symbol is weak.
767
dd33dc0f
MM
7681999-11-05 Michael Meissner <[email protected]>
769
770 * expr.h (operatorT): Increase machine dependent operators to 16.
771 * expr.c (op_rank): Ditto.
772
5f91fe03
ILT
7731999-11-03 Ian Lance Taylor <[email protected]>
774
53b0d397
ILT
775 * read.c (pseudo_set): Reject attempts to set the value of a
776 section symbol.
777
5f91fe03
ILT
778 * config/obj-elf.c (obj_elf_ident): Call md_flush_pending_output
779 if it is defined.
780
781 * config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED.
782
783 * config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL
784 to bfd_set_section_contents.
785
829ce307
NC
7861999-11-03 Nick Clifton <[email protected]>
787
788 * config/tc-mcore.h (TARGET_BYTES_BIG_ENDIAN): Change to false.
789
2bd7f1f3
GRK
7901999-11-01 Gavin Romig-Koch <[email protected]>
791
792 * config/tc-mips.c (macro_build): Use OPCODE_IS_MEMBER.
793 (mips_ip): Use OPCODE_IS_MEMBER.
794
90ca882f
JL
795Wed Oct 27 16:50:44 1999 Don Lindsay <[email protected]>
796
acb56623
JL
797 * config/tc-arm.c (reg_required_here): Improve comments.
798
b49cfa5d
JL
799 * config/tc-arm.c (thumb_opcode): Add "variants" field.
800 (tinsns): Initialize variants field.
801
802 * config/tc-arm.c (bad_args, bad_pc): Renamed to BAD_ARGS and
803 BAD_PC respectively.
90ca882f 804
29c4c6b5
NC
8051999-10-27 Scott Bambrough <[email protected]>
806
807 * config/tc-arm.c (reloc_map[]): Fix compiler warning.
808 * config/tc-arm.h: Fix compile time warnings.
809
d9fd9852
DN
810Mon Oct 18 18:11:10 MDT 1999 Diego Novillo <[email protected]>
811
812 * tc_d10v.c (find_opcode): Allow ATSIGN to match expressions of the
813 form @abs16, @(abs16) and @(abs16 + imm).
814
9ce8a5dd
GRK
8151999-10-21 Gavin Romig-Koch <[email protected]>
816
817 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS) : New.
818 (ISA_HAS_64_BIT_REGS) New.
819 (gpr_interlocks,md_begin,reg_needs_delay,append_insn,
820 mips_emit_delays,macro_build,load_register,load_addresss,
821 macro,macro2,mips_ip,s_cprestore,s_cpadd): Simplify
822 and/or use new ISA_xxx macros in expressions involving
823 ISA, particularly mips_opts.isa.
824
446a06c9
MM
8251999-10-18 Michael Meissner <[email protected]>
826
827 * expr.h (operatorT): Add machine dependent operators md1..md8.
828 (expressionS): Make X_op 8 bits instead of 7. Add a X_md field
829 for the machine dependent operators to use.
830
831 * expr.c (op_rank): Add machine dependent operators.
832
833 * config/tc-alpha.c (O_pregister): Define as a machine dependent
834 operator.
835 (O_cpregister): Ditto.
836 (md_begin): Change X_op test that field is wide enough to use
837 O_max instead of O_alpha_max.
838 (cpu_types): Fill in missing initializer.
839 (alpha_num_macros): Make unsigned.
840 (md_assemble): Make opnamelen be size_t.
841 (md_apply_fix): Cast alpha_num_operands to int before testing.
842 (alpha_force_relocation): Ditto.
843 (alpha_fix_adjustable): Ditto.
844 (alpha_fix_adjustable): Mark unused arguments ATTRIBUTE_UNUSED.
845 (tc_gen_reloc): Ditto.
846 (tc_get_register): Ditto.
847 (emit_ldgp): Ditto.
848 (emit_lda): Ditto.
849 (emit_ldah): Ditto.
850 (emit_ldil): Ditto.
851 (s_alpha_ent): Ditto.
852 (s_alpha_end): Ditto.
853 (s_alpha_frame): Ditto.
854 (s_alpha_prologue): Ditto.
855 (s_alpha_file): Ditto.
856 (s_alpha_gprel32): Ditto.
857 (s_alpha_proc): Ditto.
858 (s_alpha_set): Ditto.
859 (s_alpha_base): Ditto.
860 (s_alpha_align): Ditto.
861 (s_alpha_arch): Ditto.
862 (alpha_align): Ditto.
863 (assemble_insn): Suppress unused variable warning.
864 (emit_insn): Ditto.
865 (assemble_insn): Don't assume X_op and X_unsigned are in a given
866 order in the structure.
867 (s_alpha_coff_wrapper): Avoid int/unsigned comparison.
868
476cdcb8
JL
869Sun Oct 17 17:15:58 1999 Jeffrey A Law ([email protected])
870
871 * config/tc-hppa.c (md_apply_fix): Make "fmt" an int.
872
c388dee8
AM
8731999-10-12 Alan Modra <[email protected]>
874
875 * config/tc-i386.c (i386_index_check): Correct #endif location.
876
2bdd6cf5
GK
877Mon Oct 11 14:02:40 1999 Geoffrey Keating <[email protected]>
878
879 * as.c (show_usage): Document new options.
880 (parse_args): Add --no-warn, --warn, --fatal-warnings,
881 which become 'W', OPTION_WARN, and OPTION_WARN_FATAL.
882 (parse_args): Parse the new options.
883 (main): If there were warnings, and --fatal-warnings
884 was specified, print an error.
885 * as.h: New variable, flag_fatal_warnings, for new option.
886
d53d2751
JL
887Sun Oct 10 01:47:23 1999 Jerry Quinn <[email protected]>
888
889 * config/tc-hppa.c (pa_ip): Add new codes 'cc', 'cd', 'cC', 'co',
890 '@'. Change autoincrement completers to fall through to cache control
891 completers.
892
893 * config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W'
894 arg.
895 (pa_parse_addb_64_cmpltr): New function.
896
897 * config/tc-hppa.c (pa_ip): Change error message.
898 (pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr) Fix '?N' and
899 '?Q' args to allow falling through.
900
901 * configtc-hppa.c (pa_ip): Implement conditional codes "?N", "?Q".
902 Remove unused conditional codes.
903 (pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr): New.
904
ba09cd8d
DN
905Thu Oct 7 00:23:53 MDT 1999 Diego Novillo <[email protected]>
906
907 * config/tc-d30v.c (CHAR_BIT): Define.
908 (check_range): Fix bit operations to support integers bigger than
909 32 bits.
910
c43185de
DN
911Thu Oct 7 00:11:50 MDT 1999 Diego Novillo <[email protected]>
912
913 * config/tc-d10v.c (check_range): Check range for RESTRICTED_NUM3
914 operands.
915
925c058e
DE
916Mon Oct 4 17:24:23 1999 Nick Clifton <[email protected]>
917 Doug Evans <[email protected]>
918
919 Add support for m32rx.
920 * config/tc-m32r.c (enable_m32rx): New static global.
921 (enable_special,warn_explicit_parallel_conflicts,optimize): Ditto.
922 (allow_m32rx): New function.
923 (M32R_SHORTOPTS): Add `O'.
924 (md_longopts): Add --m32rx plus several warning options.
925 (md_parse_option): Handle new options.
926 (md_show_usage): Print them.
927 (md_begin): Enable m32rx.
928 (OPERAND_IS_COND_BIT): New macro.
929 (first_writes_to_seconds_operands): New function.
930 (writes_to_pc,can_make_parallel,make_parallel): New functions.
931 (target_make_parallel,assemble_two_insns): New functions.
932 (md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2".
933 If optimizing and m32rx, try to make consecutive insns parallel.
934
fba2b7f9
GK
935Tue Sep 28 14:06:44 1999 Geoffrey Keating <[email protected]>
936
937 * config/tc-mips.c (nopic_need_relax): Allow for the
938 .sdata.foo sections generated by -fdata-sections,
939 and for the .gnu.linkonce.s sections generated by C++.
940
fd232ac8
JL
941Thu Sep 23 07:13:45 1999 Jerry Quinn <[email protected]>
942
ce674324
JL
943 * config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling
944 with cleaner code using completer prefixes. Add 'Y'.
945
fd232ac8
JL
946 * config/tc-hppa.c (pa_ip): Add parens to silence compiler.
947
b1039fc4
JL
948Wed Sep 22 09:37:19 1999 Jeffrey A Law ([email protected])
949
950 * config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
951 (pa_ip, case 'm'): Failure to get a CBIT specifier just means the
952 insn does not match and we should try the next insn in the table.
953
913f265c
NC
9541999-09-22 Nick Clifton <[email protected]>
955
956 * config/tc-arm.c (MULTI_SET_PSR): Rename to LDM_TYPE_2_OR_3.
957
54af6ff6
JL
958Mon Sep 20 04:01:41 1999 Jeffrey A Law ([email protected])
959
960 * config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
961 of PA2.0 support.
962
4cc782b5
ILT
9631999-09-19 Alexandre Oliva <[email protected]>
964
965 * config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
966 OBJ_ELF. If ELF, add "sq".
967 (md_parse_option): If ELF, ignore -s and -q.
968 (md_show_usage): Mention ELF options.
969
6be78360
JL
970Sun Sep 19 10:43:31 1999 Jeffrey A Law ([email protected])
971
65fab780
JL
972 * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
973 operands.
974
71823da4
JL
975 * config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'.
976
61dd1d31
JL
977 * config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'.
978
1cf6ae67
JL
979 * config/tc-hppa.c (struct pa_it): New field "trunc".
980 (pa_ip): Hadnle 'h', 'm', '=', '{', and '_' operands.
981 (pa_parse_ftest_gfx_completer): New function
982 (pa_parse_fp_cnv_format): New function.
983
77c02e18
JL
984 * config/tc-hppa.c (pa_ip): Handle 'X' operand.
985 (md_apply_fix): Handle 22bit pc-rel branches.
986
629d9417
JL
987 * config/tc-hppa.c (pa_ip): Handle 'B' operand.
988
dbe2f9ee
JL
989 * config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
990
3db6e6bd
JL
991 * config/tc-hppa.c (pa_ip): Handle 'l' operand.
992
6be78360
JL
993 * config/tc-hppa.c (pa_ip): Handle 'g' operand.
994
e061d86f
JL
995at Sep 18 12:13:28 1999 Jeffrey A Law ([email protected])
996
997 * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
998 (pa_ip): Handle 'fX'.
999
1000Sat Sep 18 12:13:28 1999 Jeffrey A Law ([email protected])
1001
1002 * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
1003 (pa_ip): Handle 'fX'.
1004
7acbfc6b
JL
1005Fri Sep 17 11:57:34 1999 Jeffrey A Law ([email protected])
1006
1007 * config/tc-hppa.c (pa_build_unwind_subspace): Do not build
1008 unwinds unless the function is in the text space.
1009 (pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
1010
2d93dcc4
JL
1011Wed Sep 15 05:14:32 1999 Jeffrey A Law ([email protected])
1012
b52c78b8
JL
1013 * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
1014 (md_assemble): To here. Tweak address generation.
1015
2d93dcc4
JL
1016 * config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare
1017 debug_line.
1018 (md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
1019 (md_assemble): Call dwarf2_where for OBJ_ELF.
1020 (pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
1021 (pa_end_of_source): New function.
1022 * tc-hppa.h (md_end): Define for OBJ_ELF.
1023
6d83c84b
MM
10241999-09-14 Michael Meissner <[email protected]>
1025
1026 * configure.in (Canonicalization of target names): Remove adding
1027 ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14
1028 generates $ac_config_sub with a ${CONFIG_SHELL} already.
1029 * configure: Regenerate.
1030
41fd319a
ILT
10311999-09-14 Donn Terry <[email protected]>
1032
1033 * config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
1034
795a7704
AM
10351999-09-13 Alan Modra <[email protected]>
1036
2f66722d
AM
1037 * config/tc-i386.c (md_assemble): Handle "jmp/call constant" as a
1038 pc-relative jmp/call to an absolute symbol.
1039 (md_apply_fix3): When OBJ_ELF, don't add the values in twice for
1040 absolute section symbols.
1041
795a7704
AM
1042 * config/tc-i386.c (md_assemble): Correct frag_var size. Tidy
1043 jump handling code and comments.
1044
c0c949c7
ILT
10451999-09-12 Ian Lance Taylor <[email protected]>
1046
1047 * config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
1048 the value if TE_PE and a global defined symbol.
1049
e723ef7c
ILT
10501999-09-11 Ian Lance Taylor <[email protected]>
1051
1052 * write.c (dump_section_relocs): Call print_symbol_value_1 to
1053 print the symbol, rather than printing it here.
1054
fa16d387
ILT
10551999-09-11 Donn Terry <[email protected]>
1056
d33e1d24
ILT
1057 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
1058 BFD_RELOC_RVA relocations.
1059
18dc2407
ILT
1060 * config/tc-i386.c (md_undefined_symbol): Compare the name against
1061 the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it
1062 starts with "_G".
1063
945a1a6b
ILT
1064 * write.c (write_relocs): Call SET_SECTION_RELOCS if it is
1065 defined.
1066 * config/obj-coff.h (SET_SECTION_RELOCS): Define.
1067 * doc/internals.texi (Object format backend): Document
1068 SET_SECTION_RELOCS.
1069
79d292aa
ILT
1070 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
1071 relocations against global symbols if TE_PE.
1072
7a6284c4
ILT
1073 * config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
1074 (obj_pseudo_table): Always handle ".ident" with obj-coff_ident.
1075
8828d862
ILT
1076 * config/obj-coff.c (coff_frob_symbol): Prohibit weak common
1077 symbols.
1078
9690c54d
ILT
1079 * config/obj-coff.c (obj_coff_endef): Don't merge labels, or
1080 symbols which do not have a constant value, or tags with
1081 non-tags. Remove the symbol from the list before adding it at the
1082 end.
1083
23dab925
ILT
1084 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef
1085 C_FCN symbol differently if TE_PE.
1086 (obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which
1087 appears in the pseudo-op, rather coff_line_base which is only set
1088 for a .bf symbol.
1089
28428223
ILT
1090 * config/obj-coff.c (obj_coff_loc): New static function.
1091 (obj_pseudo_table): Add "loc".
1092
e8a3ab75
ILT
1093 * config/obj-coff.c (add_lineno): Check that the line number is
1094 positive.
1095
2ab9b79e
ILT
1096 * config/atof-ieee.c (atof_ieee): Change what_kind to int.
1097 * config/atof-vax.c (flonum_gen2vax): Change format_letter to
1098 int.
1099 (md_atof): Return NULL rather than 0.
1100 * config/tc-i386.c (md_atof): Change type to int.
0561a208
ILT
1101 * expr.c (expr): Change first parameter to int.
1102 * config/obj-coff.c: Add declarations for static functions.
1103 (coff_frob_symbol): Use SYM_AUXENT.
1104 * config/tc-i386.h (flag_16bit_code): Don't declare.
2ab9b79e 1105
5881e4aa
ILT
1106 * config/obj-coff.c (obj_coff_section): Default to setting
1107 SEC_LOAD. Don't set SEC_DATA for 'w' modifier.
1108
e723ef7c
ILT
1109 * write.c (adjust_reloc_syms): Print adjusted fixup.
1110
fa16d387
ILT
1111 * expr.c (integer_constant): Correct too_many_digits calculation
1112 in base 10 case.
1113
13a830b6
AS
11141999-09-09 Andreas Schwab <[email protected]>
1115
1116 * doc/c-arm.texi: Fix arguments of @var to not contain
1117 punctuation.
1118
325188ec
NC
11191999-09-08 Philip Blundell <[email protected]>
1120
1121 * config/tc-arm.c (s_thumb_set): Only support interworking for ELF
1122 and COFF targets.
1123 (md_parse_option): Only support -k flag for ELF and COFF targets.
1124
e7c1f43c
JL
1125Tue Sep 7 13:28:59 1999 Jeffrey A Law ([email protected])
1126
1127 * config/tc-hppa.c (pa_ip): Put strict register checks before
1128 call to pa_parse_number.
1129
4964086a
JL
1130 * config/tc-hppa.c (pa_ip): Support 'Z' argument.
1131
c4bf532f
ILT
11321999-09-06 Ian Lance Taylor <[email protected]>
1133
1134 * config/obj-coff.c: Add ATTRIBUTE_UNUSED as needed for
1135 BFD_ASSEMBLER code.
1136
a33132fd
ILT
11371999-09-06 Donn Terry <[email protected]>
1138
1139 * as.c (perform_an_assembly_pass): Set SEC_DATA for data_section.
1140
0f4f8b56
JL
1141Mon Sep 6 04:26:56 1999 Jeffrey A Law ([email protected])
1142
1143 * config/tc-hppa.c (pa_ip): Get strict/non-strict mode from the
1144 candidate instruction. Require registers for register arguments
1145 when in strict mode. Require assemble-time constants for
1146 constants when in strict mode.
1147 (pa_get_absolute_expression): Require a constant when in strict
1148 mode.
1149
d3388653
NC
11501999-09-06 Nick Clifton <[email protected]>
1151
1152 * config/tc-m32r.c (md_longopts): Fix value for -Wnuh.
1153
041dd5a9
ILT
11541999-09-04 Steve Chamberlain <[email protected]>
1155
1156 * config/tc-pj.c: New file, supports picoJava in ELF.
1157 * config/tc-pj.h: Ditto.
1158 * configure.in (pjl*, pj*): New targets.
1159 * Makefile.am: Rebuild dependencies.
1160 (CPU_TYPES): Add pj.
1161 (TARGET_CPU_CFILES): Add config/tc-pj.c.
1162 (TARGET_CPU_HFILES): Add config/tc-pj.h.
1163 * doc/c-pj.texi: New file.
1164 * doc/as.texinfo: Add some PJ specifics.
1165 * doc/all.texi: Add PJ to the list of all architectures, sort them
1166 all alphabetically.
1167 * doc/Makefile.in (CPU_DOCS): Add c-pj.texi.
1168 * configure, Makefile.in, doc/Makefile.in: Rebuild.
1169
4ca72d38
AM
11701999-09-02 Alan Modra <[email protected]>
1171
1172 * config/obj-multi.h: Include obj-elf.h if OBJ_MAYBE_ELF. Reformat.
1173 (obj_frob_file): Test for null pointer.
1174 (OBJ_COPY_SYMBOL_ATTRIBUTES): Here too.
1175 (OBJ_PROCESS_STAB): And here.
1176 (elf_obj_sy): Remove
1177
1178 * config/obj-elf.h: #ifndef everything defined in obj-multi.h,
1179 except OBJ_PROCESS_STAB, which we #undef for ecoff.
1180 (elf_obj_sy): Remove #ifndef OBJ_SYMFIELD_TYPE.
1181
1182 * config/obj-coff.c (no_func): Remove.
1183 (coff_format_ops): Change occurrences of no_func to 0, as we test
1184 for 0 in obj-multi.h.
1185
1186 * configure.in: Enable bfd for i386-coff when primary target is
1187 bfd. Enable i386 elf,coff emulation support. Don't set
1188 USE_EMULATIONS=1 or te_file=multi unless there is more than one
1189 emulation to support.
1190 *configure: Regenerate.
1191
bcef92fa
NC
11921999-09-02 Nick Clifton <[email protected]>
1193
1194 * config/tc-mcore.c (mcore_s_section): Do not dump literals if a
1195 .section .line directive is encountered.
1196
cdf82bcf
NC
11971999-09-01 Nick Clifton <[email protected]>
1198
5856c19a
NC
1199 * config/tc-arm.c (md_section_align): Do not align sections in ELF
1200 format.
1201
cdf82bcf
NC
1202 * as.c (show_usage): Add --gdwarf2 to list of options displayed.
1203 * as.texinfo: Document --gdwarf2 command line option.
1204 Add additional documentation of ARM command line switches.
1205
af6bdddf
AM
12061999-08-30 Alan Modra <[email protected]>
1207
1208 * config/tc-i386.c (i386_intel_memory_operand): Combine
1209 i386_is_reg and parse_register calls. Remove END_STRING_AND_SAVE
1210 and RESTORE_END_STRING around parse_register calls.
1211 (i386_operand): Here too.
1212 (i386_is_reg): Remove.
1213 (parse_register): Move as_bad calls from within this function to
1214 callers.
1215
5f47d35b
AM
12161999-08-29 Alan Modra <[email protected]>
1217
1218 Based on a patch from H.J. Lu <[email protected]>
1219 * config/tc-i386.c (parse_register): Handle FP regs specially.
1220 (md_begin): Remove '(' and ')' from register_chars.
1221
1174497c
DE
12221999-08-29 Doug Evans <[email protected]>
1223
1224 * config/tc-m32r.c (md_parse_option): Delete unrecognized option
1225 error message (done elsewhere).
1226
17d9105c
JL
1227Sat Aug 28 01:23:11 1999 Jeffrey A Law ([email protected])
1228
1229 * config/tc-hppa.c (pa_ip): Do not allow '*' in 32bit completers.
1230
9ecc05f0
JL
1231Sat Aug 28 00:26:26 1999 Jerry Quinn <[email protected]>
1232
97e1581b
JL
1233 * config/tc-hppa.c (pa_ip): Replace 'f' by 'v'. Prefix float register
1234 args by 'f'.
1235
9e4f2d3a
JL
1236 * config/tc-hppa.c (pa_ip): Add args q, %, and |.
1237
680ef6de
JL
1238 * config/tc-hppa.c (pa_ip): Absorb white space in instructions
1239 between args.
1240 Add new completers. Fix bug in 64 bit condition handling.
1241
413c94ba
JL
1242 * config/tc-hppa.c (pa_ip): Add completer codes 'a', 'ch', 'cH',
1243 'cS', and 'c*'.
1244
28252e61
JL
1245 * config/tc-hppa.c (pa_ip): Place completers behind prefix 'c'.
1246
a97685e9
JL
1247 * config/tc-hppa.c (pa_ip): Add cases for '.', '~'. '$'. and '!'
1248
9ecc05f0
JL
1249 * config/tc-hppa.c (pa_ip): Add case for 'I'.
1250
cb30237e
NC
12511999-08-27 Jim Wilson <[email protected]>
1252
1253 * dwarf2dbg.c (MAX_SPECIAL_ADDR_DELTA): Correct typo in comment.
1254 (struct ls): Add frag field. Initialize it to zero.
1255 (out_end_sequence): New local text_frag. Set it while in text section.
1256 Replace address check with frag check. Set ls.frag to text_frag if
1257 out_set_addr called.
1258 (dwarf2_gen_line_info): Add explanatory comment. New local saved_frag.
1259 Set it before switching sections. Replace address check with frag
1260 check. Set ls.frag to saved_frag if out_set_addr called.
1261
09a798ea
NC
12621999-08-26 David Mosberger <[email protected]>
1263
1264 * dwarf2dbg.c (out_end_sequence): If address changed, directly
1265 output "advance_pc" opcode instead of calling gen_addr_line().
1266 The latter has the undesired side-effect of creating a new row
1267 in the debug line info matrix.
1268
e1c05f12
NC
12691999-08-26 Jim Wilson <[email protected]>
1270
1271 * dwarf2dbg.c (out_end_sequence): Correct comments. Set last to
1272 ls.last_filename if last is less than zero. Set ls.last_filename
1273 when allocating new entry.
1274 (dwarf2_gen_line_info): Save seg and subseg info before subseg_new
1275 call.
1276
b23bac36
AM
12771999-08-20 Alan Modra <[email protected]>
1278
1279 * config/tc-i386.c (i386_index_check): Fix the displacement size
1280 when INFER_ADDR_PREFIX.
1281
50f4163f
NC
12821999-08-18 Nick Clifton <[email protected]>
1283
1284 * config/tc-arm.c (md_apply_fix3): If an offset is invalid,
1285 display its value.
1286
f589a541
ILT
12871999-08-17 Ian Lance Taylor <[email protected]>
1288
1289 * config/tc-ppc.c (md_assemble): Trim @ha constant to 16 bits, to
1290 handle 0xffffNNNN constants correctly.
1291
11450271
NC
12921999-08-16 Nick Clifton <[email protected]>
1293
1294 * config/tc-arm.c (do_ldst): Look for register conflicts on stores
1295 as well as loads.
1296
276b1dc2
NC
12971999-08-13 Nick Clifton <[email protected]>
1298
1299 * config/tc-arm.c (validate_offset_imm): Work on unsigned values.
1300 (md_apply_fix3): Always pass positive values to
1301 validate_offset_imm.
1302
ae5ad4ad
NC
13031999-08-12 Nick Clifton <[email protected]>
1304
1305 * config/tc-arm.c (skip_whitespace): New macro.
1306 Formatting tidy ups.
1307
1308 (md_apply_fix3): Store relocation offset in addend for ELF based
1309 relocs.
1310 (arm_force_relocation): Always generate relocs for Thumb function
1311 calls.
1312
bf6d3895
AM
13131999-08-11 Alan Modra <[email protected]>
1314
1315 * config/tc-i386.c (md_assemble): Remove dead code. intel_syntax
1316 LONG_DOUBLE_MNEM_SUFFIX floating point is done in opcode/i386.h
1317
46031ca9
JL
1318Tue Aug 10 12:58:31 1999 Jeffrey A Law ([email protected])
1319
b100be66
JL
1320 * config/tc-hppa.c (pa_build_unwind_subspace): Use sane section
1321 flags for the unwind subspace.
1322
46031ca9
JL
1323 * config/tc-hppa.c (UNWIND_SECTION_NAME): Define for ELF.
1324 (pa_build_unwind_subspace): Remove #if 0 wrapper. Select a
1325 suitable relocation based on the size of the target's pointer.
1326 Always Use subsegment zero for the unwinders.
1327 (pa_level): Handle "2.0w".
1328
0825afba
JR
1329Mon Aug 9 20:02:22 1998 J"orn Rennecke <[email protected]>
1330
1331 * config/tc-d30v.c (write_2_short): Don't group repeat instructions
1332 with the following instruction unless this was specified.
1333
1a1ae23e
ILT
13341999-08-09 Ian Lance Taylor <[email protected]>
1335
1336 * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 for
1337 certain sections, to match BFD changes.
1338
81afc846
ILT
13391999-08-08 Mumit Khan <[email protected]>
1340
1341 * Makefile.am (noinst_SCRIPTS): Change .gdbinit to $(GDBINIT).
1342 (EXTRA_SCRIPTS): Define to keep automake happy.
1a1ae23e 1343 * Makefile.in: Rebuild.
81afc846 1344
04ad1543
ILT
13451999-08-08 Ian Lance Taylor <[email protected]>
1346
1347 * Makefile.am: Rename .dep* files to DEP*.
1348 (MKDEP): Rename from DEP. Change all uses. Use $${srcdir} rather
1349 than $(srcdir). Rename TCDEP targets to DEPTC. Rename OBJDEP
1350 targets to DEPOBJ.
1351 * Makefile.in: Rebuild.
1352
1eb7027c
RH
13531999-08-08 Jakub Jelinek <[email protected]>
1354
1355 * config/tc-sparc.c (sparc_ip): Allow assembly of %lo()+%reg.
1356
2dcc60be
ILT
13571999-08-08 Ian Lance Taylor <[email protected]>
1358
46eec08e
ILT
1359 * Makefile.am: Change all uses of itbl-test-ops to itbl-tops to
1360 avoid problems on DOS filesystems.
1361 * Makefile.in: Rebuild.
1362
2dcc60be
ILT
1363 * doc/as.texinfo (Section): Document 's' flag for COFF version.
1364
13651999-08-08 Mumit Khan <[email protected]>
1366
1367 * config/obj-coff.c (obj_coff_section): Handle 's' (shared)
1368 section flag.
1369
76a27922
ILT
13701999-08-08 Ian Lance Taylor <[email protected]>
1371
1372 * configure.in: Define and substitute GDBINIT. Change AC_OUTPUT
81afc846 1373 line to create ${GDBINIT} rather than .gdbinit.
76a27922
ILT
1374 * configure, Makefile.in, doc/Makefile.in: Rebuild.
1375
0741736b
JL
1376Fri Aug 6 12:12:44 1999 Jeffrey A Law ([email protected])
1377
1378 * config/tc-hppa.c (pa_ip, case '?'): Add missing break.
1379
9a913dfb
JL
1380Fri Aug 6 09:46:35 1999 Jerry Quinn <[email protected]>
1381
1382 * config/tc-hppa.c (pa_ip): Add 64 bit condition completers.
1383
a1f2d742
ILT
13841999-08-06 Jakub Jelinek <[email protected]>
1385
1386 * config/tc-sparc.h (tc_fix_adjustable): Fix check for PIC local
1387 non-adjustable symbols.
1388
55a914bc
JL
1389Thu Aug 5 16:52:51 1999 Jerry Quinn <[email protected]>
1390
1391 * config/tc-hppa.c (pa_ip): Change condition args to have '?' prefix.
1392
336f7c70 1393Thu Aug 5 23:05:56 1999 J"orn Rennecke <[email protected]>
5fc44b2d
JR
1394
1395 * config/tc-sh.c (md_assemble): Call as_bad when there are excess
1396 operands.
1397
9750fcc5
ILT
13981999-08-05 Donn Terry <[email protected]>
1399
1400 * config/te-interix.h: New file.
1401 * configure.in (i386-*-interix*): New target.
1402 * configure: Rebuild.
1403
39ba5561
JL
1404Wed Aug 4 13:12:17 1999 Jeffrey A Law ([email protected])
1405
1406 * config/tc-hppa.c (pa_chk_field_selector): Allow 3 byte
1407 selectors for ELF too.
1408 (selector_table): Add "ltp" and "rtp" selectors.
1409
eecb386c
AM
14101999-08-04 Alan Modra <[email protected]>
1411
1412 * config/tc-i386.c (i386_operand): No need to change
1413 operand_string pointer in segment reg case before goto
1414 do_memory_reference. Initialise displacement_string_start and
1415 displacement_string_end after do_memory_reference label.
1416 (i386_index_check): Add operand_string param, and print error
1417 message on failure here.
1418 (i386_intel_memory_operand): Instead of here.
1419 (i386_operand): And here.
1420 (INFER_ADDR_PREFIX): Enable.
1421
1422 * doc/c-i386.texi (i386-16bit): Document .code16gcc.
1423
1424 * config/tc-i386.h (DefaultSize): Define. Renumber following
1425 opcode_modifier defines.
1426
1427 From Etienne Lorrain <[email protected]>
1428 * config/tc-i386.c (stackop_size): New variable.
1429 (set_16bit_code_flag): Clear it here.
1430 (set_16bit_gcc_code_flag): New function.
1431 (md_pseudo_table): Add "code16gcc" entry.
1432 (md_assemble): Set i.suffix for insns with DefaultSize modifier.
1433
f173e82e
ILT
14341999-08-03 Ian Lance Taylor <[email protected]>
1435
a04b544b
ILT
1436 * config/obj-coff.c (coff_frob_symbol): Always update set_end with
1437 next_set_end even if the end symbol is being discarded.
1438
1439 * gasp.c: Add ATTRIBUTE_UNUSED as needed for non-BFD_ASSEMBLER.
1440 * output-file.c, symbols.c, config/tc-i386.c: Likewise.
1441 * config/obj-coff.c: Likewise.
1442 (seg_info_type): Remove.
1443 (seg_info_off_by_4): Change to array of segT.
1444 (s_get_segment): Adjust accordingly.
1445 (obj_pseudo_table): Fully initialize sentinel entry.
1446
f173e82e
ILT
1447 * config/tc-mips.c (append_insn): Correct INSN_SYNC test. From
1448 Ralf Baechle <[email protected]>.
1449
c3332e24
AM
14501999-08-03 Etienne Lorrain <[email protected]>
1451
1452 * config/tc-i386.c (f16_3): New. Fixes 16 bit 3 byte nop.
1453
14541999-08-03 Alan Modra <[email protected]>
1455
24eab124
AM
1456 * config/tc-i386.c: Indentation and white space changes.
1457 (i386_index_check): New function. Add INFER_ADDR_PREFIX code, but
1458 don't enable it by default.
1459 (i386_intel_operand): Remove redundant prototype.
1460 Move check on number of memory operands, and i.mem_operands++
1461 (i386_intel_memory_operand): To here.
1462 Remove i386_immediate code from here. Remove special case code
1463 for input and output using (%dx). Remove base/index checks and
1464 call i386_index_check instead. Save initial operand_string
1465 argument for error message.
1466 (i386_operand): Remove redundant prototype. Move base/index
1467 checks to i386_index_check.
1468 (i386_displacement): Move intel mode check for non-zero
1469 i.disp_operand
1470 (i386_intel_memory_operand): To here.
c3332e24 1471
6d8809aa
RH
14721999-07-30 Jakub Jelinek <[email protected]>
1473
1474 * config/tc-sparc.c (md_longopts): Add --no-undeclared-regs option.
1475 (sparc_ip): Warn if %g2 or %g3 register is used and not covered
1476 by .register pseudo-op if -64 and --no-undeclared-regs.
1477 (s_register, sparc_adjust_symtab): New functions.
1478 * config/tc-sparc.h (tc_adjust_symtab, sparc_adjust_symtab):
1479 Declare sparc_adjust_symtab as tc_adjust_symtab.
1480 * doc/c-sparc.texi: Add description of #ignore special literal
1481 for .register pseudo-op.
1482
c8d259f7
CM
14831999-07-30 Catherine Moore <[email protected]>
1484
1485 * config/tc-arm.c (tc_gen_reloc): Record the vtable entry in
1486 the relocation's section offset.
1487
b77ad1d4
AM
14881999-07-29 Alan Modra <[email protected]>
1489
1490 * write.c (fixup_segment): Fix generic error check overflow test.
1491
1492 * config/tc-i386.c (pe): Change %d to %ld, %x to %lx, and cast
1493 X_add_number to long.
1494
b53fcc20
JL
1495Wed Jul 28 02:04:24 1999 "Jerry Quinn" <[email protected]>
1496
1497 * config/tc-hppa.c (pa_ip): Add 'J' and 'K' code
1498 processing.
1499
d2e71411
ILT
15001999-07-27 Ian Lance Taylor <[email protected]>
1501
1502 * config/tc-sparc.h (tc_fix_adjustable): Don't adjust GOT, PLT, or
1503 VTABLE relocations.
1504
e9f56b1d
ILT
15051999-07-21 Mark Elbrecht <[email protected]>
1506
1507 * config/te-go32.h (COFF_LONG_SECTION_NAMES): Define.
1a39f480 1508
1a39f480
ILT
1509 * configure.bat: Remove; obsolete.
1510 * config/go32.cfg: Likewise.
1511
29fe79d3
ILT
15121999-07-21 Brad M. Garcia <[email protected]>
1513
1514 * configure.in (i386-*-vxworks*): New target.
1515 * configure: Rebuild.
1516
e06510e6
RH
15171999-07-16 Jakub Jelinek <[email protected]>
1518
1519 * doc/c-sparc.texi: Document .register and .nword pseudo-ops.
1520
dabe3bbc
RH
15211999-07-16 Jakub Jelinek <[email protected]>
1522
1523 * config/tc-sparc.c (sparc_ip): Allow OLO10 relocations
1524 on -64 and not pic.
1525 (output_insn): Put OLO10's secondary addend into tc_fix_data.
1526 (md_apply_fix3): Handle BFD_RELOC_SPARC_OLO10.
1527 (tc_gen_reloc): Return two relocs for OLO10, LO10 and SPARC13.
1528 * config/tc-sparc.h (RELOC_EXPANSION_POSSIBLE,
1529 MAX_RELOC_EXPANSION): Define.
1530 (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
1531
b4cac588
AM
15321999-07-16 Alan Modra <[email protected]>
1533
1534 * config/tc-i386.c (intel_float_operand): Add prototype, make static.
1535 (md_assemble): Localize *exp variable to if (fake_zero_displacement)
1536 block. Print a warning if an 8-bit or 16-bit constant
1537 displacement or immediate is truncated on output.
1538 (i386_immediate): Ensure Imm16 is always legal for a 16-bit mode
1539 immediate.
1540 (i386_operand): Disallow immediate jump absolute operand.
1541
966ed0b4
ILT
15421999-07-15 Ian Lance Taylor <[email protected]>
1543
0ed15843
ILT
1544 * configure.in: Bump version number to 2.9.5.
1545 * configure: Rebuild.
1546
966ed0b4
ILT
1547 * dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long
1548 or %llx work.
1549
67f1cff0
JL
1550Thu Jul 15 02:45:30 1999 Jeffrey A Law ([email protected])
1551
1552 * config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op.
1553 (cons_fix_new_hppa): Derive size of fixup from size of the object.
1554
2f992c04
NC
15551999-07-14 Philip Blundell <[email protected]>
1556
1557 * symbols.c (dollar_label_name): Prepend LOCAL_LABEL_PREFIX if it
1558 is defined.
1559 * config/tc-arm.h (LOCAL_LABEL_PREFIX): Define to '.' for ELF.
1560
1561 * config/tc-arm.c (md_begin): Set F_SOFTFLOAT in the output file
1562 if -mno-fpu was given.
1563 (tc_gen_reloc): Fix typo. Delete bogus code related to GOTPC
1564 relocs.
1565 (cons_fix_new_arm): Remove misleading comments.
1566
14ad458a
ILT
15671999-07-14 Ian Lance Taylor <[email protected]>
1568
1569 * write.c (cvt_frag_to_fill): Use frag file and line in rs_org
1570 error message.
1571 (relax_segment): Likewise. After giving a rs_org error, convert
1572 the frag to rs_align to avoid cascading errors.
1573
36823076
AS
15741999-07-12 Andreas Schwab <[email protected]>
1575
1576 * config/tc-m68k.c: Add some ATTRIBUTE_UNUSED.
1577
ab9da554
ILT
15781999-07-11 Ian Lance Taylor <[email protected]>
1579
1580 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
1581 as appropriate. Fill in structure initializations. Add variable
1582 initializations. Add casts.
1583 * dwarf2dbg.c (print_stats): Change i to size_t.
1584 * listing.c (listing_listing): Change list_line to unsigned int.
1585
e0accf0c
ILT
15861999-07-10 Ian Lance Taylor <[email protected]>
1587
1588 * config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: Call S_IS_LOCAL
1589 rather than checking for \001 and \002 in symbol name.
1590 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: Likewise.
1591
7d4ce8a9
JL
1592Thu Jul 8 12:32:23 1999 John David Anglin <[email protected]>
1593
1594 * configure.in (hppa*-linux-gnu*): New target.
1595 * configure: Rebuilt.
1596
5395a469
NC
15971999-07-08 Nick Clifton <[email protected]>
1598
1599 * doc/c-arm.texi (ARM Directives): Document .thumb_set directive.
1600
cac58fa6
NC
16011999-07-07 Nick Clifton <[email protected]>
1602
5395a469 1603 * config/tc-v850.c (v850_comm): Use symbol_get_obj() rather than
cac58fa6
NC
1604 accessing symbolP directly.
1605
03b36ee1
JL
1606Tue Jul 6 10:41:42 1999 Jeffrey A Law ([email protected])
1607
1608 * config/tc-hppa.h (tc_frob_symbol): Always punt "$global$" symbol
1609 for ELF.
1610
49a5575c
NC
16111999-07-05 Nick Clifton <[email protected]>
1612
1613 * config/tc-arm.c (ARM_EXT_V5): Define.
1614 (ARM_ARCH_V5, ARM_ARCH_V5T): Define.
1615 (md_begin): Detect ARM v5 architectures.
1616 (md_parse_option): Accept arm v5 specification.
1617 (md_show_usage): Documment -marmv5 switch.
1618
1619 * doc/c-arm.texi: Document -marmv5 command line option.
1620
1621 * config/tc-arm.c (do_adrl): New function. Implement ADRL pseudo
1622 op.
1623 (validate_immediate_twopart): New function. Determine if a
1624 constant can be computed by two ADD instructions.
1625 (output_inst): Remove its command line parameter - it was never
1626 used.
1627 (md_apply_fix3): Support BFD_RELOC_ARM_ADRL_IMMEDIATE, used to
1628 implememt the ADRL pseudo op.
1629 (tc_gen_reloc): Generate a suitable error message if an ADRL
1630 instruction tries to generate a real reloc.
1631
1632 * doc/c-arm.texi: Document NOP, ADR and ADRL pseudo ops.
1633
09ecf0ba
JL
1634Thu Jul 1 15:33:10 1999 Jeffrey A Law ([email protected])
1635
1636 * config/tc-hppa.c (pa_ip): Convert the opcode and all completers
1637 into lower case.
1638
264d6861
ILT
16391999-06-27 H.J. Lu <[email protected]>
1640
1641 * subsegs.c (subseg_text_p): Use 1/0 instead of true/false for
1642 non BFD_ASSEMBLER case.
1643
827c0149
ILT
16441999-06-26 Mumit Khan <[email protected]>
1645
1646 * config/obj-coff.c (obj_coff_section): Mark writable sections as
1647 data.
1648
a340d270
RH
16491999-06-26 David Mosberger <[email protected]>
1650
1651 * dwarf2dbg.c (dwarf2_gen_line_info): Don't call
1652 out_end_sequence() when the address decreases due to a new frag.
1653 (gen_dir_list): Set ls.file[i].dir to j + 1 (not j) because file
1654 numbering starts with 1.
1655
16b93d88
NC
16561999-06-23 Nick Clifton <[email protected]>
1657
1658 * config/tc-mcore.c (md_pseudo_table): Add .comm for ELF and allow
1659 .section for COFF.
1660 (mcore_s_text): Call obj_elf_text for ELF target.
1661 (mcore_s_data): Call obj_elf_data for ELF target.
1662 (mcore_s_section): No longer ELF specific. Call obj_coff_section
1663 for COFF target.
1664 (mcore_s_bss): New function: Dump literal table before changing
1665 sections.
1666 (mcore_s_comm): New function: Dump literal table before changing
1667 sections.
1668
1669 * config/obj-elf.c (obj_elf_common, obj_elf_data, obj_elf_text):
1670 No longer static functions.
1671 * config/obj-elf.h (obj_elf_common, obj_elf_data, obj_elf_text):
1672 Provide prototypes for these functions.
1673
fed9b18a
ILT
16741999-06-22 Ian Lance Taylor <[email protected]>
1675
be2acf27
ILT
1676 * subsegs.c (subseg_text_p): Rewrite non BFD_ASSEMBLER case to use
1677 a list of names, to try obj_segment_name, and to try abbreviated
1678 names when using COFF without long section names.
1679
7dcc9865
ILT
1680 * config/tc-alpha.c: More use of symbol accessor functions.
1681 * config/tc-arc.c: Likewise.
1682 * config/tc-d30v.c: Likewise.
1683 * config/tc-fr30.c: Likewise.
1684 * config/tc-i860.c: Likewise.
1685 * config/tc-m88k.c: Likewise.
1686 * config/tc-mcore.c: Likewise.
1687 * config/tc-ns32k.c: Likewise.
1688 * config/tc-sparc.c: Likewise.
1689 * config/tc-v850.c: Likewise.
1690
a77f5182
ILT
1691 * config/tc-arc.c (get_arc_exp_reloc_type): Change uses of
1692 sy_value with appropriate accessor functions.
1693 * config/tc-arm.c (md_apply_fix3): Likewise.
1694 * config/tc-d10v.c (AT_WORD_P): Likewise.
1695 * config/tc-v850.c (reg_name_search): Likewise.
1696
fed9b18a
ILT
1697 * config/obj-ecoff.c (obj_ecoff_set_ext): Change uses of bsym to
1698 use symbol_get_bfdsym instead.
1699 * config/tc-ppc.c (md_assemble): Likewise.
1700 * config/tc-v850.c (v850_comm): Likewise.
1701
310b5aa2
ILT
17021999-06-22 Jonathan Larmour <[email protected]>
1703
1704 * config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at
1705 the symbol, rather than accessing the bsym member.
1706 * config/tc-d10v.c (tc_gen_reloc): Likewise.
1707 * config/tc-d30v.c (tc_gen_reloc): Likewise.
1708 * config/tc-mcore.c (tc_gen_reloc): Likewise.
1709 * config/tc-mn10200.c (tc_gen_reloc): Likewise.
1710 * config/tc-mn10300.c (tc_gen_reloc): Likewise.
1711 * config/tc-ns32k.c (tc_gen_reloc): Likewise.
1712 * config/tc-tic30.c (tc_gen_reloc): Likewise.
1713 * config/tc-v850.c (tc_gen_reloc): Likewise.
1714
9cb8e75e
JL
1715Mon Jun 21 16:45:19 1999 Jeffrey A Law ([email protected])
1716
1717 * tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type.
1718 (hppa_gen_reloc_type): Conditionalize on BFD64.
1719 (tc_gen_reloc): Re-enable ELF relocations.
1720 * tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format.
1721
3d103319
ILT
17221999-06-21 Ian Lance Taylor <[email protected]>
1723
1724 * config/tc-arm.c (ldst_extend): Add parentheses to avoid
1725 warning.
1726 (do_ldst): Move assignment out of if condition.
1727 (md_apply_fix3): Add casts to avoid printf format warnings. Add
1728 parentheses to avoid warning.
1729
776b24b4
NC
17301999-06-21 Nick Clifton <[email protected]>
1731
155f0fe7
NC
1732 * config/tc-arm.c (arm_adjust_symtab): Use symbol_get_bfdsym()
1733 macro to get at the BFD symbol associated with a GAS symbol.
776b24b4 1734
809ffe0d
ILT
17351999-06-19 Ian Lance Taylor <[email protected]>
1736
1737 * config/tc-ppc.c: Update for symbol handling changes.
1738 * config/obj-coff.c: Likewise.
1739
49863f82
JL
1740Fri Jun 18 14:34:18 1999 Jeffrey A Law ([email protected])
1741
1742 * tc-hppa.c: General cleanups of ELF support. No more spaces
1743 and subspaces for ELF.
1744 (GDB_DEBUG_SPACE_NAME): Delete definition for ELF.
1745 (GDB_STRINGS_SUBSPACE_NAME): Likewise.
1746 (GDB_SYMBOLS_SUBSPACE_NAME): Likewise
1747 (UNWIND_SECTION_NAME): Likewise.
1748 (space/subspace related structures): Conditionalize definitions
1749 on OBJ_SOM.
1750 (space/subspace directives and support routines): Conditionalize
1751 definitions and references/uses on OBJ_SOM.
1752 (label_symbol_struct): For ELF, track the symbol's segment. For
1753 SOM track its space.
1754 (pa_define_label, pa_undefine_label, pa_get_label): Corresponding
1755 changes.
1756 (USE_ALIASES): Kill for both SOM & ELF.
1757 (pa_def_subspaces, pa_def_spaces): Corresponding changes.
1758 (pa_space, pa_subspace): Corresponding changes.
1759 (pa_spaces_begin): Corresponding chagnes.
1760 (md_begin): Do not muck around with space/subspace stuff for
1761 OBJ_ELF.
1762 (md_apply_fix): Temporarily disable argument relocation stuff
1763 for OBJ_ELF.
1764 (tc_gen_reloc): Temporarily disable relocation generation for
1765 OBJ_ELF
1766 (pa_build_unwind_subspace): Similarly.
1767
fed881b1
NC
17681999-06-16 Nick Clifton <[email protected]>
1769
1770 * config/tc-arm.c (thumb_set): New pseudo op.
1771 (text, data, section): Override these pseudo ops with ARM
1772 specific versions.
1773 (s_thumb_set): New function: Perform the same as a .set pseudo
1774 op, but also mark the alias'ed symbol as being a Thumb
1775 function.
1776 (arm_s_text): New function: Perform the same as the .text
1777 pseudo op, but dump the literal pool before changing
1778 sections.
1779 (arm_s_data): New function: Perform the same as the .data
1780 pseudo op, but dump the literal pool before changing
1781 sections.
1782 (arm_s_section): New function: Perform the same as the
1783 .section pseudo op, but dump the literal pool before changing
1784 sections.
1785 (arm_cleanup): Do not reset the current section before dumping
1786 the literal pool.
1787
0f94f4c8
NC
17881999-06-17 Nick Clifton <[email protected]>
1789
2f3519a2
NC
1790 * config/tc-m32r.c (md_longopts): Fix OPTION_WARN_UNMATCHED and
1791 OPTION_NO_WARN_UNMATCHED entries.
1792 (md_parse_option): Generate a warning message if an unrecognised
1793 option is encountered.
1794
0f94f4c8
NC
1795 * config/tc-d10v.c (do_not_ignore_hash): New variable.
1796 (get_operands): When parsing an expression after an '@' symbol
1797 has been detected, do not ignore '#' symbols.
1798 (md_operand): Only ignore '#' symbols if do_not_ignore_hash is
1799 false.
1800
e4a86f6f
ILT
18011999-06-13 Ian Lance Taylor <[email protected]>
1802
1803 From K. Richard Pixley <[email protected]>:
1804 * configure.in (ppc-*-vxworks*): New target.
1805 * configure: Rebuild.
1806
a8aed0fb
UD
18071999-06-12 Philip Blundell <[email protected]>
1808
1809 * config/tc-arm.c (tc_gen_reloc): Fix handling of GOTPC relocs.
1810
7565ed77
ILT
18111999-06-13 Ian Lance Taylor <[email protected]>
1812
1813 * write.c (adjust_reloc_syms): Rather than never reducing reloc
1814 which refer to symbols in linkonce sections, permit reducing the
1815 relocs if the symbol is local.
1816
b9e57a38
ILT
18171999-06-12 Ian Lance Taylor <[email protected]>
1818
1819 * subsegs.c (subseg_text_p): New function.
1820 * as.h (subseg_text_p): Declare.
1821 * read.c (do_align): Use subseg_text_p to set the default fill.
1822 * write.c (subsegs_finish): Likewise.
1823 * config/obj-coff.c (write_object_file): Likewise.
1824 * config/tc-i386.h (md_maybe_text): Don't define.
1825 (md_do_align): Use subseg_text_p to set the default fill.
1826 * config/tc-m32r.c (m32r_do_align): Likewise.
1827 * config/tc-sh.c (sh_do_align): Likewise.
1828 * config/tc-sparc.h (md_do_align): Likewise.
1829
008960a5
ILT
18301999-06-12 David O'Brien <[email protected]>
1831
1832 * configure.in: (i[3456]86-*-freebsd*): Now defaults to ELF.
1833 * configure: Rebuild.
1834
a1605869
ILT
18351999-06-12 Ian Lance Taylor <[email protected]>
1836
d9ac5a3b
ILT
1837 * dwarf2dbg.c: Include elf/dwarf2.h with "", not <>.
1838 * Makefile.am: Rebuild dependencies.
1839 * Makefile.in: Rebuild.
1840
a1605869
ILT
1841 * config/tc-i386.c (i386_immediate): Remove unused label
1842 seg_unimplemented.
1843
1844 * struc-symbol.h: Put local_symbol code in ifdef BFD_ASSEMBLER.
1845 * symbols.c: Likewise.
1846 * config/obj-aout.c (obj_crawl_symbol_chain): Refer directly to
1847 sy_next field when taking address, rather than symbol_next.
1848
1849 * dwarf2dbg.c: Change bfd_vma to addressT and bfd_signed_vma to
1850 offsetT.
1851 (out_set_addr): Don't use BYTES_PER_ADDRESS. Instead, get the
1852 value from the output file architecture.
1853 (dwarf2_gen_line_info): Ifdef BFD_ASSEMBLER specific code.
1854 * dwarf2dbg.h: Change bfd_vma to addressT.
1855
a7cd1c22
ILT
18561999-06-11 Ian Lance Taylor <[email protected]>
1857
1858 * dwarf2dbg.h: Use PARAMS in function declarations.
1859
76171f81
ILT
18601999-06-11 Martin Dorey <[email protected]>
1861
1862 * write.c (fixup_segment): Don't add symbol value for i960 ELF.
1863 * config/tc-i960.c (s_leafproc): Don't call tc_set_bal_of_cal if
1864 OBJ_ELF.
1865 (md_apply_fix): Simplify BFD_ASSEMBLER handling.
1866
9b4d630b
ILT
18671999-06-11 Ian Lance Taylor <[email protected]>
1868
5865bb77
ILT
1869 * config/tc-i386.c (md_apply_fix3): Add default case to switch.
1870
9e7c96d9
ILT
1871 * config/tc-sparc.c (md_pseudo_table): Remove pushsection and
1872 popsection.
1873
1b50c718
ILT
1874 * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
1875
1bf67e0d
ILT
1876 * read.c (read_a_source_file): Only declare inescape if
1877 QUOTES_IN_INSN.
1878
1879 * itbl-ops.c (itbl_disassemble): Change sprintf format strings to
1880 match parameters.
1881 (find_entry_byval): Add parens to avoid warning.
1882
1883 * as.c: If HAVE_ITBL_CPU, include "itbl-ops.h".
1884
9b4d630b
ILT
1885 * symbols.c (resolve_symbol_value): Don't permit subtraction of
1886 undefined symbols.
1887
a22b281c
RH
18881999-06-10 Jakub Jelinek <[email protected]>
1889
1890 * config/tc-sparc.c (sparc_ip): Don't use side-effect expression
1891 with isoctal.
1892
1893 * config/tc-sparc.c (synthetize_setuw, synthetize_setsw,
1894 synthetize_setx): New functions.
1895 (md_assemble): Broken the special cases into the above
1896 functions. Make compiler happy if sizeof(bfd_vma)==4.
1897 Fix sethi generated from set/setuw. If instructions have a relloc,
1898 always clear the fields to be relocated in the opcode.
1899 (sparc_ip): Remove special_case global variable.
1900
7f2f689c
ILT
19011999-06-10 Ian Lance Taylor <[email protected]>
1902
d7ba4a77
ILT
1903 Based on patches from John W. Woznack <[email protected]>:
1904 * itbl-ops.c (itbl_get_reg_val): Add pval parameter. Return
1905 indication of success rather than a value.
1906 (itbl_get_val): Likewise.
1907 (itbl_get_field): Use strcspn. Change delimiters to include
1908 parens.
1909 * itbl-ops.h (itbl_get_reg_val): Update declaration.
1910 (itbl_get_val): Likewise.
1911 * config/tc-mips.c (mips_ip): Update call to itbl_get_reg_val.
1912
7f2f689c
ILT
1913 * symbols.c (copy_symbol_attributes): Convert local symbols to
1914 regular symbols.
1915
c1d3c45e
NC
19161999-06-10 Nick Clifton <[email protected]>
1917
1918 * config/tc-arm.c (md_parse_option): Add support for ARM920 and
1919 ARM920t.
1920
63fab58c
RH
19211999-06-07 Jakub Jelinek <[email protected]>
1922
1923 * config/tc-sparc.c (md_assemble): Fix up setx, support setsw.
1924 Optimize set if sizeof(bfd_vma) == 64.
1925 (sparc_ip): Fix sethi - without %hi() it should generate
eb858bb4 1926 R_SPARC_22 reloc, not R_SPARC_HI22.
63fab58c
RH
1927 (tc_gen_reloc): Handle BFD_RELOC_SPARC22.
1928
cf9a1301
RH
19291999-06-07 Jakub Jelinek <[email protected]>
1930
1931 * config/tc-sparc.c (md_begin): Handle native wordsize aliases.
1932 (s_ncons): New function.
1933 (native_op_table): New table.
1934 (sparc_ip): Be more strict on %hi() etc.; prepare assembler for
1935 R_SPARC_OLO10 handling.
1936
bf29b231
RH
1937Mon Jun 7 10:22:16 1999 Richard Henderson <[email protected]>
1938
1939 * expr.h (struct expressionS): Revert last change; widen X_op.
1940 * config/tc-alpha.c (md_begin): Check the field is wide enough.
1941
9be1cda6
AS
1942Mon Jun 7 11:25:16 1999 Andreas Schwab <[email protected]>
1943
a4835b42
AS
1944 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-fr30.c.
1945 (TARGET_CPU_HFILES): Add config/tc-fr30.h.
1946 (TARG_ENV_HFILES): Add config/te-epoc-pe.h.
1947 * Makefile.in: Regenerated.
1948
9be1cda6
AS
1949 * config/obj-elf.c (obj_elf_common): In MRI mode if called as
1950 `common' pass on to s_mri_common.
1951 (elf_pseudo_table): Pass 1 to obj_elf_common for `common'.
1952
62335629
RH
19531999-06-06 Richard Henderson <[email protected]>
1954
1955 * config/obj-elf.c (obj_elf_section): Don't free the return
1956 value of demand_copy_C_string.
1957
9de8d8f1
RH
19581999-06-05 Richard Henderson <[email protected]>
1959
1960 * dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
1961 creation logic from obj_elf_create_section.
1962
1963 * config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection.
1964 (section_stack): New.
1965 (special_sections): Make const.
1966 (obj_elf_section): Gut and rewrite parsing.
1967 (obj_elf_change_section): New function broken out of obj_elf_section.
1968 (obj_elf_parse_section_letters): Likewise.
1969 (obj_elf_section_word): Likewise.
1970 (obj_elf_section_type): Likewise.
1971 (obj_elf_previous): Treat as a toggle.
1972 (obj_elf_popsection): New.
1973 * config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str.
1974 (ppc_section_type): Likewise.
1975 * config/tc-ppc.h: Likewise.
1976
1977 * expr.h (struct expressionS): Don't make X_op a bitfield.
1978 * config/tc-alpha.c: Update for symbol handling changes.
1979 (md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section.
1980 (load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
1981
58b5739a
RH
19821999-06-05 Richard Henderson <[email protected]>
1983
1984 * dwarf2dbg.c (*): Convert to K&R + prototypes.
1985 (dwarf2_gen_line_info): Kill unused variables.
1986 (dwarf2_finish): Likewise.
1987 (dwarf2_where): Likewise.
1988 (dwarf2_directive_file): If we've only got a string,
1989 hand off to s_app_file.
1990 * ecoff.c: Move the include of ecoff.h.
1991 * symbols.h (S_IS_FUNCTION): Prototype.
1992
1993 * read.c (LEX_HASH): Supply a default.
1994 (lex_type): Use it.
1995 (s_globl): Update `c' after skipping whitespace.
1996 * read.h (LEX_END_NAME, is_name_ender): New.
1997 * expr.c (get_symbol_end): Respect it.
1998
398e8c25
ILT
19991999-06-04 Mark Klein <[email protected]>
2000
993142d5
ILT
2001 * config/tc-hppa.c (md_begin): Convert local symbol dummy_symbol
2002 to real if OBJ_SOM
2003 (tc_gen_reloc): Still need bfd_abs_symbol in some relocs.
2004
398e8c25
ILT
2005 * config/tc-hppa.c: Update for symbol handling changes.
2006
b4013713
ILT
20071999-06-03 Ian Lance Taylor <[email protected]>
2008
080e41e6
ILT
2009 * cgen.c: Update for symbol handling changes.
2010 * config/tc-m32r.c: Likewise.
f412ead8 2011
a0f75b47
ILT
2012 * config/tc-hppa.h: Update for symbol handling changes.
2013 * config/tc-hppa.c: Likewise.
2014
174419c1
ILT
2015 * config/tc-arm.h: Update for symbol handling changes.
2016 * config/tc-arm.c: Likewise.
2017 (symbol_make_empty): Remove. Just use symbol_create.
2018
2019 * symbols.c (symbol_set_tc): Correct name.
2020
6104f0a0
ILT
2021 * Makefile.am: Rebuild dependencies.
2022 ($(OBJS)): Don't depend upon struc-symbol.h.
2023 (.dep1, .tcdep, .objdep): Create itbl-parse.h.
2024 * dep-in.sed: Don't remove struc-symbol.h.
2025 * Makefile.in: Rebuild.
2026
b4013713
ILT
2027 * doc/internals.texi (Symbols): Describe changes in symbol
2028 handling.
2029
6576f0b5
RH
20301999-06-03 Richard Henderson <[email protected]>
2031
2032 * dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
2033 instead of doing the work by hand.
2034
fac0d250
RH
20351999-06-03 David Mosberger <[email protected]>
2036
2037 * dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial
2038 state of line state-machine.
2039 (struct ls): Collect DWARF2 line state-machine state in new member
2040 SM. Add member EMPTY_SEQUENCE to keep track if a code sequence
2041 resulted in any DWARF2 directives.
2042 (reset_state_machine): New function.
2043 (out_end_sequence): Ditto.
2044 (dwarf2_gen_line_info): When switching sections or switching to a
2045 lower text address, call out_end_sequence() first to terminate the
2046 previous code sequence as code sequences MUST have monotonically
2047 increasing addresses.
2048 (dwarf2_finish): Call out_end_sequence() instead of open coding it.
2049
20501999-06-03 David Mosberger <[email protected]>
2051
2052 * as.c (parse_args): Add option -gdwarf2 to allow requesting
2053 DWARF2 debug info (line information only, at this point).
2054 * as.h: Update comment about supported debug formats.
2055 * dwarf2dbg.c, dwarf2dbg.h: New files.
2056 * Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.
2057
2058 * expr.c (operand): Don't use [ for parens if we want an index op.
2059 (op_encoding): Switch [ into O_index, if desired.
2060 (op_rank): Renumber with O_index on bottom.
2061 (expr): If O_index, match closing bracket.
2062 * expr.h (O_index): New.
2063
2064 * read.c (read_a_source_file): Conditionally allow matched "
2065 in lines passed to md_assemble.
2066
2067 * config/obj-elf.c (elf_pseudo_table): Add `common'.
2068
49309057
ILT
20691999-06-03 Ian Lance Taylor <[email protected]>
2070
2071 Add support for storing local symbols in a small structure to save
2072 memory when assembling large files.
2073 * as.h: Don't include struc-symbol.h.
2074 (symbolS): Add typedef.
2075 * symbols.c: Include struc-symbol.h.
2076 (local_hash): New static variable.
2077 (save_symbol_name): New static function, from symbol_create.
2078 (symbol_create): Call save_symbol_name.
2079 (local_symbol_count): New static variable.
2080 (local_symbol_conversion_count): Likewise.
2081 (LOCAL_SYMBOL_CHECK): Define.
2082 (local_symbol_make): New static function.
2083 (local_symbol_convert): New static function.
2084 (colon): Handle local symbols. Create local symbol for local
2085 label name.
2086 (symbol_table_insert): Handle local symbols.
2087 (symbol_find_or_make): Create local symbol for local label name.
2088 (symbol_find_base): Check for local symbol.
2089 (symbol_append, symbol_insert): Check for local symbols.
2090 (symbol_clear_list_pointers, symbol_remove): Likewise.
2091 (verify_symbol_chain): Likewise.
2092 (copy_symbol_attributes): Likewise.
2093 (resolve_symbol_value): Handle local symbols.
2094 (resolve_local_symbol): New static function.
2095 (resolve_local_symbol_values): New function.
2096 (S_GET_VALUE, S_SET_VALUE): Handle local symbols.
2097 (S_IS_FUNCTION, S_IS_EXTERNAL, S_IS_WEAK, S_IS_COMMON): Likewise.
2098 (S_IS_DEFINED, S_IS_DEBUG, S_IS_LOCAL, S_GET_NAME): Likewise.
2099 (S_GET_SEGMENT, S_SET_SEGMENT, S_SET_EXTERNAL): Likewise.
2100 (S_CLEAR_EXTERNAL, S_SET_WEAK, S_SET_NAME): Likewise.
2101 (symbol_previous, symbol_next): New functions.
2102 (symbol_get_value_expression): Likewise.
2103 (symbol_set_value_expression): Likewise.
2104 (symbol_set_frag, symbol_get_frag): Likewise.
2105 (symbol_mark_used, symbol_clear_used, symbol_used_p): Likewise.
2106 (symbol_mark_used_in_reloc): Likewise.
2107 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p): Likewise.
2108 (symbol_mark_mri_common, symbol_clear_mri_common): Likewise.
2109 (symbol_mri_common_p): Likewise.
2110 (symbol_mark_written, symbol_clear_written): Likewise.
2111 (symbol_written_p): Likewise.
2112 (symbol_mark_resolved, symbol_resolved_p): Likewise.
2113 (symbol_section_p, symbol_equated_p): Likewise.
2114 (symbol_constant_p): Likewise.
2115 (symbol_get_bfdsym, symbol_set_bfdsym): Likewise.
2116 (symbol_get_obj, symbol_set_obj): Likewise.
2117 (symbol_get_tc, symbol_set_tc): Likewise.
2118 (symbol_begin): Initialize local_hash.
2119 (print_symbol_value_1): Handle local symbols.
2120 (symbol_print_statistics): Print local symbol statistics.
2121 * symbols.h: Include "struc-symbol.h" if not BFD_ASSEMBLER.
2122 Declare new symbols.c functions. Move many declarations here from
2123 struc-symbol.h.
2124 (SYMBOLS_NEED_BACKPOINTERS): Define if needed.
2125 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Don't set.
2126 (struct symbol): Move bsym to make it clearly the first field.
2127 Remove TARGET_SYMBOL_FIELDS.
2128 (symbolS): Don't typedef.
2129 (struct broken_word): Remove.
2130 (N_TYPE_seg, seg_N_TYPE): Move to symbol.h.
2131 (SEGMENT_TO_SYMBOL_TYPE, N_REGISTER): Likewise.
2132 (symbol_clear_list_pointers): Likewise.
2133 (symbol_insert, symbol_remove): Likewise.
2134 (symbol_previous, symbol_append): Likewise.
2135 (verify_symbol_chain, verify_symbol_chain_2): Likewise.
2136 (struct local_symbol): Define.
2137 (local_symbol_converted_p, local_symbol_mark_converted): Define.
2138 (local_symbol_resolved_p, local_symbol_mark_resolved): Define.
2139 (local_symbol_get_frag, local_symbol_set_frag): Define.
2140 (local_symbol_get_real_symbol): Define.
2141 (local_symbol_set_real_symbol): Define.
2142 Define.
2143 * write.c (write_object_file): Call resolve_local_symbol_values.
2144 * config/obj-ecoff.h (OBJ_SYMFIELD_TYPE): Define.
2145 (TARGET_SYMBOL_FIELDS): Don't define.
2146 * config/obj-elf.h (OBJ_SYMFIELD_TYPE): Add local field. If
2147 ECOFF_DEBUGGING, add ECOFF fields.
2148 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
2149 * config/obj-multi.h (struct elf_obj_sy): Add local field. If
2150 ECOFF_DEBUGGING, add ECOFF fields.
2151 (ELF_TARGET_SYMBOL_FIELDS, TARGET_SYMBOL_FIELDS): Don't define.
2152 (ECOFF_DEBUG_TARGET_SYMBOL_FIELDS): Don't define.
2153 * config/tc-mcore.h: Don't include struc-symbol.h.
2154 (TARGET_SYMBOL_FIELDS): Don't define.
2155 (struct mcore_tc_sy): Define.
2156 (TC_SYMFIELD_TYPE): Define.
2157 * Many files: Use symbolS instead of struct symbol. Use new
2158 accessor functions rather than referring to symbolS fields
2159 directly.
2160
2161 * read.c (s_mri_common): Don't add in value of line_label.
2162
2163 * config/tc-mips.c (md_apply_fix): Correct parenthesization when
2164 checking for SEC_LINK_ONCE.
2165
2166 * config/tc-sh.h (sh_fix_adjustable): Declare.
2167
2168 * app.c (input_buffer): New static variable.
2169 (app_push): Save saved_input in allocated buffer.
2170 (app_pop): Restored saved_input.
2171 (do_scrub_chars): Change get parameter to take char * and int as
2172 arguments. Change GET macro to pass input_buffer to get
2173 function. Don't save input into allocated buffer.
2174 * as.h (do_scrub_chars): Update declaration.
2175 * input-file.c (input_file_get): Change to take char * and int.
2176 Read data into passed in buffer. Remove static buffer.
2177 * read.c (scrub_from_string): Change to take char * and int. Copy
2178 data into passed in buffer.
2179
2180 * hash.h: Neaten. Declare hash_traverse.
2181 * hash.c: Complete rewrite based on BFD hashing code.
2182 * gasp.c (chunksize): New variable.
2183 * macro.c (macro_expand_body): Call hash_jam with NULL rather than
2184 hash_delete.
2185
661e4995
NC
21861999-05-28 Nick Clifton <[email protected]>
2187
2188 * config/tc-arm.c (md_apply_fix3): Add pipeline offset into reloc
2189 addend unless the target uses an old ABI.
2190
d9a62219
DE
2191Mon May 24 13:36:55 1999 Doug Evans <[email protected]>
2192
2193 -Wchar-subscripts cleanup
2194 * listing.c (listing_newline): Use unsigned char variable, so
2195 calls to isascii,iscntrl are correct.
2196 * atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
2197 (unsigned char).
2198 * ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
2199 * config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
2200 * config/tc-mips.c (mips_ip,mips16_ip): Ditto.
2201 (my_getSmallExpression,get_number,s_mips_ent): Ditto.
2202
6da466c7
ILT
22031999-05-28 Torbjorn Granlund <[email protected]>
2204
2205 * config/tc-m68k.c (m68k_ip): Check for disallowed index register
2206 width for Coldfire.
2207 (arch_coldfire_p): New #define.
2208 (m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
2209
22101999-05-28 Linus Nordberg <[email protected]>
2211
2212 * config/tc-m68k.c (install_operand): Add places `n', `o'.
2213
2214 * config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
2215 (install_operand): Add place `N'.
2216 (init_table): Add registers ACC, MACSR, MASK.
2217
2218 * config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
2219
2220 * config/tc-m68k.c: Change mcf5200 --> mcf.
2221 (archs): Add mcf5206e, mcf5307.
2222 (m68k_ip): Add format `u'.
2223 (install_operand): Add place `m', `M', `h'.
2224 (init_table): Add upper/lower registers.
2225
2226 * config/m68k-parse.h (m68k_register): Add upper/lower registers.
2227
bedf545c
ILT
22281999-05-28 Martin Dorey <[email protected]>
2229
2230 * config/tc-i960.c: Several minor changes to add ELF and
2231 BFD_ASSEMBLER support.
2232 * config/tc-i960.h: Likewise.
2233 * configure.in (i960-*-elf*): New target.
2234 * aclocal.m4, configure: Rebuild.
2235
40c62b25
AM
22361999-05-25 Alan Modra <[email protected]>
2237
2238 * config/tc-i386.c (md_apply_fix3): Only do 1999-05-17 fx_pcrel
2239 reloc changes when defined(BFD_ASSEMBLER).
2240
daa01f85
AM
22411999-05-17 Alan Modra <[email protected]>
2242
2243 * config/tc-i386.c (tc_gen_reloc): Remove F and MAP macros.
2244
2245 * write.c (write_print_statistics): Output to file, not stderr.
2246
2247 * expr.c (generic_bignum_to_int32,64): Prototype.
2248
2249 * read.c (s_lcomm_internal, sizeof_sleb128, sizeof_uleb128,
2250 output_sleb128, output_uleb128, output_big_sleb128,
2251 output_big_uleb128, output_big_leb128): Prototype.
2252 (output_big_sleb128, output_big_uleb128): Make inline.
2253 (output_big_leb128): Remove inline
2254
2255 From Maciej W. Rozycki <[email protected]>
2256 * config/tc-i386.c (md_apply_fix3): Convert BFD_RELOC_16 with
2257 fx_pcrel set to BFD_RELOC_16_PCREL. Similarly for BFD_RELOC_8.
2258 Handle BFD_RELOC_16_PCREL and BFD_RELOC_8_PCREL. Return changed
2259 value for correct overflow check in write.c:fixup_segment.
2260 * write.c (fixup_segment): Move bitfield overflow checks to after
2261 the md_apply_fix call.
2262 * config/obj-coff.c (fixup_segment): Likewise.
2263 * doc/internals.texi (CPU backend): Mention md_apply_fix modifying
2264 valueT *val argument.
2265
19b34177
AS
2266Fri May 14 10:52:13 1999 Andreas Schwab <[email protected]>
2267
2268 * config/atof-ieee.c (gen_to_words): Correctly round a
2269 denormalized number. Fix off-by-one in range checking for
2270 exponent in a denormal.
2271
b8a40f53
NC
22721999-05-10 Nick Clifton <[email protected]>
2273
2274 * config/tc-mcore.c (parse_reg): Accept 'sp' as a valid register
2275 name.
2276
53f3de98
RH
2277Thu May 13 09:46:59 1999 Joel Sherrill ([email protected])
2278
2279 * configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets.
2280
578ec497
AM
22811999-05-12 Alan Modra <[email protected]>
2282
2283 * config/tc-i386.h (InvMem): New flag. Add to AnyMem.
2284 (ReverseRegRegmem): Remove.
2285 (ImmExt): New flag. Renumber some of the opcode_modifier bits.
2286 * config/tc-i386.c (md_assemble): Test for PIII SIMD and AMD
2287 3DNow! via ImmExt opcode_modifier. Remove ReverseRegRegmem
2288 kludge.
2289
2290 From Doug Ledford <[email protected]>
2291 * config/tc-i386.h (RegXMM): New for P/III.
2292 * config/tc-i386.c: Add support for P/III.
2293
d0e9a01c
RH
2294Sat May 8 23:28:50 1999 Richard Henderson <[email protected]>
2295
2296 * config/tc-ppc.c (md_parse_option): Recognize -mppc64bridge.
2297 (md_begin): Allow ppc32 insns in ppc64bridge mode.
2298 (ppc_insert_operand): Accept SIGNOPT in ppc64 mode.
2299
83183c0c
RH
2300Thu May 6 23:13:39 1999 Richard Henderson <[email protected]>
2301
2302 * config/tc-i386.c (i386_immediate): Skip whitespace before
2303 complaining about junk after expression.
2304 (i386_displacement): Likewise.
2305
03987ced
RH
2306Thu May 6 19:50:14 1999 Richard Henderson <[email protected]>
2307
2308 * symbols.c (symbol_find_base): Use memcpy instead of strcpy.
2309 Don't copy before downcaseing.
2310
0d96863f
CM
23111999-05-05 Catherine Moore <[email protected]>
2312
2313 * tc-m68k.c: Include elf/m68k.h.
2314 (m68k_elf_final_processing): New routine.
2315 * tc-m68k.h (elf_tc_final_processing m68k_elf_final_processing):
2316 Define.
2317
90700a53
JL
2318Mon May 3 10:26:03 1999 Jeffrey A Law ([email protected])
2319
2320 * config/tc-hppa.c (md_apply_fix): Handle 22 bit fmt insn like a
2321 17 bit fmt insn.
2322
252b5132
RH
23231999-04-30 Nick Clifton <[email protected]>
2324
2325 * config/tc-mcore.c (mcore_s_section): Dump literals before
2326 changing section.
2327
23281999-04-29 Nick Clifton <[email protected]>
2329
2330 * config/tc-mcore.c (md_apply_fix3): Insert reloc addend into insn
2331 for COFF/PE port.
2332
2333Mon Apr 26 12:34:37 1999 Doug Evans <[email protected]>
2334
2335 * config/tc-fr30.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
2336 (TC_INIT_FIX_DATA): Delete.
2337 * config/tc-m32r.h (TC_FIX_TYPE): Delete, cgen fields moved to write.h.
2338 (TC_INIT_FIX_DATA): Delete.
2339 * write.h (struct fix): New member fx_cgen, ifdef USING_CGEN.
2340 * write.c (fix_new_internal): Initialize fx_cgen member.
2341 * cgen.c (gas_cgen_record_fixup,gas_cgen_record_fixup_exp): Update.
2342 (gas_cgen_md_apply_fix3): Update.
2343 * config/tc-m32r.c (md_cgen_lookup_reloc): Update.
2344 (md_cgen_record_fixup_exp): Update.
2345 (FX_OPINFO_R_TYPE): Update.
2346
2347 * frags.c (frag_var,frag_variant): Initialize fr_cgen here.
2348 * config/tc-fr30.h (TC_FRAG_INIT): Delete.
2349 * config/tc-m32r.h (TC_FRAG_INIT): Delete.
2350 * frags.h (struct frag): Make opindex, opinfo ints.
2351
2352 * config/tc-fr30.c (FX_OPINFO_R_TYPE): Delete, unused.
2353
23541999-04-26 Tom Tromey <[email protected]>
2355
2356 * aclocal.m4, configure: Updated for new version of libtool.
2357
23581999-04-22 Nick Clifton <[email protected]>
2359
2360 * config/tc-mcore.c (md_apply_fix3): Renamed function from
2361 md_apply_fix.
2362 (md_apply_fix3): Do not fix up absolute relocations against
2363 symbolic values.
2364
2365 * config/tc-mcore.h (MD_APPLY_FIX3): Define.
2366
23671999-04-20 Nick Clifton <[email protected]>
2368
2369 * config/tc-mcore.c (md_pseudo_table): Add intercepts for section
2370 changes and data-in-text directives.
2371 (mcore_cons): New function: intercept cons() operations.
2372 (mcore_float_cons): New function: intercept float_cons()
2373 operations.
2374 (mcore_stringer): New function: intercept stringer() operations.
2375
23761999-04-18 Ian Lance Taylor <[email protected]>
2377
2378 * obj.h (struct format_ops): Change generate_asm_lineno field to
2379 take no parameters.
2380 * config/obj-ecoff.h (OBJ_GENERATE_ASM_LINENO): Don't define.
2381
2382 * config/tc-alpha.c (find_opcode_match): Add default case to
2383 switch.
2384 (find_macro_match): Likewise.
2385 (load_expression): Parenthesize && within ||.
2386
2387 * config/tc-alpha.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
2388
23891999-04-17 Nick Clifton <[email protected]>
2390
2391 * config/tc-mcore.c (md_pseudo_table): Add overrides for .bss
2392 .text .data .section pseudo ops.
2393 (mcore_s_section): New function. Dump lits before changing secs.
2394 (mcore_s_text): New function. Dump lits before changing secs.
2395 (mcore_s_data): New function. Dump lits before changing secs.
2396
23971999-04-16 Gavin Romig-Koch <[email protected]>
2398
2399 * config/tc-mips.c (mips_32bitmode): New.
2400 (md_begin): Set mips_32bitmode if needed.
2401 (mips_elf_final_processing): Don't set EF_MIPS_ARCH.
2402 Set EF_MIPS_32BITMODE.
2403
2404Fri Apr 16 12:26:39 1999 Bob Manson <[email protected]>
2405
2406 * config/obj-coff.c (c_section_symbol): Fix typo in previous
2407 change.
2408
24091999-04-16 Nick Clifton <[email protected]>
2410
2411 * config/tc-mcore.h (LOCAL_LABELS_FB): Define to 1.
2412
2413Thu Apr 15 16:52:09 1999 Jeffrey A Law ([email protected])
2414
2415 * tc-hppa.c (pa_get_absolute_exression): Try to handle "5 %r3"
2416 expressions correctly.
2417
2418
24191999-04-15 Gavin Romig-Koch <[email protected]>
2420
2421 * config/tc-mips.c (mips_elf_final_processing): Set EF_MIPS_ARCH.
2422
2423Mon Apr 12 23:45:07 1999 Jeffrey A Law ([email protected])
2424
2425 * tc-hppa.c (pa_ip, case '3'): New case for PA2.0 fmpyfadd
2426 and fmpynfadd instructions.
2427
24281999-04-11 Richard Henderson <[email protected]>
2429
2430 * as.h (environ): Declare it, if needed.
2431 * as.c (dump_statistics): Don't declare environ.
2432 * configure.in (environ): Detect declaration.
2433 * configure, config.in: Rebuild
2434
2435 * config/tc-i386.c (i386_immediate): Accept @GOT relocations.
2436 (i386_displacement): Allocate enough space for replacement buffer.
2437 Clean up replacement buffer initialization.
2438
24391999-04-11 Bob Manson <[email protected]>:
2440
2441 * subsegs.c (section_symbol): Don't create a new symbol if one
2442 already exists; instead, use the existing one, but set its segment
2443 and frag data if it hasn't already been defined.
2444 * config/obj-coff.c (c_section_symbol): Likewise.
2445
2446Sat Apr 10 20:10:02 1999 Richard Henderson <[email protected]>
2447
2448 * tc-alpha.c (load_expression): Call as_bad instead of abort.
2449
24501999-04-08 Nick Clifton <[email protected]>
2451
2452 * config/tc-mcore.c: New File: Support routines for MCore
2453 assembler.
2454 * config/tc-mcore.h: New File: Definitions for MCore assembler.
2455 * config/obj-coff.c: Add support for mcore-pe target.
2456
2457 * Makefile.am: Add support for MCore targets.
2458 * Makefile.in: Regenerate.
2459 * configure.in: Add support for MCore targets.
2460 * configure: Regenerate.
2461
2462 * doc/all.texi: Set MCORE.
2463 * doc/as.texinfo: Document MCore specific command line options.
2464
2465 * write.h: Prevent multiple inclusion.
2466
24671999-04-06 Ian Lance Taylor <[email protected]>
2468
2469 * asintl.h (LC_MESSAGES): Never define.
2470 * as.c (main): Don't pass LC_MESSAGES to setlocale if the system
2471 does not define it.
2472 * gasp.c (main): Don't pass LC_MESSAGES to setlocale if the system
2473 does not define it.
2474
2475 * Makefile.am (m68k-parse.c): If configuring in the source
2476 directory, copy m68k-parse.y into the local directory before
2477 running ylwrap, to remove spurious differences when generating
2478 snapshots.
2479 * Makefile.in: Rebuild.
2480
2481 * config/tc-sparc.h (md_do_align): Just allocate the number of
2482 bytes necessary, rather than always allocating 1024.
2483
24841999-04-04 Ian Lance Taylor <[email protected]>
2485
2486 * listing.c (listing_newline): Add cast to avoid warning.
2487 * read.c (generate_lineno_debug): Add cases to switch. Reindent.
2488 * config/tc-i386.c (i386_scale): Add return value.
2489 (build_displacement_string): Remove unused local temp_disp2.
2490 (i386_intel_memory_operand): Add parentheses to avoid warning.
2491 (i386_intel_operand): Remove unused local end_of_operand_string.
2492 (i386_operand): Remove unused local operand_modifier.
2493 (i386_operand): Add parens to avoid warning.
2494
24951999-04-04 Don Bowman <[email protected]>
2496
2497 * configure.in: Add mips*-*-vxworks* target; have it define
2498 MIPS_STABS_ELF.
2499 * configure, config.in: Rebuild.
2500
25011999-03-31 Nick Clifton <[email protected]>
2502
2503 * configure.in (emulations): Add support for arm-epoc-pe.
2504 * configure: Regenerate.
2505 * config/te-epoc-pe.h: New file. Define macros specific to
2506 arm-epoc-pe target.
2507 * config/tc-arm.h: Select epoc-pe-arm target format if configured
2508 for arm-epoc-pe target.
2509
2510Mon Mar 29 10:15:40 CST 1999 Catherine Moore <[email protected]>
2511
2512 * tc-mips.c (md_apply_fix): Adjust value for linkonce sections.
2513
2514Wed Mar 24 14:11:10 1999 Jeffrey A Law ([email protected])
2515
2516 * tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Clean up code to
2517 detect ",n" without a condition.
2518 (pa_parse_neg_cmpsub_cmpltr): Likewise.
2519
2520
2521Tue Mar 23 11:28:23 1999 Jeffrey A Law ([email protected])
2522
2523 * tc-hppa.c (pa_ip, case '~'): The condition for a branch on bit
2524 instruction is encoded with one bit.
2525
2526
25271999-03-23 Ian Lance Taylor <[email protected]>
2528
2529 * doc/internals.texi (CPU backend): Mention that
2530 line_separator_chars should not include newline. From thi
2531 <[email protected]>.
2532
25331999-03-22 Doug Evans <[email protected]>
2534
2535 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
2536 * config/tc-m32r.c (md_begin): Update call to m32r_cgen_cpu_open.
2537
2538Sun Mar 21 18:08:18 1999 Richard Henderson <[email protected]>
2539
2540 * tc-alpha.c (md_assemble): Allow '6' in an opcode.
2541
2542Thu Mar 18 10:55:30 1999 Jeffrey A Law ([email protected])
2543
2544 * tc-hppa.c (pa_ip, case 'a'): Do not call pa_parse_..._cmpsub_cmpltr.
2545
2546
2547Thu Mar 18 02:30:07 1999 Jeffrey A Law ([email protected])
2548
2549 * tc-hppa.c (pa_ip, case 'd'): Do not allow ",n".
2550
25511999-03-15 Martin Hunt <[email protected]>
2552
2553 * app.c (do_scrub_begin): Change '-' back to a symbol char
2554 so we can use multiple opcodes on a line again.
2555
2556 * config/tc-d30v.c: By default, warn if a symbol has
2557 the same name as a register. Plus some minor
2558 updates from the branch.
2559
25601999-03-13 Nick Clifton <[email protected]>
2561
2562 * config/tc-d30v.c (md_apply_fix3): Handle BFD_RELOC_8,
2563 BFD_RELOC_16 and BFD_RELOC_64.
2564
25651999-03-12 Andreas Schwab <[email protected]>
2566
2567 * expr.c (expr): Add missing else.
2568
25691999-03-12 Nick Clifton <[email protected]>
2570
2571 * config/tc-arm.c (md_apply_fix3): Improve error message.
2572
25731999-03-11 Doug Evans <[email protected]>
2574
2575 * Makefile.am (CPU_TYPES): Add fr30.
2576 (cgen.o): Add $(CGEN_CPU_PREFIX)-desc.h dependency.
2577 (fr30,m32r dependencies): Update.
2578 * Makefile.in: Rebuild.
2579
2580 * cgen.c (gas_cgen_record_fixup): Update use of operand->type.
2581 (gas_cgen_record_fixup_exp): Ditto.
2582 (gas_cgen_finish_insn): Call cgen_operand_lookup_by_num.
2583 (gas_cgen_md_apply_fix3): Ditto. Update call to set_vma_operand.
2584 * config/tc-fr30.c (md_begin): Update call to fr30_cgen_cpu_open.
2585 (md_cgen_lookup_reloc): Update use of operand->type.
2586 * config/tc-m32r.c (md_begin): Update call to fr30_cgen_cpu_open.
2587 (md_convert_frag): Call cgen_operand_lookup_by_num.
2588 (md_cgen_lookup_reloc): Update use of operand->type.
2589 (m32r_cgen_record_fixup_exp): Ditto.
2590
25911999-03-09 Jim Blandy <[email protected]>
2592
2593 * config/tc-mips.c (md_show_usage): Fix message.
2594
25951999-03-03 Nick Clifton <[email protected]>
2596
2597 * doc/c-arm.texi (ARM Syntax): Document new command line switches
2598 and LDR reg,=<expr> instruction.
2599
2600 * config/tc-arm.c: Add support for -mcpu=arm810, -mcpu=arm9 and
2601 -mcpu=arm9tdmi.
2602
2603Fri Feb 19 09:36:30 1999 Ian Lance Taylor <[email protected]>
2604
2605 * doc/c-arm.texi (ARM-Chars): Fix typo in use of '@'.
2606
26071999-02-17 Nick Clifton <[email protected]>
2608
2609 This patch was created by: Scott Bambrough
2610 <[email protected]>
2611
2612 * app.c:
2613 Special cased '@' character. The '@' character is used as the
2614 ARM assembler comment character, as a special character
2615 and in ELF .symver pseudo-op's, and as a special character in
2616 .type and .section pseudo-ops.
2617 (symver_pseudo): New static variable.
2618 (symver_state): New static variable.
2619 (struct app_save): Add field 'symver_state'.
2620 (app_push): Save global symver_state int struct app_save.
2621 (app_pop): Restore global symver_state from struct app_save.
2622 (do_scrub_chars): Special case handling of '@' character in
2623 .symver pseudo-ops.
2624
2625 * configure.in: Modified to recognize armv* uname syntax from ARM
2626 Linux kernel.
2627 * configure: Regenerated.
2628
2629 * config/obj-elf.c (obj_elf_section): Allow '%' as well as '@' as
2630 a prefix to the section's type.
2631 (obj_elf_type): Allow '%' as well as '@' and '#' as prefixes to
2632 the type's typename.
2633
2634 * config/tc-arm.h: Add support for PIC generation:
2635 (pic_code): New boolean.
2636 (obj_relocate_extern): Define.
2637 (TC_RELOC_RTSYM_LOC_FIXUP): Define
2638 (TC_CONS_FIX_NEW): Define.
2639 (tc_fix_adjustable): Define.
2640 (GLOBAL_OFFSET_TABLE_NAME): Define.
2641
2642 * config/tc-arm.c: Add support for PIC generation:
2643 (line_seperator_chars): Allow ';' as a seperator for Linux.
2644 (is_immediate_prefix): New macro.
2645 (arm_parse_reloc): New function.
2646 (s_arm_elf_cons): New function.
2647 (do_branch): Special case for BFD_RELOC_ARM_PLT32.
2648 (md_undefined_symbol): Special case handling for the Global Offset
2649 Table's symbol.
2650 (md_apply_fix3): Handle PIC relocs.
2651 (tc_gen_reloc): Handle PIC relocs.
2652 (md_parse_option): Add support for '-k' command line switch to
2653 enable PIC generation.
2654 (cons_fix_new_arm): New function.
2655 (s_arm_elf_cons): New function.
2656
2657Tue Feb 16 16:31:53 1999 Ian Lance Taylor <[email protected]>
2658
2659 * configure.in: Add comments for uses of AC_DEFINE.
2660 * acinclude.m4: Likewise.
2661 * acconfig.h: Remove.
2662 * aclocal.m4: Rebuild.
2663 * configure: Rebuild.
2664 * Makefile.in: Rebuild.
2665 * config.in: Rebuild.
2666
26671999-02-15 Jim Lemke <[email protected]>
2668
2669 * config/tc-mips.c (mips_ip: case 'o'): Fix assertion failure for
2670 non-constant offset from a base register.
2671
26721999-02-14 Ken Raeburn <[email protected]>
2673
2674 * config/tc-alpha.c (md_show_usage): Put \ before newline in
2675 strings always.
2676
2677Sat Feb 13 14:10:10 1999 Richard Henderson <[email protected]>
2678
2679 * config/tc-alpha.c (cpu_types): Enable EV6 PALcode with -m21264.
2680 (emit_insn): Look for pc-relative and no-overflow specifiers on
2681 internal relocation types.
2682
26831999-02-13 Jim Blandy <[email protected]>
2684
2685 * doc/c-mips.texi (MIPS Opts): Updated list of -mNNNN and
2686 -mcpu=NNNN flags.
2687
2688 * config/tc-mips.c: Remove all the mips_NNNN variables; just use
2689 mips_cpu instead.
2690 (mips_4650, mips_4010, mips_4100): Variables removed.
2691 (hilo_interlocks, gpr_interlocks, append_insn, macro_build, macro,
2692 macro2, mips16_macro, mips_ip): Test mips_cpu, not the mips_NNNN
2693 variables.
2694 (md_begin): Don't bother initializing the mips_NNNN variables;
2695 mips_cpu is set, and that's good enough now.
2696 (md_parse_option): Have the -mNNNN options set mips_cpu instead of
2697 the mips_NNNN variable. The -no-mNNNN flags are now no-ops.
2698 (show): New function, to handle wrapping in the CPU lists.
2699 (md_show_usage): Update lists of -mcpu and -mNNNN switches.
2700
2701Sat Feb 13 00:17:26 1999 Richard Henderson <[email protected]>
2702
2703 * config/tc-i386.c (i386_intel_operand): Ignore `SHORT' rather
2704 than treat as an immediate specifier.
2705
2706Thu Feb 11 16:18:31 1999 Richard Henderson <[email protected]>
2707
2708 * config/tc-i386.c: Prototype many functions.
2709 (set_intel_syntax): Accept `prefix'/`noprefix' specifiers.
2710 (i386_immediate): Remove unused second argument.
2711 (i386_intel_operand): Fix i386_is_reg typo.
2712 (i386_operand): Use allow_naked_reg.
2713 (output_invalid): Make operand int for K&R.
2714
2715Thu Feb 11 11:21:02 1999 Ian Lance Taylor <[email protected]>
2716
2717 * Makefile.am (EXTRA_as_new_SOURCES): Uncomment--fixed by automake
2718 patch.
2719 * Makefile.in: Rebuild.
2720
27211999-02-09 Doug Evans <[email protected]>
2722
2723 * Makefile.am (DISTCLEANFILES): Change cgen-opc.h to cgen-desc.h.
2724 (cgen.o): Ditto.
2725 (EXTRA_as_new_SOURCES): Comment out.
2726 (.tcdep): <arch>-opc.h renamed to <arch>-desc.h.
2727 * Makefile.in: Rebuild.
2728 * doc/Makefile.in: Rebuild.
2729 * configure.in: Require autoconf 2.13. Redo using_cgen handling.
2730 Delete call to AM_CYGWIN32. Replace AM_EXEEXT with AC_EXEEXT.
2731 (AC_OUTPUT): <arch>-opc.h renamed to <arch>-desc.h.
2732 * configure: Rebuild.
2733 * aclocal.m4: Rebuild.
2734 * config.in: Rebuild.
2735 * cgen.c: Include cgen-desc.h, not cgen-opc.h.
2736 (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
2737 (gas_cgen_cpu_desc): Renamed from gas_cgen_opcode_desc.
2738 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
2739 CGEN_OPERAND_ATTR renamed to CGEN_OPERAND_ATTR_VALUE.
2740 (gas_cgen_record_fixup): Remove unnecessary != 0 test.
2741 (gas_cgen_record_fixup_exp): Ditto.
2742 (gas_cgen_finish_insn): Ditto. Refer to operand table via cpu
2743 descriptor, not global variable.
2744 (gas_cgen_md_apply_fix3): Refer to operand_table via cpu
2745 descriptor, not global variable. Refer to insert_operand handler
2746 via cpu descriptor, not global function.
2747 * cgen.h (*): CGEN_OPCODE_DESC renamed to CGEN_CPU_DESC.
2748 * config/tc-fr30.c: Include opcodes/fr30-desc.h.
2749 (*): gas_cgen_opcode_desc renamed to gas_cgen_cpu_desc.
2750 CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
2751 Update call to CGEN_OPERAND_TYPE,CGEN_INSN_OPERANDS.
2752 * config/tc-m32r.c: Ditto.
2753 (assemble_two_insns): Update calls to cgen_lookup_get_insn_operands.
2754 (md_assemble): Ditto.
2755 (md_convert_frag): Update call to CGEN_OPERAND_ENTRY.
2756
27571999-02-09 Nick Clifton <[email protected]>
2758
2759 * config/tc-arm.c (md_apply_fix3): Fix handling of label1 - label2
2760 relocations for ELF targets.
2761
27621999-02-08 Nick Clifton <[email protected]>
2763
2764 * configure.in: Add support for StrongARM target.
2765 * configure: Regenerate.
2766
27671999-02-05 Nick Clifton <[email protected]>
2768
2769 * config/tc-arm.h: Tidy OBJ_ELF and OBJ_COFF definitions.
2770
2771 * config/tc-arm.c (md_apply_fix3): Fix BFD_RELOC_ARM_PCREL_BRANCH
2772 for COFF ports.
2773
2774Wed Feb 3 11:35:47 1999 Richard Henderson <[email protected]>
2775
2776 * config/tc-alpha.c (md_show_usage): Document pca56 and ev6 options.
2777
2778Mon Feb 1 20:37:30 1999 Catherine Moore <[email protected]>
2779
2780 * config/tc-i386.h (LONG_DOUBLE_MNEM_SUFFIX): Define.
2781 (INTEL_DWORD_MNEM_SUFFIX): Define.
2782 (BYTE_PTR): Define.
2783 (WORD_PTR): Define.
2784 (DWORD_PTR): Define.
2785 (XWORD_PTR): Define.
2786 (SHORT): Define.
2787 (OFFSET_FLAT): Define.
2788 (FLAT): Define.
2789 (NONE_FOUND): Define.
2790 (No_dSuf): Define.
2791 (No_xSuf): Define.
2792 * config/tc-i386.c (set_intel_syntax): New routine.
2793 (intel_syntax): Declare.
2794 (allow_naked_reg): Declare.
2795 (md_pseudo_table): Support .intel_syntax and .att_syntax.
2796 (intel_float_operand): New routine.
2797 (md_assemble): Handle INTEL_DWORD_MNEM_SUFFIX.
2798 Handle brackets as well as parens. Call i386_intel_operand for
2799 intel syntax. Reverse operands if appropriate. Handle new
2800 suffixes. Handle movzx and movsx.
2801 (i386_is_reg): New routine.
2802 (i386_immediate): New routine.
2803 (i386_scale): New routine.
2804 (i386_displacement): New routine.
2805 (i386_operand_modifier): New routine.
2806 (build_displacement_string): New routine.
2807 (i386_parse_seg): New routine.
2808 (i386_intel_memory_operand): New routine.
2809 (i386_intel_operand): New routine.
2810 (i386_operand): Call i386_displacement, i386_immediate,
2811 i386_scale, etc. instead of handling inline.
2812 (parse_register): Handle registers without prefix.
2813
2814Mon Feb 1 12:24:58 1999 Catherine Moore <[email protected]>
2815
2816 * configure: Regenerate.
2817 * configure.in (arm-*-oabi): New.
2818 (thumb-*-oabi): New.
2819 * config/tc-arm.c (target_oabi): Declare.
2820 (md_apply_fix3): Support REL relocs.
2821 (md_parse_option): Handle -oabi.
2822 (elf32_arm_target_format): New routine.
2823 (md_longopts): Add OPTION_OABI.
2824 * config/tc-arm.h: Redefine TARGET_FORMAT.
2825
2826
28271999-01-28 Nick Clifton <[email protected]>
2828
2829 * write.c (write_relocs): Handle out of range error.
2830
2831 * config/tc-fr30.c (fr30_fix_adjustable): New function.
2832 (fr30_force_relocation): Default to 0.
2833
2834 * config/tc-fr30.h (obj_fix_adjustable): Define.
2835 (TC_FORCE_RELOCATION): Define.
2836
2837 * cgen.c (gas_cgen_md_apply_fix3): Do not apply fixes to VTABLE
2838 relocs.
2839
28401999-01-16 Nick Clifton <[email protected]>
2841
2842 * config/tc-d30v.c (write_2_short): Do not generate a sequential
2843 merge of two instructions if the left instruciton kills the right.
2844
28451999-01-11 Doug Evans <[email protected]>
2846
2847 * Makefile.in: Regenerate.
2848 * configure.in: Redo test for using cgen.
2849 * configure: Regenerate.
2850
28511999-01-09 Nick Clifton <[email protected]>
2852
2853 * config/obj-coff.h (obj_adjust_symtab): Prevent accidental
2854 redefinition of this macro.
2855
2856Tue Jan 5 21:58:03 1999 Doug Evans <[email protected]>
2857
2858 * config/tc-mips.c (mips_frob_file): Disable "Unmatched %hi reloc"
2859 warning.
2860
28611998-12-29 Gavin Romig-Koch <[email protected]>
2862
2863 * config/tc-mips.c (append_insn): For mips16, insert a nop between
2864 a read of HI or LO and an immediatly following branch.
2865
28661998-12-29 Gavin Romig-Koch <[email protected]>
2867
2868 * config/tc-mips.c (md_begin): Another correction to the setting of
2869 mips_eabi64.
2870
28711998-12-23 Gavin Romig-Koch <[email protected]>
2872
2873 * config/tc-mips.c (md_begin): Correct type-o in setting of mips_eabi64.
2874
28751998-12-21 Nick Clifton <[email protected]>
2876
2877 * config/tc-m32r.c (md_assemble): Emit a NOP after a relaxable 16
2878 bit insn when optimizing, so that parallelised instructions will
2879 start on a 32 bit boundary.
2880
28811998-12-19 Gavin Romig-Koch <[email protected]>
2882
2883 * config/tc-mips.c (mips_eabi64): New.
2884 (md_begin): Set mips_eabi64.
2885 (mips_elf_final_processing): Use it.
2886
28871998-12-18 Gavin Romig-Koch <[email protected]>
2888
2889 * config/tc-mips.c (mips_elf_final_processing):
2890 Correct setting of ABI in e_flags.
2891
2892Wed Dec 16 16:17:22 1998 Dave Brolley <[email protected]>
2893
2894 * config/tc-fr30.c (md_assemble): Warn about invalid instructions in delay slots.
2895
28961998-12-16 Gavin Romig-Koch <[email protected]>
2897
2898 * config/tc-mips.c (md_begin,md_parse_option): Handle vr4111.
2899
29001998-12-15 Doug Evans <[email protected]>
2901
2902 * cgen.c (gas_cgen_md_apply_fix3): Mark as an error, rather than a
2903 warning, values that don't fit in the field.
2904
29051998-12-15 Gavin Romig-Koch <[email protected]>
2906
2907 * config/tc-mips.c (mips_abi_string): New.
2908 (md_parse_option,md_longopts): Add mabi.
2909 (mips_elf_final_processing): Set e_flags based on mabi flag.
2910
29111998-12-15 Gavin Romig-Koch <[email protected]>
2912
2913 * config/tc-mips.c (md_parse_option): Handle vr4111.
2914
291598-12-11 Ken Raeburn <[email protected]>
2916
2917 * config/tc-h8300.c (build_bytes): Change message given if the
2918 instruction requires H8/300H mode and we're not in Hmode, to
2919 suggest that it may be the operand modes that are the problem, not
2920 necessarily the opcode.
2921
29221998-12-10 Nick Clifton <[email protected]>
2923
2924 * config/tc-fr30.c: Add line separator character.
2925
2926Tue Dec 8 19:51:50 1998 Mark Klein <[email protected]>
2927
2928 * configure.in (hppa-*-mpeix*): New target.
2929 * config/obj-som.h (obj_som_compiler): Declare.
2930 * config/obj-som.c (compiler_seen): New static variable.
2931 (obj_som_compiler): New function.
2932 * config/tc-hppa.c: Update tc_data uses for change to bfd/som.h.
2933 (md_pseudo_table): Add "compiler" if OBJ_SOM.
2934 (pa_type_args): Set hppa_priv_level.
2935 (pa_compiler): New static function if OBJ_SOM.
2936 * configure: Rebuild.
2937
2938Tue Dec 8 15:00:50 1998 Ian Lance Taylor <[email protected]>
2939
2940 * read.c (output_leb128): Don't mark as inline.
2941
29421998-12-08 Andrew MacLeod <[email protected]>
2943
2944 * config/tc-ppc.c (ppc_vbyte): Prototype and new function for
2945 AIX .vbyte unaligned data support.
2946 (md_pseudo_table): Add 'vbyte' to list of valid pseudos.
2947 (ppc_elf_validate_fix): Add eh_frame to list of ELF relocatable
2948 sections.
2949
29501998-12-07 Nick Clifton <[email protected]>
2951
2952 * config/tc-d30v.c (md_assemble, do_assemble): Improve erroneous
2953 input handling.
2954
2955Mon Dec 7 09:48:34 1998 Catherine Moore <[email protected]>
2956
2957 * config/tc-arm.c (elf32_arm_force_relocation): Check for
2958 BFD_RELOC_ARM_PCREL_BRANCH.
2959
2960Sun Dec 6 12:46:36 1998 Ian Lance Taylor <[email protected]>
2961
2962 * configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
2963 checking the target type.
2964 (mips-dec-bsd*): Set endian to little.
2965 * configure: Rebuild.
2966
2967 COFF weak symbol support, based on patches from Mark Elbrecht
2968 <[email protected]>:
2969 * config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.
2970 * config/obj-coff.c (obj_coff_weak): New static function.
2971 (obj_coff_endef) [both versions]: Handle weak symbols.
2972 (coff_frob_symbol): Likewise.
2973 (yank_symbols): Likewise.
2974 (obj_pseudo_table): Add "weak".
2975
2976 * configure.in (m68k-*-gnu*): New target. From Aymeric Vincent
2977 <[email protected]>.
2978 * aclocal.m4: Rebuild with current tools.
2979 * configure: Rebuild.
2980
2981 * config/tc-alpha.c (emit_ldgp): Give an error message rather than
2982 an assertion failure for a case we can't handle when OBJ_ECOFF.
2983
2984 * expr.c (operator): And with 0xff to avoid problems with signed
2985 char.
2986
29871998-12-03 Nick Clifton <[email protected]>
2988
2989 * config/tc-fr30.c (md_cgen_lookup_reloc): Generate
2990 BFD_RELOC_FR30_48 instead of BFD_RELOC_FR30_32.
2991
29921998-12-02 Nick Clifton <[email protected]>
2993
2994 * config/tc-fr30.c (md_cgen_lookup_reloc): Enable relocs for
2995 LDI:20 insn.
2996
2997Thu Nov 26 11:23:48 1998 Dave Brolley <[email protected]>
2998
2999 * config/tc-fr30.c (md_pcrel_from_section): Restore previous calculation
3000 of pcrel point.
3001
3002Tue Nov 24 17:21:52 1998 Nick Clifton <[email protected]>
3003
3004 * config/tc-fr30.c (md_pcrel_from_section): Fix calculation of
3005 pcrel point.
3006
3007Tue Nov 24 14:54:38 1998 Nick Clifton <[email protected]>
3008
3009 * config/tc-d10v.c (md_assemble): Make static 'etype' have file
3010 scope.
3011 (d10v_cleanup): Only generate previous insn if a multiline insn is
3012 not pending.
3013
3014Fri Nov 20 11:41:13 1998 Nick Clifton <[email protected]>
3015
3016 * config/tc-fr30.c (md_cgen_lookup_reloc): Add support for
3017 FR30_OPERAND_I32.
3018
3019Thu Nov 19 15:01:29 1998 Nick Clifton <[email protected]>
3020
3021 * config/tc-arm.c (md_parse_option): Add support for -marm7xxx and
3022 -marm6xxx command line switches.
3023
30241998-11-18 Doug Evans <[email protected]>
3025
3026 * Makefile.am (DEP): Use $(srcdir)/../mkdep.
3027 (itbl-ops.o): Delete duplicate dependencies.
3028 Rebuild dependencies.
3029 Add fr30 dependencies.
3030 * Makefile.in: Rebuild.
3031
3032Tue Nov 17 13:42:42 1998 Nick Clifton <[email protected]>
3033
3034 * config/tc-fr30.c (md_cgen_lookup_reloc): Updated to match latest
3035 opcode list.
3036 * listing.c: Ignore line terminator characters found inside
3037 strings.
3038
3039Thu Nov 12 19:21:24 1998 Dave Brolley <[email protected]>
3040
3041 * po/gas.pot: Regenerated.
3042
3043Thu Nov 12 10:54:16 1998 Nick Clifton <[email protected]>
3044
3045 * config/tc-fr30.c (fr30_is_colon_insn): New name for
3046 fr30_is_label_start(). Also checks for delay slot insns.
3047
3048 * config/tc-fr30.c (fr30_is_label_start): New function: Handle
3049 FR30 instructions which contain a colon in the mnemonic.
3050
3051 * config/tc-fr30.h (TC_START_LABEL): Define this macro.
3052
3053Wed Nov 11 09:58:21 1998 Nick Clifton <[email protected]>
3054
3055 * config/tc-fr30.c: Removed currently superflous code.
3056
3057Tue Nov 10 13:13:05 1998 Nick Clifton <[email protected]>
3058
3059 * config/tc-fr30.h: New file.
3060 * config/tc-fr30.c: Tweaking so that it will compile.
3061
3062Tue Nov 10 14:41:33 1998 Catherine Moore <[email protected]>
3063
3064 * config/tc-d10v.h (obj_fix_adjustable): Define.
3065 (TC_FORCE_RELOCATION): Define.
3066 (d10v_force_relocation): Declare.
3067 * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs.
3068 (md_apply_fix3): Handle Vtable relocs.
3069 (d10v_fix_adjustable): New.
3070 (d10v_force_relocation): New.
3071
3072Mon Nov 9 14:25:06 1998 Nick Clifton <[email protected]>
3073
3074 * config/tc-d30v.c: Change default behaviour to ignore potential
3075 conflicts between register name and symbol names.
3076
3077Wed Nov 4 18:42:00 1998 Dave Brolley <[email protected]>
3078
3079 * configure.in: Add fr30-*-*.
3080 * config/tc-fr30.c: New file.
3081 * Makefile.in: Regenerated.
3082 * config.in: Regenerated.
3083 * configure: Regenerated.
3084 * doc/Makefile.in: Regenerated.
3085 * po/gas.pot: Regenerated.
3086
3087Mon Nov 2 20:54:16 1998 Doug Evans <[email protected]>
3088
3089 * config/tc-m32r.c (assemble_two_insns): Ensure both insns
3090 are 16 bit insns.
3091
3092Mon Nov 2 20:10:18 1998 Martin von Loewis <[email protected]>
3093
3094 * app.c (do_scrub_begin): Set characters above 127 to be symbol
3095 characters.
3096 (do_scrub_chars): Add some casts to unsigned char to avoid
3097 unwanted sign extension.
3098 * read.c (lex_type): Set characters about 127 to be symbol
3099 characters.
3100 * config/tc-i386.c (md_begin): Set identifier_chars and
3101 operand_chars for values above 127.
3102
3103Mon Nov 2 15:05:33 1998 Geoffrey Noer <[email protected]>
3104
3105 * configure.in: detect cygwin* instead of cygwin32*
3106 * configure: regenerate
3107
3108Tue Oct 27 13:18:40 1998 Nick Clifton <[email protected]>
3109
3110 * listing.c: Add support for producing a listing from piped
3111 input.
3112
3113Tue Oct 27 08:56:44 1998 Gavin Romig-Koch <[email protected]>
3114
3115 * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
3116 (append_insn): Account for the tx39's multiply behavior.
3117
31181998-10-26 Michael Meissner <[email protected]>
3119
3120 * config/tc-m32r.c (assemble_two_insns): Rename assemble_two_insns
3121 from assemble_parallel_insns. Add support for '->' to indicate
3122 explicitly serializing the instructions.
3123 (md_assemble): Ditto.
3124
3125Sat Oct 24 15:12:19 1998 Catherine Moore <[email protected]>
3126
3127 * config/tc-sh.c (sh_fix_adjustable): Adjust EXTERN and
3128 WEAK handling.
3129
3130Thu Oct 22 12:41:33 1998 Catherine Moore <[email protected]>
3131
3132 * cgen.c (gas_cgen_md_apply_fix3): Revert last change.
3133
3134Thu Oct 22 10:03:15 1998 Ron Unrau <[email protected]>
3135
3136 * config/tc-mips.c : support frame and regmask/fregmask when
3137 MIPS_STABS_ELF is specified.
3138
3139Wed Oct 21 11;34:51 1998 Catherine Moore <[email protected]>
3140
3141 * config/tc-sh.c (sh_fix_adjustable): Only include if OBJ_ELF.
3142 (md_apply_fix): Don't return 1 for VTABLE relocs.
3143 * config/tc-sh.h (obj_fix_adjustable): Define only if OBJ_ELF.
3144
3145Tue Oct 20 11:18:28 1998 Alan Modra <[email protected]>
3146
3147 * doc/c-i386.texi: Replace occurences of "opcode" with
3148 "instruction mnemonic", "instruction", or "mnemonic" when
3149 referring to the name of an instruction. Use "opcode" when
3150 referring to the sequence of machine bytes.
3151
3152 * config/tc-i386.c (opcode_chars): Rename to mnemonic_chars.
3153 (is_opcode_char): Rename to is_mnemonic_char.
3154 (md_assemble and i386_operand): Correct error messages from
3155 "opcode" to "instruction mnemonic"
3156 Rename throughout opcode[] -> mnemonic[], opp -> mnem_p,
3157 MAX_OPCODE_SIZE -> MAX_MNEM_SIZE,
3158 DWORD_OPCODE_SUFFIX -> DWORD_MNEM_SUFFIX,
3159 WORD_OPCODE_SUFFIX -> WORD_MNEM_SUFFIX,
3160 BYTE_OPCODE_SUFFIX -> BYTE_MNEM_SUFFIX,
3161 SHORT_OPCODE_SUFFIX -> SHORT_MNEM_SUFFIX
3162 LONG_OPCODE_SUFFIX -> LONG_MNEM_SUFFIX
3163
3164 * config/tc-i386.h (*_MNEM_SUFFIX): Rename from *_OPCODE_SUFFIX.
3165
3166 * config/tc-i386.c (i386_operand): Check for garbage after
3167 register name.
3168
3169Tue Oct 20 10:49:42 1998 Ian Lance Taylor <[email protected]>
3170
3171 * config/tc-i386.c (md_apply_fix3): Change handling of PCREL reloc
3172 for BFD_ASSEMBLER to only change value when COFF if TE_PE.
3173
3174Mon Oct 19 20:20:42 1998 Catherine Moore <[email protected]>
3175
3176 * config/tc-sh.h (obj_fix_adjustable): Define.
3177 * config/tc-sh.c (sh_force_relocation): Handle VT relocs.
3178 (md_apply_fix): Likewise.
3179 (tc_gen_reloc): Likewise.
3180 (sh_fix_adjustable): New.
3181
3182Mon Oct 19 12:35:43 1998 Doug Evans <[email protected]>
3183
3184 * cgen.c (gas_cgen_finish_insn): Update handling of CGEN_INT_INSN_P.
3185 * cgen.h (gas_cgen_finish_insn): Update prototype.
3186 * config/tc-m32r.c (m32r_insn): CGEN_INT_INSN -> CGEN_INT_INSN_P.
3187 cgen_insn_t -> CGEN_INSN_INT.
3188 (make_parallel): Update handling of CGEN_INT_INSN_P.
3189 (assemble_parallel_insn): Ditto.
3190 (target_make_parallel): New function.
3191 (md_assemble): Use it.
3192
3193Mon Oct 19 13:16:12 1998 Catherine Moore <[email protected]>
3194
3195 * config/tc-m32r.c (m32r_force_relocation): Fix typo.
3196
3197Sun Oct 18 18:48:57 1998 Jeffrey A Law ([email protected])
3198
3199 * config/tc-sh.c (md_assemble): Make sure the entire opcode is
3200 converted into lower case.
3201
3202Fri Oct 16 13:36:34 CDT Catherine Moore <[email protected]>
3203
3204 * cgen.c (gas_cgen_md_apply_fix3): Handle VTABLE relocs.
3205 (gas_cgen_tc_gen_reloc): Likewise.
3206 * config/tc-m32r.h (obj_fix_adjustable): Define.
3207 * config/tc-m32r.c (m32r_fix_adjustable): New.
3208 (m32r_force_relocation): Handle VTABLE relocs.
3209
3210Wed Oct 14 11:33:38 1998 Nick Clifton <[email protected]>
3211
3212 * doc/c-arm.texi (ARM Directives): Document .ltorn directive.
3213
3214Mon Oct 12 11:07:21 1998 Nick Clifton <[email protected]>
3215
3216 * config/tc-m32r.c (assemble_parallel_insn): Convert second opcode
3217 to lower case before parsing.
3218
3219 * config/tc-d30v.c (parallel_ok): Ignore conflicts when explicitly
3220 parallel insns modift buts in the PSW as a side effect.
3221
3222Thu Oct 8 10:18:33 1998 Nick Clifton <[email protected]>
3223
3224 * config/tc-d30v.c (find_format): Test for missing flag and
3225 control registers.
3226
3227 (md_apply_fix3): Fix error messages to avoid
3228 assumption about presence of a symbol.
3229
3230 (parallel_ok): Disallow parallel instructions that both modify the
3231 same flag register.
3232
3233 (find_format): Generate a warning if an odd numbered register is
3234 used as the first register in a mutli-register instruction.
3235
3236Wed Oct 7 14:09:14 1998 Nick Clifton <[email protected]>
3237
3238 * config/tc-d30v.c (md_apply_fix3): Do not assume that bad
3239 relocations are always associated with a symbol.
3240
3241Tue Oct 6 09:31:15 1998 Catherine Moore <[email protected]>
3242
3243 * tc-sparc.h (TC_FORCE_RELOCATION): Define.
3244 (elf32_sparc_force_relocation): Declare.
3245 * tc-sparc.c (md_apply_fix3): Handle vtable relocs.
3246 (tc_gen_reloc): Handle vtable relocs.
3247 (elf32_sparc_force_relocation): New.
3248
3249Mon Oct 5 09:25:32 1998 Catherine Moore <[email protected]>
3250
3251 * symbols.c (S_IS_FUNCTION): New.
3252 * config/tc-v850.h (obj_fix_adjustable): Define.
3253 (TC_FORCE_RELOCATION): Define.
3254 (v850_force_relocation): Declare.
3255 * config/tc-v850.c (tc_gen_reloc): Use offset instead
3256 of fx_addnumber for VTABLE reloc addends.
3257 (md_apply_fix3): Handle VTABLE relocs.
3258 (v850_fix_adjustable): New.
3259 (v850_force_relocation): New.
3260
3261Mon Oct 5 00:48:52 1998 Jeffrey A Law ([email protected])
3262
3263 * tc-hppa.c (fp_operand_format): Add some additional formats.
3264 (pa_ip): Do not automatically promote into pa2.0 mode.
3265 (pa_level): Handle ".level 2.0".
3266
3267Sun Oct 4 20:57:43 1998 Alan Modra <[email protected]>
3268
3269 * config/tc-i386.c (md_assemble): Handle AMD_3DNOW_OPCODE.
3270 * config/tc-i386.h (template.extension_opcode): Change to
3271 unsigned int to allow full range of 8-bit opcode suffixes.
3272 (None): Redefine as 0xffff.
3273
3274 From Jeff B Epler <[email protected]>
3275 * doc/c-i386.texi (i386-SIMD): New section.
3276
3277Thu Oct 1 15:37:54 1998 Richard Henderson <[email protected]>
3278
3279 * read.c (discard_rest_of_line): New function.
3280 * read.h: Declare it.
3281 * config/tc-alpha.c (s_alpha_mask, s_alpha_frame): Use it.
3282
3283Thu Oct 1 10:33:53 1998 Nick Clifton <[email protected]>
3284
3285 * config/tc-d10v.c (find_symbol_matching_register): New function.
3286 (find_opcode): Cope with the case where a register name matches
3287 a symbol name.
3288
3289Wed Sep 30 10:52:32 1998 Nick Clifton <[email protected]>
3290
3291 * config/tc-v850.c (md_pcrel_from): Rename to
3292 v850_pcrel_from_section.
3293 (v850_pcrel_from_section): Do not resolves symbols in other
3294 sections.
3295
3296 * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
3297
3298Mon Sep 28 11:01:20 1998 Nick Clifton <[email protected]>
3299
3300 * config/tc-d10v.c (find_opcode): Generate an error if a register
3301 is supplied for an operand that should not be a register.
3302
3303Fri Sep 25 10:04:21 1998 Nick Clifton <[email protected]>
3304
3305 * config/tc-d30v.c (write_2_short): But do allow delayed branch
3306 instructions to have another instruction in the right bin.
3307
3308Thu Sep 24 09:28:34 1998 Nick Clifton <[email protected]>
3309
3310 * config/tc-d30v.c (write_2_short): Do not allow instructions in
3311 the right container if the left container holds a branch
3312 instruction.
3313
3314Wed Sep 23 10:54:29 1998 Nick Clifton <[email protected]>
3315
3316 * config/tc-d30v.c (reg_name_search): Only warn if a name matches
3317 both a register name and symbol name.
3318 (find_format): Allow correct parsing of MVTSYS and MVFSYS insns.
3319
3320Tue Sep 22 17:49:16 1998 Nick Clifton <[email protected]>
3321
3322 * config/tc-d30v.c (write_2_short): Implement EITHER_BUT_PREFER_MU
3323 execution unit class.
3324
3325 (reg_name_search): If a name matches a register and a symbol,
3326 prefer the register.
3327 (find_format): Disallow flag registers when a general purpose
3328 register is required.
3329 If a number is required, but a register has been given, check to
3330 see if a symbol with the same name as the register exists, and if
3331 so, use that symbol.
3332
3333Tue Sep 22 16:40:52 1998 Jim Wilson <[email protected]>
3334
3335 * config/obj-elf.h (ECOFF_DEBUGGING): Add missing parens.
3336
3337Tue Sep 22 15:44:21 1998 Nick Clifton <[email protected]>
3338
3339 * config/tc-d30v.c (find_format): Do not accept flag registers as
3340 general purpose registers.
3341 (find_format): If an immediate value is expected at a given place
3342 in a format, but a register name has been provided instead, check
3343 to see if that register name matches the name of a predefined
3344 symbol and if it does, then use the symbol instead.
3345 (reg_name_search): If a register name matches a symbol name,
3346 prefer the register name to the symbol name.
3347
3348Mon Sep 21 10:42:57 1998 Nick Clifton <[email protected]>
3349
3350 * config/tc-m32r.c (m32r_do_align): After inserting NOPs, reset
3351 the previous insn to empty.
3352
33531998-09-20 Michael Meissner <[email protected]>
3354
3355 * config/tc-ppc.c (md_apply_fix3): Do not break string into two
3356 pieces, forcing the use of an ANSI compiler.
3357
3358Sun Sep 20 00:58:12 1998 Andreas Schwab <[email protected]>
3359
3360 * config/tc-m68k.h (TC_FORCE_RELOCATION): New macro. Force vtable
3361 relocs.
3362 * config/tc-m68k.c (md_apply_fix_2): Do nothing for vtable relocs.
3363
3364Tue Sep 15 08:51:07 1998 Catherine Moore <[email protected]>
3365
3366 * config/obj-elf.c (obj_elf_vtable_inherit): Handle arm
3367 assembler syntax.
3368 (obj_elf_vtable_entry): Likewise.
3369 * config/tc-arm.h: Define TC_FORCE_RELOCATION for OBJ_ELF.
3370 * config/tc-arm.c (md_apply_fix3): Handle VTABLE relocations.
3371 (tc_gen_reloc): Likewise.
3372 (arm_fix_adjustable): Likewise.
3373 (elf32_arm_force_relocation): New.
3374 (armelf_frob_symbol): Remove coff-style symbol support.
3375
3376Wed Sep 9 11:27:16 1998 Richard Henderson <[email protected]>
3377
3378 * config/tc-i386.c (i386_operand): Fix typo in last patch.
3379
3380Tue Sep 8 18:10:01 1998 Catherine Moore <[email protected]>
3381
3382 * config/tc-arm.c (arm_adjust_symtab): Move #ifdef
3383 OBJ_COFF so that routine is defined for a.out format.
3384
3385Tue Sep 8 15:56:19 1998 Richard Henderson <[email protected]>
3386
3387 * config/tc-i386.c (i386_operand): Detect non-segment registers
3388 used as segment prefixes.
3389
3390Sat Sep 5 19:00:38 1998 Ian Lance Taylor <[email protected]>
3391
3392 * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
3393 optimize across FDE boundaries.
3394
3395 * config/obj-coff.c (obj_coff_section): Preserve any link once
3396 flags when setting the section flags.
3397
3398Fri Sep 4 17:07:14 1998 Nick Clifton <[email protected]>
3399
3400 * config/tc-arm.h (obj_adjust_symtab): Fixed typo.
3401 * config/tc-arm.c (armelf_adjust_symtab): Reformatted.
3402
3403Fri Sep 4 13:57:43 1998 Jakub Jelinek <[email protected]>
3404
3405 * config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
3406 to the host width.
3407
3408Wed Sep 2 11:31:14 1998 Richard Henderson <[email protected]>
3409
3410 * frags.c (frag_grow): Include the size of the frag struct in the
3411 obstack chunk size.
3412
3413 * subsegs.c (subseg_set_rest): Adjust the seginfo frchain start
3414 if the new subseg comes before the old.
3415
3416Tue Sep 1 15:01:33 1998 Jakub Jelinek <[email protected]>
3417
3418 * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
3419 to handle edge8 and edge16.
3420
3421Mon Aug 31 09:51:14 1998 Richard Henderson <[email protected]>
3422
3423 * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
3424 before we clobber the symbol involved.
3425
3426Mon Aug 31 10:58:06 1998 Catherine Moore <[email protected]>
3427
3428 * config/tc-arm.c: Remove OBJ_ELF definitions for
3429 S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS. Only
3430 use arm_adjust_symtab for OBJ_COFF.
3431 (armelf_adjust_symtab): New Routine.
3432 * config/tc-arm.h: Define obj_adjust_symtab to
3433 armelf_adjust_symtab for OBJ_ELF.
3434
3435Sat Aug 29 22:18:51 1998 Richard Henderson <[email protected]>
3436
3437 * configure.in: Make all i386-elf targets use bfd_gas.
3438 * config/tc-i386.c (tc_i386_force_relocation): New.
3439 (tc_i386_fix_adjustable): Don't fix vtable relocs.
3440 (md_apply_fix3): Likewise.
3441 (tc_gen_reloc): Handle them.
3442 * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
3443 tc_i386_force_relocation.
3444
3445Mon Aug 24 13:40:21 1998 Nick Clifton <[email protected]>
3446
3447 * config/tc-arm.c (md_show_usage): Improve formatting of --help output.
3448
3449Fri Aug 21 18:43:48 1998 Nick Clifton <[email protected]>
3450
3451 * config/tc-d30v.c (md_assemble): Copy previous opcode over
3452 current opcode after writing the first insturction of a reverse
3453 sequential pair.
3454
3455Fri Aug 21 07:30:35 1998 Doug Evans <[email protected]>
3456
3457 * read.h (generate_lineno_debug): Add prototype.
3458 * read.c (generate_lineno_debug): Make non-static.
3459
3460Thu Aug 20 23:17:04 1998 Alan Modra <[email protected]>
3461
3462 * config/tc-i386.c (md_assemble): Only warn for address/data size
3463 prefixes.
3464
3465Thu Aug 20 14:45:08 1998 Nick Clifton <[email protected]>
3466
3467 * config/tc-arm.c (arm_fix_adjustable): Do not adjust relocations
3468 against Thumb function names, as the linker needs this information.
3469
34701998-08-20 Vladimir N. Makarov <[email protected]>
3471
3472 * expr.c (operand): Check also that there is no advance in operand
3473 after atof_generic in order to decide "is it label 0f or floating
3474 point number?".
3475
3476Wed Aug 19 09:30:16 1998 Nick Clifton <[email protected]>
3477
3478 * config/tc-m32r.c: Replace double dash prefix to M32R specific
3479 command line options with a single dash.
3480 * doc/c-m32r.texi: Replace double dash prefix with a single dash.
3481
3482Tue Aug 18 11:59:43 1998 Catherine Moore <[email protected]>
3483
3484 * tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
3485 * tc-arm.c (arm_fix_adjustable): New routine.
3486
34871998-08-13 Vladimir N. Makarov <[email protected]>
3488
3489 * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
3490 s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
3491 demand_empty_rest_of_line before mri_comment_end.
3492 (equals): Check garbage after expression before
3493 mri_comment_end in MRI mode.
3494
3495Thu Aug 13 15:08:42 1998 Ian Lance Taylor <[email protected]>
3496
3497 * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
3498 small immediate constant to use the constant itself rather than
3499 always using 1.
3500
3501Wed Aug 12 18:47:38 1998 Ian Lance Taylor <[email protected]>
3502
3503 * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
3504 (pa_leave): Likewise.
3505
3506Wed Aug 12 13:25:03 1998 Alan Modra <[email protected]>
3507
3508 * config/tc-i386.c (md_assemble): Emit a warning for stand-alone
3509 prefixes.
3510 (i386_operand): Fix an error message.
3511
3512Tue Aug 11 14:44:32 1998 Nick Clifton <[email protected]>
3513
3514 * doc/c-arm.texi (ARM Directives): Document .req directive.
3515
3516 * config/tc-arm.c (reg_required_here): Display erroneous string if
3517 the register name could not be decoded.
3518 Do not set inst.instruction if the sift is -1.
3519
3520Mon Aug 10 15:39:56 1998 Richard Henderson <[email protected]>
3521
3522 * config/tc-alpha.c (tc_gen_reloc): Bias WEAK symbols just as
3523 we do for EXTERN.
3524
3525Mon Aug 10 15:06:18 1998 Nick Clifton <[email protected]>
3526
3527 * config/tc-d30v.c (d30v_align): Always perform alignment request,
3528 even if it is belived to be unnecessary.
3529
3530Mon Aug 10 17:48:09 1998 Alan Modra <[email protected]>
3531
3532 config/tc-i386.c (i386_operand): Size immediate constants by
3533 suffix (erroneously removed as part of July 7 change).
3534
3535Sun Aug 9 20:45:32 1998 Catherine Moore <[email protected]>
3536
3537 * config/obj-elf.h: Check for redefinition of obj_frob_symbol.
3538 * config/tc-arm.c: Define S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.
3539 (armelf_frob_symbol): New Routine.
3540 * config/tc-arm.h: Define obj_frob_symbol if OBJ_ELF.
3541
3542Sat Aug 8 15:21:28 1998 Richard Henderson <[email protected]>
3543
3544 * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
3545
3546Wed Aug 5 15:54:14 1998 Nick Clifton <[email protected]>
3547
3548 * config/tc-arm.c (md_begin): Set BFD private flags depending upon
3549 command line switches passed to assembler.
3550
3551Mon Aug 3 14:02:52 1998 Doug Evans <[email protected]>
3552
3553 * cgen.h (GAS_CGEN_MAX_FIXUPS): GAS_ prepended, all uses updated.
3554 (gas_cgen_opcode_desc): Declare.
3555 (gas_cgen_parse_operand): Declare.
3556 (*): Prepend gas_ to gas specific fns to denote them as such.
3557 All uses updated.
3558 * cgen.c (gas_cgen_opcode_desc): New global
3559 (gas_cgen_init_parse): Renamed from cgen_asm_init_parse.
3560 (queue_fixup): Renamed from cgen_queue_fixup.
3561 (*): Prepend gas_ to gas specific fns to denote them as such.
3562 All uses updated.
3563 (gas_cgen_md_apply_fix3): Update call to insert_operand.
3564 (gas_cgen_finish_insn): Renamed from cgen_asm_finish_insn.
3565 * config/tc-m32r.c (md_begin): Remove use of CGEN_SYM.
3566 Open opcode table and initialize it.
3567 (make_parallel): Use gas_cgen_opcode_desc.
3568 (assemble_parallel_insn): Ditto. Remove use of CGEN_SYM.
3569 (md_assemble): Ditto.
3570
3571Sat Aug 1 19:27:30 1998 Richard Henderson <[email protected]>
3572
3573 * as.h (debug_info_type): Add entries for unspecified and dwarf*.
3574 * ecoff.c (ecoff_generate_asm_lineno): Take no arguments; call
3575 as_where ourselves. Provide a stub for !ECOFF_DEBUGGING.
3576 * ecoff.h: Move ECOFF_DEBUGGING protection inside GAS_ECOFF_H.
3577 Move ecoff_generate_asm_lineno outside ECOFF_DEBUGGING protection.
3578 * read.c (generate_lineno_debug): Tidy ECOFF bits. Use
3579 DEBUG_UNSPECIFIED rather than DEBUG_NONE for initial test.
3580 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Define to a variable.
3581 (SEPARATE_STAB_SECTIONS): Conditionalize on value of ECOFF_DEBUGGING.
3582 (INIT_STAB_SECTION): Likewise.
3583 (OBJ_PROCESS_STAB): Likewise.
3584
3585 * config/tc-alpha.c (md_longopts): New options -mdebug/-no-mdebug.
3586 (md_parse_option): Watch for them.
3587 (alpha_cur_ent_sym, alpha_flag_mdebug): New variables.
3588 (md_begin): Kill neverdef code.
3589 (s_alpha_ent, s_alpha_end, s_alpha_mask, s_alpha_frame): New.
3590 (s_alpha_prologue): Watch alpha_cur_ent_sym.
3591 (s_alpha_coff_wrapper): New.
3592 (md_pseudo_table): Trap all ECOFF pseudos.
3593
3594Fri Jul 31 16:45:54 1998 Ron Unrau <[email protected]>
3595
3596 Start of changes to remove mdebug section from mips*-elf
3597 Based on MIPS_STAB_ELF definition
3598 * acconfig.h: undef if not configured
3599 * config.in: undef if not configured
3600 * config/mips-elf.h: only set ECOFF debugging if not stabs-in-elf
3601 * config/tc-mips.c (s_ent): set BSF_FUNCTION
3602 * stabs.c (s_stab_generic): flush frag
3603
3604Fri Jul 31 16:14:45 1998 Catherine Moore <[email protected]>
3605
3606 * configure.in: (arm-*-elf): Handle.
3607 (thumb-*-elf): Handle.
3608 * configure: Regenerate.
3609 * read.c (stringer): Fix typo in comment.
3610 * write.c (fixup_segment): Don't add symbol value to addend if
3611 TC_ARM and OBJ_ELF.
3612 * config/tc-arm.c (md_section_align): Don't align dwarf debug
3613 sections.
3614 (tc_gen_reloc): Always set the reloc addend to fixp->fx_offset
3615 for OBJ_ELF.
3616
3617Thu Jul 30 21:38:43 1998 Frank Ch. Eigler <[email protected]>
3618
3619 * config/tc-d30v.c ({cur,prev}_left_kills_right_p): New variables.
3620 (write_2_short): Emit warning if new flag is set.
3621 (do_assemble): Set flags if left instruction is one of special
3622 "right-instruction-killer" type.
3623
3624Tue Jun 28 18:12:28 1998 Stan Cox <[email protected]>
3625
3626 * config/tc-sparc.c (md_number_to_chars, cons_fix_new_sparc):
3627 Always output words in debug_info section as big endian.
3628 (sparc_target_format): Choose correct bfd target.
3629 (md_apply_fix3): Rename BFD_RELOC_SPARC_32LE to BFD_RELOC_SPARC_REV32.
3630
3631Tue Jul 28 11:01:21 1998 Jeffrey A Law ([email protected])
3632
3633 * config/tc-mn10300.c (md_assemble): Fix "errmsg" initialization
3634 to work with internationalization code. Issue an error when two
3635 operands match that are not allowed to match.
3636
3637Mon Jul 27 16:25:58 1998 Doug Evans <[email protected]>
3638
3639 * configure.in (install_tooldir): Allow target to specify whether
3640 it wants to be installed in $(tooldir)/bin.
3641 * configure: Regenerate.
3642 * Makefile.am (install-exec-local): Set install-exec-tooldir
3643 dependency via configure.
3644 * Makefile.in: Regenerate.
3645
3646Fri Jul 24 19:58:59 1998 Doug Evans <[email protected]>
3647
3648 * Makefile.am (install-exec-local): Split into two ...
3649 (install-exec-bindir,install-exec-tooldir): New rules.
3650 * Makefile.in: Regenerate.
3651
3652Fri Jul 24 16:31:49 1998 Ian Lance Taylor <[email protected]>
3653
3654 * Makefile.am (install-exec-local): Don't remove the file before
3655 checking whether $(bindir) == $(tooldir)/bin. From Maciej
3656 W. Rozycki <[email protected]>.
3657 * Makefile.in: Rebuild.
3658
3659Fri Jul 24 09:13:46 1998 Doug Evans <[email protected]>
3660
3661 * cgen.c: Include libiberty.h.
3662 (cgen_md_apply_fix3): Update call to md_cgen_lookup_reloc.
3663 (cgen_tc_gen_reloc): Use xmalloc, not bfd_alloc.
3664 * cgen.h (cgen_md_apply_fix3,cgen_tc_gen_reloc): Declare.
3665 (md_cgen_lookup_reloc)): Declare.
3666 (md_cgen_record_fixup_exp): Declare.
3667 * config/tc-m32r.h (md_pcrel_from_section): Declare.
3668 (m32r_relax_frag): Declare.
3669 (cgen_md_apply_fix3): Decls moved to cgen.h.
3670 (cgen_record_fixup_exp,cgen_tc_gen_reloc): Ditto.
3671 (m32r_cgen_record_fixup_exp): Delete decl.
3672 * config/tc-m32r.c (m32r_cpu_desc): #if 0 out.
3673 (assemble_nop): Delete.
3674 (expand_debug_syms): Delete unused `exp'.
3675 (md_cgen_lookup_reloc): Renamed from CGEN_SYM (lookup_reloc).
3676 Add default case for -Wall.
3677 (m32r_cgen_record_fixup_exp): Add default case for -Wall.
3678 (md_atof): Delete unused wordP.
3679
3680Thu Jul 23 13:19:50 1998 Jeffrey A Law ([email protected])
3681
3682 * config/tc-mn10300.c (md_assemble): Make sure "errmsg" has a non-NULL
3683 value.
3684
3685Wed Jul 22 14:36:56 1998 Ian Lance Taylor <[email protected]>
3686
3687 * doc/as.texinfo: Add documentation for .end, .exitm, .fail,
3688 .ifc, .ifeqs, .ifge, .ifgt, .ifle, .iflt, .ifnc, .ifne, .ifnes,
3689 .print, .purgem, and .struct. Remove documentation for
3690 .app-file.
3691
3692Tue Jul 21 16:50:52 1998 Doug Evans <[email protected]>
3693
3694 * cgen.c (cgen_md_apply_fix3): set_operand renamed to set_vma_operand.
3695 Update call to insert_operand.
3696
3697Fri Jul 17 11:42:20 1998 Nick Clifton <[email protected]>
3698
3699 * config/tc-m32r.c (ms_show_usage): Formatting changes.
3700
3701Wed Jul 15 15:38:28 1998 Ian Lance Taylor <[email protected]>
3702
3703 * config/tc-i386.c (md_assemble): Don't get confused by trailing
3704 whitespace after a prefix operator.
3705
3706Tue Jul 14 15:32:56 1998 Richard Henderson <[email protected]>
3707
3708 * configure.in (i386-*-beos{pe,elf,}*): Recognize.
3709
3710Tue Jul 14 12:33:44 1998 Chris Torek <[email protected]>
3711
3712 * config/tc-sparc.c (log2): New static function.
3713 (s_reserve): Use log2 to convert alignment before calling
3714 record_alignment.
3715 (s_common): Use log2 to convert alignment before calling
3716 record_alignment and frag_align.
3717 (sparc_cons_align): Use log2.
3718
3719Tue Jul 14 11:58:40 1998 Ian Lance Taylor <[email protected]>
3720
3721 * config/tc-sparc.c (s_reserve): Set symbol size if OBJ_ELF.
3722 (s_common): Likewise.
3723
3724 * config/tc-sparc.c (sparc_handle_align): Reindent a bit. Correct
3725 initialization of waddr.
3726 (sparc_elf_final_processing): Add default case to switch.
3727
3728Tue Jul 14 11:00:16 1998 Alan Modra <[email protected]>
3729
3730 * doc/c-i386.texi: Fix a typo. Use the term 80-bit real rather
3731 than temporary real.
3732
3733Mon Jul 13 13:55:42 1998 Ian Lance Taylor <[email protected]>
3734
3735 * write.c (subsegs_finish): Don't align the segments if there were
3736 any errors.
3737
3738 * config/obj-coff.c (c_symbol_merge): Correct number of bytes when
3739 copying aux information.
3740
3741 * expr.c (make_expr_symbol): Catch attempts to turn an O_big
3742 expression into a symbol.
3743
3744Mon Jul 13 13:29:04 1998 Alan Modra <[email protected]>
3745
3746 * config/tc-i386.c (mode_from_disp_size): Change arg and return
3747 type to unsigned int.
3748 (md_assemble): Change type used to store offsets from unsigned
3749 long to long.
3750 (i386_operand): Switch error check to only call RESTORE_END_STRING
3751 once after parse_register.
3752
3753Fri Jul 10 16:00:04 1998 Nick Clifton <[email protected]>
3754
3755 * config/tc-v850.c (md_show_usage): Changed format to match that
3756 of gcc, ld, etc.
3757
3758 * as.c (show_usage): Changed format to match that of gcc, ld, etc.
3759
3760Thu Jul 9 12:09:57 1998 Andreas Schwab <[email protected]>
3761
3762 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't adjust vtable
3763 relocs.
3764 (md_apply_fix_2): Force the symbol of the vtable reloc to be
3765 weak.
3766
3767Thu Jul 9 11:31:54 1998 Ian Lance Taylor <[email protected]>
3768
3769 * doc/Makefile.am (MAINTAINERCLEANFILES): Define.
3770 * doc/Makefile.in: Rebuild.
3771
3772Wed Jul 8 12:18:56 1998 Jeffrey A Law ([email protected])
3773
3774 * config/tc-mips.c (mips_ip, case 'i' and 'j'): Mask off high bits
3775 for %lo expressions.
3776 (mips_ip, case 'u'): Move range check after code to mask
3777 off bits in %hi/%lo expressions. Mask off high bits for
3778 %lo expressions.
3779
3780Tue Jul 7 17:57:38 1998 Ian Lance Taylor <[email protected]>
3781
3782 * doc/Makefile.am (gasver.texi): New target.
3783 (as.info, as.dvi): Depends upon gasver.texi.
3784 * doc/as.texinfo: Include gasver.texi. Mention version number on
3785 title page and in top node.
3786 * doc/Makefile.in: Rebuild.
3787
3788Tue Jul 7 11:42:16 1998 Richard Henderson <[email protected]>
3789
3790 * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
3791 but not including the line containing the edict.
3792 * listing.h (LISTING_EOF): New.
3793 * input-scrub.c (input_scrub_next_buffer): Call it.
3794
3795Tue Jul 7 13:00:37 1998 Alan Modra <[email protected]>
3796
3797 * config/tc-i386.c (i386_operand): Don't set the size of an
3798 immediate address based solely on the suffix and the mode.
3799
3800 * config/tc-i386.c (md_assemble): Add assertion to make sure
3801 overlap2 does not set Imm.
3802
3803 * config/tc-i386.c (space_chars): Remove. The scrubber converts
3804 sequences of whitespace to a single space.
3805 (is_space_chars): Just compare with space.
3806 (md_begin): Don't initialize space_chars.
3807 (md_assemble): Just skip a single whitespace character.
3808 (i386_operand): Rewrite base-index parsing to use new
3809 parse_register, and to skip white space. Skip white space in a
3810 number of other places too. Don't give error message if
3811 parse_register fails.
3812 (parse_register): Change reg_string parameter to be non-const.
3813 Add end_op parameter. Skip white space after the `%', and return
3814 end of register string. Give error message here rather than
3815 caller.
3816
3817Fri Jul 3 15:34:34 1998 Ian Lance Taylor <[email protected]>
3818
3819 Based on patch from Matt Semersky <[email protected]>:
3820 * expr.c (op_encoding): Make const.
3821 (expr_set_precedence): New function.
3822 (expr_begin): Don't set operator rankings, just call
3823 expr_set_precedence.
3824 * expr.h (expr_set_precedence): Declare.
3825 * read.c (s_mri): Call expr_set_precedence.
3826
3827Thu Jul 2 16:24:58 1998 Ian Lance Taylor <[email protected]>
3828
3829 * doc/as.texinfo (Statements): Remove paragraph discussing
3830 continuing lines with a backslash. This hasn't worked for years,
3831 if it ever did.
3832
3833Thu Jul 2 14:06:22 1998 Klaus Kaempf <[email protected]>
3834
3835 * obj-vms.c: Add C++ support with ctors/dtors sections. Add weak
3836 symbol definitions.
3837 (Ctors_Symbols, Dtors_Symbols): New symbol chains.
3838 (ps_CTORS, ps_DTORS): New section types.
3839 (vms_fixup_xtors_section): New function
3840 (Ctors_Psect, Dtors_Psect): Define.
3841 (IS_GXX_XTOR): Define
3842 (global_symbol_directory): Change check of gxx_bug_fixed to 0.
3843 Filter static constructors/destructors and add to
3844 Ctors_Symbols/Dtors_Symbols chain.
3845 (vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
3846 appropriate section.
3847
3848 * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
3849 * makefile.vms: Merge vax/vms support.
3850
3851Wed Jul 1 20:06:20 1998 Richard Henderson <[email protected]>
3852
3853 * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
3854 (elf_pseudo_table): Add them.
3855 * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
3856 (md_apply_fix): Accept them.
3857 (mips_fix_adjustable): Don't adjust them.
3858 (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
3859 * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
3860 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
3861 (tc_fix_adjustable): Don't adjust them.
3862
3863Wed Jul 1 16:35:32 1998 Doug Evans <[email protected]>
3864
3865 * Makefile.am (CGEN_CPU_PREFIX): New variable.
3866 (cgen.o): Use it.
3867 * Makefile.in: Regenerate.
3868 * configure.in: AC_SUBST cgen_cpu_prefix.
3869 * configure: Regenerate.
3870
3871Wed Jul 1 21:38:56 1998 J"orn Rennecke <[email protected]>
3872
3873 * config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
3874 Changed all users of COND12_DELAY.
3875
3876Fri Jun 26 11:21:11 1998 Jeffrey A Law ([email protected])
3877
3878 * config/tc-mn10300.c (set_arch_mach): New function.
3879 (md_pseudo_table): Add pseudo-ops to set the current machine type.
3880 (md_begin): Default to mn10300 mode.
3881 (md_assemble): Only accept instructions for the core mn10300
3882 chip and the active machine type.
3883
3884Wed Jun 24 19:06:04 1998 Ian Lance Taylor <[email protected]>
3885
3886 * subsegs.h (segment_info_type): Give the struct a name.
3887 * config/tc-h8300.h (tc_reloc_mangle): Add prototype.
3888 * config/tc-h8500.h (tc_reloc_mangle): Declare.
3889 * config/tc-sh.h (sh_coff_reloc_mangle): Add prototype.
3890 * config/tc-w65.h (tc_reloc_mangle): Declare.
3891 * config/tc-z8k.h (tc_reloc_mangle): Declare.
3892
3893Wed Jun 24 13:45:00 1998 Catherine Moore <[email protected]>
3894
3895 * config/tc-v850.c (v850_comm): Restore old section
3896 after common processing.
3897
3898Wed Jun 24 11:50:54 1998 Klaus Kaempf <[email protected]>
3899
3900 * config/obj-vms.c (Create_VMS_Object_File): Force binary file.
3901
3902Tue Jun 23 17:47:31 1998 Jim Wilson <[email protected]>
3903
3904 * config/tc-h8300.c (do_a_fix_imm, build_bytes): Replace cast to
3905 char with code that explicitly sign-extends.
3906
3907Tue Jun 23 13:54:57 1998 Nick Clifton <[email protected]>
3908
3909 * config/tc-v850.c (md_begin): Restore text section as the current
3910 section after creating call table sections.
3911 * config/obj-coff.h (SYM_AUXINFO): New macro to conceal ugly
3912 code.
3913
3914 * config/obj-coff.c (c_symbol_merge): Replace complex expresion
3915 with call to macro SYM_AUXINFO.
3916
3917Tue Jun 23 15:09:27 1998 Mike Stump <[email protected]>
3918
3919 * Makefile.am (install-exec-local): Don't let EXEEXT interfere
3920 with the program transform name.
3921 * Makefile.in: Rebuild.
3922
3923Mon Jun 22 19:52:42 1998 Ian Lance Taylor <[email protected]>
3924
3925 * config/obj-coff.c (c_symbol_merge): Fix copying of auxiliary
3926 information.
3927
3928Mon Jun 22 15:18:58 1998 Ian Lance Taylor <[email protected]>
3929
3930 * config/tc-i386.c (i386_operand): Be prepared for a space between
3931 the open parenthesis and the start of the register operand,
3932 because of the June 16 change.
3933
3934Sun Jun 21 21:27:03 1998 Ian Lance Taylor <[email protected]>
3935
3936 * config/tc-sh.c (md_apply_fix): Handle weak symbols correctly if
3937 BFD_ASSEMBLER.
3938
3939Sun Jun 21 12:26:36 1998 Nick Clifton <[email protected]>
3940
3941 * config/tc-d30v.c (d30v_align): Always perform alignment request,
3942 even if it is belived to be unnecessary.
3943
3944Fri Jun 19 13:57:06 1998 Ian Lance Taylor <[email protected]>
3945
3946 * write.c (adjust_reloc_syms): Never adjust relocs against weak
3947 symbols.
3948 * config/tc-mips.c (md_apply_fix): Adjust accordingly.
3949
3950Fri Jun 19 09:50:17 1998 Jeffrey A Law ([email protected])
3951
3952 * config/tc-mn10300.c (mn10300_insert_operand): Do not hardcode the
3953 shift amount for a repeated operand. The shift amount for the
3954 repeated copy comes from the size of the operand.
3955
3956Fri Jun 19 00:44:19 1998 Jeffrey A Law ([email protected])
3957
3958 * config/tc-h8300.c (get_operand): Fix typos in ldm/stm support.
3959
3960Wed Jun 17 13:07:05 1998 Ian Lance Taylor <[email protected]>
3961
3962 * config/tc-mips.c (md_show_usage): Fix -mipsN usage.
3963
3964Tue Jun 16 13:06:21 1998 Alan Modra <[email protected]>
3965
3966 * app.c (do_scrub_begin): If tc_symbol_chars is defined, treat all
3967 characters in it as LEX_IS_SYMBOL_COMPONENT.
3968 * config/tc-i386.h (tc_symbol_chars): Define.
3969 (extra_symbol_chars): Declare.
3970 * config/tc-i386.c (extra_symbol_chars): Define.
3971 (comment_chars): Don't use '/' as comment start if TE_LINUX.
3972 (line_comment_chars): Set to '/' if TE_LINUX.
3973 * doc/c-i386.texi (i386-prefixes): Update.
3974 * doc/internals.texi (CPU backend): Document tc_symbol_chars.
3975
3976Fri Jun 12 13:36:54 1998 Tom Tromey <[email protected]>
3977
3978 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
3979 ($(PACKAGE).pot): Unconditionally depend on POTFILES.
3980
39811998-06-12 Vladimir N. Makarov <[email protected]>
3982
3983 * config/tc-d10v.c (md_apply_fix3): Checking displacement
3984 constraint in instructions REP & REPI.
3985
3986Thu Jun 11 08:56:46 1998 Nick Clifton <[email protected]>
3987
3988 * config/tc-d30v.c (md_apply_fix3): Catch BFD_RELOC_8,
3989 BFD_RELOC_16, BFD_RELOC_64 and issue appropriate error messages.
3990
3991 (check_range): If the operand is shifted, then shift the number
3992 before checking its range.
3993
3994 * write.c (adjust_reloc_syms): Add more checks for NULL pointers.
3995
3996 * config/tc-v850.c (v850_comm): Set SEC_COMMON bit on special
3997 common sections.
3998
3999Wed Jun 10 17:26:35 1998 Nick Clifton <[email protected]>
4000
4001 * config/tc-v850.c (v850_comm): Create special sections as needed.
4002
40031998-06-10 Vladimir N. Makarov <[email protected]>
4004
4005 * config/tc-d10v.c (write_2_short): Addition of swapping
4006 instructions for sequential and reverse sequential order when
4007 given order is not possible.
4008
4009Tue Jun 9 13:52:53 1998 Ian Lance Taylor <[email protected]>
4010
4011 * Makefile.am: Rebuild dependencies.
4012 (DEP_INCLUDES): Fix reference to intl build directory.
4013 * Makefile.in: Rebuild.
4014
4015Tue Jun 9 12:20:05 1998 Alan Modra <[email protected]>
4016
4017 * doc/c-i386.texi: Update 16 bit documentation.
4018
4019 * config/tc-i386.h: Change Data16 to Size16, Data32 to Size32,
4020 IgnoreDataSize to IgnoreSize as they are used for address size as
4021 well as data size.
4022 * config/tc-i386.c: Likewise. Add code to reject addr32/data32 in
4023 32-bit mode, similarly addr16/data16 and variants.
4024
4025Mon Jun 8 18:32:01 1998 Nick Clifton <[email protected]>
4026
4027 * config/tc-d30v.c (md_assemble): Fix handling of reverse
4028 sequential word multiply instructions.
4029
4030 (do_assemble): Add extra command line argument, to allow mul32
4031 attribute to be preserved across parallel insns.
4032 (md_assemble): Insert NOPs between explicitly parallel insns which
4033 contain an 32 bit multiply and a 16 multiply.
4034
4035Mon Jun 8 12:20:30 1998 Alan Modra <[email protected]>
4036
4037 * config/tc-i386.c: REPNE renamed to REPNE_PREFIX_OPCODE, and
4038 likewise for REPE.
4039
4040 * config/tc-i386.c (reloc): Add braces.
4041
4042 * config/tc-i386.c (struct _i386_insn): Rename bi to sib to be
4043 consistent with Intel naming.
4044 * config/tc-i386.h (base_index_byte): Rename to sib_byte. Don't
4045 use bitfields in sib_byte.
4046 (modrm_byte): Don't use bitfields here either.
4047
4048 * config/tc-i386.c (current_templates): Add const.
4049 (parse_register): Add const to return, param, and char *s.
4050 (i386_operand): Add const to reg_entry *r.
4051 * config/tc-i386.h (templates): Add const to start, end.
4052
4053 Inspired by code for 16 bit gas support from Martynas Kunigelis
4054 <[email protected]>:
4055 * config/tc-i386.c (md_assemble): Add full support for 16 bit
4056 modrm, and Jump, JumpByte, JumpDword, JumpInterSegment insns.
4057 (uses_mem_addrmode): Remove.
4058 (md_estimate_size_before_relax): Add support here too.
4059 (md_relax_table): Rewrite interface to md_relax for 16 bit
4060 support.
4061 (BYTE, WORD, DWORD, UNKNOWN_SIZE): Remove.
4062 (opcode_suffix_to_type): Remove.
4063 (CODE16, SMALL, SMALL16, BIG, BIG16): Define.
4064 (SIZE_FROM_RELAX_STATE): Modify to suit above.
4065 (md_convert_frag): Likewise.
4066 (i386_operand): Add support for 16 bit base/index regs,
4067 immediates, and displacements. Remove some unnecessary casts, and
4068 localise end_of_operand_string, displacement_string_start,
4069 displacement_string_end variables. Add GCC_ASM_O_HACK.
4070 * config/tc-i386.h (NO_BASE_REGISTER_16): Define.
4071
4072 * config/tc-i386.c (prefix_hash): Remove.
4073 (md_begin): Rewrite without obstacks. Remove prefix hash table
4074 handling. Rewrite lexical table handling.
4075 (i386_print_statistics): Don't print prefix statistics.
4076 (md_assemble): Rewrite instruction parser so that line is not
4077 converted to lower case. Don't do a hash_find for prefixes,
4078 instead recognise them via opcode modifier.
4079 (expecting_operand, paren_not_balanced): Localise variables.
4080 * config/tc-i386.h (IsPrefix): Define.
4081 (prefix_entry): Remove.
4082
4083 * config/tc-i386.h (PREFIX_SEPERATOR): Don't define.
4084 * config/tc-i386.c (PREFIX_SEPARATOR): Define here instead, using
4085 '\\' in case where comment_chars contains '/'.
4086
4087 * config/tc-i386.c (MATCH): Ensure given operand and template
4088 match for JumpAbsolute. Makes e.g. `ljmp table(%ebx)' invalid;
4089 you must write `ljmp *table(%ebx)'.
4090
4091 From H.J. Lu <[email protected]>:
4092 * config/tc-i386.c (BFD_RELOC_16, BFD_RELOC_16_PCREL): Define
4093 as 0 ifndef BFD_ASSEMBLER.
4094 (md_assemble): Allow immediate operands without suffix or
4095 other reg operand to default in size to the current code size.
4096
4097Mon Jun 8 09:45:00 1998 Catherine Moore <[email protected]>
4098
4099 * config/tc-v850.c (md_begin): Restore creation of
4100 .call_table_text and .call_table_data sections.
4101
4102Sat Jun 6 00:02:41 1998 Nick Clifton <[email protected]>
4103
4104 * config/tc-d30v.c (md_assemble): Set execution type to unknown
4105 after emitting a word of noops.
4106
4107Fri Jun 5 23:27:04 1998 Alan Modra <[email protected]>
4108
4109 * config/tc-i386.c (mode_from_disp_size): Disp16 is mode 2.
4110 (i386_operand): Simplify checks for valid base/index combinations.
4111 Disallow `in 4(%dx),%al'.
4112
4113 * config/tc-i386.c (struct _i386_insn): Make regs, base_reg, and
4114 index_reg const.
4115 (add_prefix): Change parameter from char to int.
4116
4117 * config/tc-i386.h (Ugh): Define opcode modifier.
4118 * config/tc-i386.c (md_assemble): Print warnings for Ugh insns.
4119
4120 * config/tc-i386.c (md_assemble): Rewrite MATCH and
4121 CONSISTENT_REGISTER_MATCH macros to check register types more
4122 thoroughly. Check for illegal suffix/operand combinations
4123 when matching insns with operands. Handle new `s' suffix, and
4124 associated FloatMF opcode modifier for float insns with memory
4125 operands.
4126 * config/tc-i386.h (FloatMF): Define new opcode modifier.
4127 (No_sSuf, No_bSuf, No_wSuf, No_lSuf): Likewise.
4128 (SHORT_OPCODE_SUFFIX, LONG_OPCODE_SUFFIX): Define.
4129 * config/tc-i386.c: Rename WORD_PREFIX_OPCODE to
4130 DATA_PREFIX_OPCODE throughout.
4131
4132 * config/tc-i386.c (REGISTER_WARNINGS): Define.
4133 (md_assemble): Rewrite suffix/register operand checking code to be
4134 more thorough. Remove Abs8,16,32. Change occurrences of Mem to
4135 AnyMem, the better to grep.
4136 (pi): Remove Abs.
4137 (i386_operand): Don't set Mem bits in i.types[this_operand] when
4138 given a memory operand. Don't set Abs bits either.
4139 (type_names): Remove Mem*, Abs*.
4140 * config/tc-i386.h (Mem8, Mem16, Mem32, Abs8, Abs16, Abs32): Don't
4141 define opcode_modifiers as these cases are handled by Disp8,
4142 Disp16, Disp32 and suffix checks.
4143 (COMES_IN_BOTH_DIRECTIONS): Remove.
4144 (FloatR): Define. It's OK to share the bit with ReverseRegRegmem.
4145
4146 * config/tc-i386.c (md_assemble): Don't emit operand size prefix
4147 if IgnoreDataSize modifier given. Remove ShortformW modifier
4148 test. Add test for ShortForm in W base_opcode modification.
4149 Merge Seg2ShortForm and Seg3ShortForm code.
4150 * config/tc-i386.h (ShortFormW): Remove.
4151 (IgnoreDataSize): Define.
4152
4153Fri Jun 5 10:50:53 1998 Nick Clifton <[email protected]>
4154
4155 * config/tc-d30v.c (md_assemble): Store previous segment state
4156 with previous instruction.
4157
4158Wed Jun 3 18:21:56 1998 Alan Modra <[email protected]>
4159
4160 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define.
4161 (ebp, esp): Remove static variables.
4162 (MATCH): Remove test for InOutPortReg.
4163 (i386_operand): Properly handle InOutPortReg here instead.
4164 Disallows `inb (%dx,2)', `inb %es:(%dx)' and `mov (%dx),%ax'
4165 (md_assemble): Simplify and correct modrm and sib generation.
4166 (i386_operand): Add warning for scale without index.
4167 Rewrite checks for valid base/index combinations.
4168
4169 * config/tc-i386.c (END_STRING_AND_SAVE): Protect arguments of
4170 macros and enclose in do while(0).
4171 (RESTORE_END_STRING): Likewise.
4172 (md_assemble): Add one to printed operand number so we start
4173 from 1 not 0. Add some more gettext invocations.
4174 (i386_operand): Fix `%%s' -> `%%%s'. Inc printed operand
4175 number here too.
4176
4177 * config/tc-i386.h (WAIT_PREFIX, LOCKREP_PREFIX, ADDR_PREFIX,
4178 DATA_PREFIX, SEG_PREFIX): Define.
4179 * config/tc-i386.c (struct _i386_insn): Remove wait_prefix field.
4180 (check_prefix): Remove function.
4181 (add_prefix): New function. Add prefix to i.prefix as well as
4182 doing checks.
4183 (md_assemble): Changes for add_prefix. Remove hack for wait
4184 prefix, instead always output prefixes in fixed order. Test
4185 for jcxz/loop when selecting between word & dword operations,
4186 and add address size prefix rather than operand size prefix.
4187 Remove operand -> address size hack when emitting jcxz/loop.
4188 (i386_operand): Remove O_Absent check as it's done in expr.
4189
4190Wed Jun 3 15:09:10 1998 Ian Lance Taylor <[email protected]>
4191
4192 * configure.in: Recognize m5200 as a cpu_type of m68k.
4193 * aclocal.m4: Rebuild with current libtool.
4194 * configure: Rebuild.
4195
4196Wed Jun 3 14:11:59 1998 Andreas Schwab <[email protected]>
4197
4198 * config/tc-m68k.c (md_estimate_size_before_relax): Add more calls
4199 to relaxable_symbol to prevent references to external symbol from
4200 being relaxed.
4201
4202Wed Jun 3 14:10:36 1998 Ian Lance Taylor <[email protected]>
4203
4204 * config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all
4205 symbols are relaxable.
4206
4207Wed Jun 3 09:16:00 1998 Catherine Moore <[email protected]>
4208
4209 * config/tc-v850.c (md_begin): Don't create special
4210 sections by default.
4211
4212Tue Jun 2 14:52:56 1998 Jeffrey A Law ([email protected])
4213
4214 * config/tc-mips.c (macro): For div and udiv, close the
4215 reorder block as soon as possible.
4216
4217Tue Jun 2 15:36:13 1998 Ian Lance Taylor <[email protected]>
4218
4219 From Matt Semersky <[email protected]>:
4220 * macro.c (macro_mri_mode): New function.
4221 * macro.h (macro_mri_mode): Declare.
4222 * read.c (s_mri): Call macro_mri_mode when switching in and out of
4223 MRI mode.
4224
4225Tue Jun 2 13:32:22 1998 Klaus Kaempf <[email protected]>
4226
4227 * config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
4228 OBJ_EVAX case.
4229
4230 * config/tc-alpha.c (s_alpha_comm): Defer restoring character
4231 until after xstrdup in OBJ_EVAX case.
4232
4233Tue Jun 2 13:11:13 1998 Pat Rankin <[email protected]>
4234
4235 * config/tc-vax.c (md_create_short_jump): Fix off by two bug in
4236 offset calculation. Also, use VAX_BRW from vax-inst.h instead
4237 of hardcoded magic number.
4238 (md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros.
4239
4240Tue Jun 2 09:25:34 1998 Doug Evans <[email protected]>
4241
4242 * read.c (do_s_func): New function.
4243 (s_func): Call it.
4244 * read.h (do_s_func): Add prototype.
4245
4246Mon Jun 1 12:47:30 1998 Doug Evans <[email protected]>
4247
4248 * config/tc-m32r.c (m32r_do_align): Only fill code sections with
4249 nops if fill pattern not specified.
4250
4251Mon Jun 1 14:08:35 1998 Ian Lance Taylor <[email protected]>
4252
4253 From Andrew Crabtree <[email protected]>:
4254 * config/te-go32.h (TE_GO32): Define.
4255 * config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.
4256
4257Sun May 31 15:43:06 1998 Doug Evans <[email protected]>
4258
4259 Implement .func/.endfunc pseudo-ops.
4260 * read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
4261 (s_func): Declare.
4262 * read.c (potable): Add .func,.endfunc.
4263 (s_func): New function.
4264 * stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
4265 functions.
4266 (in_doc_func_p,current_function_label): New static globals.
4267 (stabs_generate_asm_lineno): Emit function relative stabs if in .func.
4268
4269Fri May 29 18:13:12 1998 Ian Lance Taylor <[email protected]>
4270
4271 * config/tc-a29k.h (WORKING_DOT_WORD): Define.
4272 * config/tc-alpha.h (WORKING_DOT_WORD): Define.
4273 * config/tc-arm.h (WORKING_DOT_WORD): Define.
4274 * config/tc-h8300.h (WORKING_DOT_WORD): Define.
4275 * config/tc-h8500.h (WORKING_DOT_WORD): Define.
4276 * config/tc-hppa.h (WORKING_DOT_WORD): Define.
4277 * config/tc-i860.h (WORKING_DOT_WORD): Define.
4278 * config/tc-i960.h (WORKING_DOT_WORD): Define.
4279 * config/tc-tic30.h (WORKING_DOT_WORD): Define.
4280 * config/tc-w65.h (WORKING_DOT_WORD): Define.
4281 * config/tc-z8k.h (WORKING_DOT_WORD): Define.
4282 * config/tc-a29k.c: Don't define md_short_jump_size,
4283 md_long_jump_size, md_create_short_jump or md_create_long_jump.
4284 * config/tc-alpha.c: Likewise.
4285 * config/tc-alpha.h: Likewise.
4286 * config/tc-arm.c: Likewise.
4287 * config/tc-h8300.c: Likewise.
4288 * config/tc-h8500.c: Likewise.
4289 * config/tc-hppa.c: Likewise.
4290 * config/tc-i860.c: Likewise.
4291 * config/tc-i960.c: Likewise.
4292 * config/tc-ppc.c: Likewise.
4293 * config/tc-sh.c: Likewise.
4294 * config/tc-sparc.h: Likewise.
4295 * config/tc-tic30.c: Likewise.
4296 * config/tc-w65.c: Likewise.
4297 * config/tc-z8k.c: Likewise.
4298
4299Fri May 29 16:03:26 1998 Pat Rankin <[email protected]>
4300
4301 * config/tc-vax.c (_): Delete this macro used for placeholder
4302 values in vax_operand_width_size; it conflicts with the _() macro
4303 used for internationalization.
4304
4305Fri May 29 13:46:07 1998 Ian Lance Taylor <[email protected]>
4306
4307 * symbols.c (symbol_find_base): Fix case insensitive symbol name
4308 code. From Chris Moller <[email protected]>.
4309
4310 Based on patch from Klaus Kaempf <[email protected]>:
4311 * struc-symbol.h (struct broken_word): Add seg and subseg fields.
4312 * read.c (emit_expr): Initialize seg and subseg fields of a new
4313 broken word.
4314 * write.c (write_object_file): Switch to the appropriate segment
4315 and subsegment when processing a broken word.
4316
4317 * config/tc-m68k.c (mri_assemble): New static function.
4318 (build_mri_control_operand): Call mri_assemble rather than
4319 md_assemble.
4320 (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
4321 (s_mri_endf, s_mri_endw): Likewise.
4322
4323Wed May 27 11:16:25 1998 Ian Lance Taylor <[email protected]>
4324
4325 * read.c (s_org): Call md_flush_pending_output if it is defined.
4326
4327 * config/tc-sparc.c (md_show_usage): Add \n\ to new string.
4328
4329Tue May 26 19:27:52 1998 Stan Cox <[email protected]>
4330
4331 * config/tc-sparc.c (OPTION_LITTLE_ENDIAN_DATA): New.
4332 (md_parse_option): Add for same.
4333 (sparc_md_end): Set bfd_mach_sparc_sparclite_le.
4334 (md_apply_fix3, tc_gen_reloc): Allow BFD_RELOC_SPARC_32LE.
4335 (cons_fix_new_sparc): Added to create BFD_RELOC_SPARC_32LE.
4336
4337 * config/tc-sparc.h (cons_fix_new_sparc): Added.
4338
4339Thu May 21 15:02:41 1998 Nick Clifton <[email protected]>
4340
4341 * config/tc-arm.c (find_real_start): Relax definition of local
4342 labels.
4343
4344Tue May 19 16:59:44 1998 Nick Clifton <[email protected]>
4345
4346 * config/tc-d30v.c (d30v_align): Apply address adjustment to all
4347 symbols at the given address, not just the last one specified.
4348
4349Tue May 19 08:25:19 1998 Catherine Moore <[email protected]>
4350
4351 * config/tc-sparc.c (sparc_handle_align): Use number_to_chars_bigendian
4352 or number_to_chars_littleendian to write data.
4353
4354Mon May 18 17:09:30 1998 Nick Clifton <[email protected]>
4355
4356 * config/tc-v850.c (md_assemble): Remove artificially created
4357 register name symbols.
4358
4359Mon May 18 13:47:06 1998 Doug Evans <[email protected]>
4360
4361 * write.c (fixup_segment): Change "segment" to "section" in
4362 error message.
4363
4364Mon May 18 16:55:40 1998 Michael Meissner <[email protected]>
4365
4366 * write.c (fixup_segment): Change sym1-sym2 message again.
4367
4368Mon May 18 09:31:43 1998 Michael Meissner <[email protected]>
4369
4370 * write.c (fixup_segment): Improve error message for sym1-sym2
4371 errors when sym1 is in a different segment from sym2.
4372
4373Wed May 13 10:16:37 1998 Doug Evans <[email protected]>
4374
4375 * config/tc-m32r.c (warn_unmatched_high): New static local.
4376 (OPTION_WARN_PARALLEL): Rename from OPTION_WARN.
4377 (OPTION_NO_WARN_PARALLEL): Rename from OPTION_NO_WARN.
4378 (md_longopts): Recognize --{no-,}warn-unmatched-high.
4379 (md_parse_option): Likewise.
4380 (md_show_usage): Likewise.
4381 (m32r_frob_file): Likewise.
4382
4383 * read.c (generate_file_debug,generate_lineno_debug): New functions.
4384 (read_a_source_file): Call them.
4385 * read.h (stabs_generate_asm_file): Declare.
4386 * stabs.c (stabs_generate_asm_file): New function.
4387 (generate_asm_file): New function.
4388 (stabs_generate_asm_lineno): Move file name handling into
4389 generate_asm_file.
4390
4391Tue May 12 12:03:44 1998 Richard Henderson <[email protected]>
4392
4393 * config/tc-d30v.c (cur_mul32_p, prev_mul32_p): Make static.
4394 (d30v_current_align, d30v_current_align_seg): New variables.
4395 (d30v_last_label): New variable.
4396 (d30v_align, s_d30v_align, s_d30v_text): New functions.
4397 (s_d30v_data, s_d30v_section): Likewise.
4398 (md_pseudo_table): Call them.
4399 (md_begin): Initialize d30v_current_align_seg.
4400 (md_assemble): Call d30v_align when needed by known current alignment.
4401 (d30v_frob_label, d30v_cons_align): New functions.
4402 * config/tc-d30v.h (md_do_align): Remove.
4403 (tc_frob_label): Call d30v_frob_label.
4404 (md_cons_align): New.
4405
4406 * config/tc-d30v.c (find_format): Convert complex expressions to
4407 expression symbols before processing. Clean up code formatting.
4408
4409Sun May 10 22:35:02 1998 Jeffrey A Law ([email protected])
4410
4411 * po/Make-in (install-info): New target.
4412
4413Thu May 7 15:49:07 1998 Jeffrey A Law ([email protected])
4414
4415 * config/tc-mn10200.c (md_assemble): Handle "bra" just like "jmp"
4416 instructions.
4417 * config/tc-mn10300.c (md_assemble): Likewise.
4418
4419Thu May 7 11:47:22 1998 Doug Evans <[email protected]>
4420
4421 * Makefile.am: Update with `make dep-am'.
4422 (HFILES): Add cgen.h.
4423 (cgen.o): Depend on cgen.h.
4424 * Makefile.in: Regenerate.
4425
4426 * cgen.c (cgen_md_apply_fix3): Don't pass newline to as_warn_where.
4427
4428Thu May 7 13:20:56 1998 Anders Blomdell <[email protected]>
4429
4430 * gasp.c (grab_label): Permit a label to be a preprocessor
4431 variable by permitting a label to start with a backslash.
4432
4433Thu May 7 12:50:33 1998 Frank Ch. Eigler <[email protected]>
4434
4435 * config/tc-mips.c (validate_mips_insn): Removed hack
4436 for previously inaccessible bitfields in some INSN_TRAP
4437 instructions.
4438
4439Thu May 7 11:13:00 1998 Frank Ch. Eigler <[email protected]>
4440
4441 * config/tc-d30v.c (do_assemble): Abort with error message
4442 if opcode operands do not match.
4443
4444Thu May 7 09:36:06 1998 Frank Ch. Eigler <[email protected]>
4445
4446 * config/tc-mips.c (macro_build, validate_mips_insn): Implement
4447 'q' operand format for 20-bit "break"/"sdbbp" instructions.
4448 (mips_ip): Truncate overflowed "break" 'c' operand. Implement
4449 similar new 'q' operand.
4450
4451Thu May 7 07:47:14 1998 Michael Meissner <[email protected]>
4452
4453 * cgen.c (cgen_asm_finish_insn): Fix typo.
4454
4455Thu May 7 02:19:14 1998 Doug Evans <[email protected]>
4456
4457 * cgen.h: New file.
4458 * cgen.c: Include it.
4459 (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
4460 (cgen_asm_finish_insn): Result is now void. New arg `result'.
4461 All callers updated.
4462 * config/tc-m32r.c: Include cgen.h.
4463 (m23r_insn): New members num_fixups,fixups.
4464
4465Wed May 6 16:29:19 1998 Jeffrey A Law ([email protected])
4466
4467 * config/tc-hppa.c (md_apply_fix): Slightly rework some code
4468 to avoid compiler warning.
4469
4470Wed May 6 15:26:34 1998 Klaus Kaempf <[email protected]>
4471
4472 * makefile.vms: Run dec c with /nodebug. Pass CC value when
4473 calling make.
4474
4475 * makefile.vms (OBJS): Add ehopt.obj
4476
4477Wed May 6 15:11:12 1998 Klaus Kaempf <[email protected]>
4478
4479 * doc/c-vax.texi: Correct and extend vax/vms documentation.
4480
4481Wed May 6 11:51:51 1998 Richard Henderson <[email protected]>
4482
4483 * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
4484 a short format insn.
4485 (md_assemble): Set it for explicitly packed insns.
4486
4487Tue May 5 13:23:13 1998 Nick Clifton <[email protected]>
4488
4489 * config/obj-coff.c (c_symbol_merge): Do not take address of
4490 native fields when performing the memcpy.
4491
4492Tue May 5 13:10:41 1998 Gavin Koch <[email protected]>
4493
4494 * config/tc-mips.c (macro,macro2): Implement
4495 M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
4496
4497Mon May 4 17:49:14 1998 Andreas Schwab <[email protected]>
4498
4499 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
4500 relocations against globally visible symbols.
4501 * config/tc-m68k.c (relaxable_symbol): New macro.
4502 (m68k_ip, md_estimate_size_before_relax): Use it.
4503 (tc_m68k_fix_adjustable): Also handle weak symbols.
4504
4505Mon May 4 16:12:23 1998 Ian Lance Taylor <[email protected]>
4506
4507 * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
4508 references to externally visible symbols.
4509 * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
4510 values in twice for a PC relative reloc if the symbol is
4511 externally defined.
4512
4513 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
4514 don't adjust a PC relative reloc against an externally visible
4515 symbol.
4516 * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
4517 for a PC relative fixup against an externally visible defined
4518 symbol, arrange to store object file and addend values as though
4519 the symbol were not defined.
4520 (tc_gen_reloc): Likewise.
4521
4522Thu Apr 30 13:09:39 1998 Fred Fish <[email protected]>
4523
4524 * read.c (sizeof_leb128): Referenced externally by write.c so
4525 don't inline.
4526
4527Wed Apr 29 15:45:57 1998 Michael Meissner <[email protected]>
4528
4529 * config/tc-m32r.c ({,expand_}debug_sym): New functions to record
4530 and expand a 'debug' symbol associated with the next instruction
4531 that does not cause a short instruction to be filled with a NOP.
4532 (md_pseudo_table): Add support for .debugsym.
4533 (assemble_parallel_insn): Add calls to expand_debug_sym as
4534 appropriate.
4535 (md_assemble): Ditto.
4536
4537Tue Apr 28 19:16:26 1998 Tom Tromey <[email protected]>
4538
4539 * as.c (main): Conditionally call setlocale.
4540 * gasp.c (main): Likewise.
4541 * asintl.h: Include <locale.h> if HAVE_LOCALE_H.
4542 (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
4543
4544Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <[email protected]>
4545
4546 * config/tc-d30v.c (md_show_usage): Correct gettext typo.
4547
4548Tue Apr 28 12:16:30 1998 Ian Lance Taylor <[email protected]>
4549
4550 * config/tc-hppa.c: Change all calls to bzero to use memset.
4551 (pa_ip): Add cast to avoid warning.
4552 (tc_gen_reloc, md_apply_fix): Likewise.
4553 (pa_find_space_by_number): Likewise.
4554 (hppa_force_relocation): Likewise.
4555 (pa_block): Change i to unsigned int.
4556 * config/obj-som.h (obj_som_copyright): Declare.
4557
4558Tue Apr 28 11:35:56 1998 Frank Ch. Eigler <[email protected]>
4559
4560 * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno
4561 for line numbers for assembly source.
4562
4563Mon Apr 27 15:58:46 1998 Ian Lance Taylor <[email protected]>
4564
4565 * configure.in: Change version number to 2.9.4
4566 * configure: Rebuild.
4567
4568Mon Apr 27 12:07:33 1998 Doug Evans <[email protected]>
4569
4570 * cgen.c (cgen_asm_finish_insn): New arg relax_p. All callers updated.
4571
4572Mon Apr 27 15:16:12 1998 Ian Lance Taylor <[email protected]>
4573
4574 * ecoff.h: Change symbolS in function declaration to struct
4575 symbol.
4576
4577Sun Apr 26 13:44:22 1998 Ian Lance Taylor <[email protected]>
4578
4579 * config/tc-sh.c (parse_reg): Add casts to avoid warnings.
4580 (md_convert_frag): Fix i18n typo.
4581
4582Sat Apr 25 20:12:02 1998 Richard Henderson <[email protected]>
4583
4584 * ecoff.c (ecoff_get_cur_proc_sym): New function.
4585 * ecoff.h: Protoype it.
4586 * config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
4587 [EVAX] (s_alpha_prologue): Delete.
4588 (md_pseudo_table): Update.
4589
4590Sat Apr 25 14:00:52 1998 Ian Lance Taylor <[email protected]>
4591
4592 * config/tc-i960.c (md_assemble): Change bp_error_msg from static
4593 array to local pointer.
4594 (get_args, parse_expr): Add casts to avoid warnings.
4595
4596Fri Apr 24 12:47:42 1998 Philippe De Muyter <[email protected]>
4597
4598 * read.c (s_set): Cast xmalloc return value to fragS *.
4599 * config/tc-m68k.c (m68k_ip): Function made static to match
4600 previous forward declaration.
4601 (insert_reg, init_regtable, md_convert_frag_1): Likewise.
4602
4603Fri Apr 24 09:26:46 1998 Nick Clifton <[email protected]>
4604
4605 * config/tc-v850.c: Add internationalisation macros to error
4606 strings.
4607
4608 * config/tc-m32r.c (can_make_parallel): Add internationalisation
4609 macros to error strings.
4610
4611Thu Apr 23 19:23:23 1998 Ian Lance Taylor <[email protected]>
4612
4613 * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
4614 reloc is in the TOC csect.
4615 (md_apply_fix3): Correct gettext typo.
4616
4617Thu Apr 23 14:58:31 1998 Nick Clifton <[email protected]>
4618
4619 * config/tc-arm.c (find_real_start): Ignore symbols starting with
4620 .L - they are local labels and the branches are not really
4621 function calls but rather far jumps.
4622
4623Wed Apr 22 15:57:21 1998 Tom Tromey <[email protected]>
4624
4625 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
4626
4627Wed Apr 22 14:52:36 1998 Ian Lance Taylor <[email protected]>
4628
4629 * config/tc-i386.c (md_assemble): Print operand number rather than
4630 using ordinal_names.
4631 (i386_operand): Likewise.
4632
4633Tue Apr 21 22:34:25 1998 Tom Tromey <[email protected]>
4634
4635 * Makefile.am (INTLLIBS): Define to work around apparent automake
4636 bug.
4637 All Makefiles: Regenerated.
4638
4639 * Many files: Added gettext invocations around user-visible
4640 strings.
4641 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
4642 HAVE_LC_MESSAGES): Define.
4643 * dep-in.sed: Added asintl.h.
4644 * po/Make-in: New file.
4645 * gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
4646 Include "asintl.h".
4647 * read.c (Z_): Renamed from `_'.
4648 * Makefile.am (SUBDIRS): Added po.
4649 (POTFILES): new macro.
4650 (po/POTFILES.in): New target.
4651 ($(OBJS)): Added asintl.h.
4652 (HFILES): Likewise.
4653 (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
4654 (as_new_LDADD): Added $(INTLLIBS).
4655 (as_new_DEPENDENCIES): Added $(INTLDEPS).
4656 (gasp_new_LDADD): Added $(INTLLIBS).
4657 (gasp_new_DEPENDENCIES): New macro.
4658 * configure, aclocal.m4: Rebuilt.
4659 * configure.in: Call CY_GNU_GETTEXT. Generate po/Makefile.in and
4660 po/Makefile.
4661 (ALL_LINGUAS): Define.
4662 * macro.c: Include "asintl.h".
4663 * as.c (main): Call setlocale, bindtextdomain, and textdomain.
4664 * as.h: Include "asintl.h".
4665 * config/tc-i386.c (ordinal_names): Removed.
4666 (md_assemble): Changed error text to avoid ordinal_names.
4667 (i386_operand): Likewise.
4668 (reloc): Added as_bad to avoid i18n problems.
4669 (tc_gen_reloc): Likewise.
4670 * config/tc-arm.c (bad_args): Now a #define.
4671 (bad_pc): Likewise.
4672 * config/obj-vms.c (VMS_stab_parse): Changed type of
4673 `long_const_msg'.
4674 (global_symbol_directory): Unified strings to avoid i18n
4675 problems.
4676 * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
4677 avoid i18n problems.
4678 * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
4679 * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
4680 i18n problems.
4681 * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
4682 problems.
4683 * config/tc-v850.c (md_assemble): Changed C++ comment into C
4684 comment.
4685 * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
4686 problems.
4687 * as.c (print_version_id): Added an fprintf to avoid i18n
4688 problems.
4689 * cond.c (cond_finish_check): Added as_bad call to avoid i18n
4690 problems.
4691 * expr.c (expr): Added as_warn call to avoid i18n problems.
4692 * messages.c (as_assert): Changed code to avoid i18n problems.
4693 (as_abort): Likewise.
4694 * read.c (pseudo_set): Added as_bad call to avoid i18n problems.
4695 (s_space): Likewise.
4696 * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
4697
4698Tue Apr 21 17:01:22 1998 Alan Modra <[email protected]>
4699
4700 * config/tc-i386.c (check_prefix): New static function, split out
4701 from md_assemble.
4702 (struct _i386_insn): Add wait_prefix field.
4703 (md_assemble): Remove wait_prefix local variable. Use
4704 check_prefix when adding a prefix.
4705
4706 * config/tc-i386.c (current_templates): New static variable.
4707 (md_assemble): Remove current_templates local variable.
4708 (md_assemble, i386_operand): Improve error and warning messages in
4709 many places. Add RESTORE_END_STRING in many places before error
4710 return. Clarify some comments.
4711
4712 * config/tc-i386.c (struct _i386_insn): Change seg field to a two
4713 element array.
4714 (md_assemble): Parse string instruction operands, looking for
4715 segment override prefixes. Check for invalid segment prefixes on
4716 string instruction.
4717 (i386_operand): i.seg[] and max mem_operand changes for string
4718 insns.
4719 * config/tc-i386.h (EsSeg): Define.
4720
4721 * config/tc-i386.h (regKludge): Define.
4722 (iclrKludge, imulKludge): Don't define.
4723 * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
4724 code. Move ReverseRegRegmem fudges into Modrm case. Reorder
4725 opcode_modifier checks to look for more common cases first. Add
4726 default_seg for IsString case.
4727
4728Tue Apr 21 16:18:12 1998 Ian Lance Taylor <[email protected]>
4729
4730 * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
4731 AC_DECL_YYTEXT.
4732 * configure: Rebuild with new automake and libtool.
4733 * aclocal.m4, Makefile.in: Likewise.
4734
4735 * doc/Makefile.am (as.dvi): New target.
4736 * doc/Makefile.in: Rebuild.
4737
4738Sat Apr 18 01:21:04 1998 Stan Cox <[email protected]>
4739
4740 * configure.in: Added sparc86x support.
4741
4742 * configure: Rebuild.
4743
4744 * config/tc-sparc.c (lookup_arch): Added arch_type to struct
4745 sparc_arch.
4746 (md_parse_option): Warn if -EL is not supported for this architecture.
4747
4748 * config/tc-sparc.h (SPARC_BIENDIAN) Always define.
4749
4750Sat Apr 18 01:19:01 1998 Jeffrey A Law ([email protected])
4751
4752 * config/tc-mips.c (mips_ip): Note when we use get match on
4753 the full instruction name.
4754
4755Wed Apr 15 15:17:27 1998 Richard Henderson <[email protected]>
4756
4757 * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
4758 back into the expression to handle add/sub simplification correctly.
4759
4760Wed Apr 15 07:06:04 1998 Catherine Moore <[email protected]>
4761
4762 * config/tc-mips.c (hilo_interlocks): Remove 4300.
4763
4764Mon Apr 13 16:51:04 1998 Nick Clifton <[email protected]>
4765
4766 * config/tc-arm.c (do_msr): Support undocumented 'msr cpsr_flg,
4767 #<n>' instruction.
4768
4769Thu Apr 9 10:29:42 1998 Doug Evans <[email protected]>
4770
4771 * symbols.c (max_indent_level): New global.
4772 (print_symbol_value_1): Use it.
4773 * expr.h (expr_build_dot): Declare.
4774 * expr.c (expr_build_dot): New function.
4775
4776Wed Apr 8 16:16:11 1998 Doug Evans <[email protected]>
4777
4778 * symbols.c (print_binary): New function.
4779 (print_expr_1): Call it.
4780
4781Mon Apr 6 12:06:39 1998 Andreas Schwab <[email protected]>
4782
4783 * config/tc-m68k.c (m68k_ip, case "#B"): Install the offset of the
4784 operand in the opcode.
4785
4786Fri Apr 3 11:58:19 1998 Alan Modra <[email protected]>
4787
4788 * config/tc-i386.h: Reorder operand flags and opcode modifier
4789 flags for clarity. Remove unused definitions: Unknown,
4790 ImmUnknown, DispUnknown, NoModrm.
4791 * config/tc-i386.c (type_names): Add missing Debug type.
4792 (md_assemble): Better duplicate prefix checking. Quicker string
4793 instruction check via new opcode_modifier flag.
4794
4795Fri Apr 3 11:44:34 1998 Ian Lance Taylor <[email protected]>
4796
4797 * doc/as.texinfo (Invoking): Clarify -Wa example.
4798
4799Fri Apr 3 09:12:23 1998 Gavin Koch <[email protected]>
4800
4801 * config/tc-mips.c (mips_pseudo_table): Add weakext entry.
4802 (s_mips_weakext): Define.
4803 * ecoff.c (ecoff_directive_weakext): Don't define if defined(TC_MIPS).
4804 * config/obj-ecoff.c (obj_pseudo_table): Don't add weakext if
4805 defined(TC_MIPS).
4806
4807Thu Apr 2 22:42:02 1998 Jeffrey A Law ([email protected])
4808
4809 * config/tc-mn10200.c (tc_gen_reloc): The difference of two symbols
4810 is an error if the value can not be computed at assembly time.
4811 * config/tc-mn10300.c (tc_gen-reloc): Likewise.
4812
4813Thu Apr 2 16:36:47 1998 Ian Lance Taylor <[email protected]>
4814
4815 * gasp.c (main): Set next field of new include_path structure to
4816 NULL. From Avery Pennarun <[email protected]>.
4817
4818 * read.c (s_mri_sect): Call as_bad rather than abort for an
4819 unsupported MRI target.
4820
4821Wed Apr 1 11:08:27 1998 Nick Clifton <[email protected]>
4822
4823 * config/tc-arm.c (arm_validate_fix): New function. Determine if
4824 the destination of a branch instruction should be altered.
4825 (find_real_start): New function: Locate the real, Thumb coded
4826 start of a Thumb function.
4827 (do_t_branch23): Alter the destination of branches to Thumb
4828 functions.
4829
4830 * config/tc-arm.h: Define TC_VALIDATE_FIX.
4831
4832Tue Mar 31 13:27:33 1998 Dean M. Deaver <[email protected]>
4833
4834 * config/tc-arm.c (decode_shift): Handle addressing mode 2 w/rrx
4835 also.
4836
4837Wed Apr 1 13:13:20 1998 Andreas Schwab <[email protected]>
4838
4839 * doc/as.texinfo: Use @itemx for a secondary item in a table.
4840 * doc/c-hppa.texi: Likewise.
4841
4842Tue Mar 31 17:52:40 1998 Ian Lance Taylor <[email protected]>
4843
4844 * Makefile.am: Rebuild dependencies.
4845 * Makefile.in: Rebuild.
4846
4847 * Makefile.am (DEP_INCLUDES): New variable.
4848 (.dep1): Change to work when srcdir is not an absolute path.
4849 (.tcdep, .objdep, .dep2, dep.sed): Likewise.
4850 * Makefile.in: Rebuild.
4851
4852Mon Mar 30 12:46:48 1998 Ian Lance Taylor <[email protected]>
4853
4854 * config/tc-i386.h, config/tc-i386.c: Revert March 24
4855 LinearAddress patch.
4856
4857 * configure.in: Set version to 2.9.1.
4858 * configure: Rebuild.
4859
4860 * Branched binutils 2.9.
4861
4862Mon Mar 30 11:22:08 1998 Alan Modra <[email protected]>
4863
4864 * config/tc-i386.h (FWait): Define.
4865 * config/tc-i386.c (md_assemble): Emit fwait prefix before any
4866 other prefixes. Check FWait flag in opcode table to see which
4867 instructions require an fwait prefix.
4868
4869Mon Mar 30 10:12:00 1998 Andreas Schwab <[email protected]>
4870
4871 * stabs.c (get_stab_string_offset): Always create a stab string
4872 section.
4873
4874Sat Mar 28 22:28:02 1998 Ian Lance Taylor <[email protected]>
4875
4876 Fix some gcc -Wall warnings:
4877 * atof-generic.c (atof_generic): Add casts to avoid warnings.
4878 * ehopt.c (eh_frame_code_alignment): Likewise.
4879 * expr.c (integer_constant, operand): Likewise.
4880 * frags.c (frag_align): Likewise.
4881 * gasp.c (level_0, change_base, doinstr): Likewise.
4882 * hash.c (hash_ask): Likewise.
4883 * listing.c (listing_page, calc_hex, print_lines): Likewise.
4884 (debugging_pseudo): Likewise.
4885 * macro.c (define_macro, check_macro): Likewise.
4886 * read.c (read_a_source_file, s_align, s_float_space): Likewise.
4887 (ignore_rest_of_line, float_cons): Likewise.
4888 * symbols.c (decode_local_label_name): Likewise.
4889 * write.c (record_alignment, cvs_frag_to_fill): Likewise.
4890 (fixup_segment, number_to_chars_bigendian): Likewise.
4891 (number_to_chars_littleendian): Likewise.
4892 * config/atof-ieee.c (gen_to_words): Likewise.
4893 * config/tc-sparc.c (md_begin, md_assemble): Likewise.
4894 (sparc_ip, parse_keyword_arg, s_common): Likewise.
4895 * read.c (output_big_sleb128): Initialize locals to avoid
4896 warnings.
4897 (output_big_uleb128, equals): Likewise.
4898 * atof-generic.c (atof_generic): Change number_of_digits_* locals
4899 to unsigned int. Change zeros to unsigned int.
4900 * cond.c (s_if): Add return to default case.
4901 * frags.c (frag_now_fix): Change return type to addressT.
4902 * frags.h (frag_now_fix): Update declaration.
4903 * listing.c (file_info_struct): Change linenum to unsigned int.
4904 (struct list_info_struct): Change hll_line to unsigned int.
4905 (print_source): Update format string.
4906 * read.c (emit_expr): Change scan to unsigned int, and don't
4907 bother to initialize it.
4908 * symbols.c (dollar_label_count): Change to unsigned long.
4909 * write.c (adjust_reloc_syms): Remove unused label reduce_fixup.
4910 * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF.
4911 * config/tc-sparc.c (tc_gen_reloc): Add return to default case.
4912
4913Fri Mar 27 12:46:47 1998 Ian Lance Taylor <[email protected]>
4914
4915 * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
4916 mcf5200 just as we do for m68000.
4917 (m68k_init_after_args): Likewise.
4918 (md_estimate_size_before_relax): Likewise.
4919
4920Fri Mar 27 10:30:01 1998 Catherine Moore <[email protected]>
4921
4922 * config/tc-v850.c (md_assemble): Store relocation addend in
4923 fixup instead of instruction.
4924
4925Thu Mar 26 23:07:18 1998 Alan Modra <[email protected]>
4926
4927 * config/tc-i386.c (md_assemble): Swap template arguments to
4928 CONSISTENT_REGISTER_MATCH macro in reverse direction test.
4929 This macro is currently symmetric, so passing them the wrong
4930 way didn't cause any problem, but may if the macro is changed
4931 in the future.
4932 After copying template to i.tm, use i.tm. rather than t-> to
4933 access fields, and make t a const*
4934 Move i.tm.operand_types[] swap to immediately after the copy.
4935
4936Wed Mar 25 13:44:18 1998 Doug Evans <[email protected]>
4937
4938 * expr.h (expr_build_uconstant): Add prototype.
4939 (expr_build_unary,expr_build_binary): Add prototypes.
4940 * expr.c (expr_build_uconstant): New function.
4941 (expr_build_unary,expr_build_binary): New functions.
4942
4943Wed Mar 25 13:10:42 1998 Bruno Haible <[email protected]>
4944
4945 * gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
4946 * macro.c (macro_expand_body): Increase buffer size.
4947 * messages.c (as_warn): Likewise.
4948 (as_warn_where, as_bad, as_bad_where): Likewise.
4949
4950Wed Mar 25 12:59:07 1998 Ian Lance Taylor <[email protected]>
4951
4952 Based on patch from H.J. Lu <[email protected]>:
4953 * Makefile.am (DISTSTUFF): New variable.
4954 (diststuff): New target.
4955 * Makefile.in: Rebuild.
4956
4957Tue Mar 24 16:51:29 1998 Nick Clifton <[email protected]>
4958
4959 * config/tc-m32r.h (md_cleanup, md_elf_section_change_hook): Call
4960 m32r_elf_section_change_hook.
4961
4962 * config/tc-m32r.c (m32r_elf_section_change_hook): New function to
4963 emit a nop if a section ends with a 16 bit instruction.
4964
4965Tue Mar 24 19:48:09 1998 Ian Lance Taylor <[email protected]>
4966
4967 * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
4968 s_lcomm rather than obj_coff_lcomm.
4969 (obj_pseudo_table): Compile .bss pseudo-op unconditionally.
4970
4971Tue Mar 24 18:30:58 1998 H.J. Lu <[email protected]>
4972
4973 * config/tc-i386.h (LinearAddress): Define.
4974 * config/tc-i386.c (md_assemble): If LinearAddress is set for the
4975 instruction, don't use a default segment.
4976
4977Mon Mar 23 18:53:40 1998 Joel Sherrill <[email protected]>
4978
4979 * configure.in: (sh*-*-rtems*): Switched from ELF to COFF.
4980 * configure: Rebuild.
4981
4982Fri Mar 20 19:15:44 1998 Ian Lance Taylor <[email protected]>
4983
4984 * aclocal.m4, configure: Rebuild with libtool 1.2.
4985
4986Thu Mar 19 16:03:12 1998 Nick Clifton <[email protected]>
4987
4988 * config/tc-arm.c (md_apply_fix3): fix code to test the range of
4989 PC relative branches. Patch courtesy of Jonathan Walton.
4990
4991
4992Wed Mar 18 09:29:51 1998 Nick Clifton <[email protected]>
4993
4994 * configure.in (emulations): Add thumb-pe target.
4995
4996 * configure (emulations): Add thumb-pe target.
4997
49981998-03-17 Ken Raeburn <[email protected]>
4999
5000 * itbl-lex.l (yywrap): Don't define if already defined as a
5001 macro.
5002
5003Fri Mar 13 16:31:38 1998 Tom Tromey <[email protected]>
5004
5005 * depend.c (quote_string_for_make): New function.
5006 (wrap_output): Use it.
5007
5008Thu Mar 12 18:28:22 1998 Nick Clifton <[email protected]>
5009
5010 * config/obj-elf.c (obj_elf_section): Set bss flag in seg_info
5011 structure if type is SHT_NOBITS. [Bug fix courtesy of rth]
5012
5013Sat Feb 28 17:28:55 1998 Richard Henderson <[email protected]>
5014
5015 * config/tc-alpha.c (md_shortopts, md_longopts, md_parse_option):
5016 Recognize -GN and -relax.
5017 (md_begin): Initialize gp size from -G switch.
5018 (alpha_force_relocation): Always force if -relax.
5019 (alpha_align): Take a new argument that will specify when to
5020 emit an R_ALPHA_ALIGN relocation (though we don't do that now).
5021 Change all callers. Emit nop alignment padding as nop+unop pair.
5022
5023Sat Feb 28 17:06:22 1998 Richard Henderson <[email protected]>
5024
5025 * config/obj-elf.c [TC_ALPHA]: Include <elf/alpha.h>.
5026 * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): New.
5027
5028Thu Feb 26 15:49:04 1998 Michael Meissner <[email protected]>
5029
5030 * config/tc-d30v.c (write_2_short): Delayed jsr instructions don't
5031 require padding to the next long word boundary.
5032
5033Mon Feb 23 11:29:06 1998 Doug Evans <[email protected]>
5034
5035 * cgen.c: #include symcat.h.
5036 * config/tc-m32r.c: Likewise.
5037
5038Mon Feb 23 10:27:40 1998 Jeffrey A Law ([email protected])
5039
5040 * config/tc-mips.c (mips_ip, case 'P'): Make 'P' arguments be
5041 absolute expressions instead of '$' prefixed register names.
5042
5043Sat Feb 21 22:36:52 1998 Richard Henderson <[email protected]>
5044
5045 * read.c (s_set): Record file and line info for symbols when -as.
5046 (pseudo_set): Don't overwrite that dummy fragment.
5047
5048Fri Feb 20 15:03:13 1998 Ian Lance Taylor <[email protected]>
5049
5050 * config/tc-ppc.c (md_pseudo_table): Add "section".
5051 (ppc_named_section): New static function.
5052
5053Thu Feb 19 22:25:42 1998 Richard Henderson <[email protected]>
5054
5055 * tc-ppc.c (ppc_biei): Cache the last symbol we inserted
5056 so we don't have to scan the entire list.
5057
5058Tue Feb 17 17:02:15 1998 Fred Fish <[email protected]>
5059
5060 * config/tc-d30v.c (parallel_ok): For the explicitly parallel
5061 case, allow the parallel instructions to modify the same flag
5062 bits.
5063
5064Thu Feb 19 16:08:15 1998 Richard Henderson <[email protected]>
5065
5066 * listing.c (list_symbol_table): Categorize symbols by
5067 undefined_section rather than sy_frag->line == NULL.
5068
5069Wed Feb 18 23:39:46 1998 Richard Henderson <[email protected]>
5070
5071 * Makefile.am (install-exec-local): Install properly when ln
5072 fails or tooldir == prefix.
5073
5074Tue Feb 17 18:58:51 1998 Doug Evans <[email protected]>
5075
5076 * cgen.c (cgen_md_apply_fix3): Delete call to validate_operand.
5077 Test result of insert_operand for error.
5078
5079Fri Feb 13 16:41:42 1998 Ian Lance Taylor <[email protected]>
5080
5081 * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
5082 * configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
5083 * doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
5084 * doc/Makefile.in: Rebuild.
5085
5086Fri Feb 13 00:47:44 1998 Ian Lance Taylor <[email protected]>
5087
5088 * config/tc-mips.c (macro_build): Handle operand type 'C'.
5089 (macro): Fix handling of M_COP[0-3].
5090
5091Thu Feb 12 14:06:59 1998 Ian Lance Taylor <[email protected]>
5092
5093 Based on patches from Ross Harvey <[email protected]>:
5094 * macro.c (ISSEP): Only treat '<' and '>' as separator characters
5095 if macro_alternate or macro_mri.
5096 (getstring): Remove support for byte constants between < and >.
5097 (get_any_string): '<' only starts a string if macro_alternate or
5098 macro_mri.
5099 (macro_expand_body): Permit keyword parameters following
5100 positional parameters.
5101
5102 NetBSD patches from Gordon W. Ross <[email protected]>:
5103 * configure.in (alpha*-*-netbsd*): New target.
5104 * config/te-nbsd.h (LOCAL_LABELS_FB): Define.
5105 * configure: Rebuild.
5106
5107 * as.h (flag_warn_suppress_instructionswap): Move from here...
5108 * config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
5109 here, and make static.
5110
5111 * ehopt.c (eh_frame_code_alignment): Only use seg_info if
5112 BFD_ASSEMBLER or MANY_SEGMENTS.
5113
5114 * as.c (show_usage): Update bug-gnu-utils address.
5115 * gasp.c (show_usage): Likewise.
5116 * doc/as.texinfo (Bug Reporting): Likewise.
5117
5118Wed Feb 11 23:26:28 1998 Jeffrey A Law ([email protected])
5119
5120 * config/tc-mips.c (load_address): Don't use mips III or mips IV
5121 insns regardless of the size of a pointer if we're in mips I or
5122 MIPS II mode.
5123 (macro, macro2, s_cprestore, s_cpadd): Likewise.
5124
5125Thu Feb 12 03:41:00 1998 J"orn Rennecke <[email protected]>
5126
5127Fix rac to accept only a0:
5128 * tc-d10v.c (parallel_ok, find_opcode):
5129 Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
5130 Introduce OPERAND_GPR.
5131
5132Wed Feb 11 16:28:13 1998 Richard Henderson <[email protected]>
5133
5134 * read.c (s_fill): Handle non-constant repeat counts by creating
5135 an rs_space fragment.
5136
5137Tue Feb 10 18:31:31 1998 Ian Lance Taylor <[email protected]>
5138
5139 * config/tc-i386.c (i386_operand): Change error added Jan 2 1998
5140 from as_bad to as_warn.
5141
5142Tue Feb 10 18:04:00 1998 Jim Lemke <[email protected]>
5143
5144 * as.c: (perform_an_assembly_pass): Use [TEXT|DATA|BSS]_SECTION_NAME
5145 * as.h: Define default values of [TEXT|DATA|BSS]_SECTION_NAME
5146 * config/obj-elf.c (elf_begin): Use [TEXT|DATA|BSS]_SECTION_NAME
5147
5148Tue Feb 10 17:58:18 1998 Ian Lance Taylor <[email protected]>
5149
5150 * ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use
5151 seg_fix_rotP rather than fix_root from seg_info.
5152
5153Tue Feb 10 15:32:22 1998 Ian Carmichael <[email protected]>
5154
5155 * expr.c: Add support for 0x1_2_3_4 bignums.
5156
5157Tue Feb 10 14:43:40 1998 Ian Lance Taylor <[email protected]>
5158
5159 * configure.in: Change -linux* to -linux-gnu*.
5160 * configure: Rebuild.
5161
5162 * app.c (do_scrub_begin): Treat \r as whitespace.
5163
5164Mon Feb 9 14:16:11 1998 Ian Lance Taylor <[email protected]>
5165
5166 * Makefile.am: Update dependencies.
5167 * Makefile.in: Rebuild.
5168
5169Sat Feb 7 15:33:51 1998 Ian Lance Taylor <[email protected]>
5170
5171 * configure, aclocal.m4: Rebuild with new libtool.
5172
5173Fri Feb 6 16:08:30 1998 Jeffrey A Law ([email protected])
5174
5175 * config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
5176 the argument to bfd_set_arch_mach.
5177 (load_address): Use bfd_arch_bits_per_address to determine the
5178 bit size of an address instead of looking at the isa level.
5179 (macro, macro2, s_cprestore, s_cpadd): Likewise.
5180
5181Fri Feb 6 14:44:34 1998 Nick Clifton <[email protected]>
5182
5183 * config/tc-v850.c (md_parse_option): Add -mv850any command line option.
5184
5185Thu Feb 5 12:39:08 1998 Ian Lance Taylor <[email protected]>
5186
5187 * ehopt.c: New file.
5188 * as.h (enum _relax_state): Add rs_cfa.
5189 (check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
5190 (eh_frame_relax_frag, eh_frame_convert_frag): Declare.
5191 * read.c (emit_expr): Call check_eh_frame.
5192 * write.c (cvt_frag_to_fill): Handle rs_cfa.
5193 (relax_segment): Likewise.
5194 * Makefile.am: Rebuild dependencies.
5195 (GAS_CFILES): Add ehopt.c.
5196 (GENERIC_OBJS): Add ehopt.o.
5197 * doc/internals.texi (Frags): Document rs_cfa.
5198
5199 * as.c (show_usage): Mention --traditional-format.
5200 (parse_args): Accept --traditional-format.
5201 * as.h (flag_traditional_format): Declare.
5202 * output-file.c (output_file_create): If flag_traditional_format,
5203 set BFD_TRADITIONAL_FORMAT on stdoutput.
5204 * doc/as.texinfo, doc/as.1: Document --traditional-format.
5205
5206 * config/tc-mips.c (append_insn): Make sure that if we have a
5207 fixup for an unmatched %hi reloc, it does not associated with a
5208 variant frag.
5209
5210 * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
5211 * doc/Makefile.in: Likewise.
5212
5213Wed Feb 4 15:41:54 1998 Nick Clifton <[email protected]>
5214
5215 * config/tc-m32r.c (check_for_side_effects): New function.
5216 (can_make_parallel): Add checks for instruction side effects
5217 clashing with the other instruction.
5218 (assemble_parallel_insn): Improve warning messages. Return error
5219 message from non-swapped instruction order.
5220
5221Wed Feb 4 20:00:26 1998 James G. Smith <[email protected]>
5222
5223 * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup().
5224
5225 * config/tc-arm.h: Replace md_after_pass_hook definition with a
5226 md_cleanup definition. This moves the forced literal output to
5227 the end of the source pass, and avoids macro's inserting literals
5228 into the code immediately after the macro expansion.
5229
5230Wed Feb 4 13:17:19 1998 Ian Lance Taylor <[email protected]>
5231
5232 * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
5233 a gas internal symbol is adjustable.
5234 * config/tc-ppc.h (tc_fix_adjustable): Likewise.
5235
5236 * as.h: If gcc version greater than 2.6, use `__format__' and
5237 `__printf__' in function attributes, rather than `format' and
5238 `printf'.
5239
5240Mon Feb 2 18:38:18 1998 Ian Lance Taylor <[email protected]>
5241
5242 * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
5243
5244Mon Feb 2 18:30:34 1998 Steve Haworth <[email protected]>
5245
5246 Add tms320c30 support:
5247 * config/tc-tic30.h: New file.
5248 * config/tc-tic30.c: New file.
5249 * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
5250 TARGET_FORMAT as "coff-tic30".
5251 * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
5252 * Makefile.am: Rebuild dependencies.
5253 (CPU_TYPES): Add tic30.
5254 (CPU_OBJ_VALID): tic30-aout is valid.
5255 (TARGET_CPU_CFILES): Add config/tc-tic30.c.
5256 (TARGET_CPU_HFILES): Add config/tc-tic30.h.
5257 * configure, Makefile.in: Rebuild.
5258
5259Mon Feb 2 10:20:37 1998 Nick Clifton <[email protected]>
5260
5261 * config/tc-v850.c (md_assemble): Improvements to error messages.
5262
5263Mon Feb 2 12:39:05 1998 Geoff Keating <[email protected]>
5264
5265 * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
5266 BFD_RELOC_HI16_S to store the high bits of any value.
5267
5268 * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
5269 (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
5270 assembler calculate relocations to any external symbol at all.
5271 * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
5272 involving generation of pc-relative relocs.
5273 (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
5274 has been moved to md_apply_fix3.
5275
5276 * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
5277 (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
5278 which actually means (the address of identifier's GOT entry) +
5279 constant, which is not particularly useful.
5280
5281Fri Jan 30 11:02:35 1998 Doug Evans <[email protected]>
5282
5283 * read.h (include_dirs): Declare.
5284 (include_dir_count,include_dir_maxlen): Declare.
5285
5286Fri Jan 30 11:47:02 1998 Ian Lance Taylor <[email protected]>
5287
5288 * configure.in: Correct check for shared opcodes library.
5289 * configure: Rebuild.
5290
5291 * listing.c (buffer_line): If we can't open the file, set at_end.
5292 (listing_print): Remove unused local variable fi.
5293
5294 * config/m68k-parse.y (reglistpair): Handle register list in
5295 either order.
5296
5297 * config/vms-conf.h: Don't undef VERSION.
5298
5299Thu Jan 29 14:42:44 1998 Pat Rankin <[email protected]>
5300
5301 * Makefile.am (CONFIG_OBJS): New variable, containing part of old
5302 OBJS variable.
5303 (GENERIC_OBJS): New variable, with the rest of the old OBJS
5304 variable.
5305 (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
5306 ($(srcdir)/make-gas.com): Rename from make-gas.com.
5307 (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
5308 (EXTRA_DIST): Define.
5309 * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
5310 explicitly rather than via the list of object files.
5311 (gcc-as.opt): New file created when make-gas.com is run.
5312 * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
5313 itbl-cpu.h} to #include appropriate file rather than copying that
5314 file.
5315 * config/vms-conf.h: Synchronize with current config.in.
5316 * Makefile.in: Rebuild.
5317
5318Thu Jan 29 18:48:19 1998 Bill Moyer <[email protected]>
5319
5320 * config/tc-d30v.c (do_assemble): Added flag_explicitly_parallel.
5321 (parallel_ok): Relaxed parallel subinstruction dependency check.
5322
5323Wed Jan 28 14:35:00 1998 Bill Moyer <[email protected]>
5324
5325 * as.h (flag_warn_suppress_instructionswap): added new flag.
5326 * tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap"
5327 command line argument.
5328 * tc-d10v.c (write_2_short): emit "Swapping instructions"
5329 warning only if flag_warn_suppress_instructionswap is false.
5330
5331Wed Jan 28 16:41:19 1998 J.J. van der Heijden <[email protected]>
5332
5333 * configure.in (i386-*-mingw32*): New target.
5334 * configure: Rebuild.
5335
5336Wed Jan 28 14:51:18 1998 Ian Lance Taylor <[email protected]>
5337
5338 * symbols.c (resolve_symbol_value): Don't set the segment if it
5339 hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
5340
5341 * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
5342 S_GET_SEGMENT.
5343
5344Wed Jan 28 13:54:50 1998 Pat Rankin <[email protected]>
5345
5346 as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
5347 depends upon HAVE_{UNLINK,REMOVE} values rather than host
5348 compiler.
5349
5350Wed Jan 28 13:48:08 1998 Ian Lance Taylor <[email protected]>
5351
5352 * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
5353
5354Wed Jan 28 09:52:00 1998 Nick Clifton <[email protected]>
5355
5356 * config/tc-v850.c (v850_insert_operand): Display instruction when
5357 an error is encountered.
5358
5359Tue Jan 27 13:32:01 1998 Robert Lipe <[email protected]>
5360
5361 * configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
5362 (i386-*-sco3.2v5*coff): New target.
5363 (i386-*-sco3.2*): New target.
5364 * configure: Rebuild.
5365
5366Tue Jan 27 11:06:52 1998 Nick Clifton <[email protected]>
5367
5368 * config/tc-v850.c: Tidy error message production.
5369
5370Tue Jan 27 12:24:32 1998 Ian Lance Taylor <[email protected]>
5371
5372 * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold
5373 validate_immediate return value in the right type for comparisons
5374 to FAIL.
5375
5376Tue Jan 27 06:51:59 1998 Richard Henderson <[email protected]>
5377
5378 * listing.c (MAX_BYTES): Use listing variables not constants.
5379 (data_buffer): No longer an array, but a pointer.
5380 (calc_hex): sizeof(data_buffer) -> MAX_BYTES.
5381 (listing_listing): Allocate data_buffer.
5382
5383Tue Jan 27 06:38:35 1998 Richard Henderson <[email protected]>
5384
5385 * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2,
5386 --listing-rhs-width, --listing-cont-lines.
5387 (show_usage): Update.
5388 * listing.c (listing_lhs_width, listing_lhs_width_second): New vars.
5389 (listing_lhs_cont_lines, listing_rhs_width): New vars.
5390 (print_lines): Use the variables instead of the constants.
5391 (listing_listing): Likewise.
5392 * listing.h: Declare the new vars.
5393
5394Tue Jan 27 05:32:05 1998 Richard Henderson <[email protected]>
5395
5396 * as.c (parse_args): Add --keep-locals alias for -L.
5397 Add --strip-local-absolute.
5398 (show_usage): Update.
5399 * as.h (flag_strip_local_absolute): New flag.
5400 * symbols.c (S_IS_LOCAL): Use it.
5401 * config/obj-aout.h (S_IS_LOCAL): Likewise.
5402 * config/obj-bout.h (S_IS_LOCAL): Likewise.
5403 * config/obj-coff.h (S_IS_LOCAL): Likewise.
5404
5405Mon Jan 26 13:07:41 1998 Nick Clifton <[email protected]>
5406
5407 * config/tc-m32r.c: Detect if explicitly parallel instructions
5408 might have an io conflict and issue a warning message.
5409
5410Thu Jan 22 17:51:44 1998 Nick Clifton <[email protected]>
5411
5412 * cgen.c (cgen_save_fixups, cgen_restore_fixups,
5413 cgen_swap_fixups): Functions to save, restore and swap the fixup
5414 chain with a backup copy.
5415 (cgen_asm_finish_insn): Returns address of constructed insn.
5416
5417Wed Jan 21 16:49:10 1998 Richard Henderson <[email protected]>
5418
5419 * listing.c (file_info_struct): Remove FILE, add POS.
5420 (last_open_file_info, last_open_file): New; a one entry FILE* cache.
5421 (file_info): Don't open the file.
5422 (buffer_line): Check for the file in the last_open cache, updating
5423 as necessary.
5424 (print_source): Don't reference file_info->file.
5425 (listing_listing): Likewise.
5426 (listing_print): Close the file in the cache, if any.
5427
5428Fri Jan 16 14:51:48 1998 Ian Lance Taylor <[email protected]>
5429
5430 * read.c (dwarf_file_string): New file static variable.
5431 (emit_expr): Look for constant sequence that leads up to a file
5432 name in DWARF debugging output.
5433 (stringer): Use dwarf_file_string to decide whether to accept a
5434 string as a file name.
5435
5436Fri Jan 16 11:30:37 1998 Richard Henderson <[email protected]>
5437
5438 * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
5439 (crack_operand): Add reg->reglst MRI hack.
5440 (r_seg): Put reglst symbols in reg_section.
5441 (m68k_frob_symbol): Frob reglst symbols into absolute_section.
5442
5443Thu Jan 15 14:19:01 1998 Richard Henderson <[email protected]>
5444
5445 * tc-sh.c (get_specific): Handle SGR & DBR.
5446
5447Thu Jan 15 13:46:48 1998 Richard Henderson <[email protected]>
5448
5449 * tc-h8300.c (parse_reg): Take the length of the symbol into
5450 account when attempting to match a register name.
5451 * tc-h8500.c (parse_reg): Likewise.
5452
5453Wed Jan 14 17:52:33 1998 Nick Clifton <[email protected]>
5454
5455 * cgen.c: Formatting changes to improve readability.
5456
5457Wed Jan 14 15:41:41 1998 Jeffrey A Law ([email protected])
5458
5459 * config/tc-mips.c (macro): Rework division code to avoid unfilled
5460 delay slot.
5461
5462Wed Jan 14 18:04:20 1998 Michael Meissner <[email protected]>
5463
5464 Based on a patch from Jim Wilson
5465 * config/tc-d30v.c (do_assemble): Remove non-ansi default case.
5466 (tc_gen_reloc): Handle cross section PC relative relocs
5467 correctly.
5468
5469Wed Jan 14 15:02:19 1998 Doug Evans <[email protected]>
5470
5471 * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
5472
5473Mon Jan 12 13:04:57 1998 Doug Evans <[email protected]>
5474
5475 * cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
5476 (expr_jmp_buf): New static local.
5477 (cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
5478 (cgen_md_operand): New function.
5479 * tc-m32r.c: Clean up pass over `struct foo' usage.
5480 (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
5481
5482Tue Jan 6 15:36:02 1998 Richard Henderson <[email protected]>
5483
5484 * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
5485 (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
5486
5487Fri Jan 2 16:08:54 1998 Ian Lance Taylor <[email protected]>
5488
5489 * config/tc-i386.c (i386_operand): Give an error if there are
5490 unrecognized characters after an expression.
5491
5492For older changes see ChangeLog-9697
This page took 0.727118 seconds and 4 git commands to generate.