ChangeLog 8.7 KB

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