Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 1998 12:36:13 -0800 (PST)
From:      John Birrell <jb@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG
Subject:   cvs commit: src/lib/csu/alpha - Imported sources
Message-ID:  <199803112036.MAA03287@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jb          1998/03/11 12:36:13 PST

  src/lib/csu/alpha - Imported sources
  Update of /home/ncvs/src/lib/csu/alpha
  In directory freefall.freebsd.org:/tmp/cvs-serv3245
  
  Log Message:
  Sharing the crt sources with i386-elf wasn't too successful. The crti
  asm code didn't link the way it was supposed to and the calling convention
  for the entry "function" turned out to be very different. On alpha
  it's a true function, but on i386 it's a fudge. Blech.
  
  So jdp suggested keeping separate sets of source and avoiding lots
  of #ifdefs. These files are based on his i386-elf code, with crt1.c
  borrowing code from NetBSD's crt0. The copyright reflects that.
  
  Complicating matters, the code turned out to be difficult to bootstrap
  build using NetBSD tools. To compile against the FreeBSD rtld header
  requires FreeBSD specific headers, but these can't be installed until
  the tools are built, and they can't be built without the FreeBSD crt
  objects. Anal retentive. So I introduced a HAVE_RTLD #define that isn't
  set during the build process until all the tools are built and the
  headers installed.
  
  Status:
  
  Vendor Tag:	jb
  Release Tags:	jdp
  		
  U /home/ncvs/src/lib/csu/alpha/crt1.c
  C /home/ncvs/src/lib/csu/alpha/crtend.c
  C /home/ncvs/src/lib/csu/alpha/crtbegin.c
  
  2 conflicts created by this import.
  Use the following command to help the merge:
  
  	cvs checkout -jjb:yesterday -jjb /home/ncvs/src/lib/csu/alpha
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803112036.MAA03287>