--- binutils/ChangeLog 2018/04/24 16:07:02 1.1.1.2 +++ binutils/ChangeLog 2018/04/24 16:07:06 1.1.1.3 @@ -1,3 +1,416 @@ +Fri Nov 3 15:18:15 EST 1989 Jay Fenlason (hack@ai.mit.edu) + + * nm.c (main) make long_options static so it can be compiled with cc. + * strip.c (main) ditto. + +Thu Oct 26 12:28:33 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * Makefile (install): Supply missing `done'. + +Tue Oct 17 12:50:46 1989 Mike Haertel (mike at wheat-chex) + + * ld.c (enter_file_symbols): ignore symbols of type + N_SETV | N_EXT. These shouldn't be here at all should + they? + +Mon Oct 16 16:53:03 1989 Joseph Arceneaux (jla at apple-gunkies.ai.mit.edu) + + * ld.c (process_subentry): New function called from + linear_library. + +Fri Oct 6 10:46:40 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) + + * gprof.c [!HAVE_VPRINTF]: Put in v{f,s}printf emulations. + +Mon Oct 2 17:20:42 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ld.c [sequent] (N_TXTADDR, N_DATADDR): Define these macros. + [sequent] (INITIALIZE_HEADER): Define this same as for i386. + (RELOC_MEMORY_SUB_P): New customization macro. + Define as 0 on sun 4. Define as 0 for defaults. + [sequent] (RELOC_* macros): Definitions for sequent. + (decode_command, digest_symbols): Handle case where NMAGIC is undefined. + (enter_global_ref) [sequent]: Handle special N_SHUNDF code. + (digest_symbols, write_symbols) [sequent]: Adjust outheader.a_text. + (perform_relocation): Handle RELOC_MEMORY_SUB_P like ..._ADD_P. + (symtab_init) [sequent]: Define symbol `_387_flt' w/ value 0. + +Fri Sep 22 11:06:25 EDT 1989 hack@ai.mit.edu + + * gprof.c (main) Installed Joy's code for using the long-option names. + +Thu Sep 21 03:24:36 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ld.c (symtab_init) [sun]: Define __DYNAMIC as 0. + (perform_relocation) [RELOC_ADD_EXTRA]: + Special handling for relocatable_output case. + (read_file_relocation): Fix error message typos. + +Mon Sep 18 14:40:40 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ld.c (digest_symbols): Pad data and bss to 8 byte boundary. + +Fri Sep 15 16:42:33 1989 Roland McGrath (mcgrath at paris.Berkeley.EDU) + + * a.out.gnu.h [sony]: Defined SEGMENT_SIZE as 0x2000. + + * Makefile (ranlib): Include getopt in the link. + (objdump): New rule. + (install): New rule. + +Fri Sep 1 01:32:01 1989 Roland McGrath (mcgrath at saffron.Berkeley.EDU) + + * ranlib.c: Added copyright notice and license info. + +Thu Aug 24 14:33:48 1989 Randy Smith (randy at hobbes.ai.mit.edu) + + * ld.c (do_file_warnings): Don't print out multiple definition + warnings at references. + +Mon Aug 21 20:19:08 1989 Roland McGrath (roland at hobbes.ai.mit.edu) + + * ar.c (make_new_symdefs): Abort if MAPELT->info.name is nil. + (update_symdefs): In the loop that calls make_new_symdefs, reject + deleted members (i.e., TAIL->info.name == 0). + + * ar.c (make_new_symdefs): Return if we fail reading the header or the + magic number is bad. + + * ar.c (make_new_symdefs): Check for ridiculous string table offsets. + + * ranlib.c (main): If the child ar exits with a signal, print the + signal that killed it. + + * ar.c (make_new_symdefs): Check for a ridiculous string table size. + + * ar.c (write_archive): When fixing up symdefs, use each member's + new_offset rather than data_offset. + + * ar.c (update_symdefs): When the old archive's string table is too + small, die, don't just bitch. + + * ar.c (update_symdefs): Don't decrement num_old_symdefs when deleting + symdefs of deleted members. After compactifying old symdefs, decrease + num_old_symdefs as necessary. + + * ar.c (update_symdefs): When removing symdefs of deleted members, + compare the symdef offsets to the mapelt's data offset, not its header + offset. + +Sat Aug 19 08:07:26 1989 Roland McGrath (roland at hobbes.ai.mit.edu) + + * ar.c (header_from_map): Print correct message when truncating. + + * ar.c (find_mapelt_noerror, header_from_map): Truncate to 15 chars, + not 16. + + * ranlib.c (main): Don't do the first ar run an infinite number of + times. One will suffice. + + * ranlib.c (main): Under -v, echo the ar command before running it. + + * ar.c (ignore_symdef): New variable. If nonzero, only do symdef + processing if the `s' option is given. + (main): If one of the members given on the command line is __.SYMDEF, + set ignore_symdef. + (scan): If ignore_symdef is nonzero, don't set symdef_exists. + + * ar.c (find_mapelt_noerror): A mapelt matches NAME if the names are + the same for 14 characters and either both end in ".o", or they are the + same for as many more characters as they both have (i.e., the longer + name is truncated to the length of the shorter name for the + comparison). + + * ar.c (update_symdefs): When correcting a bad string table size, + correct the size of the __.SYMDEF member as well. + + * ar.c (update_symdefs): Keep track of the space in the string table + accounted for by deleted members. If the old archive's string table + size was too big, correct it; if it was too small, die. + +Tue Aug 15 00:54:37 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu) + + * ranlib.c (main): Use getopt, and accept new `-v' option, which means + to pass `v' to ar. Use vfork instead of fork. Look at the status of + the children, and exit if it's nonzero. Also added error checking on + several calls. + + * ar.c (write_archive): Fully initialize the new mapelt for __.SYMDEF. + +Sun Aug 13 00:01:27 1989 Joy Kendall (jak at hobbes.ai.mit.edu) + + * strip.c, nm.c, objdump.c: Installed versions with long + named options available, i.e., getopt substituted with + getopt_long. + + * Makefile: changed GNU_GETOPT to GNU_GETOPT_LONG (need to + make sure I did this right) + +Wed Aug 9 00:24:34 1989 Roland McGrath (roland at hobbes.ai.mit.edu) + + * ar.c (write_archive): When rewriting the symdef member, seek to its + header offset, not its data offset. + + * ar.c (header_from_map): New function to convert a `struct mapelt' to + an ar header. + + * ar.c: Miscellaneous cosmetic clean-ups. + + * ar.c (copy_out_member): If truncating the member name, and the + desired name (which is too long) ends in ".o", make the written member + name end in ".o" as well. + +Tue Aug 8 16:26:49 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c (classify_arg): Added 'V' to the list of possible + argument having thingys. + + * ld.c (do_relocation_warnings, do_file_warnings): Changed + messages slightly and removed hack to allow N_WARNING name to + be a printf string taking stuff as arguments. + +Mon Aug 7 16:27:04 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c: Created set_element_prefixes (list of symbol name + prefixes to force symbols to be treated as set elements). + (main): Initialized to 0. + (decode_option): -V name recognized as defining a prefix. + (set_element_prefixed_p): New function. + (enter_file_symbols): Check every symbol to see if it has a + prefix; if so, change the type. + (subfile_wanted_p): A subfile isn't wanted if the symbol + definition indicated is a set element by prefix. + + * ld.c [N_WARNING]: Changed commenting. + + * ld.c (do_file_warnings): On the second pass for actual + warning symbols, warn only if it isn't a definition and it + isn't the reference used by the warning symbol itself. + +Fri Aug 4 13:04:57 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c: Remove the warning field from struct file entry. + (enter_file_symbols): Deal with N_WARNING symbols on a + per symbol basis instead of a per file basis. + (mark_flagged_symbols): Deleted. + (do_warnings): Don't call mark_flagged_symbols anymore. + + * ld.c: Improved commenting on new GNU symbols. + + * ld.c (subfile_wanted_p): Don't load in files for a set + element symbol definition. + +Thu Aug 3 12:54:30 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c (write_output): Checked return code on last chmod and + output error if there is one. + +Wed Aug 2 13:26:16 1989 Randy Smith (randy at hobbes.ai.mit.edu) + + * ld.c (enter_global_ref): Separate out cases of undefined + reference and defining it versus from stuff done whenever you + define a symbol. Clean up assignment to sp->defined. + +Tue Aug 1 23:12:07 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c: Created count common_defined_global_count. + (main): Initialized to 0. + (symdef_library): Symbol is needed if it isn't defined OR it's + defined common. Don't stop looking till we don't have any + more symbols defined as common. + (linear_library): Don't stop looking until we have no more + symbols defined as common. + (subfile_wanted_p): If a symbol is defined common, we want to + check for a real definition. If it used to be undefined and + we've defined it by common, increment CDGC. + (enter_global_ref): If a symbol is defined common and it used + to be undefined, increment CDGC. If it is defined for real + and it used to be defined common, decrement CDGC and zero + max_common_size (so we can tell that it isn't defined common + any more). Rewrote logic to be cleaner. + +Mon Jul 31 14:52:25 1989 Randy Smith (randy at hobbes.ai.mit.edu) + + * ld.c (digest_symbols): Reverse the order of the set element + vector so that the elements will be in the order of the input + files to ld. + +Mon Jul 31 00:19:05 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu) + + * ld.c [sun && sparc]: Don't include alloca.h if !defined(__GNUC__). + +Mon Jul 24 19:29:40 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c (enter_global_ref): Produce a warning message and + rewrite not to be so dangerous if someone is clueless enough + to indirect a symbol to itself. + +Fri Jul 14 04:04:19 1989 Roland McGrath (roland at hobbes.ai.mit.edu) + + * ar.c (write_archive): Don't zero out the count of old symdefs if we + just read some. + (update_symdefs): Don't copy symdefs onto themselves when compacting. + +Wed Jul 12 16:16:36 1989 Roland McGrath (roland at hobbes.ai.mit.edu) + + * ar.c (write_archive): Use read_old_symdefs if the member is there. + (make_new_symdefs): Return if passed a deleted member. + + * ar.c (write_archive): Zero out the info of the new __.SYMDEF member + properly. + +Mon Jul 10 22:16:08 1989 Randy Smith (roland at hobbes.ai.mit.edu) + + * ld.c (enter_global_ref): Put the type of the nlist entry with the + strongest type into the "defined" field of the symbol. Used this to + determine the first definition of a set element. + +Wed Jul 5 17:29:27 1989 Randy Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c (do_file_warnings): Find undefined references on second + passes. + +Fri Jun 30 03:32:50 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu) + + * ar.c [__GNUC__]: Use __builtin_alloca. + [sparc]: Include . + + * ar.c (copy_out_member): After writing the header, set the entry's + `data_offset' field to the current file position. + (write_archive): After copying out members, check for any whose data + offsets weren't known when the symdef member was written, fix up the + offsets, and rewrite the symdef member. + +Thu Jun 29 21:29:35 1989 Roland McGrath (roland at apple-gunkies.ai.mit.edu) + + * ar.c (main): Call exit (0), instead of running off the end. + +Tue Jun 27 02:11:22 1989 Roland McGrath (roland at hobbes.ai.mit.edu) + + * ar.c (make_new_symdefs): Rewritten to correctly convert the namelist + to symdefs. + + * ar.c (replace_members): Write the archive if symdef_flag is true and + there is no symdef member. + + * Makefile: Added $(archpfx) where appropriate. + + * ld.c (symdef_library): When decode_library_subfile returns nil + (meaning it hit the end of the library archive), barf. + +Mon Jun 26 17:41:38 1989 Randy Smith (randy at hobbes.ai.mit.edu) + + * ld.c (do_warnings): Take out the blank line printed at the + end of the warning routine. + + * ld.c (do_file_warnings): When looking for multiple + definitions, don't print out references (things that are just + N_EXT). + +Sun Jun 25 15:17:42 1989 Roland McGrath (roland at hobbes.ai.mit.edu) + + * ar.c (requestedp): Removed unused function. + (find_mapelt): Use find_mapelt_noerror. + (find_mapelt_noerror): Compare only the first 16 chars of names. + (error): Accept more args. + (copy_out_member): Write a message if the member name is truncated. + + * GNUmakefile: Just include Makefile, rather than doing the silly + recursion bit. + + * ar.c (write_archive): Split unlocking and closing into new function + close_archive. + (replace_members): If nothing changed, don't write the archive! + + * ar.c: Only write old Unix style informational messages + (x - foo, a - bar, etc.). 1003.2 requires it (sigh). + +Wed Jun 21 21:45:57 1989 Roland McGrath (roland at hobbes.ai.mit.edu) + + * ar.c (insert_in_map): Only write one message under -v. + (print_descr): Use puts instead of printf where applicable. + + * ar.c (copy_out_member): Don't say "copying ... to new archive" under + -v. This amounts to listing the entire archive with each insertion. + + * Makefile (ranlib.o): Use $(bindir)/ar rather than `pwd`/ar. + +Tue Jun 20 18:46:42 1989 Roland McGrath (roland at hobbes.ai.mit.edu) + + * ar.c (main): The `u' flag implies the `r' operation. + +Mon Jun 12 19:12:37 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu) + + * nm.c Fixed #ifndef N_WARNING to actually compile correctly. + + * ld.c (N_TXTADDR, N_DATADDR): Changed #ifdef vax to + #if defined(vax) || defined(sony_news) + so that it'll compile on the Sony's. + +Tue Jun 6 15:27:10 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c (print_files_defining_symbol): Eliminated. + (main): Zero the first cmdline references after it is allocated. + (add_cmdline_ref): Make sure that we don't overwrite the end of the + array. + +Sun May 28 15:15:42 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * nm.c (,print_one_symbol): Added code to handle N_WARNING. + +Thu May 11 20:26:23 1989 Mike Haertel (mike at apple-gunkies.ai.mit.edu) + + * ld.c (read_file_symbols): Use a struct exec instead of an int + for magic number checking. + * nm.c (do_one_file): Similar change. + * size.c (do_one_file): Similar change. + * strip.c (file_open): Similar change. + +Thu May 11 16:33:51 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ar.c (update_symdefs): Detect null pointer in info.name. + +Thu May 4 01:53:32 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * Makefile: Provide $(LIBS) when linking strip. + +Mon May 1 16:40:27 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) + + * ld.c (main): Change return from main to be exit from main + (supported on more systems). + +Mon Apr 24 14:47:53 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ld.c (decode_option, classify_arg): Accept -Bstatic as no-op. + +Mon Apr 24 13:08:48 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu) + + * gprof.c: Removed #ifdef __STDC__ stuff from all the + function headers, etc. + +Sun Apr 23 00:16:09 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * ld.c: Define INITIALIZE_HEADER for ALTOS. + + * robotussin.c (reloc_segment): Handle R_RELLONG like R_DIR32. + (INPUT_MAGIC): Set it for 386 or 68k according to predef symbols. + + * ranlib.c: Handle USG. Define bzero, gettimeofday. + New macro `seconds' defined for USG or BSD. + Include sys/types.h and fcntl.h. + +Thu Apr 20 14:47:37 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) + + * robotussin.c: discard symbols in section -1. + + * libconvert: change *.o to * in for statement. + +Mon Apr 10 16:54:43 1989 Pace Willisson (pace at apple-gunkies.ai.mit.edu) + + * strip.c (rewrite_file_symbols): Make strip work for + COFF_ENCAPSULATE (it used to write the new exec header at + file offset 0, instead of using HEADER_SEEK_FD) + 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 @@ -451,3 +864,9 @@ Mon May 9 12:53:08 1988 Chris Hanson * ar.c (replace_members): After updating map, write out `change_map->next' rather than `map', since the latter may be null. + +Local Variables: +mode: indented-text +left-margin: 8 +version-control: never +End: