From 7c2254319bf23a0379b5d6cddf75e7a2e7288df6 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Thu, 18 Feb 2010 07:53:02 -0800 Subject: i386 unify sysdep.h Signed-off-by: Austin Foxley --- libc/sysdeps/linux/i386/sysdep.h | 126 ++++++++++++++++++++++++++- libpthread/nptl/sysdeps/i386/sysdep.h | 157 ---------------------------------- 2 files changed, 125 insertions(+), 158 deletions(-) delete mode 100644 libpthread/nptl/sysdeps/i386/sysdep.h diff --git a/libc/sysdeps/linux/i386/sysdep.h b/libc/sysdeps/linux/i386/sysdep.h index ffbde7d96..ff67e8a08 100644 --- a/libc/sysdeps/linux/i386/sysdep.h +++ b/libc/sysdeps/linux/i386/sysdep.h @@ -22,7 +22,131 @@ #define _LINUX_I386_SYSDEP_H 1 #include -#include +#include + +#ifdef __ASSEMBLER__ + +/* Syntactic details of assembler. */ + +/* ELF uses byte-counts for .align, most others use log2 of count of bytes. */ +#define ALIGNARG(log2) 1<MEMBER) diff --git a/libpthread/nptl/sysdeps/i386/sysdep.h b/libpthread/nptl/sysdeps/i386/sysdep.h deleted file mode 100644 index 50253de20..000000000 --- a/libpthread/nptl/sysdeps/i386/sysdep.h +++ /dev/null @@ -1,157 +0,0 @@ -/* Assembler macros for i386. - Copyright (C) 1991-93,95,96,98,2002,2003,2005,2006 - 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, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#include - -#ifdef __ASSEMBLER__ - -/* Syntactic details of assembler. */ - -/* ELF uses byte-counts for .align, most others use log2 of count of bytes. */ -#define ALIGNARG(log2) 1<