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