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