Update copyright notices with scripts/update-copyrights.
[glibc.git] / sysdeps / unix / sysv / linux / powerpc / dl-sysdep.c
blob12433c732c98feb052ce1bb2bca08e91d1acd8a4
1 /* Operating system support for run-time dynamic linker. Linux/PPC version.
2 Copyright (C) 1997-2013 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
19 #include <config.h>
20 #include <kernel-features.h>
21 #include <ldsodefs.h>
23 int __cache_line_size attribute_hidden;
25 /* Scan the Aux Vector for the "Data Cache Block Size" entry. If found
26 verify that the static extern __cache_line_size is defined by checking
27 for not NULL. If it is defined then assign the cache block size
28 value to __cache_line_size. */
29 #define DL_PLATFORM_AUXV \
30 case AT_DCACHEBSIZE: \
31 __cache_line_size = av->a_un.a_val; \
32 break;
34 #include <sysdeps/unix/sysv/linux/dl-sysdep.c>