Initial import from FreeBSD RELENG_4:
[dragonfly.git] / gnu / usr.bin / as / ChangeLog
1 Sun Mar  1 17:02:06 1992  K. Richard Pixley  (rich@cygnus.com)
2
3         * README: updated to 1.92.3, included mail announcement.
4
5 Sat Feb 29 00:53:16 1992  K. Richard Pixley  (rich@cygnus.com)
6
7         * tc-sparc.c (md_apply_fix): relocation overflow checks.
8
9         * atof-generic.c (atof_generic): recognize 99e999 as infinity for
10           older, broken, compilers.
11
12         * version.c: bump to 1.92.3, drop "Cygnus".
13
14         * input-scrub.c (as_where): use myname (which comes from argv[0])
15           as part of all error messages.
16
17         * mess-dose renaming:
18           flonum-copy.c -> flo-copy.c 
19           flonum-const.c -> flo-const.c
20           config/a.out.gnu.h -> config/aout.h
21           config/coff.gnu.h -> config/coff.h
22
23         * Makefile.in, obj-aout.h, obj-coff.h: reflect file renaming.
24
25         * output-file.c (output_file_create): add "b" to the fopen to
26           humor mess-dos.
27
28         * configure.in: tahoe needs atof-tahoe.
29
30         * config/tc-tahoe.[hc], config/atof-tahoe.c, opcode/tahoe.h: new
31           files.  This is kinda blind cause I don't have anything to run
32           through it or compare against.
33
34         * read.c (read_a_source_file), expr.c (operand): fix a very old
35           bug in label reading exposed by m88k.  Also, m88k can't have a
36           pseudo "set".
37
38         * config/m88k.[hc]: freshen copyrights, version 2 gpl, update to
39           current gas.
40
41         * config/m88k-opcode.h moved to opcode/m88k.h
42
43         * read.c: NO_DOT_PSEUDOS from hacks unfinished work.
44
45         * opcode/m68k.h: Sun's JFcc aliases appear to be variable length.
46           Make them so.
47
48         * opcode/a29k.h: remove rcsid.
49
50         * config/te-sun3.h: remove semicolon typo.
51
52         * config/obj-vms.c: another patch from eric youngdale.
53
54         * write.c: white space only.
55
56         * config/tc-i960.c: change from intel for header flags.
57
58         * config/te-sequent.h, config/obj-aout.h: first cut at building
59           sequent headers.
60
61         * config/tc-ns32k.c: patches from Jyrki Kuoppala <jkp@cs.hut.fi>.
62
63         * struct-symbol.h: removed redundant decl of N_TYPE_seg.
64
65         * config/tc-sparc.c (sparc_ip), opcode/sparc.h: changes from chris
66           torek to correct a problem with "neg".  some white space.
67
68         * confic/tc-m68k.c: a fix pulled from hack's unfinished work and
69           my mail archives.  Try again to get pcrel working.  Fix stupid
70           botch on cpu_type comparison.
71
72         * config/tc-sparc.c: .empty pseudo-op from
73           gordoni@cs.adelaide.edu.au.
74
75         * opcode/sparc.h: some new aliases from chris torek.
76
77         * opcode/i386.h: some new aliases and opcodes.  also patches from
78           Steve Bleazard <steve@robobar.co.uk>.
79
80         * config/te-hpux.h: new file.
81
82         * configure.in: when targetting hpux, use te-hpux.h.
83
84         * config/obj-aout.c (obj-pre-write-hook), config/obj-bout.[ch]
85           (obj-pre-write-hook), config/obj-coff.[ch] (obj-pre-write-hook),
86           config/obj-generic.h, config/obj-vms.h, write.c
87           (write_object_file): move magic number fiddling out of write.c
88           and into obj-pre-write-hook.
89
90         * config/tc-i860.c: gcc -Wall cleanup.
91
92 Fri Feb 28 00:30:36 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
93
94         * configure.in: if target is sun3, use te-sun3.h.
95
96         * config/tc-m68k.h, config/te-sun3.h: moved #define of
97           default_magic_number_for_object_file from former to latter.
98
99         * config/te-sun3.h: removed sun_asm_syntax and te_sun3, they
100           aren't used.
101
102         * all: white space changes.
103           " -> " becomes "->"
104           "foo [" becomes "foo["
105           "a . b" becomes "a.b"
106           "\(if\|for\|while\|switch\)(" become "\\1("
107           "\\([^\n]\\)[ \t]*\\([=!+-*/<>]\\)=[ \t]*" become "\\1 \\2= "
108
109         * read.c, write.c, config/tc-i386.c: white space and comments
110           only.
111
112         * config/obj-vms.c: convert PUT_LONG and PUT_SHORT to squirt byte
113           swapped numbers.
114
115         * as.c, flonum-const.c, hex-value.c, input-file.c, version.c,
116           config/obj-aout.h, config/obj-vms.c: VMS -> HO_VMS.
117
118         * config/ho-vms.h: added HO_VMS.
119
120 Thu Feb 27 18:25:11 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
121
122         * config/ChangeLog: removed.  entries merged into this file.
123
124         * config/ho-vms.h: new file.  Move the VMS stuff out of ho-vax.h
125           into ho-vms.h.
126
127         * configure.in: use ho-i386v4 for i386-sysvr4.
128
129         * config/ho-i386v4: new file.
130
131 Tue Feb 25 19:54:04 1992    (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
132
133         * config/obj-vms.c (VMS_write_object_file): Add work-around
134           for g++ compiler bug involving external vtables.
135
136 Mon Feb 24 22:19:10 1992    (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
137
138         * README-vms: Describe how to get a VMS obj file to a vms machine 
139         via NFS.
140
141         * configure.in: For i386-sysv*, use gas_host=i386.
142
143         * Makefile.in: Remove continuation line markers when the next line 
144         is blank.
145
146         * read.c (line_comment_chars): Make external.
147
148         * input-file.c: Remove redundant include of <assert.h>.
149
150         * config/ho-vax.h [VMS]: Include <ctype.h> and <perror.h>.
151
152         * config/obj-vms.h: Remove said includes.  Add RELOC_32 to
153         reloc_type to prevent compilation error.
154
155         * config/obj-vms.c: Change bcopy to memcpy throughout.
156           (VMS_local_stab_Parse): Fix typo.
157           (VMS_local_stab_Parse, VMS_RSYM_Parse, Define_Local_Symbols, 
158            Define_Routine, VMS_write_object_file): Allow 'f' for functions
159            as well as 'F'.
160
161 Mon Feb 24 03:48:04 1992  K. Richard Pixley  (rich@cygnus.com)
162
163         * README: updated to reflect current testing status.
164
165         * README.rich, NOTES, NOTES.config: updated slightly, marked as
166           "under construction".
167
168         * CONTRIBUTORS: new file.
169
170         * README-vms: options to configure are now -options=, not
171           +options=.
172
173         * version.c: bumped version to 1.92.2.
174
175 Mon Feb 24 03:27:00 1992  Eric Youngdale (youngdale at v6550c.nrl.navy.mil)
176
177         * config.sub: Added vms as a target system. (So people do not
178           have to try to figure out that "vax-dec-vms" would work).
179
180         * configure.in: Added vms as a target os, and object file format.
181           (Useless on a vms system, but this is for people who want to
182           cross assemble).
183
184         * config-gas.com: New file.  Script for VMS systems to set up the
185           configuration to build gas for VMS, and create config.status.
186
187         * make-gas.com: Redone to work with the bfd-gas scheme.
188
189         * as.c: Add const modifier to version_string.
190
191         * atof-vax.c: Remove redundant include of flonum.h.  (This is also
192           included via as.h).
193
194         * expr.c: Add "const" modifier to hex_value.
195
196         * read.c: Add "const" modifier to line_comment_chars, and 
197           line_separator_chars.  Make use of the -1 switch for backward
198           compatibility with gcc 1.nn.
199           (s_ignore): remove redundant declaration of is_end_of_line.
200
201         * symbols.c: Finish conversion to S_* macros in the VMS only
202           parts of the program.  Add "const" modifier to
203           md_[long,short]_jump_size. Remove declaration of const_flag
204           (which will be declared in obj-vms.h).
205
206         * write.c: Add "const" modifier to md_[long,short]_jump_size.
207           Fix arguments to VMS_write_object_file.
208
209         * obj-vms.h: New file (sort of). Mostly canibalized from other
210           files, using:
211
212           - objrecdef.h: Removed structure definition that we do not use,
213             and removed dollar signs from identifiers, since Unix System 5
214             does not like them.
215
216           - obj-aout.h:  Took S_*, some H_* macros, and a number of
217             symbol definitions.
218
219           - a.out.hp.h:  Took nlist structure.  We do not really use this
220             per se, but it is easiest to let gas think that we do.  When we
221             write the object file, we just pick out the parts that we need.
222
223           - stab.h: Just included it, since on non VMS and non a.out systems
224             we have no guarantee of having it. (Define N_* symbols).
225
226         *obj-vms.c: Renamed from vms.c.  Did the following:
227
228           - Reworked to use the S_* macros.
229
230           - Add "const" modifier to version_string.
231
232           - Added global[ref,def,value] support
233
234           - (VMS_Store_PIC_Symbol_Reference):fix a bug with static constants.
235
236           - Remove a few redunant includes - all are now included through as.h.
237
238           - (obj_crawl_symbol_chain): Clean up (a lot), and remove non-VMS
239             code.  Add definition for obj_read_begin_hook.
240
241           - Borrow the stab[s,d,n] routines from obj-aout.c.  
242
243           - Borrow the seg_N_TYPE and N_TYPE_seg arrays from aout.c
244
245           - Use <fab.h>,<rab.h> and <xab.h> instead of <vms/fabdef.h>
246             <vms/rabdef.h> and <vms/xabdef.h>, for more consistent results.
247             (Some peoples <vms/*.h> files are different than others).
248
249           - Merged vms-dbg.c into obj-vms.c.  Modified to use 
250             the S_* macros.  Added code to remove the psect hack from
251             variable names before writing them to the debugger records.
252
253
254
255           The following patches make cross assembly possible.
256
257         * as.c, read.c, symbols.c, write.c: Change "ifdef VMS" to
258           "ifdef OBJ_VMS".
259
260         * vms.c:
261
262           - Wrap the #include of some VMS system dependent headers
263             with "ifdef VMS".
264
265           - (get_VMS_time_on_unix): Add new routine.  Generates current
266             time in VMS format to be written into object file.
267
268           - (Write_VMS_MHD_Records): Use get_VMS_time_on_unix if we are not
269             running on a VMS system.
270
271           - (Flush_VMS_Object_Record_Buffer): Add code to write correct
272             record format when running on a non-VMS system.
273
274           - (Create_VMS_Object_File): Use different mode if running under
275             unix.
276
277           - (VMS_TBT_Source_File): If we are not running on a VMS system,
278             write a source file record for the debugger that looks reasonable.
279
280 Mon Feb 24 02:06:00 1992  K. Richard Pixley  (rich@cygnus.com)
281
282         * Makefile.in: remove $(srcdir)/../include from INCLUDES.  It
283           isn't needed.
284
285         * README: updated with current state.
286
287         * read.c (stringer): read arbitrary expressions between the commas
288           and treat them as ".byte" values.  At least some i860 assembler
289           does this so now we do too.  Also white space throughout.
290
291         * expr.c, expr.h, frags.c, symbols.c, write.c: white space only.
292
293 Mon Feb 24 01:45:40 1992  K. Richard Pixley  (rich@cygnus.com)
294
295         * config/te-sequent.h, config/tc-ns32k.h, config/tc-ns32k.c:
296           SEQUENT_COMPATIBILITY -> TE_SEQUENT.
297
298         * config/obj-aout.c: if OLD_GAS and i386, then screw up the magic
299           number.
300
301         * config/obj-bout.c: do not include aout/stab_gnu.h if NO_LISTING.
302
303         * config/obj-bout.h: added enum reloc_type.
304
305         * config/tc-i386.c: on OLD_GAS, .align is power of two, rather
306           than bytes.
307
308         * config/tc-i386.h: on OLD_GAS, the filler byte should be zero
309           rather than NOOP.
310
311         * config/tc-i860.c: relocs are 12bytes on this target.  Also white
312           space.
313
314         * config/tc-m68kmote.c: removed.  Not ready yet.
315
316         * config/a.out.gnu.h, config/tc-a29k.c, config/tc-m68k.c,
317           config/tc-ns32k.c: white space only.
318
319         * config/tc-a29k.h, config/tc-i860.h, config/tc-i960.h,
320           config/tc-m68k.h, config/tc-ns32k.h, config/tc-sparc.h,
321           config/tc-vax.h: NO_LISTING
322
323         * config/tc-m68k.h, config/tc-i860.h, config/tc-vax.h:
324           REVERSE_SORT_RELOCS if OLD_GAS.
325
326         * config/mt-m68k: removed.  not needed.
327
328 Fri Feb 21 06:22:15 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
329
330         * config/obj-aout.c: do not include stab.gnu.h if NO_LISTING.
331
332         * config/tc-i860.c, config/a.out.gnu.h: move i860 relocs to a proper place.
333
334         * config/a.out.h: removed.
335
336 Fri Feb 21 06:21:07 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
337
338         * Makefile.in: put header files before C source for TAGS; remove
339           references to non-existent syscalls.h.
340
341         * read.c, write.c subsegs.c: back out the .bss changes.
342
343 Fri Feb 21 02:17:22 1992  Minh Tran-Le (TRANLE@INTELLICORP.COM)
344
345         * config/tc-i386.c: config/tc-i386.c: added handling of the
346           following opcodes: i/o opcodes - inb, inw, outb and outw.
347           string manipulation with att syntax - scmp, slod, smov, ssca,
348           ssto.
349
350 Fri Feb 21 01:53:50 1992  Minh Tran-Le (TRANLE@INTELLICORP.COM)
351
352         * config/obj-coff.c: (for aix386) Moved the symbols .text, .data
353           and .bss to just after .file .
354
355           In obj_crawl_symbol_chain() where it tries to put the external
356           symbols apart, with the condition:
357             (!S_IS_DEFINED(symbolP) &&
358              !S_IS_DEBUG(symbolP) &&
359              !SF_GET_STATICS(symbolP))
360           it was moving too many symbols out. So I switch it back to the
361           condition:
362             (S_GET_STORAGE_CLASS(symbolP) == C_EXT && !SF_GET_FUNCTION(symbolP))
363
364           In obj_emit_relocations() added the conditional on KEEP_RELOC_INFO
365           so that we don't use the F_RELFLG which make the linker complain
366           that somebody has stripped the relocation info.
367
368           Also, the AIX ld program require that the relocation table
369           is sorted by r_vaddr like the standard ATT assembler does.
370
371           [he also changed the sizeof(struct ...)'s into the coff
372           style FOOSZ macros.  I'm not sure this is right, but I can't
373           remember why.  xoxorich.]
374
375 Fri Feb 21 01:08:48 1992  Minh Tran-Le (TRANLE@INTELLICORP.COM)
376
377         * symbols.c (local_label_name): symbols now start with ^A.
378
379         * read.c, subsegs.c, write.c obj-coff.c: added handling of
380           `.bss` pseudo op for unitialized data. The new gcc (1.37.9x)
381           generate these sections.  .align: will use NOP_OPCODE or 0
382           for padding. This is just for being nice to the
383           disassembler.
384
385         * expr.c (operand): changed to generate local label "\001L0"
386           starting with a ^A so that it is recognized as a local label.
387
388         * as.c (perform_an_assembly_pass): zero bss_fix_root, too.
389
390 Fri Feb 21 01:08:48 1992  K. Richard Pixley  (rich@cygnus.com)
391
392         * Makefile.in, configure.in, doc: use the doc.  Build it, install
393           it, clean it, etc.
394
395 Tue Feb 18 02:21:25 1992  K. Richard Pixley  (rich at cygnus.com)
396
397         * read.c: white space and comments only.
398
399         * configure.in: use the new atof-ns32.c for ns32k.
400
401         * write.c: comment change only.
402
403 Tue Feb 18 02:11:10 1992  K. Richard Pixley  (rich at cygnus.com)
404
405         * config/tc-m88k.[hc]: pulled in from hack's unfinished work.  These
406           aren't yet integrated.
407
408         * config/tc-i860.[hc]: blew off the dust.  Something must still be
409           done about conflicting relocation types.
410
411         * config/tc-ns32k.c: Replaced previous tc_aout_fix_to_chars stub
412           with the real thing.
413
414         * config/tc-i960.c, tc-sparc.c: white space and comments only.
415
416         * config/tc-a29k.h: delete duplicate macro definition.
417
418         * new file config/atof-ns32k.c copied from hack's last unreleased
419           gas.
420
421 Mon Feb 17 07:51:06 1992  K. Richard Pixley  (rich at cygnus.com)
422
423         * config/tc-ns32k.c: actually make tc_aout_fix_to_chars work
424           rather than abort.
425                                        
426         * nearly everything.  flush ChangeLog, package as gas-1.92.1.
427           ChangeLog's prior to this are sketchy at best.  I have logs.
428           They just aren't ChangeLogs.
429