* config.bfd (i[345]86-*-sco*elf*): Use bfd_elf32_i386_vec. From
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
e70ad5d5
DE
1Thu Jan 25 03:10:53 1996 Doug Evans <dje@charmed.cygnus.com>
2
3 * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
4 ({max,warn_after}_architecture): New static locals.
5 (md_begin): Replace NUMOPCODES with sparc_num_opcodes.
6 If both architecture and -bump requested, set max_architecture to max.
7 (sparc_md_end): Simplify.
8 (sparc_ip): Replace references to can_bump_v9_p with max_architecture.
9 Rewrite code to bump architecture and check for conflicts.
10 (md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
11 with Solaris assembler.
12 (md_parse_option): Likewise. Call sparc_opcode_lookup_arch.
13 (md_show_usage): Update.
14
a8248831
DE
15Wed Jan 24 22:11:03 1996 Doug Evans <dje@charmed.cygnus.com>
16
17 * Makefile.in (RUNTEST): Fix reference to $${srcdir}.
18
6df07e7f
DE
19Mon Jan 22 09:21:36 1996 Doug Evans <dje@charmed.cygnus.com>
20
21 * config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
22 #ifdef sparcv9 when choosing value.
23 (ENV64): Delete.
24 (md_end): Define.
25 (sparc_md_end): Declare.
26 * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
27 (initial_architecture): New static local.
28 (can_bump_v9_p): Likewise.
29 (NO_V9): Delete all occurrences.
30 (sparc_md_end): New function.
31 (sparc_ip): New local v9_arg_p. Rework fp reg number test.
32 Don't bump architecture to v9 unless can_bump_v9_p set.
33 (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
34 * configure.in (sparc64 target cpu): Don't set obj_format here.
35 (SPARC_V9): Renamed from sparcv9.
36 (sparc64-*-elf*): Define SPARC_ARCH64.
37 * configure: Regenerated.
38 * acconfig.h (SPARC_V9): Renamed from sparcv9.
39 (SPARC_ARCH64): Add.
7fcb3191 40 * conf.in: Regenerated.
6df07e7f
DE
41 * config/vmsconf.h: Update.
42
c9c7c1d7
JSC
43Mon Jan 22 17:24:47 1996 James G. Smith <jsmith@cygnus.co.uk>
44
45 * config/tc-mips.c (load_register): Optimise "dli" loads.
46 (md_show_usage): add "-mcpu=vr4100" to help text.
16ce20d4 47
07ce72c9
ILT
48Mon Jan 22 11:53:00 1996 Ian Lance Taylor <ian@cygnus.com>
49
16ce20d4
ILT
50 * symbols.c (resolve_symbol_value): If a symbol is equated to an
51 undefined symbol, preserve the X_op of O_symbol.
52 (S_GET_VALUE): Fix check to permit this case.
53 * write.c (write_relocs): If a reloc is against an undefined
54 symbol equated to another symbol, change the reloc to be against
55 the latter symbol.
56 * config/obj-coff.c (do_relocs_for): Likewise.
57
07ce72c9
ILT
58 * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
59 XMC_PR.
60
d971d39e
MM
61Mon Jan 22 10:59:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
62
63 * config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
64 computer is PowerPC.
65
66 * config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
67
68 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
69 mentioned in the eabi.
70
0291f0f5
KK
71Thu Jan 18 17:58:19 1996 Kim Knuttila <krk@cygnus.com>
72
73 * config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
74 * config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section
75
c682be53
MM
76Mon Jan 15 17:43:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
77
78 * config/tc-ppc.c (mapping): Add more relocation suffixes.
79
ee4fdbb9
MM
80Sun Jan 14 21:29:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
81
82 * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
83 as a section it is ok to have unadorned -mrelocatable pointers in.
84
85Sat Jan 13 11:09:08 1996 Michael Meissner <meissner@tiktok.cygnus.com>
747b98fe
MM
86
87 * config/tc-ppc.c (ppc_section*): Wrap these functions inside
88 #ifdef OBJ_ELF.
89
f99d287b
MM
90Fri Jan 12 15:32:07 1996 Michael Meissner <meissner@tiktok.cygnus.com>
91
92 * config/obj-elf.c (obj_elf_section): Add hooks so machine
93 dependent section attributes can be handled.
94
95 * config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New
96 macros to add support for exclude section flag and ordered section
97 type.
98
99 * config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New
100 functions to add support for exclude section flag and ordered
101 section type.
102
347a705b
ILT
103Fri Jan 12 12:04:00 1996 Ian Lance Taylor <ian@cygnus.com>
104
2a4e49a9
ILT
105 * subsegs.c (section_symbol): Don't try to look up the section
106 symbol in the hash table. It should be possible to have a symbol
107 with the same name as a section, but no connection to it.
108
d9f4dec1
ILT
109 * read.c (cons_worker): Only call mri_comment_end from flag_mri.
110 From James Carlson <carlson@xylogics.com>.
111
347a705b
ILT
112 * expr.c (operand): Skip whitespace after a close parenthesis.
113 From James Carlson <carlson@xylogics.com>.
114
10c8c95e
JW
115Tue Jan 2 12:43:23 1996 Jim Wilson <wilson@chestnut.cygnus.com>
116
117 * config/tc-sh.c (md_apply_fix): Call as_bad_where instead of
118 as_warn_where for relocation overflow.
347a705b
ILT
119 (parse_reg): Accept register name only if next character is
120 not alphanumeric.
10c8c95e 121
cb844314
JL
122Sat Dec 30 23:42:51 1995 Jeffrey A Law (law@cygnus.com)
123
124 * ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
125 addresses for static variables.
126
36cb0e7c
MM
127Thu Dec 21 12:54:32 1995 Michael Meissner <meissner@tiktok.cygnus.com>
128
129 * config/tc-ppc.c (mapping): Make @got give a real GOT relocation,
130 and xgot give the old toc16 relocation.
131 (md_apply_fix3): Support all GOT relocations.
132
5e69b693
ILT
133Wed Dec 20 14:57:17 1995 Ian Lance Taylor <ian@cygnus.com>
134
135 * config/tc-mips.c (load_address): Correctly handle a constant in
136 SVR4_PIC case. From Richard Kenner <kenner@vlsi1.ultra.nyu.edu>.
137
29861dd0
C
138Fri Dec 15 14:25:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
139
140 * config/tc-sh.c (parse_reg): Recognize SH3 registers.
141 (get_specific): Handle A_SSR, A_SPC and A_REG_B.
142 (build_Mbytes): Handle REG_B.
143
432b8fa8
ILT
144Fri Dec 15 16:07:25 1995 Ian Lance Taylor <ian@cygnus.com>
145
146 * ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
147
ee68a042
RJ
148Fri Dec 15 12:11:48 1995 Raymond Jou <rjou@mexican.cygnus.com>
149
150 * mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
151
b14630f2
ILT
152Thu Dec 14 15:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
153
154 * config/obj-coff.c (write_object_file): Set the s_align field to
155 the number of bytes, rather than to the power of 2.
156
4a3d48fc
ILT
157Tue Dec 12 12:19:37 1995 Ian Lance Taylor <ian@cygnus.com>
158
159 * Makefile.in (DISTCLEAN_HERE): New variable.
160 (distclean): Use it.
161 (maintainer-clean): Depend upon clean-here rather than clean,
162 distclean, and clean-info. Run make maintainer-clean in doc.
163 Remove files listed in DISTCLEAN_HERE.
164 * doc/Makefile.in (maintainer-clean realclean): Split out from
165 distclean. Depend upon clean-info and distclean.
166
7e5e83cf
SS
167Mon Dec 11 16:23:51 1995 Stan Shebs <shebs@andros.cygnus.com>
168
169 * mac-as.r: Fix copyright and version strings.
170 (cfrg): Use PROG_NAME instead of literal name.
171
1b10f50d
ILT
172Mon Dec 11 14:14:08 1995 Ian Lance Taylor <ian@cygnus.com>
173
174 * read.c (read_a_source_file): If tc_unrecognized_line is defined,
175 call it.
176 * config/tc-a29k.h (tc_unrecognized_line): Define.
177 * config/tc-a29k.c (a29k_unrecognized_line): New function.
178 (md_operand): Handle a29k style local dollar labels.
179
2f3bbb1b
ILT
180Wed Dec 6 17:52:52 1995 Ian Lance Taylor <ian@cygnus.com>
181
182 * config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
183
624c91d1
KR
184Tue Dec 5 13:26:34 1995 Ken Raeburn <raeburn@cygnus.com>
185
186 * read.c (s_fill): If md_flush_pending_output is defined, call
187 it.
188
9e4b3a23
KR
189Mon Dec 4 15:10:53 1995 Ken Raeburn <raeburn@cygnus.com>
190
191 * config/obj-coff.c (size_section, fill_section, fixup_mdeps):
192 Treat rs_align_code like rs_align.
193
3554987a
DE
194Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
195
196 * config/tc-arm.c (cp_address_required_here): Set pre_inc when
197 converting an absolute address into a PC-relative one.
198
90f543f6
SS
199Fri Dec 1 11:57:56 1995 Stan Shebs <shebs@andros.cygnus.com>
200
201 * mpw-config.in: Don't always use te-generic.h for emulation.
202 (powerpc-apple-macos): Use emulation te-macos.h.
203start-sanitize-gm
204 (mips-gm-magic): New configuration.
205end-sanitize-gm
206 * mpw-make.sed (install, install-only): Edit in Mac-specific
207 install procedure.
208
d4c8a45e
ILT
209Fri Dec 1 10:59:25 1995 Ian Lance Taylor <ian@cygnus.com>
210
2eec8710
ILT
211 * configure.in: Improve message about unsupported ELF targets.
212 * configure: Rebuild.
213
d4c8a45e
ILT
214 * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
215 pattern is zero. From Manfred Hollstein.
216
531a1af2
KK
217Thu Nov 30 13:25:49 1995 Kim Knuttila <krk@cygnus.com>
218
219 * config/tc-ppc.c (ppc_pe_section): To get the alignment right for
220 the various idata sections, we check the name on the .section pseudo.
221
464070de
ILT
222Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
223
224 * config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
225 add section's paddr to add_number; compatibility to native as and
226 ld forbids.
227
6a087325
KR
228Wed Nov 29 23:14:27 1995 Ken Raeburn <raeburn@cygnus.com>
229
9d5aef80
KR
230 * configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
231
ac9ef8ee
KR
232 * hash.c (struct hash_entry): Moved here...
233 * hash.h (struct hash_entry): ...from here.
234
6a087325
KR
235 * config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
236 if it's already known to be null.
237
77fa4d98
MM
238Wed Nov 29 13:00:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
239
240 * config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
241 bit relocs converted to PC relative relocs. This turned out to
242 add the offset from the beginning of .text twice.
243
c6e4e834
KR
244Tue Nov 28 10:42:36 1995 Ken Raeburn <raeburn@cygnus.com>
245
246 * stabs.c (s_stab_generic): In 's' case, free string from
247 obstack.
248
249 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
250 sy_name_offset.
251 * config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
252 Ditto.
253
254 * subsegs.h (segment_info_type): Make bitfields unsigned.
255
256 * expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
257 and move them together. On most systems this will reduce the
258 structure size by one word.
259 (operatorT): Define O_max.
260 * expr.c (expr_begin): Verify that X_op is wide enough to hold
261 O_max.
262
263 * read.c (pop_insert): Print error returned by hash table
264 insertion code.
265
266 * as.c (dump_statistics): Split out from main; dump some hash
267 table stats and target-specific stats.
268 (start_time): No longer automatic to main.
269 (main): Set file-level start_time and call dump_statistics at
270 exit. Exit by calling xexit.
271 (show_usage): Make --statistics description less specific.
272 * subsegs.c (subsegs_print_statistics): New function.
273 * write.c (write_print_statistics): New function.
274 (n_fixups): New static variable.
275 (fix_new_internal): Increment it.
276 * read.c (read_print_statistics): New function.
277 * read.h (read_print_statistics): Declare.
278 * symbol.c (symbol_print_statistics): New function.
279 * symbol.h (symbol_print_statistics): Declare.
280 * hash.c (hash_print_statistics): New function.
281 * hash.h (hash_print_statistics): Declare.
282 * config/tc-i386.c (i386_print_statistics): New function.
283 * config/tc-i386.h (i386_print_statistics): Declare.
284 (tc_print_statistics): New macro.
285 * messages.c (as_fatal, as_assert, as_abort): Use xexit, not
286 exit.
287
288 * hash.c (DELETED): Rewrite to use a valid but unique address.
289 (START_POWER): Reduce to 10.
290 (enum stat_enum): New enumerator, replacing STAT_* index macros.
291 Add new values for counting strcmp calls.
292 (GROW_FACTOR): New macro.
293 (hash_grow): Use GROW_FACTOR. Rewrite for quick returns instead
294 of nesting blocks.
295 (FULL_VALUE): New macro. Use 1/4 of table size instead of 1/2.
296 (hash_new): Use FULL_VALUE.
297 (struct hash_control): Definition moved here.
298 (hash_code): Don't mask to low bits.
299 (hash_ask): Mask returned hash code here. Check hash value before
300 calling strcmp; count strcmp calls.
301 * hash.h (struct hash_control): Declare, don't define, here.
302 (HASH_STATLENGTH): Deleted.
303 (struct hash_entry): Add field for hash code.
304 (hash_say, hash_apply): Don't declare.
305
306 * hash.c (destroy): Return void.
307 (applicatee): Ditto.
308 (main): Fix declarations.
309 (hash_apply): Return void. Argument `function' returns void. Put
310 inside "#ifdef TEST".
311 (hash_say): Define only if TEST is defined.
312 * hash.h (hash_apply, hash_say): Declarations deleted.
313
6a4667f4
ILT
314Mon Nov 27 13:18:25 1995 Ian Lance Taylor <ian@cygnus.com>
315
316 * configure: Rebuild with autoconf 2.7.
317
330add8a
ILT
318Tue Nov 21 18:39:01 1995 Ian Lance Taylor <ian@cygnus.com>
319
320 * aclocal.m4 (AC_PROG_CC): Remove local definition.
321 * configure: Rebuild with autoconf 2.6.
322
520dd8d5
ILT
323Mon Nov 20 17:26:00 1995 Ian Lance Taylor <ian@cygnus.com>
324
325 * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
326 (ppc_stabx): Don't increment ppc_debug_name_section_size.
327 (ppc_bc): Likewise.
328 (ppc_frob_file): Remove.
329 * config/tc-ppc.h (tc_frob_file): Don't define.
330 (ppc_frob_file): Don't declare.
331
880b7429
KR
332Mon Nov 20 13:37:05 1995 Ken Raeburn <raeburn@cygnus.com>
333
d6c4a3fa
KR
334 * Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
335 * config/alpha-opcode.h: Include one-operand variants of jmp and
336 jsr.
337
880b7429
KR
338 * config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
339 with te-delta.h in 8.3 file systems.
340 * configure.in: Adjusted.
341
aa8a6656
ILT
342Thu Nov 16 12:49:38 1995 Ian Lance Taylor <ian@cygnus.com>
343
880b7429
KR
344 * config/tc-mips.c (s_err): Remove; just use the one in read.c.
345
aa8a6656
ILT
346 * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
347 number.
348 * expr.c (operand): Handle MRI suffixes after unadorned 0.
349
7b889f5e
KR
350Thu Nov 16 00:21:44 1995 Ken Raeburn <raeburn@cygnus.com>
351
da9b55af
KR
352 Version 2.6 released.
353 * Makefile.in (VERSION): Updated to 2.6.
354
7b889f5e
KR
355 * config/obj-coff.c (write_object_file): Change use of md_do_align
356 to pass a pointer rather than a fill value, to match other uses.
357
46618ae6
KR
358Wed Nov 15 03:52:00 1995 Ken Raeburn <raeburn@cygnus.com>
359
7b889f5e
KR
360 * config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
361
46618ae6
KR
362 * as.c (main): Move md_end call to just after call to
363 perform_an_assembly_pass. Delete cpu-specific code here.
364 * config/tc-i960.h (md_end): New macro, calls brtab_emit.
365start-sanitize-rce
366 * config/tc-rce.c (md_end): Deleted.
367 * config/tc-rce.h (md_end): New macro, calls dump_literals.
368end-sanitize-rce
369 * config/tc-arm.c (md_end): Unused function deleted.
370 * config/tc-ns32k.c (md_end): Ditto.
371
372 * config/tc-i386.c (i386_align_code): New function, moved here
373 from HANDLE_ALIGN macro.
374 * config/tc-i386.h (HANDLE_ALIGN): Call it.
375
376 Mon Jul 31 14:53:19 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
377
378 * config/tc-i386.h (md_do_align): cast fill and 0x90 to char
379 before comparing
380
381 Mon May 1 10:91:49 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
382
383 * config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
384 multi-byte nops to avoid changing gcc. The necessary gcc change
385 might break old assemblers.
386
387 Sat Apr 22 20:53:05 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
388
389 * config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
390 generate optimal multi-byte nop instructions for ".align n"
391 ".align n,0x90", and aligns requiring more than 15 bytes of
392 padding still generate multiple 0x90's as before.
393
394Mon Nov 13 17:40:21 1995 Ian Lance Taylor <ian@cygnus.com>
395
396 * config/tc-m68k.c (s_mri_until): Call pop_mri_control.
397
51bc513e
SS
398Mon Nov 13 20:39:06 1995 Stan Shebs <shebs@andros.cygnus.com>
399
400 * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
401 * configure: Update.
402 * mpw-make.sed: Reorder commands to make sed happier.
403 * config/te-macos.h: New file.
404 * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
405
8b39c5df
JL
406Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com)
407
408 * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
409 conditional branches.
410 (md_apply_fix): Likewise.
411
412Thu Nov 9 16:14:01 1995 Ian Lance Taylor <ian@cygnus.com>
413
414 * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
415 generate a reloc which the linker will not handle correctly. Fix
416 overflow checking--R_IREL is 18 bits, not 17.
417
6a649eda
ILT
418Wed Nov 8 19:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
419
a071b8e9
ILT
420 * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
421 from a PC relative reloc if TC_A29K.
422
423 * config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
424 code depends upon it.
425
6a649eda
ILT
426 * config/tc-a29k.c (md_operand): Handle $float, $double, and
427 $extend. Based on code from Eric Freudenthal
428 <freudenthal@nyu.edu>.
429 * config/tc-a29k.h (LEX_DOLLAR): Define.
430 * read.c (LEX_DOLLAR): Define if not defined.
431 (lex_type): Use LEX_DOLLAR.
432
6364a188
ILT
433Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
434
435 * configure.in (a29k-nyu-sym1): New target, just like other a29k
436 targets.
437
0fa6f8f6
ILT
438Wed Nov 8 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
439
440 * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
441
442Tue Nov 7 09:14:35 1995 Kim Knuttila <krk@cygnus.com>
443
444 * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
445 used only by "dlltool.c".
446
eec2cfef
ILT
447Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com>
448
449 * config/tc-alpha.c: Undefine inline if not __GNUC__.
450 (md_pseudo_table): Don't define "extern".
451
df7504dc
ILT
452Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
453
a3d1c561
ILT
454 * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
455
df7504dc
ILT
456 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
457
07d012f6
ILT
458Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
459
36e80ac6
ILT
460 * macro.c (macro_expand_body): Don't warn about == with a
461 nonexistent parameter, in case it is in a comment field.
462
07d012f6
ILT
463 * as.c (main): On TC_A29K, call macro_init with macro_alternate
464 set to 1.
465 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
466 set, even if macro_alternate is set.
467 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
468 (sub_actual): If macro_strip_at, and kind is '@', don't look up
469 the token unless it ended in '@'.
470 * config/tc-a29k.c (line_separator_chars): Remove '@'.
471 * doc/c-a29k.texi: Document macro usage on A29K.
472
01f108bc
ILT
473Thu Nov 2 23:07:57 1995 Ian Lance Taylor <ian@cygnus.com>
474
475 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
476 signed word.
477 (install_operand): Likewise.
478
479 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
480
481Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
482
483 * configure.in (m88k-motorola-sysv*): New target.
484 * configure: Rebuild.
485 * config/te-delta88.h: New file.
486 * config/obj-coff.c (write_object_file): Use md_do_align if it is
487 defined.
488 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
489 (md_do_align): Define.
490 * config/tc-m88k.c: Include "subsegs.h".
491 (m88k_do_align): New function.
492
493 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
494 (COFF_NOLOAD_PROBLEM): Define.
495 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
496
7954cc14
KR
497Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
498
499 * config/tc-i386.c (md_assemble): For a jump instruction with
500 non-constant target, require 7 available bytes in the current
501 frag, not 6.
502
d033806f
FF
503Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
504
505 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
506 bfd/libelf.h.
507
d7b2038f
ILT
508Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
509
510 * configure.in (alpha-*-linux*): Use ecoff.
511 * configure: Rebuild.
512 * ecoff.c (ecoff_directive_extern): New function.
513 (ecoff_directive_weakext): New function.
514 (ecoff_build_symbols): Handle weak symbols.
515 (ecoff_setup_ext): Likewise.
59c80ca2 516 (ecoff_frob_symbol): Warn about weak common symbols.
d7b2038f
ILT
517 * ecoff.h (ecoff_directive_extern): Declare.
518 (ecoff_directive_weakext): Declare.
519 * symbols.c (S_IS_WEAK): New function.
520 * symbols.h (S_IS_WEAK): Declare.
521 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
522 "weakext".
523 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
524 (s_extern): Remove.
525
cbdf59ad
ILT
526Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
527
b629f627
ILT
528 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
529
7ab1edc8
ILT
530 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
531 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
532 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
533 * config/obj-coff.c (coff_frob_symbol): Don't call
534 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
535 one. If OBJ_XCOFF, try to figure out whether the symbol is going
536 to be dropped.
537
31751d9d
ILT
538 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
539 (ppc_stab_symbol): New static variable.
540 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
541 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
542 sy_tc.real_name to the stab string.
543 (ppc_bc, ppc_ec): New static functions.
544 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
545 do anything.
546 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
547 suffix.
0e3dd9a0
ILT
548 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
549 entries.
31751d9d 550
cbdf59ad
ILT
551 * input-scrub.c (input_scrub_push): Reset sb_index.
552
91123dbe
ILT
553Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
554
555 * listing.c (listing_newline): Don't create a frag in the absolute
556 section.
557
73255941
ILT
558Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
559
df72d2a5
ILT
560 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
561 (ppc_csect): Move most of the code to ppc_change_csect, and call
562 it.
563 (ppc_change_csect): New static function, taken from ppc_csect.
564 (ppc_section): New static function.
565 (ppc_saw_abs): New static varable.
566 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
567 a symbol has no csect.
568 (ppc_adjust_symtab): New function.
569 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
570 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
571
572 * write.c (write_object_file): If tc_adjust_symtab is defined,
573 call it just before the call to obj_adjust_symtab.
574
73255941
ILT
575 * symbols.c (symbol_find_or_make): Change name to be const.
576 * symbols.h (symbol_find_or_make): Update declaration.
577
9bfaf1b9
KR
578Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
579
580 * doc/as.texinfo (Align): Mention SH.
581 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
582 .align value.
583 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
584 (Z8000 Directives, even): Don't give numeric align value, instead
585 explain behavior.
586
ae143278
DE
587Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
588
589 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
590 instruction.
591
270433cc
PB
592Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
593
594 * Makefile.in (diststuff): Also make info.
595 (maintainer-clean realclean): Also make clean-info.
596
18a11401
JL
597Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
598
599 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
600 (pa_subspace): For ".nsubspa", always create a new subspace
601 with the given attributes, even if one already exists with the
602 same name.
603
96fe71e1
MM
604Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
605
606 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
607 TC_FORCE_RELOCATION, taking an additional section argument. If
608 the section of the target symbol is not the same as the current
609 section, always force the relocation to be used.
610 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
611
612 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
613 md_pcrel_from function, taking an additional section argument.
614 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
615
616 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
617 older TC_FORCE_RELOCATION if not defined.
618 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
619 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
620 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
621 TC_FORCE_RELOCATION.
622
1d75481b
KR
623Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
624
625 * input-scrub.c (as_where): Set name to null pointer if we don't
626 have a file name.
627 * messages.c (identify): Only print filename if non-null.
628 (as_show_where): Ditto, for line number too.
629 (as_warn_internal, as_bad_internal): Ditto.
630
631 * input-file.c (input_file_open): If the input file can't be
632 opened, consider it an error.
633
c625fc23
JSC
634Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
635
636 * config/tc-mips.c: Added mips_4100 control, and support for
637 accepting the 4100 as a MIPS architecture variant (md_begin,
638 macro_build, mips_ip, md_parse_option). Adding suitable
639 command-line OPTIONs, and updating the help text (md_show_usage).
640
dd1a5316
KR
641Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
642
c625fc23
JSC
643 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
644 BFD_ASSEMBLER is defined.
645
3366a224
KR
646 * Use one active frag and one obstack per frag chain:
647 * frags.c (frags): Variable deleted.
648 (frag_alloc): New function.
649 (frag_grow, frag_more, frag_variant, frag_now_fix,
650 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
651 frags variable.
652 (frag_new): Ditto. Verify that frch_last and frag_now match on
653 entry and exit, and that old frag_now has non-zero type. Replace
654 "know" uses with "assert". Use frag_alloc instead of mucking with
655 obstack alignment.
656 * frags.h (frags): Declaration deleted.
657 * subsegs.h (struct frchain): Add new field frch_frag_now.
658 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
659 variables.
660 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
661 give it any stricter alignment than frchainS structures need. Do
662 not initialize frags obstack. Set frag_now to point to
663 dummy_obstack. Initialize absolute_frchain.
664 (subseg_set_rest): Save and restore frag_now in frch_frag_now
665 field of frchainS. Don't create new frags on section switch, and
666 use frag_alloc when creating a new frag chain. For absolute
667 section, set frchain_now to absolute_frchain. Verify that
668 frch_last and frag_now match on entry and exit. Initialize
669 per-chain obstack, and under gcc, set required alignment to that
670 needed by fragS structure.
c625fc23 671
3366a224
KR
672 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
673
674 * stabs.c (get_stab_string_offset): Only copy input string if a
675 fresh copy is needed, not if the section already exists.
676 (s_stab_generic): Cache stab section name to bypass lookups, since
677 usually it will match. Could be made faster still by changing the
678 memory allocation rules.
679 (s_xstab): Cache section name to bypass repeated string
680 allocation.
681
682 * frags.c (frag_new): Deleted register declarations.
683
684 * listing.c (frag_now): Don't declare.
685
686 * as.c (chunksize): New variable.
687 (debug_memory): New variable.
688 (main): If debug_memory is set, reduce chunksize and
689 _bfd_chunksize.
690 * as.h (chunksize): Declare it.
691 * read.c (read_begin): Use it.
692
de5ebe2e
KR
693 * config/tc-alpha.c (md_shortopts): Include 'g'.
694 (md_parse_option): Ignore it.
695
dd1a5316
KR
696 * Makefile.in (distclean): Remove Makefile and config.status from
697 testsuite directory.
698 (clean-here): Don't delete testsuite. Instead, delete only the
699 files within it that would be generated by running tests.
700
de5ebe2e
KR
701 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
702 frag_now_fix instead of accessing obstack info directly.
703 * config/tc-arm.c (s_ltorg): Ditto.
704 (md_assemble): Ditto.
705
706 * config/tc-i386.c (md_assemble): Call frag_grow instead of
707 obstack_room.
708
625f4e48
KR
709Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
710
711 * stabs.c (aout_process_stab): Insert debug symbol into symbol
712 chain after parsing value expression, if any, to avoid separating
713 continued .stabs lines.
714
33a8c1b6
ILT
715Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
716
717 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
718 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
719
b6b8f911
MM
720Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
721
625f4e48
KR
722 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
723 -mcom support and PPC_OPCODE_ANY for -many.
724 (md_parse_option): Ditto.
725 (ppc_arch): Ditto.
726 (md_begin): For duplicate instructions, print all duplicates
727 before aborting.
b6b8f911 728
4c2935f4
MM
729Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
730
731 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
732 common mode operation.
733 (md_show_usage): Add -mcom to usage message.
4c2935f4
MM
734
735Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
736
737 * expr.c (op_rank): Add O_symbol_rva.
738 * expr.h (operatorT): Add O_symbol_rva.
739 * read.c (cons_worker): Set O_symbol_rva when necessary.
740 * write.c (fix_new_exp): Understand O_symbol_rva.
741
7db865dc
ILT
742Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
743
744 * config/tc-mips.c: Correct s_cons arguments. From Michael
745 Joosten <joost@ori.cadlab.de>.
746
1b13e6fc
ILT
747Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
748
749 * config/tc-ppc.c (ppc_macro): Make count unsigned.
750 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
751 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
752 the fix_line field.
753 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
754 make non-static. Change all users.
755 * config/obj-coff.h (coff_n_line_nos): Declare.
756
9e3e3d4c
KR
757Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
758
759 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
760
761 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
762
763 * config/obj-elf.c (obj_elf_common): Convert specified byte
764 alignment to power of two. Set size of local bss symbol.
765
766 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
767
13a6c753
ILT
768Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
769
770 * sb.c, macro.c: Decide whether to include <string.h> or
771 <strings.h> just as as.h does.
772
a75aafcd
DE
773Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
774
775 * Makefile.in (site.exp): Fix setting of $srcdir.
776
777 * config/tc-arm.c (md_atof): Fix little-endian output.
f6ec8c46
DE
778 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
779 all coff targets.
a75aafcd 780
d89861c7
KR
781Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
782
4d2ba393
KR
783 * doc/as.texinfo: Split out the NS32k family documentation,
784 despite its being commented out for now.
785 * doc/c-ns32k.texi: New file.
786
2c5eb48d
KR
787 * sb.c, macro.c: Include string.h.
788
6b0a6eaa
KR
789 * Makefile.in (comparison): Only check *.o; we don't care if
790 timestamps inserted by the native linker differ.
791
d89861c7
KR
792 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
793 if alignment stricter than 4 bytes is requested; in that case,
794 align to a 4-byte boundary first.
795
70aeac05
KR
796 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
797
798 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
799 uninitialized" warning for `Max_Source_Offset'.
800
eaaa2a42
KK
801Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
802
803 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
804 qualifiers and detect errors if present.
805 (md_assemble): Add call to parse_toc_entry. Also added some support
806 for the [tocv] qualifier.
807 (ppc_pe_tocd): New function to support data in the toc section.
808
cd557d83
ILT
809Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
810
811 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
812 an absolute symbol.
813
42ac8fa8
ILT
814Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
815
01f108bc 816 * config/tc-m68k.c (isword): Accept all values from -65536 to
cd557d83
ILT
817 +65535, so ~VAL will not be rejected.
818
42ac8fa8
ILT
819 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
820 skip characters after the pseudo-op.
821 (s_else): Likewise.
822 * read.c (get_line_sb): Don't look past buffer_limit.
823 (s_include): In MRI mode, skip characters after the file name.
824
eef66934
ILT
825Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
826
827 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
828 periods in register names.
829
cdc49cba 830For older changes see ChangeLog.1.
This page took 0.095682 seconds and 4 git commands to generate.