|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: C T
Length: 33740 (0x83cc) Types: TextFile Names: »ChangeLog«
└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89 └─⟦4ef0278ca⟧ »./binutils.tar.Z« └─⟦3761b9c35⟧ └─⟦this⟧ »binutils/ChangeLog«
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 <alloca.h>. * 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 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. The recommended Makefile change defines it. * ld.c (alloca): If compiling with GCC, use __builtin_alloca. * robotussin.c: New reformatted version with all variables renamed. * ranlib.c: New file, just runs `ar rs' on each specified file. * Makefile: Special hack to tell ranlib where to find GNU ar. (LIBS): Recommend -lPW on USG; ld needs it for alloca (if not GCC). Sat Dec 24 13:59:09 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * ld.c (error): Start with name of program running. (main): Set `progname' to that name. (digest_symbols): Fix punctuation and spelling in calls to `error'. Tue Dec 20 21:49:46 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * robotussin.c (INPUT_MAGIC): New macro, has the magic number to expect in input files. (nounderscore): New macro; as in ld, define it to inhibit adding underscore to symbols. * Makefile: Don't compile objdump on BSD; N_DATADDR causes trouble. Tue Dec 20 14:57:38 1988 Pace Willisson (pace at prep.at.mit.edu) * objdump.c: New program like the system 5 'dump' program. Documentation will follow... * Makefile: Set up CFLAGS for USG systems. Added target libc.a to do robotussin conversion. Added objdump. * libconvert: Wrote shell script to do robotussin conversion. * ar.c, ld.c: Don't define COFF_ENCAPSULATE if it is already defined. * ld.c: If i386, set a_machtype to M_386. Use a_flags instead of a_encap. Don't compute coff header if it isn't going to get written out. * robotussin.c: Define COFF_ENCAPSULATE. Include a.out.encap.h instead of a.out.h. Check magic number of input file. Skip over optional header, if present. Don't ignore symbols with aux entries (they could be function definitions), instead, ignore symbols beginning with '.' (.text, etc). Don't prepend underscore to externals, since gcc doesn't do it now. Don't run past the end of symbols that are exactly eight characters long. Always write the string table size, even if it is empty. Change relocation types handled from R_PCRBYTE, etc, to R_DIR32 and R_PCRLONG (these are the only two emitted by the system 5 assembler.) * size.c: Include <sys/types.h> so including sys/file.h will not get an error on USG systems. Include fcntl.h on usg systems. * strip.c: Move inclusion of file.h to after types.h. Include fcntl.h. Add defintion of rename. Fri Dec 16 13:55:11 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * size.c: Delete all ROBOTUSSIN conditionals and contents. Change SYSV conditionals to USG. COFF_ENCAPSULATE conditionals for headers. (do_one_file, read_header): Skip encapsulation headers if any. * strip.c: Delete all ROBOTUSSIN conditionals and contents. Change SYSV conditionals to USG. COFF_ENCAPSULATE conditionals for headers. (file_open, read_header): Skip encapsulation headers if any. * strip.c: Change most fatal errors to nonfatal. (file_open, read_header, read_{file,entry}_symbols): Now return 0 for success, -1 for failure. Failure means do no more for the current file. (modify_relocation): Now just warn if strip a symbol needed for relocation, and warn only once per file. (error_with_file): New function, replaces most fatal_with_file. Print filename first, as in most programs. (fatal_with_file): Deleted. (rewrite_file_symbols): Use perror_file when system call fails. Tue Dec 13 17:16:39 1988 Jay Fenlason (hack at apple-gunkies.ai.mit.edu) * ar.c: Changed pad character after odd-length archive member from \0 to \n so archives can be cmp'd with the output from /bin/ar Added fix for when ranlib is using ar to insert an __.SYMDEF member Tue Dec 13 09:09:27 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * ar.c: conditional #includes for USG. * COFF_ENCAPSULATE conditionals for headers. (extract_member): Don't do fchmod if USG. Alternate USG code to set modtimes of extracted members. (write_archive): Don't do fsync if USG. (make_new_symdefs): Skip encapsulation headers if any. [USG] (bcopy, bzero, bcmp): New fns. * nm.c: Delete all ROBOTUSSIN conditionals and contents. Include types.h. Change SYSV conditionals to USG. * COFF_ENCAPSULATE conditionals for headers. (do_one_file): Skip encapsulation headers if any. (read_header): Likewise. * ld.c: Delete all ROBOTUSSIN conditionals and contents. Change SYSV conditionals to USG. Change HEADER_TYPE back to `struct exec'. (L_SET): Define it if headers don't. * COFF_ENCAPSULATE conditionals for headers. (main): Update text_size differently if encapsulating. (write_header): Write the encapsulation headers if nec. Don't end with padding if encapsulation being done. [USG] (bzero, bcopy, getpagesize): New fns. Tue Dec 6 13:26:56 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) * ld.c (do_file_warnings): Ignored text relocation entries that went through local symbols; any problems with lack of definitions etc. with them would have been caught by the compiler. Mon Dec 5 16:13:22 1988 Jay Fenlason (hack at sugar-bombs.ai.mit.edu) * ar.c (make_new_symdefs): On error, close the input files. Thu Nov 10 18:15:07 1988 Randall Smith (randy at apple-gunkies.ai.mit.edu) * ld.c: Put declaration of alloca inside an #ifdef so that it wouldn't mess up on the sparc. * ld.c: Added #define CORE_ADDR for include of symseg.h from gdb and took out TARGET == SUN2 for sun2 INITIALIZE_HEADER. Wed Nov 2 18:43:09 1988 Randall Smith (randy at gluteus.ai.mit.edu) * ld.c: Merged in isi68k port. This included a kludge for symbols starting with _$ (#ifdef DOLLAR_KLUDGE) and addition of the STANDARD_SEARCH_DIRS macro to override the default if it's defined. * ld.c: Added code for the N_WARNING symbol type. If a reference is found to a symbol in an input .o file which contains an N_WARNING symbol, a warning message (the name of the N_WARNING symbol) is printed. This name is treated as a printf format string; the name of the symbol referenced (which caused the warning) is supplied as a single argument to the print which interpets this string. Tue Nov 1 16:57:00 1988 Randall Smith (randy at gluteus.ai.mit.edu) * ld.c: Added code for Sun 2. * ld.c: Modified access to the relocation information to be *much* more general; added in sparc support. This change is a minor performance hit; the perform_relocation routine uses about 0.1 seconds more time on linking gdb than did the original ld. (perform_relocation is about 5% of the total time the loader spends). The price of generality. Thu Aug 4 13:20:50 1988 Randy Smith (randy at rice-chex.ai.mit.edu) * Modified ld.c to print only the first 10 unresolved references for each symbol, followed by a message indicating that there are more unresolved references that have not been printed (if indeed there are). Made default behaivior upon errors *not* writing any output file at all. Also added the -noinhibit-exec flag to force writing of an executable when that was desirable. Tue Aug 2 12:04:01 1988 Randy Smith (randy at rice-chex.ai.mit.edu) * Modified ld.c to give line numbers wherever possible on unreferenced symbols. Added a new symbol (N_DSLNE) to allow for the same mapping of data location to line number as is done for text segments by N_SLINE. Added code to sort the relocation entries when it is necessary to output these line numbers. The assumption was made that both N_SLINE and N_DSLNE symbols would always be in order by address. Wed Jul 27 15:13:08 1988 Randy Smith (randy at rice-chex.ai.mit.edu) * Modified ld.c to include a facility for equivalencing two symbols (translating one to another). Modified lib/a.out.h to include a definition of this new symbol. Modified nm.c to recognize this symbol and all of the set element and vector symbols I had added before. Thu Jul 21 17:06:10 1988 Randy Smith (randy at rice-chex.ai.mit.edu) * Modified ld.c to printout source file and line numbers for unresolved references whenever possible (ie. whenever the input file has debugger symbols and the reference is from the text area). Wed Jul 13 17:21:33 1988 Randy Smith (randy at frosted-flakes.ai.mit.edu) * Modified ld.c and a.out.h to handle new types of symbols; the loader can now create "sets" of symbols from entries in its input files. See a.out.h for more info. Also fixed a bug in ld in which references to common areas that we not defined in one pass of the loader caused errors on the next. Sat Jul 2 00:05:44 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) * ld.c (symdef_library): Error check was off by one. Mon May 9 12:53:08 1988 Chris Hanson (cph at kleph) * ar.c (replace_members): After updating map, write out `change_map->next' rather than `map', since the latter may be null. \f Local Variables: mode: indented-text left-margin: 8 version-control: never End: