* write.c (fix_new_exp): Don't use #elif. Some compilers
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
75c90d61
JL
1Wed Feb 28 15:38:56 1996 Jeffrey A Law (law@cygnus.com)
2
3 * write.c (fix_new_exp): Don't use #elif. Some compilers
4 don't handle it.
83b59013
JL
5
6 * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
7 the selector table.
8 (pa_chk_field_selector): Handle new field selectors for SOM.
9
535cfd0f
ILT
10Tue Feb 27 14:42:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11
12 * configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets.
13 * configure: Rebuild.
14 * config/te-linux.h (LOCAL_LABELS_FB): Define.
15 * config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to
16 "a.out-m68k-linux".
17 * config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX
18 is defined.
19
d214421e
SS
20Mon Feb 26 18:58:58 1996 Stan Shebs <shebs@andros.cygnus.com>
21
22 * mpw-make.sed: Update to handle shared library support.
23
110b814d
DE
24Mon Feb 26 10:34:10 1996 Doug Evans <dje@charmed.cygnus.com>
25
26 * config/tc-sparc.c (sparc_ip): Print all architectures that support
27 the insn on mismatch.
28
805e36ab
RS
29Fri Feb 23 21:44:39 1996 Rob Savoye <rob@chinadoll.cygnus.com>
30
31 * configure.in: Add support for a29-coff.
32 * configure: Rebuild.
33
e41ab2a6
ILT
34Thu Feb 22 16:39:43 1996 Ian Lance Taylor <ian@cygnus.com>
35
101a2346
ILT
36 * config/tc-sh.c (sh_coff_frob_file): Don't consider the address
37 of the section when looking for the R_SH_USES fixup, because the
38 frag addresses have not yet been adjusted.
39
940c413f
ILT
40 * gdbinit.in: Set a breakpoint on as_warn_where.
41
e41ab2a6
ILT
42 * config/tc-mips.c (macro): Add missing arguments to macro_build
43 omitted in last change. From Jim Wilson <wilson@cygnus.com>.
44
c6016ce2
ILT
45Wed Feb 21 17:00:32 1996 Ian Lance Taylor <ian@cygnus.com>
46
47 * config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size
48 if it is TC_CONS_RELOC. Set a size of 4 to R_RELLONG.
49
b32fbe07
DE
50Wed Feb 21 09:25:39 1996 Doug Evans <dje@charmed.cygnus.com>
51
52 * config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.
53
2e5e6879
DE
54Tue Feb 20 21:48:03 1996 Doug Evans <dje@charmed.cygnus.com>
55
56 * config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.
57 (sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9.
58 Recognize [uU] format args as sparclet cpregs.
59
8a2e1fdd
ILT
60Tue Feb 20 22:25:55 1996 Ian Lance Taylor <ian@cygnus.com>
61
62 * config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
63 in bss_section.
64
21965655
ILT
65Mon Feb 19 14:16:24 1996 Ian Lance Taylor <ian@cygnus.com>
66
67 * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK as
68 well as S_IS_EXTERNAL.
69 (tc_fix_adjustable): Likewise.
70 * config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for
71 S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return
72 early.
73 (tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when
74 deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC.
75
d8b42b96
DE
76Mon Feb 19 02:15:57 1996 Doug Evans <dje@charmed.cygnus.com>
77
78 * config/tc-sparc.c (max_architecture): Change to sparclite for
79 32 bit arch.
80 (default_compatible): Delete.
81 (sparc_ffs): New function.
82 (md_begin): Only call SPARC_OPCODE_CONFLICT_P once.
83 (sparc_ip): Rewrite architecture match and bump logic.
84
7925f4d4
ILT
85Sun Feb 18 15:03:50 1996 Ian Lance Taylor <ian@cygnus.com>
86
87 * configure.in: Check for 'do not mix' from native linker before
88 trying to use -rpath.
89 * configure: Rebuild.
90
ef2074c2
ILT
91Fri Feb 16 16:53:31 1996 Ian Lance Taylor <ian@cygnus.com>
92
93 * config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
94 (SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
95 (SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
96 * config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR
97 is set.
98 (w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field
99 to the symbol lnnoptr field, to get the correct file offset.
100
28910c57
MM
101Thu Feb 15 14:48:38 1996 Michael Meissner <meissner@tiktok.cygnus.com>
102
103 * config/obj-elf.c (elf_frob_symbol): On the PowerPC, force all
104 symbols that are not function, file, or section symbols to be
105 object types.
106
7c2fadd1
ILT
107Thu Feb 15 11:20:18 1996 Ian Lance Taylor <ian@cygnus.com>
108
1a2f3c3f
ILT
109 * configure: Set and substitute RPATH_ENVVAR.
110 * configure: Rebuild.
111 * Makefile.in (RPATH_ENVVAR): New variable.
112 (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
113
7c2fadd1
ILT
114 * configure.in: Accept i686. From H.J. Lu <hjl@zoom.com>: i386
115 doesn't need opcodes. If configuring shared, opcodes needs bfd.
116 * configure: Rebuild.
117
8a6f53e9
ILT
118Wed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
119
120 * read.c (s_mri_sect): Don't return '\0' in type. Set all
121 appropriate flags in BFD section.
122
123 * configure.in (m68k-*-psos*): New target.
124 * configure: Rebuild.
125 * config/te-psos.h: New file.
126 * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
127 is defined.
128
fb251650
ILT
129Wed Feb 14 13:43:24 1996 Ian Lance Taylor <ian@cygnus.com>
130
ae09d880
ILT
131 From Alan Modra <alan@spri.levels.unisa.edu.au>:
132 * configure.in: Remove duplicate setting of cpu_type. Check
133 whether opcodes library is required for on all targets, not just
134 primary one.
135 * configure: Rebuild.
136
fb251650
ILT
137 * config/tc-mips.c (mips_big_got): New static variable.
138 (s_extern): Don't declare.
139 (reg_needs_delay): New static function.
140 (macro_build): Permit GOT/CALL_HI/LO relocs.
141 (macro_build_lui): If place is not NULL, use the number in the
142 expression.
143 (load_address): Handle mips_big_got case.
144 (macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and
145 store macros.
146 (OPTION_XGOT): Define.
147 (md_longopts): Add "xgot" if OBJ_ELF.
148 (md_parse_option): Handle -xgot.
149 (md_show_usage): Mention -xgot.
150 (md_apply_fix): Permit GOT/CALL_HI/LO relocs.
151 (tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.
152
d9396c16
ILT
153Wed Feb 14 11:22:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
154
155 * config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing
156 the byte relocation, point it to the low byte of the word.
157
56f9773f
ILT
158Tue Feb 13 15:31:18 1996 Ian Lance Taylor <ian@cygnus.com>
159
160 * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
161 * configure: Rebuild.
162
63e4edb5
DE
163Mon Feb 12 15:53:46 1996 Doug Evans <dje@charmed.cygnus.com>
164
165 * configure.in: Recognize any sparc* cpu.
166 * configure: Regenerated.
167
15ed5f2c
ILT
168Mon Feb 12 15:41:21 1996 Ian Lance Taylor <ian@cygnus.com>
169
20710f1c
ILT
170 * read.c (potable): Add "mri" and ".mri".
171 (s_mri): New function.
172 * read.h (s_mri): Declare.
173 * app.c (scrub_m68k_mri): New static variable.
174 (mri_pseudo): New static variable.
175 (do_scrub_begin): Add m68k_mri parameter. Use it rather than
176 flag_m68k_mri. Initialize scrub_m68k_mri.
177 (mri_state, mri_last_ch): New static variables.
178 (struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch
179 fields.
180 (app_push): Save new fields.
181 (app_pop): Restore new fields.
182 (do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri.
183 If TC_M68K, use a trivial state machine to look for occurrences of
184 the .mri pseudo-op, and change the mode appropriately.
185 * as.h (do_scrub_begin): Update prototype.
186 * input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to
187 do_scrub_begin.
188 * config/tc-m68k.c (reg_prefix_optional_seen): New static
189 variable.
190 (m68k_mri_mode_change): New function.
191 (md_parse_option): Set reg_prefix_optional_seen.
192 * config/tc-m68k.h (m68k_mri_mode_change): Declare.
193 (MRI_MODE_CHANGE): Define.
194 * doc/as.texinfo: Document .mri pseudo-op.
195
15ed5f2c
ILT
196 * app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
197 comment character.
198
a043f579
ILT
199Mon Feb 12 15:16:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
200
201 Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
202 * config/m68k-parse.h (enum pic_relocation): Define.
203 (struct m68k_exp): Add pic_reloc field.
204 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
205 (tc_fix_adjustable): Define to call tc_m68k_fix_adjustable.
206 (NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero
207 otherwise.
208 * config/tc-m68k.c: Delete definition of NO_RELOC.
209 (struct m68k_it): Add pic_reloc field.
210 (add_fix): Copy over pic_reloc field.
211 (md_pseudo_table): Interpret .align parameter as byte count.
212 (mote_pseudo_table): Likewise.
213 (tc_m68k_fix_adjustable): New function.
214 (get_reloc_code): New function.
215 (md_assemble): Use it as last argument to fix_new_exp.
216 (md_apply_fix_2): For a relocation against a symbol don't put the
217 addend into the data.
218 (tc_gen_reloc): Different addend computation for OBJ_ELF.
219 (m68k_ip): Don't relax an operand that requires pic relocation.
220 (md_begin): Align .text, .data and .bss on 4 byte boundary by
221 default.
222 * write.c (fixup_segment): Don't add symbol value to addend if
223 TC_M68K and OBJ_ELF.
224 * config/m68k-parse.y (yylex): Handle @PLTPC, etc.
225 (motorola_operand): Add rule for `(zapc, EXPR)'.
226
6ca1156d
ILT
227Mon Feb 12 10:07:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
228
229 * ecoff.c (ecoff_directive_weakext): Fixed so that whitespace
230 *really* is permissible before the comma.
231
fcee3e24
ILT
232Mon Feb 12 00:12:13 1996 Ian Lance Taylor <ian@cygnus.com>
233
234 * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
235 inserting nop instructions.
236
3e1c964d
ILT
237Fri Feb 9 10:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
238
239 * config/te-aux.h: Change include of aux.h to aux-coff.h.
240
4080c270
ILT
241Thu Feb 8 20:02:58 1996 Ian Lance Taylor <ian@cygnus.com>
242
d782e3cc
ILT
243 * config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
244 class setting for a CALLNAME symbol in COFF.
245
4080c270
ILT
246 * read.c (potable): Pass negative numbers for new .balign[wl] and
247 .p2align[wl] pseudo-ops.
248 (s_align_bytes): Treat a negative argument as specifying the fill
249 length.
250 (s_align_ptwo): Likewise.
251
1c9dbb83
ILT
252Wed Feb 7 14:12:03 1996 Ian Lance Taylor <ian@cygnus.com>
253
71dd3c40
ILT
254 * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
255 (do_align): Take new len parameter. Change all callers. Pass it
256 to md_do_align.
257 (s_align_bytes): Arg now indicates the length of the fill pattern.
258 (s_align_ptwo): Likewise.
259 * config/obj-coff.c (write_object_file): Pass length to
260 md_do_align.
261 * config/tc-i386.h (md_do_align): Take new len parameter.
262 * config/tc-m88k.h (md_do_align): Likewise.
263 * config/tc-m88k.c (m88k_do_align): Likewise.
264 * config/tc-sh.h (md_do_align): Likewise.
265 * config/tc-sh.c (sh_do_align): Likewise.
266 * doc/as.texinfo: Document new pseudo-ops.
267
268 * config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is
269 done in cvt_frag_to_fill.
270
9addcbb1
ILT
271 * config/tc-sh.h (sh_do_align): Declare.
272 (md_do_align): Define.
273 * config/tc-sh.c (sh_do_align): New function.
274
c15ea23a
ILT
275 * ecoff.c (ecoff_build_lineno): Don't try to store the address
276 difference if the next address is before the current one.
277
9e64486e
ILT
278 * config/tc-m68k.c (struct m68k_cpu): Add alias field.
279 (archs): Initialize new field.
280 (m68k_ip): Don't list alias names when listing CPUs which support
281 an instruction.
282
283 * as.c (main): Call parse_args before read_begin.
284 * app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in
285 front of generated pseudo-ops.
286 * read.c (potable): Ignore "name".
287 (s_app_file): Permit a single quote after the string, since one
288 may appear in m68k MRI mode.
289
1c9dbb83
ILT
290 * configure.in: Check for --enable-shared. If linking against
291 shared BFD and opcodes, fix library name on SunOS, and try to set
292 -rpath reasonably.
293 * configure: Rebuild.
294
295Tue Feb 6 15:16:17 1996 Ian Lance Taylor <ian@cygnus.com>
296
297 * as.h (flag_m68k_mri): Declare.
298 * as.c (parse_args): If TC_M68K, set flag_m68k_mri for -M.
299 * Many files: For MRI syntax that is specific to the m68k MRI
300 assembler, check flag_m68k_mri rather than flag_mri or
301 MRI_MODE_NEEDS_PSEUDO_DOT.
302
dd1d79e8
ILT
303Mon Feb 5 16:29:11 1996 Ian Lance Taylor <ian@cygnus.com>
304
f9e90c2e
ILT
305 * config/tc-i960.c (ARCH_HX): Define.
306 (arch_tab): Add HX.
307 (targ_has_sfr): Handle ARCH_HX.
308 (targ_has_iclass): Handle ARCH_HX.
309 (tc_coff_fix2rtype): Add return 0 to avoid warning.
310 (tc_headers_hook): If the architecture was specified explicitly,
311 use it when setting the flags. Set the extern variable coff_flags
312 rather than headers->filehdr.f_flags, since the latter is set
313 unconditionally in obj-coff.c.
314 (i960_handle_align): Remove unused variable fixp.
315
dd1d79e8
ILT
316 Support for building bfd and opcodes as shared libraries, based on
317 patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
318 * configure.in: Set OPCODES and BFD to search directories.
319 Substitute OPCODES_DEP and BFDDEP. On SunOS, set HLDFLAGS.
320 * configure: Rebuild.
321 * Makefile.in (LDFLAGS, HLDFLAGS): New variables.
322 (LIBDEPS): New variable.
323 (as.new0: Depend upon $(LIBDEPS) rather than $(LIBS). Use
324 $(HLDFLAGS) in link.
325 (check): Set LD_LIBRARY_PATH in the environment.
326
327Fri Feb 2 17:41:53 1996 Michael Meissner <meissner@wogglebug.tiac.net>
328
329 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Make .sdata2, .sbss2,
330 .PPC.EMB.sdata0, and .PPC.EMB.sbss0 sections all default to
331 read-only, not read/write.
332
e277d131
ILT
333Fri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
334
335 * Makefile.in (INSTALL_XFORM): Remove -e.
336
e24cf2b5
ILT
337Fri Feb 2 12:32:15 1996 Ian Lance Taylor <ian@cygnus.com>
338
339 * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather
340 than comparing S_GET_SEGMENT to undefined_section.
341 (write_object_file): Skip symbols which were equated to an
342 undefined or common symbol.
343 * symbols.c (resolve_symbol_value): Use S_IS_DEFINED and
344 S_IS_COMMON rather than comparing S_GET_SEGMENT to
345 undefined_section.
346 (S_GET_VALUE): Likewise. Avoid recursion problems if S_IS_DEFINED
347 or S_IS_COMMON call S_GET_VALUE.
348 * config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
349 * config/obj-aout.c (obj_emit_relocations): If a reloc is equated
350 to an undefined or common symbol, convert the reloc to be against
351 the target symbol.
352 (obj_crawl_symbol_chain): Skip symbols which were equated to an
353 undefined or common symbol.
354 * config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
355 * config/obj-bout.c (obj_emit_relocations): If a reloc is equated
356 to an undefined or common symbol, convert the reloc to be against
357 the target symbol.
358 (obj_crawl_symbol_chain): Skip symbols which were equated to an
359 undefined or common symbol.
360 * config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and
361 S_IS_COMMON rather than comparing S_GET_SEGMENT to
362 undefined_section.
363 (yank_symbols): Skip symbols which were equated to an undefined or
364 common symbol.
365
4d9e33e4
ILT
366Thu Feb 1 15:34:32 1996 Ian Lance Taylor <ian@cygnus.com>
367
9e396994
ILT
368 * config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
369 * config/obj-bout.h (S_IS_LOCAL): Likewise.
370
4d9e33e4
ILT
371 * configure.in: Make sure we only add m68k-parse.o to
372 ${extra_objects} once, no matter how many m68k targets have been
373 enabled.
374 * configure: Rebuild.
375
0ff513d9
SC
376Wed Jan 31 18:31:46 1996 Steve Chamberlain <sac@slash.cygnus.com>
377
378 * configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.
379 * configure: Rebuild.
380
66b935da
ILT
381Wed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>
382
c174fb5c
ILT
383 * config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble".
384 * doc/c-m68k.texi: Document .extend and .ldouble.
385
66b935da
ILT
386 * configure.in (m68*-apple-aux*): New target.
387 * config/te-aux.h: New file.
388 * config/obj-coff.c (compare_external_relocs): New static function
389 if TE_AUX.
390 (do_relocs_for): Sort relocs if TE_AUX.
391 (fixup_segment): If TE_AUX, store common symbol value in segment.
392 * config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.
393
30c2a08e
ILT
394Wed Jan 31 12:24:58 1996 Ian Lance Taylor <ian@cygnus.com>
395
9e396994 396 * config/obj-coff.h (S_IS_LOCAL): Check for \002 as well as \001.
615c0a79 397
30c2a08e
ILT
398 * config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
399 BSF_FUNCTION.
400 (s_cpload): Set BSF_OBJECT for _gp_disp symbol.
401 * read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the
402 symbol.
403 * ecoff.c (add_procedure): Set the BSF_FUNCTION flag.
404 (ecoff_build_symbols): If S_SET_SIZE is defined, set the size of
405 an undefined symbol and the size of a function symbol.
406 * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
407 for all common symbols.
408
0e6f2f82
KR
409Tue Jan 30 12:35:24 1996 Ken Raeburn <raeburn@cygnus.com>
410
411 * config/tc-i960.c (parse_memop): In MRI mode, don't use implicit
412 scaling of index.
413
414 * expr.c (operand): Accept 0x hex constants in MRI mode if not on
415 m68k.
416
8e3ff081
ILT
417Mon Jan 29 12:21:30 1996 Ian Lance Taylor <ian@cygnus.com>
418
3e78d072
ILT
419 * config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
420 of object. From Ronald F. Guilmette <rfg@monkeys.com>.
421
8e3ff081
ILT
422 * ecoff.c (localsym_t): Add addend field.
423 (add_ecoff_symbol): Add addend argument. Change all callers.
424 (coff_sym_value): Make static.
425 (coff_sym_addend): New static variable.
426 (ecoff_directive_def): Initialize coff_sym_addend.
427 (ecoff_directive_val): Accept symbol + constant.
428 (ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
429 (ecoff_build_symbols): Include the addend in the symbol value.
430
79edc846
KK
431Fri Jan 26 19:28:52 1996 Kim Knuttila <krk@cygnus.com>
432
433 * config/tc-ppc.c (md_assemble): Ignore overflow on
434 BFD_RELOC_16_GOTOFF and BFD_RELOC_PPC_TOC16.
435
436Fri Jan 26 16:14:17 1996 Michael Meissner <meissner@tiktok.cygnus.com>
437
438 * config/tc-ppc.c (md_apply_fix3): SDA21 relocations are now 4
439 bytes in size, so offset appropriately in big endian mode when
440 writing the bottom 2 bytes.
441
6cbc4e35
DE
442Thu Jan 25 20:26:23 1996 Doug Evans <dje@charmed.cygnus.com>
443
444 * config/tc-sparc.c (default_compatible): New static local.
445 (md_begin): Initialize it. Rewrite warn_on_bump handling.
446 (sparc_ip): If no architecture or -bump specified, don't mark as
447 mismatched those in default_compatible.
448
4fe0fddd
ILT
449Thu Jan 25 12:21:53 1996 Ian Lance Taylor <ian@cygnus.com>
450
451 SCO ELF support from Robert Lipe <robertl@arnet.com>:
452 * configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5.
453 * configure: Rebuild.
454 * config/sco5.mt: New file; set TDEFINES to -DSCO_ELF.
455 * config/tc-i386.c (sco_id): New function, if SCO_ELF.
456 * config/tc-i386.h (tc_init_after_args): Define if SCO_ELF.
457 (sco_id): Declare if SCO_ELF.
458
e70ad5d5
DE
459Thu Jan 25 03:10:53 1996 Doug Evans <dje@charmed.cygnus.com>
460
461 * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
462 ({max,warn_after}_architecture): New static locals.
463 (md_begin): Replace NUMOPCODES with sparc_num_opcodes.
464 If both architecture and -bump requested, set max_architecture to max.
465 (sparc_md_end): Simplify.
466 (sparc_ip): Replace references to can_bump_v9_p with max_architecture.
467 Rewrite code to bump architecture and check for conflicts.
468 (md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
469 with Solaris assembler.
470 (md_parse_option): Likewise. Call sparc_opcode_lookup_arch.
471 (md_show_usage): Update.
472
a8248831
DE
473Wed Jan 24 22:11:03 1996 Doug Evans <dje@charmed.cygnus.com>
474
475 * Makefile.in (RUNTEST): Fix reference to $${srcdir}.
476
6df07e7f
DE
477Mon Jan 22 09:21:36 1996 Doug Evans <dje@charmed.cygnus.com>
478
479 * config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
480 #ifdef sparcv9 when choosing value.
481 (ENV64): Delete.
482 (md_end): Define.
483 (sparc_md_end): Declare.
484 * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
485 (initial_architecture): New static local.
486 (can_bump_v9_p): Likewise.
487 (NO_V9): Delete all occurrences.
488 (sparc_md_end): New function.
489 (sparc_ip): New local v9_arg_p. Rework fp reg number test.
490 Don't bump architecture to v9 unless can_bump_v9_p set.
491 (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
492 * configure.in (sparc64 target cpu): Don't set obj_format here.
493 (SPARC_V9): Renamed from sparcv9.
494 (sparc64-*-elf*): Define SPARC_ARCH64.
495 * configure: Regenerated.
496 * acconfig.h (SPARC_V9): Renamed from sparcv9.
497 (SPARC_ARCH64): Add.
7fcb3191 498 * conf.in: Regenerated.
6df07e7f
DE
499 * config/vmsconf.h: Update.
500
c9c7c1d7
JSC
501Mon Jan 22 17:24:47 1996 James G. Smith <jsmith@cygnus.co.uk>
502
503 * config/tc-mips.c (load_register): Optimise "dli" loads.
504 (md_show_usage): add "-mcpu=vr4100" to help text.
16ce20d4 505
07ce72c9
ILT
506Mon Jan 22 11:53:00 1996 Ian Lance Taylor <ian@cygnus.com>
507
16ce20d4
ILT
508 * symbols.c (resolve_symbol_value): If a symbol is equated to an
509 undefined symbol, preserve the X_op of O_symbol.
510 (S_GET_VALUE): Fix check to permit this case.
511 * write.c (write_relocs): If a reloc is against an undefined
512 symbol equated to another symbol, change the reloc to be against
513 the latter symbol.
514 * config/obj-coff.c (do_relocs_for): Likewise.
515
07ce72c9
ILT
516 * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
517 XMC_PR.
518
d971d39e
MM
519Mon Jan 22 10:59:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
520
521 * config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
522 computer is PowerPC.
523
524 * config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
525
526 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
527 mentioned in the eabi.
528
0291f0f5
KK
529Thu Jan 18 17:58:19 1996 Kim Knuttila <krk@cygnus.com>
530
531 * config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
532 * config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section
533
c682be53
MM
534Mon Jan 15 17:43:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
535
536 * config/tc-ppc.c (mapping): Add more relocation suffixes.
537
ee4fdbb9
MM
538Sun Jan 14 21:29:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
539
540 * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
541 as a section it is ok to have unadorned -mrelocatable pointers in.
542
543Sat Jan 13 11:09:08 1996 Michael Meissner <meissner@tiktok.cygnus.com>
747b98fe
MM
544
545 * config/tc-ppc.c (ppc_section*): Wrap these functions inside
546 #ifdef OBJ_ELF.
547
f99d287b
MM
548Fri Jan 12 15:32:07 1996 Michael Meissner <meissner@tiktok.cygnus.com>
549
550 * config/obj-elf.c (obj_elf_section): Add hooks so machine
551 dependent section attributes can be handled.
552
553 * config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New
554 macros to add support for exclude section flag and ordered section
555 type.
556
557 * config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New
558 functions to add support for exclude section flag and ordered
559 section type.
560
347a705b
ILT
561Fri Jan 12 12:04:00 1996 Ian Lance Taylor <ian@cygnus.com>
562
2a4e49a9
ILT
563 * subsegs.c (section_symbol): Don't try to look up the section
564 symbol in the hash table. It should be possible to have a symbol
565 with the same name as a section, but no connection to it.
566
d9f4dec1
ILT
567 * read.c (cons_worker): Only call mri_comment_end from flag_mri.
568 From James Carlson <carlson@xylogics.com>.
569
347a705b
ILT
570 * expr.c (operand): Skip whitespace after a close parenthesis.
571 From James Carlson <carlson@xylogics.com>.
572
10c8c95e
JW
573Tue Jan 2 12:43:23 1996 Jim Wilson <wilson@chestnut.cygnus.com>
574
575 * config/tc-sh.c (md_apply_fix): Call as_bad_where instead of
576 as_warn_where for relocation overflow.
347a705b
ILT
577 (parse_reg): Accept register name only if next character is
578 not alphanumeric.
10c8c95e 579
cb844314
JL
580Sat Dec 30 23:42:51 1995 Jeffrey A Law (law@cygnus.com)
581
582 * ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
583 addresses for static variables.
584
36cb0e7c
MM
585Thu Dec 21 12:54:32 1995 Michael Meissner <meissner@tiktok.cygnus.com>
586
587 * config/tc-ppc.c (mapping): Make @got give a real GOT relocation,
588 and xgot give the old toc16 relocation.
589 (md_apply_fix3): Support all GOT relocations.
590
5e69b693
ILT
591Wed Dec 20 14:57:17 1995 Ian Lance Taylor <ian@cygnus.com>
592
593 * config/tc-mips.c (load_address): Correctly handle a constant in
594 SVR4_PIC case. From Richard Kenner <kenner@vlsi1.ultra.nyu.edu>.
595
29861dd0
C
596Fri Dec 15 14:25:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
597
598 * config/tc-sh.c (parse_reg): Recognize SH3 registers.
599 (get_specific): Handle A_SSR, A_SPC and A_REG_B.
600 (build_Mbytes): Handle REG_B.
601
432b8fa8
ILT
602Fri Dec 15 16:07:25 1995 Ian Lance Taylor <ian@cygnus.com>
603
604 * ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
605
ee68a042
RJ
606Fri Dec 15 12:11:48 1995 Raymond Jou <rjou@mexican.cygnus.com>
607
608 * mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
609
b14630f2
ILT
610Thu Dec 14 15:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
611
612 * config/obj-coff.c (write_object_file): Set the s_align field to
613 the number of bytes, rather than to the power of 2.
614
4a3d48fc
ILT
615Tue Dec 12 12:19:37 1995 Ian Lance Taylor <ian@cygnus.com>
616
617 * Makefile.in (DISTCLEAN_HERE): New variable.
618 (distclean): Use it.
619 (maintainer-clean): Depend upon clean-here rather than clean,
620 distclean, and clean-info. Run make maintainer-clean in doc.
621 Remove files listed in DISTCLEAN_HERE.
622 * doc/Makefile.in (maintainer-clean realclean): Split out from
623 distclean. Depend upon clean-info and distclean.
624
7e5e83cf
SS
625Mon Dec 11 16:23:51 1995 Stan Shebs <shebs@andros.cygnus.com>
626
627 * mac-as.r: Fix copyright and version strings.
628 (cfrg): Use PROG_NAME instead of literal name.
629
0ff513d9 630
1b10f50d
ILT
631Mon Dec 11 14:14:08 1995 Ian Lance Taylor <ian@cygnus.com>
632
633 * read.c (read_a_source_file): If tc_unrecognized_line is defined,
634 call it.
635 * config/tc-a29k.h (tc_unrecognized_line): Define.
636 * config/tc-a29k.c (a29k_unrecognized_line): New function.
637 (md_operand): Handle a29k style local dollar labels.
638
2f3bbb1b
ILT
639Wed Dec 6 17:52:52 1995 Ian Lance Taylor <ian@cygnus.com>
640
641 * config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
642
624c91d1
KR
643Tue Dec 5 13:26:34 1995 Ken Raeburn <raeburn@cygnus.com>
644
645 * read.c (s_fill): If md_flush_pending_output is defined, call
646 it.
647
9e4b3a23
KR
648Mon Dec 4 15:10:53 1995 Ken Raeburn <raeburn@cygnus.com>
649
650 * config/obj-coff.c (size_section, fill_section, fixup_mdeps):
651 Treat rs_align_code like rs_align.
652
3554987a
DE
653Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
654
655 * config/tc-arm.c (cp_address_required_here): Set pre_inc when
656 converting an absolute address into a PC-relative one.
657
90f543f6
SS
658Fri Dec 1 11:57:56 1995 Stan Shebs <shebs@andros.cygnus.com>
659
660 * mpw-config.in: Don't always use te-generic.h for emulation.
661 (powerpc-apple-macos): Use emulation te-macos.h.
662start-sanitize-gm
663 (mips-gm-magic): New configuration.
664end-sanitize-gm
665 * mpw-make.sed (install, install-only): Edit in Mac-specific
666 install procedure.
667
d4c8a45e
ILT
668Fri Dec 1 10:59:25 1995 Ian Lance Taylor <ian@cygnus.com>
669
2eec8710
ILT
670 * configure.in: Improve message about unsupported ELF targets.
671 * configure: Rebuild.
672
d4c8a45e
ILT
673 * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
674 pattern is zero. From Manfred Hollstein.
675
531a1af2
KK
676Thu Nov 30 13:25:49 1995 Kim Knuttila <krk@cygnus.com>
677
678 * config/tc-ppc.c (ppc_pe_section): To get the alignment right for
679 the various idata sections, we check the name on the .section pseudo.
680
464070de
ILT
681Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
682
683 * config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
684 add section's paddr to add_number; compatibility to native as and
685 ld forbids.
686
6a087325
KR
687Wed Nov 29 23:14:27 1995 Ken Raeburn <raeburn@cygnus.com>
688
9d5aef80
KR
689 * configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
690
ac9ef8ee
KR
691 * hash.c (struct hash_entry): Moved here...
692 * hash.h (struct hash_entry): ...from here.
693
6a087325
KR
694 * config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
695 if it's already known to be null.
696
77fa4d98
MM
697Wed Nov 29 13:00:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
698
699 * config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
700 bit relocs converted to PC relative relocs. This turned out to
701 add the offset from the beginning of .text twice.
702
c6e4e834
KR
703Tue Nov 28 10:42:36 1995 Ken Raeburn <raeburn@cygnus.com>
704
705 * stabs.c (s_stab_generic): In 's' case, free string from
706 obstack.
707
708 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
709 sy_name_offset.
710 * config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
711 Ditto.
712
713 * subsegs.h (segment_info_type): Make bitfields unsigned.
714
715 * expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
716 and move them together. On most systems this will reduce the
717 structure size by one word.
718 (operatorT): Define O_max.
719 * expr.c (expr_begin): Verify that X_op is wide enough to hold
720 O_max.
721
722 * read.c (pop_insert): Print error returned by hash table
723 insertion code.
724
725 * as.c (dump_statistics): Split out from main; dump some hash
726 table stats and target-specific stats.
727 (start_time): No longer automatic to main.
728 (main): Set file-level start_time and call dump_statistics at
729 exit. Exit by calling xexit.
730 (show_usage): Make --statistics description less specific.
731 * subsegs.c (subsegs_print_statistics): New function.
732 * write.c (write_print_statistics): New function.
733 (n_fixups): New static variable.
734 (fix_new_internal): Increment it.
735 * read.c (read_print_statistics): New function.
736 * read.h (read_print_statistics): Declare.
737 * symbol.c (symbol_print_statistics): New function.
738 * symbol.h (symbol_print_statistics): Declare.
739 * hash.c (hash_print_statistics): New function.
740 * hash.h (hash_print_statistics): Declare.
741 * config/tc-i386.c (i386_print_statistics): New function.
742 * config/tc-i386.h (i386_print_statistics): Declare.
743 (tc_print_statistics): New macro.
744 * messages.c (as_fatal, as_assert, as_abort): Use xexit, not
745 exit.
746
747 * hash.c (DELETED): Rewrite to use a valid but unique address.
748 (START_POWER): Reduce to 10.
749 (enum stat_enum): New enumerator, replacing STAT_* index macros.
750 Add new values for counting strcmp calls.
751 (GROW_FACTOR): New macro.
752 (hash_grow): Use GROW_FACTOR. Rewrite for quick returns instead
753 of nesting blocks.
754 (FULL_VALUE): New macro. Use 1/4 of table size instead of 1/2.
755 (hash_new): Use FULL_VALUE.
756 (struct hash_control): Definition moved here.
757 (hash_code): Don't mask to low bits.
758 (hash_ask): Mask returned hash code here. Check hash value before
759 calling strcmp; count strcmp calls.
760 * hash.h (struct hash_control): Declare, don't define, here.
761 (HASH_STATLENGTH): Deleted.
762 (struct hash_entry): Add field for hash code.
763 (hash_say, hash_apply): Don't declare.
764
765 * hash.c (destroy): Return void.
766 (applicatee): Ditto.
767 (main): Fix declarations.
768 (hash_apply): Return void. Argument `function' returns void. Put
769 inside "#ifdef TEST".
770 (hash_say): Define only if TEST is defined.
771 * hash.h (hash_apply, hash_say): Declarations deleted.
772
6a4667f4
ILT
773Mon Nov 27 13:18:25 1995 Ian Lance Taylor <ian@cygnus.com>
774
775 * configure: Rebuild with autoconf 2.7.
776
330add8a
ILT
777Tue Nov 21 18:39:01 1995 Ian Lance Taylor <ian@cygnus.com>
778
779 * aclocal.m4 (AC_PROG_CC): Remove local definition.
780 * configure: Rebuild with autoconf 2.6.
781
520dd8d5
ILT
782Mon Nov 20 17:26:00 1995 Ian Lance Taylor <ian@cygnus.com>
783
784 * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
785 (ppc_stabx): Don't increment ppc_debug_name_section_size.
786 (ppc_bc): Likewise.
787 (ppc_frob_file): Remove.
788 * config/tc-ppc.h (tc_frob_file): Don't define.
789 (ppc_frob_file): Don't declare.
790
880b7429
KR
791Mon Nov 20 13:37:05 1995 Ken Raeburn <raeburn@cygnus.com>
792
d6c4a3fa
KR
793 * Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
794 * config/alpha-opcode.h: Include one-operand variants of jmp and
795 jsr.
796
880b7429
KR
797 * config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
798 with te-delta.h in 8.3 file systems.
799 * configure.in: Adjusted.
800
aa8a6656
ILT
801Thu Nov 16 12:49:38 1995 Ian Lance Taylor <ian@cygnus.com>
802
880b7429
KR
803 * config/tc-mips.c (s_err): Remove; just use the one in read.c.
804
aa8a6656
ILT
805 * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
806 number.
807 * expr.c (operand): Handle MRI suffixes after unadorned 0.
808
7b889f5e
KR
809Thu Nov 16 00:21:44 1995 Ken Raeburn <raeburn@cygnus.com>
810
da9b55af
KR
811 Version 2.6 released.
812 * Makefile.in (VERSION): Updated to 2.6.
813
7b889f5e
KR
814 * config/obj-coff.c (write_object_file): Change use of md_do_align
815 to pass a pointer rather than a fill value, to match other uses.
816
46618ae6
KR
817Wed Nov 15 03:52:00 1995 Ken Raeburn <raeburn@cygnus.com>
818
7b889f5e
KR
819 * config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
820
46618ae6
KR
821 * as.c (main): Move md_end call to just after call to
822 perform_an_assembly_pass. Delete cpu-specific code here.
823 * config/tc-i960.h (md_end): New macro, calls brtab_emit.
824start-sanitize-rce
825 * config/tc-rce.c (md_end): Deleted.
826 * config/tc-rce.h (md_end): New macro, calls dump_literals.
827end-sanitize-rce
828 * config/tc-arm.c (md_end): Unused function deleted.
829 * config/tc-ns32k.c (md_end): Ditto.
830
831 * config/tc-i386.c (i386_align_code): New function, moved here
832 from HANDLE_ALIGN macro.
833 * config/tc-i386.h (HANDLE_ALIGN): Call it.
834
835 Mon Jul 31 14:53:19 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
836
837 * config/tc-i386.h (md_do_align): cast fill and 0x90 to char
838 before comparing
839
840 Mon May 1 10:91:49 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
841
842 * config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
843 multi-byte nops to avoid changing gcc. The necessary gcc change
844 might break old assemblers.
845
846 Sat Apr 22 20:53:05 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
847
848 * config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
849 generate optimal multi-byte nop instructions for ".align n"
850 ".align n,0x90", and aligns requiring more than 15 bytes of
851 padding still generate multiple 0x90's as before.
852
853Mon Nov 13 17:40:21 1995 Ian Lance Taylor <ian@cygnus.com>
854
855 * config/tc-m68k.c (s_mri_until): Call pop_mri_control.
856
51bc513e
SS
857Mon Nov 13 20:39:06 1995 Stan Shebs <shebs@andros.cygnus.com>
858
859 * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
860 * configure: Update.
861 * mpw-make.sed: Reorder commands to make sed happier.
862 * config/te-macos.h: New file.
863 * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
864
8b39c5df
JL
865Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com)
866
867 * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
868 conditional branches.
869 (md_apply_fix): Likewise.
870
871Thu Nov 9 16:14:01 1995 Ian Lance Taylor <ian@cygnus.com>
872
873 * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
874 generate a reloc which the linker will not handle correctly. Fix
875 overflow checking--R_IREL is 18 bits, not 17.
876
6a649eda
ILT
877Wed Nov 8 19:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
878
a071b8e9
ILT
879 * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
880 from a PC relative reloc if TC_A29K.
881
882 * config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
883 code depends upon it.
884
6a649eda
ILT
885 * config/tc-a29k.c (md_operand): Handle $float, $double, and
886 $extend. Based on code from Eric Freudenthal
887 <freudenthal@nyu.edu>.
888 * config/tc-a29k.h (LEX_DOLLAR): Define.
889 * read.c (LEX_DOLLAR): Define if not defined.
890 (lex_type): Use LEX_DOLLAR.
891
6364a188
ILT
892Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
893
894 * configure.in (a29k-nyu-sym1): New target, just like other a29k
895 targets.
896
0fa6f8f6
ILT
897Wed Nov 8 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
898
899 * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
900
901Tue Nov 7 09:14:35 1995 Kim Knuttila <krk@cygnus.com>
902
903 * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
904 used only by "dlltool.c".
905
eec2cfef
ILT
906Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com>
907
908 * config/tc-alpha.c: Undefine inline if not __GNUC__.
909 (md_pseudo_table): Don't define "extern".
910
df7504dc
ILT
911Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
912
a3d1c561
ILT
913 * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
914
df7504dc
ILT
915 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
916
07d012f6
ILT
917Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
918
36e80ac6
ILT
919 * macro.c (macro_expand_body): Don't warn about == with a
920 nonexistent parameter, in case it is in a comment field.
921
07d012f6
ILT
922 * as.c (main): On TC_A29K, call macro_init with macro_alternate
923 set to 1.
924 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
925 set, even if macro_alternate is set.
926 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
927 (sub_actual): If macro_strip_at, and kind is '@', don't look up
928 the token unless it ended in '@'.
929 * config/tc-a29k.c (line_separator_chars): Remove '@'.
930 * doc/c-a29k.texi: Document macro usage on A29K.
931
01f108bc
ILT
932Thu Nov 2 23:07:57 1995 Ian Lance Taylor <ian@cygnus.com>
933
934 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
935 signed word.
936 (install_operand): Likewise.
937
938 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
939
940Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
941
942 * configure.in (m88k-motorola-sysv*): New target.
943 * configure: Rebuild.
944 * config/te-delta88.h: New file.
945 * config/obj-coff.c (write_object_file): Use md_do_align if it is
946 defined.
947 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
948 (md_do_align): Define.
949 * config/tc-m88k.c: Include "subsegs.h".
950 (m88k_do_align): New function.
951
952 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
953 (COFF_NOLOAD_PROBLEM): Define.
954 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
955
7954cc14
KR
956Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
957
958 * config/tc-i386.c (md_assemble): For a jump instruction with
959 non-constant target, require 7 available bytes in the current
960 frag, not 6.
961
d033806f
FF
962Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
963
964 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
965 bfd/libelf.h.
966
d7b2038f
ILT
967Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
968
969 * configure.in (alpha-*-linux*): Use ecoff.
970 * configure: Rebuild.
971 * ecoff.c (ecoff_directive_extern): New function.
972 (ecoff_directive_weakext): New function.
973 (ecoff_build_symbols): Handle weak symbols.
974 (ecoff_setup_ext): Likewise.
59c80ca2 975 (ecoff_frob_symbol): Warn about weak common symbols.
d7b2038f
ILT
976 * ecoff.h (ecoff_directive_extern): Declare.
977 (ecoff_directive_weakext): Declare.
978 * symbols.c (S_IS_WEAK): New function.
979 * symbols.h (S_IS_WEAK): Declare.
980 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
981 "weakext".
982 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
983 (s_extern): Remove.
984
cbdf59ad
ILT
985Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
986
b629f627
ILT
987 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
988
7ab1edc8
ILT
989 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
990 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
991 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
992 * config/obj-coff.c (coff_frob_symbol): Don't call
993 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
994 one. If OBJ_XCOFF, try to figure out whether the symbol is going
995 to be dropped.
996
31751d9d
ILT
997 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
998 (ppc_stab_symbol): New static variable.
999 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
1000 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
1001 sy_tc.real_name to the stab string.
1002 (ppc_bc, ppc_ec): New static functions.
1003 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
1004 do anything.
1005 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
1006 suffix.
0e3dd9a0
ILT
1007 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
1008 entries.
31751d9d 1009
cbdf59ad
ILT
1010 * input-scrub.c (input_scrub_push): Reset sb_index.
1011
91123dbe
ILT
1012Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
1013
1014 * listing.c (listing_newline): Don't create a frag in the absolute
1015 section.
1016
73255941
ILT
1017Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
1018
df72d2a5
ILT
1019 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
1020 (ppc_csect): Move most of the code to ppc_change_csect, and call
1021 it.
1022 (ppc_change_csect): New static function, taken from ppc_csect.
1023 (ppc_section): New static function.
1024 (ppc_saw_abs): New static varable.
1025 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
1026 a symbol has no csect.
1027 (ppc_adjust_symtab): New function.
1028 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
1029 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
1030
1031 * write.c (write_object_file): If tc_adjust_symtab is defined,
1032 call it just before the call to obj_adjust_symtab.
1033
73255941
ILT
1034 * symbols.c (symbol_find_or_make): Change name to be const.
1035 * symbols.h (symbol_find_or_make): Update declaration.
1036
9bfaf1b9
KR
1037Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
1038
1039 * doc/as.texinfo (Align): Mention SH.
1040 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
1041 .align value.
1042 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
1043 (Z8000 Directives, even): Don't give numeric align value, instead
1044 explain behavior.
1045
ae143278
DE
1046Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
1047
1048 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
1049 instruction.
1050
270433cc
PB
1051Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
1052
1053 * Makefile.in (diststuff): Also make info.
1054 (maintainer-clean realclean): Also make clean-info.
1055
18a11401
JL
1056Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
1057
1058 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
1059 (pa_subspace): For ".nsubspa", always create a new subspace
1060 with the given attributes, even if one already exists with the
1061 same name.
1062
96fe71e1
MM
1063Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1064
1065 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
1066 TC_FORCE_RELOCATION, taking an additional section argument. If
1067 the section of the target symbol is not the same as the current
1068 section, always force the relocation to be used.
1069 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
1070
1071 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
1072 md_pcrel_from function, taking an additional section argument.
1073 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
1074
1075 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
1076 older TC_FORCE_RELOCATION if not defined.
1077 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
1078 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
1079 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
1080 TC_FORCE_RELOCATION.
1081
1d75481b
KR
1082Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
1083
1084 * input-scrub.c (as_where): Set name to null pointer if we don't
1085 have a file name.
1086 * messages.c (identify): Only print filename if non-null.
1087 (as_show_where): Ditto, for line number too.
1088 (as_warn_internal, as_bad_internal): Ditto.
1089
1090 * input-file.c (input_file_open): If the input file can't be
1091 opened, consider it an error.
1092
c625fc23
JSC
1093Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
1094
1095 * config/tc-mips.c: Added mips_4100 control, and support for
1096 accepting the 4100 as a MIPS architecture variant (md_begin,
1097 macro_build, mips_ip, md_parse_option). Adding suitable
1098 command-line OPTIONs, and updating the help text (md_show_usage).
1099
dd1a5316
KR
1100Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
1101
c625fc23
JSC
1102 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
1103 BFD_ASSEMBLER is defined.
1104
3366a224
KR
1105 * Use one active frag and one obstack per frag chain:
1106 * frags.c (frags): Variable deleted.
1107 (frag_alloc): New function.
1108 (frag_grow, frag_more, frag_variant, frag_now_fix,
1109 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
1110 frags variable.
1111 (frag_new): Ditto. Verify that frch_last and frag_now match on
1112 entry and exit, and that old frag_now has non-zero type. Replace
1113 "know" uses with "assert". Use frag_alloc instead of mucking with
1114 obstack alignment.
1115 * frags.h (frags): Declaration deleted.
1116 * subsegs.h (struct frchain): Add new field frch_frag_now.
1117 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
1118 variables.
1119 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
1120 give it any stricter alignment than frchainS structures need. Do
1121 not initialize frags obstack. Set frag_now to point to
1122 dummy_obstack. Initialize absolute_frchain.
1123 (subseg_set_rest): Save and restore frag_now in frch_frag_now
1124 field of frchainS. Don't create new frags on section switch, and
1125 use frag_alloc when creating a new frag chain. For absolute
1126 section, set frchain_now to absolute_frchain. Verify that
1127 frch_last and frag_now match on entry and exit. Initialize
1128 per-chain obstack, and under gcc, set required alignment to that
1129 needed by fragS structure.
c625fc23 1130
3366a224
KR
1131 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
1132
1133 * stabs.c (get_stab_string_offset): Only copy input string if a
1134 fresh copy is needed, not if the section already exists.
1135 (s_stab_generic): Cache stab section name to bypass lookups, since
1136 usually it will match. Could be made faster still by changing the
1137 memory allocation rules.
1138 (s_xstab): Cache section name to bypass repeated string
1139 allocation.
1140
1141 * frags.c (frag_new): Deleted register declarations.
1142
1143 * listing.c (frag_now): Don't declare.
1144
1145 * as.c (chunksize): New variable.
1146 (debug_memory): New variable.
1147 (main): If debug_memory is set, reduce chunksize and
1148 _bfd_chunksize.
1149 * as.h (chunksize): Declare it.
1150 * read.c (read_begin): Use it.
1151
de5ebe2e
KR
1152 * config/tc-alpha.c (md_shortopts): Include 'g'.
1153 (md_parse_option): Ignore it.
1154
dd1a5316
KR
1155 * Makefile.in (distclean): Remove Makefile and config.status from
1156 testsuite directory.
1157 (clean-here): Don't delete testsuite. Instead, delete only the
1158 files within it that would be generated by running tests.
1159
de5ebe2e
KR
1160 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
1161 frag_now_fix instead of accessing obstack info directly.
1162 * config/tc-arm.c (s_ltorg): Ditto.
1163 (md_assemble): Ditto.
1164
1165 * config/tc-i386.c (md_assemble): Call frag_grow instead of
1166 obstack_room.
1167
625f4e48
KR
1168Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
1169
1170 * stabs.c (aout_process_stab): Insert debug symbol into symbol
1171 chain after parsing value expression, if any, to avoid separating
1172 continued .stabs lines.
1173
33a8c1b6
ILT
1174Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
1175
1176 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
1177 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
1178
b6b8f911
MM
1179Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
1180
625f4e48
KR
1181 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
1182 -mcom support and PPC_OPCODE_ANY for -many.
1183 (md_parse_option): Ditto.
1184 (ppc_arch): Ditto.
1185 (md_begin): For duplicate instructions, print all duplicates
1186 before aborting.
b6b8f911 1187
4c2935f4
MM
1188Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
1189
1190 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
1191 common mode operation.
1192 (md_show_usage): Add -mcom to usage message.
4c2935f4
MM
1193
1194Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
1195
1196 * expr.c (op_rank): Add O_symbol_rva.
1197 * expr.h (operatorT): Add O_symbol_rva.
1198 * read.c (cons_worker): Set O_symbol_rva when necessary.
1199 * write.c (fix_new_exp): Understand O_symbol_rva.
1200
7db865dc
ILT
1201Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
1202
1203 * config/tc-mips.c: Correct s_cons arguments. From Michael
1204 Joosten <joost@ori.cadlab.de>.
1205
1b13e6fc
ILT
1206Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
1207
1208 * config/tc-ppc.c (ppc_macro): Make count unsigned.
1209 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
1210 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
1211 the fix_line field.
1212 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
1213 make non-static. Change all users.
1214 * config/obj-coff.h (coff_n_line_nos): Declare.
1215
9e3e3d4c
KR
1216Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
1217
1218 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1219
1220 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
1221
1222 * config/obj-elf.c (obj_elf_common): Convert specified byte
1223 alignment to power of two. Set size of local bss symbol.
1224
1225 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
1226
13a6c753
ILT
1227Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
1228
1229 * sb.c, macro.c: Decide whether to include <string.h> or
1230 <strings.h> just as as.h does.
1231
a75aafcd
DE
1232Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
1233
1234 * Makefile.in (site.exp): Fix setting of $srcdir.
1235
1236 * config/tc-arm.c (md_atof): Fix little-endian output.
f6ec8c46
DE
1237 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
1238 all coff targets.
a75aafcd 1239
d89861c7
KR
1240Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
1241
4d2ba393
KR
1242 * doc/as.texinfo: Split out the NS32k family documentation,
1243 despite its being commented out for now.
1244 * doc/c-ns32k.texi: New file.
1245
2c5eb48d
KR
1246 * sb.c, macro.c: Include string.h.
1247
6b0a6eaa
KR
1248 * Makefile.in (comparison): Only check *.o; we don't care if
1249 timestamps inserted by the native linker differ.
1250
d89861c7
KR
1251 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
1252 if alignment stricter than 4 bytes is requested; in that case,
1253 align to a 4-byte boundary first.
1254
70aeac05
KR
1255 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
1256
1257 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
1258 uninitialized" warning for `Max_Source_Offset'.
1259
eaaa2a42
KK
1260Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
1261
1262 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
1263 qualifiers and detect errors if present.
1264 (md_assemble): Add call to parse_toc_entry. Also added some support
1265 for the [tocv] qualifier.
1266 (ppc_pe_tocd): New function to support data in the toc section.
1267
cd557d83
ILT
1268Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
1269
1270 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
1271 an absolute symbol.
1272
42ac8fa8
ILT
1273Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
1274
01f108bc 1275 * config/tc-m68k.c (isword): Accept all values from -65536 to
cd557d83
ILT
1276 +65535, so ~VAL will not be rejected.
1277
42ac8fa8
ILT
1278 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
1279 skip characters after the pseudo-op.
1280 (s_else): Likewise.
1281 * read.c (get_line_sb): Don't look past buffer_limit.
1282 (s_include): In MRI mode, skip characters after the file name.
1283
eef66934
ILT
1284Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
1285
1286 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
1287 periods in register names.
1288
cdc49cba 1289For older changes see ChangeLog.1.
This page took 0.106012 seconds and 4 git commands to generate.