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