diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2010-08-02 18:47:27 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2010-08-02 18:47:27 +0200 |
commit | 2aed4f91fd55c07675dc656dc35418d99b35c4fd (patch) | |
tree | 1c4d824779ae3e9b435f9b832d929e2de051a311 /sysdeps/unix/sysv/linux/m68k | |
parent | 71feaf72066abfe0e434e49d56e26b54152fb221 (diff) | |
download | glibc-2aed4f91fd55c07675dc656dc35418d99b35c4fd.tar glibc-2aed4f91fd55c07675dc656dc35418d99b35c4fd.tar.gz glibc-2aed4f91fd55c07675dc656dc35418d99b35c4fd.tar.bz2 glibc-2aed4f91fd55c07675dc656dc35418d99b35c4fd.zip |
m68k: cleanup sysdep files
Use sysdep files in subdirectories instead of testing cpu macros.
Diffstat (limited to 'sysdeps/unix/sysv/linux/m68k')
-rw-r--r-- | sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h | 26 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h | 26 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/m68k/sysdep.h | 7 |
3 files changed, 52 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h b/sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h new file mode 100644 index 0000000000..d7c523db40 --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h @@ -0,0 +1,26 @@ +/* Copyright (C) 2010 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. */ + +#ifndef _LINUX_M68K_COLDFIRE_SYSDEP_H +#define _LINUX_M68K_COLDFIRE_SYSDEP_H 1 + +#include <sysdeps/unix/sysdep.h> +#include <sysdeps/m68k/coldfire/sysdep.h> +#include <sysdeps/unix/sysv/linux/m68k/sysdep.h> + +#endif diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h b/sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h new file mode 100644 index 0000000000..651128cd4e --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h @@ -0,0 +1,26 @@ +/* Copyright (C) 2010 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. */ + +#ifndef _LINUX_M68K_M680X0_SYSDEP_H +#define _LINUX_M68K_M680X0_SYSDEP_H 1 + +#include <sysdeps/unix/sysdep.h> +#include <sysdeps/m68k/m680x0/sysdep.h> +#include <sysdeps/unix/sysv/linux/m68k/sysdep.h> + +#endif diff --git a/sysdeps/unix/sysv/linux/m68k/sysdep.h b/sysdeps/unix/sysv/linux/m68k/sysdep.h index 8bd188b0bc..3e7b105d0d 100644 --- a/sysdeps/unix/sysv/linux/m68k/sysdep.h +++ b/sysdeps/unix/sysv/linux/m68k/sysdep.h @@ -19,11 +19,6 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#ifndef _LINUX_M68K_SYSDEP_H -#define _LINUX_M68K_SYSDEP_H 1 - -#include <sysdeps/unix/sysdep.h> -#include <sysdeps/m68k/sysdep.h> #include <tls.h> /* Defines RTLD_PRIVATE_ERRNO. */ @@ -333,5 +328,3 @@ SYSCALL_ERROR_LABEL: \ even when statically linked. */ # define NEED_STATIC_SYSINFO_DSO 1 #endif - -#endif |