Annotation of binutils/ChangeLog, revision 1.1.1.1

1.1       root        1: Thu Dec 29 01:48:03 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
                      2: 
                      3:        * ld.c, ar.c: Don't define COFF_ENCAPSULATE automatically.
                      4:        The recommended Makefile change defines it.
                      5: 
                      6:        * ld.c (alloca): If compiling with GCC, use __builtin_alloca.
                      7: 
                      8:        * robotussin.c: New reformatted version with all variables renamed.
                      9: 
                     10:        * ranlib.c: New file, just runs `ar rs' on each specified file.
                     11:        * Makefile: Special hack to tell ranlib where to find GNU ar.
                     12:        (LIBS): Recommend -lPW on USG; ld needs it for alloca (if not GCC).
                     13: 
                     14: Sat Dec 24 13:59:09 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
                     15: 
                     16:        * ld.c (error): Start with name of program running.
                     17:        (main): Set `progname' to that name.
                     18:        (digest_symbols): Fix punctuation and spelling in calls to `error'.
                     19: 
                     20: Tue Dec 20 21:49:46 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
                     21: 
                     22:        * robotussin.c (INPUT_MAGIC): New macro, has the magic number
                     23:        to expect in input files.
                     24:        (nounderscore): New macro; as in ld, define it to inhibit
                     25:        adding underscore to symbols.
                     26: 
                     27:        * Makefile: Don't compile objdump on BSD; N_DATADDR causes trouble.
                     28: 
                     29: Tue Dec 20 14:57:38 1988  Pace Willisson  (pace at prep.at.mit.edu)
                     30: 
                     31:        * objdump.c: New program like the system 5 'dump' program.
                     32:        Documentation will follow...
                     33: 
                     34:        * Makefile: Set up CFLAGS for USG systems.  Added target
                     35:        libc.a to do robotussin conversion.  Added objdump.
                     36: 
                     37:        * libconvert: Wrote shell script to do robotussin conversion.
                     38: 
                     39:        * ar.c, ld.c: Don't define COFF_ENCAPSULATE if it is already defined.
                     40: 
                     41:        * ld.c: If i386, set a_machtype to M_386.  Use a_flags instead
                     42:        of a_encap.  Don't compute coff header if it isn't going to
                     43:        get written out.
                     44: 
                     45:        * robotussin.c: Define COFF_ENCAPSULATE. Include a.out.encap.h
                     46:        instead of a.out.h.  Check magic number of input
                     47:        file.  Skip over optional header, if present.  Don't ignore
                     48:        symbols with aux entries (they could be function definitions),
                     49:        instead, ignore symbols beginning with '.' (.text, etc).
                     50:        Don't prepend underscore to externals, since gcc doesn't do
                     51:        it now.  Don't run past the end of symbols that are exactly
                     52:        eight characters long.  Always write the string table size,
                     53:        even if it is empty.  Change relocation types handled from
                     54:        R_PCRBYTE, etc, to R_DIR32 and R_PCRLONG (these are the
                     55:        only two emitted by the system 5 assembler.)
                     56: 
                     57:        * size.c: Include <sys/types.h> so including sys/file.h will
                     58:        not get an error on USG systems.  Include fcntl.h on usg systems.
                     59: 
                     60:        * strip.c: Move inclusion of file.h to after types.h.  Include
                     61:        fcntl.h.  Add defintion of rename.
                     62: 
                     63: Fri Dec 16 13:55:11 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
                     64: 
                     65:        * size.c: Delete all ROBOTUSSIN conditionals and contents.
                     66:        Change SYSV conditionals to USG.
                     67:        COFF_ENCAPSULATE conditionals for headers.
                     68:        (do_one_file, read_header): Skip encapsulation headers if any.
                     69: 
                     70:        * strip.c: Delete all ROBOTUSSIN conditionals and contents.
                     71:        Change SYSV conditionals to USG.
                     72:        COFF_ENCAPSULATE conditionals for headers.
                     73:        (file_open, read_header): Skip encapsulation headers if any.
                     74: 
                     75:        * strip.c: Change most fatal errors to nonfatal.
                     76:        (file_open, read_header, read_{file,entry}_symbols):
                     77:        Now return 0 for success, -1 for failure.
                     78:        Failure means do no more for the current file.
                     79:        (modify_relocation): Now just warn if strip a symbol needed
                     80:        for relocation, and warn only once per file.
                     81:        (error_with_file): New function, replaces most fatal_with_file.
                     82:        Print filename first, as in most programs.
                     83:        (fatal_with_file): Deleted.
                     84:        (rewrite_file_symbols): Use perror_file when system call fails.
                     85: 
                     86: Tue Dec 13 17:16:39 1988  Jay Fenlason  (hack at apple-gunkies.ai.mit.edu)
                     87: 
                     88:        * ar.c:  Changed pad character after odd-length archive member
                     89:        from \0 to \n so archives can be cmp'd with the output from /bin/ar
                     90:        Added fix for when ranlib is using ar to insert an __.SYMDEF member
                     91: 
                     92: Tue Dec 13 09:09:27 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
                     93: 
                     94:        * ar.c: conditional #includes for USG.
                     95:        * COFF_ENCAPSULATE conditionals for headers.
                     96:        (extract_member): Don't do fchmod if USG.
                     97:        Alternate USG code to set modtimes of extracted members.
                     98:        (write_archive): Don't do fsync if USG.
                     99:        (make_new_symdefs): Skip encapsulation headers if any.
                    100:        [USG] (bcopy, bzero, bcmp): New fns.
                    101: 
                    102:        * nm.c: Delete all ROBOTUSSIN conditionals and contents.
                    103:        Include types.h.
                    104:        Change SYSV conditionals to USG.
                    105:        * COFF_ENCAPSULATE conditionals for headers.
                    106:        (do_one_file): Skip encapsulation headers if any.
                    107:        (read_header): Likewise.
                    108: 
                    109:        * ld.c: Delete all ROBOTUSSIN conditionals and contents.
                    110:        Change SYSV conditionals to USG.
                    111:        Change HEADER_TYPE back to `struct exec'.
                    112:        (L_SET): Define it if headers don't.
                    113:        * COFF_ENCAPSULATE conditionals for headers.
                    114:        (main): Update text_size differently if encapsulating.
                    115:        (write_header): Write the encapsulation headers if nec.
                    116:        Don't end with padding if encapsulation being done.
                    117:        [USG] (bzero, bcopy, getpagesize): New fns.
                    118: 
                    119: Tue Dec  6 13:26:56 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
                    120: 
                    121:        * ld.c (do_file_warnings): Ignored text relocation entries that
                    122:        went through local symbols; any problems with lack of definitions
                    123:        etc. with them would have been caught by the compiler.
                    124: 
                    125: Mon Dec  5 16:13:22 1988  Jay Fenlason  (hack at sugar-bombs.ai.mit.edu)
                    126: 
                    127:        * ar.c (make_new_symdefs): On error, close the input files.
                    128: 
                    129: Thu Nov 10 18:15:07 1988  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
                    130: 
                    131:        * ld.c: Put declaration of alloca inside an #ifdef so that it
                    132:        wouldn't mess up on the sparc.
                    133: 
                    134:        * ld.c: Added #define CORE_ADDR for include of symseg.h from gdb
                    135:        and took out TARGET == SUN2 for sun2 INITIALIZE_HEADER.
                    136: 
                    137: Wed Nov  2 18:43:09 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
                    138: 
                    139:        * ld.c: Merged in isi68k port.  This included a kludge for symbols
                    140:        starting with _$ (#ifdef DOLLAR_KLUDGE) and addition of the
                    141:        STANDARD_SEARCH_DIRS macro to override the default if it's
                    142:        defined. 
                    143: 
                    144:        * ld.c: Added code for the N_WARNING symbol type.  If a reference
                    145:        is found to a symbol in an input .o file which contains an
                    146:        N_WARNING symbol, a warning message (the name of the N_WARNING
                    147:        symbol) is printed.  This name is treated as a printf format
                    148:        string; the name of the symbol referenced (which caused the
                    149:        warning) is supplied as a single argument to the print which
                    150:        interpets this string.
                    151: 
                    152: Tue Nov  1 16:57:00 1988  Randall Smith  (randy at gluteus.ai.mit.edu)
                    153: 
                    154:        * ld.c: Added code for Sun 2.
                    155: 
                    156:        * ld.c: Modified access to the relocation information to be *much*
                    157:        more general; added in sparc support.  This change is a minor
                    158:        performance hit; the perform_relocation routine uses about 0.1
                    159:        seconds more time on linking gdb than did the original ld.
                    160:        (perform_relocation is about 5% of the total time the loader
                    161:        spends).  The price of generality.
                    162: 
                    163: Thu Aug  4 13:20:50 1988  Randy Smith  (randy at rice-chex.ai.mit.edu)
                    164: 
                    165:        * Modified ld.c to print only the first 10 unresolved references
                    166:        for each symbol, followed by a message indicating that there are
                    167:        more unresolved references that have not been printed (if indeed
                    168:        there are).  Made default behaivior upon errors *not* writing any
                    169:        output file at all.  Also added the -noinhibit-exec flag to force
                    170:        writing of an executable when that was desirable.
                    171: 
                    172: Tue Aug  2 12:04:01 1988  Randy Smith  (randy at rice-chex.ai.mit.edu)
                    173: 
                    174:        * Modified ld.c to give line numbers wherever possible on
                    175:        unreferenced symbols.  Added a new symbol (N_DSLNE) to allow for
                    176:        the same mapping of data location to line number as is done for
                    177:        text segments by N_SLINE.  Added code to sort the relocation
                    178:        entries when it is necessary to output these line numbers.  The
                    179:        assumption was made that both N_SLINE and N_DSLNE symbols would
                    180:        always be in order by address.
                    181: 
                    182: Wed Jul 27 15:13:08 1988  Randy Smith  (randy at rice-chex.ai.mit.edu)
                    183: 
                    184:        * Modified ld.c to include a facility for equivalencing two
                    185:        symbols (translating one to another).  Modified lib/a.out.h to
                    186:        include a definition of this new symbol.  Modified nm.c to
                    187:        recognize this symbol and all of the set element and vector
                    188:        symbols I had added before.
                    189: 
                    190: Thu Jul 21 17:06:10 1988  Randy Smith  (randy at rice-chex.ai.mit.edu)
                    191: 
                    192:        * Modified ld.c to printout source file and line numbers for
                    193:        unresolved references whenever possible (ie. whenever the input
                    194:        file has debugger symbols and the reference is from the text area).
                    195: 
                    196: Wed Jul 13 17:21:33 1988  Randy Smith  (randy at frosted-flakes.ai.mit.edu)
                    197: 
                    198:        * Modified ld.c and a.out.h to handle new types of symbols; the
                    199:        loader can now create "sets" of symbols from entries in its input
                    200:        files.  See a.out.h for more info.  Also fixed a bug in ld in
                    201:        which references to common areas that we not defined in one pass
                    202:        of the loader caused errors on the next.
                    203: 
                    204: Sat Jul  2 00:05:44 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
                    205: 
                    206:        * ld.c (symdef_library): Error check was off by one.
                    207: 
                    208: Mon May  9 12:53:08 1988  Chris Hanson  (cph at kleph)
                    209: 
                    210:        * ar.c (replace_members): After updating map, write out
                    211:        `change_map->next' rather than `map', since the latter may be
                    212:        null.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.