This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 1/2] BZ#13743: PowerPC - Add a new header for platform specific functions


Include sys/platform.h for platform specific and non-standard functions.

2012-02-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>

	[BZ #13743]
	* sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers): Include
	sys/platform.h.
	* sysdeps/unix/sysv/linux/powerpc/sys/platform.h: New file.
---
 NEWS                                           |    2 +-
 sysdeps/unix/sysv/linux/powerpc/Makefile       |    2 ++
 sysdeps/unix/sysv/linux/powerpc/sys/platform.h |   23 +++++++++++++++++++++++
 3 files changed, 26 insertions(+), 1 deletions(-)
 create mode 100644 sysdeps/unix/sysv/linux/powerpc/sys/platform.h

diff --git a/NEWS b/NEWS
index 35fc50f..db41861 100644
--- a/NEWS
+++ b/NEWS
@@ -14,7 +14,7 @@ Version 2.16
   10210, 11174, 11322, 11365, 11494, 12047, 13058, 13525, 13526, 13527,
   13528, 13529, 13530, 13531, 13532, 13533, 13547, 13551, 13552, 13553,
   13555, 13559, 13583, 13618, 13637, 13656, 13695, 13704, 13706, 13738,
-  13786
+  13743, 13786
 
 * ISO C11 support:
 
diff --git a/sysdeps/unix/sysv/linux/powerpc/Makefile b/sysdeps/unix/sysv/linux/powerpc/Makefile
index 55311a4..c947362 100644
--- a/sysdeps/unix/sysv/linux/powerpc/Makefile
+++ b/sysdeps/unix/sysv/linux/powerpc/Makefile
@@ -15,3 +15,5 @@ endif
 ifeq ($(subdir),elf)
 sysdep_routines += dl-vdso
 endif
+
+sysdep_headers += sys/platform.h
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/platform.h b/sysdeps/unix/sysv/linux/powerpc/sys/platform.h
new file mode 100644
index 0000000..9d1af58
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/sys/platform.h
@@ -0,0 +1,23 @@
+/* Copyright (C) 2012 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
+   <http://www.gnu.org/licenses/>.  */
+
+#ifndef _SYS_PLATFORM_H
+
+#define _SYS_PLATFORM_H	1
+
+
+#endif  /* sys/platform.h */
-- 
1.7.4.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]