From bfb583e7916315eca3f19801dca1bf05eac4efef Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 12 Feb 2023 16:32:52 +0100 Subject: htl: Generalize i386 pt-machdep.h to x86 --- sysdeps/i386/htl/Implies | 1 + sysdeps/i386/htl/pt-machdep.h | 28 ---------------------------- sysdeps/x86/htl/pt-machdep.h | 28 ++++++++++++++++++++++++++++ sysdeps/x86_64/htl/Implies | 1 + 4 files changed, 30 insertions(+), 28 deletions(-) create mode 100644 sysdeps/i386/htl/Implies delete mode 100644 sysdeps/i386/htl/pt-machdep.h create mode 100644 sysdeps/x86/htl/pt-machdep.h create mode 100644 sysdeps/x86_64/htl/Implies diff --git a/sysdeps/i386/htl/Implies b/sysdeps/i386/htl/Implies new file mode 100644 index 0000000000..aad38fb53d --- /dev/null +++ b/sysdeps/i386/htl/Implies @@ -0,0 +1 @@ +x86/htl diff --git a/sysdeps/i386/htl/pt-machdep.h b/sysdeps/i386/htl/pt-machdep.h deleted file mode 100644 index b036909c42..0000000000 --- a/sysdeps/i386/htl/pt-machdep.h +++ /dev/null @@ -1,28 +0,0 @@ -/* Machine dependent pthreads internal defenitions. i386 version. - Copyright (C) 2000-2023 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#ifndef _PT_MACHDEP_H -#define _PT_MACHDEP_H 1 - -struct pthread_mcontext -{ - void *pc; - void *sp; -}; - -#endif /* pt-machdep.h */ diff --git a/sysdeps/x86/htl/pt-machdep.h b/sysdeps/x86/htl/pt-machdep.h new file mode 100644 index 0000000000..d0cc979252 --- /dev/null +++ b/sysdeps/x86/htl/pt-machdep.h @@ -0,0 +1,28 @@ +/* Machine dependent pthreads internal defenitions. x86 version. + Copyright (C) 2000-2023 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . */ + +#ifndef _PT_MACHDEP_H +#define _PT_MACHDEP_H 1 + +struct pthread_mcontext +{ + void *pc; + void *sp; +}; + +#endif /* pt-machdep.h */ diff --git a/sysdeps/x86_64/htl/Implies b/sysdeps/x86_64/htl/Implies new file mode 100644 index 0000000000..aad38fb53d --- /dev/null +++ b/sysdeps/x86_64/htl/Implies @@ -0,0 +1 @@ +x86/htl -- cgit 1.4.1