Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2000 04:50:48 -0800 (PST)
From:      Jason Evans <jasone@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/alpha SYS.h src/lib/libc/i386 SYS.h
Message-ID:  <200001291250.EAA03938@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jasone      2000/01/29 04:50:48 PST

  Modified files:
    lib/libc/alpha       SYS.h 
    lib/libc/i386        SYS.h 
  Log:
  Undo the ill-conceived breakage of the previous commit and really fix:
  
  For libc_r renamed syscalls, correct symbol naming from
  _thread_sys_foo() <-- _foo() to _thread_sys_foo() <-- _foo() <-- foo().  This
  is necessary for system calls which libc_r doesn't define foo().
  
  Some weak symbols such as poll() are defined twice.  From what I understand,
  depending on one weak symbol or the other to be used is a bad idea.  All
  such weak symbols defined in the libc_r-specific code should therefore be
  made strong (non-weak?).
  
  Simplify PSEUDO() to not define any weak symbols, since they aren't ever
  needed.
  
  alpha/SYS.h:
  
  Correct reversed usage of WEAK_ALIAS(), which has reversed arguments from
  __weak_reference().  Also, fix reversal of symbols, so that syscall foo()
  is a weak alias for _foo().
  
  Add WEAK_ALIAS() call to PRSYSCALL(), which unlike the i386 version of
  PRSYSCALL(), is not defined in terms of PSYSCALL().
  
  Make PSEUDO() equivalent to the i386 version.
  
  Revision  Changes    Path
  1.11      +11 -9     src/lib/libc/alpha/SYS.h
  1.17      +10 -10    src/lib/libc/i386/SYS.h



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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