changes for input file open error, not printing filename when not available
[external/binutils.git] / gas / ChangeLog
1 Mon Oct 23 16:20:04 1995  Ken Raeburn  <raeburn@cygnus.com>
2
3         * input-scrub.c (as_where): Set name to null pointer if we don't
4         have a file name.
5         * messages.c (identify): Only print filename if non-null.
6         (as_show_where): Ditto, for line number too.
7         (as_warn_internal, as_bad_internal): Ditto.
8
9         * input-file.c (input_file_open): If the input file can't be
10         opened, consider it an error.
11
12 Mon Oct 23 11:15:44 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
13
14         * config/tc-mips.c: Added mips_4100 control, and support for
15         accepting the 4100 as a MIPS architecture variant (md_begin,
16         macro_build, mips_ip, md_parse_option). Adding suitable
17         command-line OPTIONs, and updating the help text (md_show_usage).
18         
19 Wed Oct 18 13:20:32 1995  Ken Raeburn  <raeburn@cygnus.com>
20
21         * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
22         BFD_ASSEMBLER is defined.
23
24         * Use one active frag and one obstack per frag chain:
25         * frags.c (frags): Variable deleted.
26         (frag_alloc): New function.
27         (frag_grow, frag_more, frag_variant, frag_now_fix,
28         frag_append_1_char): Refer to frchain_now->frch_obstack instead of
29         frags variable.
30         (frag_new): Ditto.  Verify that frch_last and frag_now match on
31         entry and exit, and that old frag_now has non-zero type.  Replace
32         "know" uses with "assert".  Use frag_alloc instead of mucking with
33         obstack alignment.
34         * frags.h (frags): Declaration deleted.
35         * subsegs.h (struct frchain): Add new field frch_frag_now.
36         * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
37         variables.
38         (subsegs_begin): Initialize frchains obstack.  Under gcc, don't
39         give it any stricter alignment than frchainS structures need.  Do
40         not initialize frags obstack.  Set frag_now to point to
41         dummy_obstack.  Initialize absolute_frchain.
42         (subseg_set_rest): Save and restore frag_now in frch_frag_now
43         field of frchainS.  Don't create new frags on section switch, and
44         use frag_alloc when creating a new frag chain.  For absolute
45         section, set frchain_now to absolute_frchain.  Verify that
46         frch_last and frag_now match on entry and exit.  Initialize
47         per-chain obstack, and under gcc, set required alignment to that
48         needed by fragS structure.
49
50         * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
51
52         * stabs.c (get_stab_string_offset): Only copy input string if a
53         fresh copy is needed, not if the section already exists.
54         (s_stab_generic): Cache stab section name to bypass lookups, since
55         usually it will match.  Could be made faster still by changing the
56         memory allocation rules.
57         (s_xstab): Cache section name to bypass repeated string
58         allocation.
59
60         * frags.c (frag_new): Deleted register declarations.
61
62         * listing.c (frag_now): Don't declare.
63
64         * as.c (chunksize): New variable.
65         (debug_memory): New variable.
66         (main): If debug_memory is set, reduce chunksize and
67         _bfd_chunksize.
68         * as.h (chunksize): Declare it.
69         * read.c (read_begin): Use it.
70
71         * config/tc-alpha.c (md_shortopts): Include 'g'.
72         (md_parse_option): Ignore it.
73
74         * Makefile.in (distclean): Remove Makefile and config.status from
75         testsuite directory.
76         (clean-here): Don't delete testsuite.  Instead, delete only the
77         files within it that would be generated by running tests.
78
79         * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
80         frag_now_fix instead of accessing obstack info directly.
81         * config/tc-arm.c (s_ltorg): Ditto.
82         (md_assemble): Ditto.
83
84         * config/tc-i386.c (md_assemble): Call frag_grow instead of
85         obstack_room.
86
87 Wed Oct 18 12:22:59 1995  Ken Raeburn  <raeburn@cygnus.com>
88
89         * stabs.c (aout_process_stab): Insert debug symbol into symbol
90         chain after parsing value expression, if any, to avoid separating
91         continued .stabs lines.
92
93 Mon Oct 16 10:56:41 1995  Ian Lance Taylor  <ian@cygnus.com>
94
95         * config/tc-mips.c (mips_elf_pseudo_table): Remove.
96         (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
97
98 Mon Oct 16 07:07:37 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
99
100         * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
101         -mcom support and PPC_OPCODE_ANY for -many.
102         (md_parse_option): Ditto.
103         (ppc_arch): Ditto.
104         (md_begin): For duplicate instructions, print all duplicates
105         before aborting.
106
107 Sun Oct 15 22:06:14 1995  Michael Meissner  <meissner@cygnus.com>
108
109         * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
110         common mode operation.
111         (md_show_usage): Add -mcom to usage message.
112
113 Fri Oct 13 13:32:45 1995  steve chamberlain  <sac@slash.cygnus.com>
114
115         * expr.c (op_rank): Add O_symbol_rva.
116         * expr.h (operatorT): Add O_symbol_rva.
117         * read.c (cons_worker): Set O_symbol_rva when necessary.
118         * write.c (fix_new_exp): Understand O_symbol_rva.
119
120 Tue Oct 10 11:34:14 1995  Ian Lance Taylor  <ian@cygnus.com>
121
122         * config/tc-mips.c: Correct s_cons arguments.  From Michael
123         Joosten <joost@ori.cadlab.de>.
124
125 Mon Oct  9 19:59:53 1995  Ian Lance Taylor  <ian@cygnus.com>
126
127         * config/tc-ppc.c (ppc_macro): Make count unsigned.
128         (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
129         (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
130         the fix_line field.
131         * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
132         make non-static.  Change all users.
133         * config/obj-coff.h (coff_n_line_nos): Declare.
134
135 Fri Oct  6 16:24:27 1995  Ken Raeburn  <raeburn@cygnus.com>
136
137         Mon Sep 25 22:49:32 1995  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
138
139         * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
140
141         * config/obj-elf.c (obj_elf_common): Convert specified byte
142         alignment to power of two.  Set size of local bss symbol.
143
144         * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
145
146 Fri Oct  6 15:22:25 1995  Ian Lance Taylor  <ian@cygnus.com>
147
148         * sb.c, macro.c: Decide whether to include <string.h> or
149         <strings.h> just as as.h does.
150
151 Fri Oct  6 09:55:33 1995  Doug Evans  <dje@canuck.cygnus.com>
152
153         * Makefile.in (site.exp): Fix setting of $srcdir.
154
155         * config/tc-arm.c (md_atof): Fix little-endian output.
156         * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
157         all coff targets.
158
159 Thu Oct  5 20:17:30 1995  Ken Raeburn  <raeburn@cygnus.com>
160
161         * doc/as.texinfo: Split out the NS32k family documentation,
162         despite its being commented out for now.
163         * doc/c-ns32k.texi: New file.
164
165         * sb.c, macro.c: Include string.h.
166
167         * Makefile.in (comparison): Only check *.o; we don't care if
168         timestamps inserted by the native linker differ.
169
170         * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
171         if alignment stricter than 4 bytes is requested; in that case,
172         align to a 4-byte boundary first.
173
174         Thu Sep 28 19:35:27 1995  Pat Rankin  <rankin@eql.caltech.edu>
175
176         * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
177         uninitialized" warning for `Max_Source_Offset'.
178
179 Wed Oct  4 16:17:02 1995  Kim Knuttila  <krk@cygnus.com>
180
181         * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
182         qualifiers and detect errors if present.
183         (md_assemble): Add call to parse_toc_entry. Also added some support
184         for the [tocv] qualifier.
185         (ppc_pe_tocd): New function to support data in the toc section.
186
187 Wed Oct  4 14:03:39 1995  Ian Lance Taylor  <ian@cygnus.com>
188
189         * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
190         an absolute symbol.
191
192 Tue Oct  3 12:18:19 1995  Ian Lance Taylor  <ian@cygnus.com>
193
194         * config/tc-m68k.c (isbyte): Accept all values from -65536 to
195         +65535, so ~VAL will not be rejected.
196
197         * cond.c (s_endif): Call demand_empty_rest_of_line.  In MRI mode,
198         skip characters after the pseudo-op.
199         (s_else): Likewise.
200         * read.c (get_line_sb): Don't look past buffer_limit.
201         (s_include): In MRI mode, skip characters after the file name.
202
203 Mon Oct  2 16:15:27 1995  Ian Lance Taylor  <ian@cygnus.com>
204
205         * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
206         periods in register names.
207
208 For older changes see ChangeLog.1.