--- binutils/ChangeLog 2018/04/24 16:07:00 1.1.1.1 +++ binutils/ChangeLog 2018/04/24 16:07:02 1.1.1.2 @@ -1,3 +1,244 @@ +Fri Mar 10 15:50:45 1989 Randall Smith (randy at sugar-bombs.ai.mit.edu) + + * ranlib.c (touch): Created to simply touch an archive (update the + date on the symdef member). Done here since adding an option to + ar.c would be a hassle and using the routines in ar.c would + require doing almost all of the work of an "ar rs x.a" anyway. + Same result in both cases; differing amounts of time. + +Mon Mar 6 15:27:56 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu) + + * gprof.c (ck_fclose) only fflush() streams opened for writing. + +Sun Mar 5 17:13:37 1989 Randall Smith (randy at gluteus.ai.mit.edu) + + * ar.c (write_archive): Modified test to write symdef header; + wasn't being done if the symdef map entry didn't need to be newly + created. + +Fri Mar 3 10:56:55 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * *.*, Makefile: Changed to use new wording as directed by the new + GNU General Public License. + * COPYING: Created as a link to /gp/rms/COPYING. + +Wed Feb 22 04:42:54 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * Makefile: Use GNU getopt by preference. + + * gprof.c [USG]: Define bcopy as macro. + +Tue Feb 21 04:46:44 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ld.c (INITIALIZE_HEADER) [HPUX]: Use N_SET_MACHTYPE. + +Sat Feb 18 12:47:36 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * Makefile: Added note for using GNU getopt for app routines. + Linked (symlink) it into this directory. + + * ld.c: Added #ifndef sony_news around inclusion of fcntl.h. This + file duplicates code in sys/file.h on the sony. + + * nm.c: Added include of alloca.h on a sun4 and use of + __builtin_alloca if compiling with GCC. + +Sat Feb 18 09:43:51 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ar.c (write_archive): Don't die if info.name is 0 (member deleted). + (scan): Reverse fread args, so value is right. + +Fri Feb 17 05:19:50 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ar.c (extract_members, scan): Open just a FILE *, and pass that. + (extract_member, print_contents): Expect a FILE *; no need to fdopen. + +Thu Feb 16 07:36:03 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * gprof.c: Reformatted. + +Fri Feb 3 14:28:24 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c (do_warnings): Changed calls to each_full_file to each_file + (which is what we want, since we are concerned with symbol + definitions). + + * ld.c: Added a parameter MAX_ALIGNMENT, defined in #ifdef sparc + and by default, to set the maximum necessary alignment for data + objects on this machine. This is necessary for allocation in the + bss area. + (digest_symbols): Made sure that everything allocated had the + minimum of it's alignment (lowest bit set in the size) or the + MAX_ALIGNMENT. + +Thu Jan 26 13:31:52 1989 Pace Willison (pace at apple-gunkies.ai.mit.edu) + + * Makefile: Delete -Dnounderscore, add gprof to USG PROG list + + * ar.c (rename for USG): ignore error from first unlink + + * gprof.c: COFF_ENCAPSULATE and USG changes. + + * ld.c strip.c: Deal with internal labels starting with '.' on + nounderscore machines and 'L' on normal ones (LPREFIX). + + * ld.c(next_debug_entry): Mask n_type field in switch statement + since it is a char, and some of its values (N_SOL) are > 128, which + get sign extended on some machines. + + * objdump.c: Deal with symbols that have no name; mask fields + of nlist before printing. + +Mon Jan 23 14:08:43 1989 Randall Smith (randy at plantaris.ai.mit.edu) + + * ld.c (coptxtrel, copdatrel): Made sure that, when relocation is + being copied, that N_INDR symbols were properly followed. Also + made sure that the symbol indicies were correct even in the + presence of indirection information. + + * ld.c (write_rel): When specifying symbol numbers, make sure to + leave room for the extra undefined ref that will be written for + the sake of N_INDR entries. + + * ld.c (write_syms): Fixed typo; a duplicate of the N_INDR entry + was being written instead of the undefined ref required. + +Tue Jan 17 16:23:56 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * strip.c (rename): Arranged to ignore return code from "unlink"; + file may not be there. + +Thu Jan 12 15:24:23 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * Makefile: Modified "dist" target so as to get hp-* + subdirectories. + + * strip.c (rename): Added function to mimic BSD system call for + system V. + +Tue Jan 10 19:44:33 1989 Pace Willison (pace at prep.ai.mit.edu) + + * Makefile: put -Dnounderscore back for COFF_ENCAPSULATE. + +Tue Jan 10 17:58:50 1989 Randall Smith (randy at cream-of-wheat.ai.mit.edu) + + * ld.c (linear_library, symdef_library, list_file_locals, + write_file_syms): Took care to make sure that when the buffer + pointed to by entry->strings became invalid, entry->strings was + set to zero (either on a free or a function return if space had + been allocated through alloca). + + * ld.c (getpagesize): Deleted define in hpux dependent section; + taken care of when compiling on hpux because of define of USG in + Makefile. + +Mon Jan 9 22:49:42 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * strip.c (strip_file): Effectively defer certain signals + while rewriting the file. + +Mon Jan 9 09:45:41 1989 Pace Willisson (pace at prep.ai.mit.edu) + + * These changes improve support for COFF_ENCAPSULATE, and + for the future development of the GNU exec header. The + main change is to rename the exec header field a_magic + so that it can contain additional information. Now, the + magic number must be accessed with N_MAGIC(exec), and set + with N_SET_MAGIC(exec,val). Programs that only need to use + N_BADMAG will not have to change. Also COFF_ENCAPSULATE will + no longer use "nounderscore", so that it will be more like + normal bsd systems. This means gcc must be updated before using + these new tools. (It is safe to put -Dnounderscore back in + if you want to use an old gcc for a while.) + + * README-ENCAP: new documentation for how to set up to use + COFF_ENCAPSULATE. + + * Makefile: Add target for gnulib. + Don't define 'nounderscore' (must tell gcc about that too.) + + * ar.c: Don't automatically define COFF_ENCAPSULATE. + + * nm.c: No need to initialize the header before reading it. + + * size.c: Include, sys/types.h, and sys/fcntl.h if USG + * strip.c: Likewise--types.h before file.h. + + * ld.c, objdump.c, robotussin.c: + Changed to use new exec macros for a_magic. + + * libconvert: now takes arguments + + * robotussin.c: don't automatically define nounderscore - leave + that to the makefile, if desired + +Fri Jan 6 13:06:37 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c (digest_symbols, write_text, write_data): Changed N_SETV + from being in the text area to being in the data area. + * nm.c, a.out.gnu.h: Changed comments to conform with above. + + * ld.c (do_file_warnings): Added loop to go through each external + nlist entry and check for multiple definitions, as well as + catching any references which weren't caught by the relocation + pass. + + * ld.c (address_to_line): Changed so that it will work (albeit + slowly) with an address less than the current address. + (do_file_warnings, do_relocation_warnings): Broke out scan through + relocation entries into a separate function. Added creation of a + bitvector with each bit refereing to an nlist entry so that + do_relocation_warnings could mark which symbol entries it had + output for undefined references. + +Thu Jan 5 20:36:44 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c: Cosmetic changes: Moved helper functions for + do_file_warnings to before it and modified comments to + next_debug_symbol and address_to_line. + +Wed Jan 4 15:37:52 1989 Randall Smith (randy at gluteus.ai.mit.edu) + + * ld.c: Added #define getpagesize() EXEC_PAGESIZE for hpux. + + * ld.c (do_warnings): Will now print out all undefined external + symbols which were not referenced from the text or data sections + separately. + (do_file_warnings): Decreases undefined_global_sym_count for each + symbol printed. + +Tue Jan 3 23:43:41 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * Makefile (nm): Link with $(LIBS). + + * ld.c (getpagesize): HPUX definition deleted; not needed. + +Mon Jan 2 23:04:35 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c (digest_symbols): Modified the creation of set vectors + to include a zero word after the end of the vector. + (write_text): Made the same modification of the set vector section + size. + +Sun Jan 1 12:01:22 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c: Fixed typo in description of relocation values, and + changed note on RELOC_ADD_EXTRA to force is to be an lvalue if + it's defined. + (coptxtrel): If a specific relocation entry has just changed from + external to internal, and we aren't supposed to add in memory on + the new relocation value, make sure that the value of the symbol + get's added to the ADD_EXTRA in the relocation value. Otherwise, + all the work we do in a partial linking will be wasted (will be in + memory, but will be ignored on the next pass of the linker). + +Sat Dec 31 13:13:01 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c: Removed "|| TARGET == SUN2" from line 210; I believe that + TARGET and SUN2 were both showing up defined as 0 on the sparc, + which resulted in a redefine of the INITIALIZE_HEADER macro, back + to sun2 style. + Thu Dec 29 01:48:03 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * ld.c, ar.c: Don't define COFF_ENCAPSULATE automatically.