Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 May 1996 16:11:34 +0800
From:      Peter Wemm <peter@spinner.DIALix.COM>
To:        CVS-committers@freefall.freebsd.org
Cc:        cvs-all@freefall.freebsd.org, cvs-lib@freefall.freebsd.org
Subject:   Re: cvs commit: src/lib/libc/gmon gmon.c src/lib/libc/i386 DEFS.h  SYS.h src/lib/libc/i386/gen modf.S setjmp.S sigsetjmp.S  src/lib/libc/i386/sys Ovfork.S brk.S cerror.S exect.S fork.S pipe.S  ptrace.S rfork.S sbrk.S setlogin.S sigpending.S sigprocmask.S sigreturn.S  sigsuspend.S syscall.S 
Message-ID:  <199605050811.QAA09734@spinner.DIALix.COM>
In-Reply-To: Your message of "Sun, 05 May 1996 00:56:25 MST." <199605050756.AAA14309@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>peter       96/05/05 00:56:25
>
>  Modified:    lib/libc/gmon  gmon.c
>               lib/libc/i386  DEFS.h SYS.h
>               lib/libc/i386/gen  modf.S setjmp.S sigsetjmp.S
>               lib/libc/i386/sys  Ovfork.S brk.S cerror.S exect.S fork.S
>                        pipe.S ptrace.S rfork.S  sbrk.S setlogin.S
>                        sigpending.S sigprocmask.S sigreturn.S 
>                        sigsuspend.S syscall.S
>  Log:
>  Add support to enable libc to be compiled in ELF format. (#ifdef __ELF__)
>  In a nutshell, this macroizes the local/global symbol scoping rules
>  that are different in a.out and ELF.  It also makes the i386 assembler
>  stubs conform to i386 PIC calling conventions - the a.out ld.so didn't
>  object, but the ELF one needs it as it implements PIC jumps via PLT's as
>  well as calls.  The a.out rtld only worked because it was accidently
>  snooping the grandparent calling function's return address off the stack..
>  
>  This also affects the libc_r code a little, because of cpp macro nesting.

Aargh! how could I forget to credit a commit again! :-(

This is based on John Polstra's work for 2.1R, I've adapted it and tweaked 
it for -current.

Reviewed by: jdp, bde

-Peter





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