🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Robert Andrew Ryan Thu, 12 Nov 1992 07:35
Fix for RS/6000 dynamic linking
#516
Author: Robert Andrew Ryan
Date: Thu, 12 Nov 1992 07:35
54 lines
1972 bytes
Thu Nov 05 23:04:38 EST 1992 Rob Ryan (rr2b@andrew.cmu.edu)

    * xcoffexec.c: fixed a bug where if a object has no member, and
      the stat pointer passed to vmap_symtab was NULL, the wrong vmap
      entries would be modified.  Fixes behavior where attempting to
      load symbols for a module with no member would mess up already
      read in symbols.


*** xcoffexec.c.orig	Wed Oct  7 20:31:53 1992
--- xcoffexec.c	Thu Nov  5 23:00:56 1992
***************
*** 392,398 ****
  	} else if (vp->member[0]) {
  	  /* no match, and member present, not this one. */
  	  continue;
! 	} else {
  	  struct stat si;
  	  FILE *io;
  	  
--- 392,401 ----
  	} else if (vp->member[0]) {
  	  /* no match, and member present, not this one. */
  	  continue;
! 	} else if (vip) {
! 	     /* if we weren't given a stat structure
! 	      that doesn't mean any old bfd will match...
! 	      -Rob Ryan 11/5/92*/
  	  struct stat si;
  	  FILE *io;
  	  
***************
*** 408,417 ****
  	  if (fstat(fileno(io), &si) < 0)
  	    fatal("cannot fstat BFD for sym");
  	  
! 	  if (vip && (si.st_dev != vip->st_dev
  	      || si.st_ino != vip->st_ino))
  	    continue;
! 	}
  	
  	if (vp->tstart != old_start) {
  
--- 411,420 ----
  	  if (fstat(fileno(io), &si) < 0)
  	    fatal("cannot fstat BFD for sym");
  	  
! 	  if ((si.st_dev != vip->st_dev
  	      || si.st_ino != vip->st_ino))
  	    continue;
! 	} else continue;
  	
  	if (vp->tstart != old_start) {
 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads