Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2019 12:13:27 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r344436 - in stable/12/lib/libc: . amd64/gen i386/gen x86/gen
Message-ID:  <201902211213.x1LCDRBW084646@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Thu Feb 21 12:13:27 2019
New Revision: 344436
URL: https://svnweb.freebsd.org/changeset/base/344436

Log:
  MFC r344120:
  Unify i386 and amd64 getcontextx.c, and use ifuncs while there.

Added:
  stable/12/lib/libc/x86/gen/
     - copied from r344120, head/lib/libc/x86/gen/
Deleted:
  stable/12/lib/libc/amd64/gen/getcontextx.c
  stable/12/lib/libc/i386/gen/getcontextx.c
Modified:
  stable/12/lib/libc/Makefile
  stable/12/lib/libc/amd64/gen/Makefile.inc
  stable/12/lib/libc/i386/gen/Makefile.inc
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/lib/libc/Makefile
==============================================================================
--- stable/12/lib/libc/Makefile	Thu Feb 21 12:10:56 2019	(r344435)
+++ stable/12/lib/libc/Makefile	Thu Feb 21 12:13:27 2019	(r344436)
@@ -120,6 +120,7 @@ NOASM=
 .endif
 .if ${LIBC_ARCH} == "i386" || ${LIBC_ARCH} == "amd64"
 .include "${LIBC_SRCTOP}/x86/sys/Makefile.inc"
+.include "${LIBC_SRCTOP}/x86/gen/Makefile.inc"
 .endif
 .if ${MK_NIS} != "no"
 CFLAGS+= -DYP

Modified: stable/12/lib/libc/amd64/gen/Makefile.inc
==============================================================================
--- stable/12/lib/libc/amd64/gen/Makefile.inc	Thu Feb 21 12:10:56 2019	(r344435)
+++ stable/12/lib/libc/amd64/gen/Makefile.inc	Thu Feb 21 12:13:27 2019	(r344436)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 SRCS+=	_setjmp.S _set_tp.c rfork_thread.S setjmp.S sigsetjmp.S \
-	fabs.S getcontextx.c \
+	fabs.S \
 	infinity.c ldexp.c makecontext.c signalcontext.c \
 	flt_rounds.c fpgetmask.c fpsetmask.c fpgetprec.c fpsetprec.c \
 	fpgetround.c fpsetround.c fpgetsticky.c

Modified: stable/12/lib/libc/i386/gen/Makefile.inc
==============================================================================
--- stable/12/lib/libc/i386/gen/Makefile.inc	Thu Feb 21 12:10:56 2019	(r344435)
+++ stable/12/lib/libc/i386/gen/Makefile.inc	Thu Feb 21 12:13:27 2019	(r344436)
@@ -2,5 +2,5 @@
 # $FreeBSD$
 
 SRCS+=	_ctx_start.S _setjmp.S _set_tp.c fabs.S \
-	flt_rounds.c getcontextx.c infinity.c ldexp.c makecontext.c \
+	flt_rounds.c infinity.c ldexp.c makecontext.c \
 	rfork_thread.S setjmp.S signalcontext.c sigsetjmp.S



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