]>
Commit | Line | Data |
---|---|---|
e61abf83 | 1 | /* Operating system support for run-time dynamic linker. Linux/PPC version. |
f7a9f785 | 2 | Copyright (C) 1997-2016 Free Software Foundation, Inc. |
e61abf83 UD |
3 | This file is part of the GNU C Library. |
4 | ||
5 | The GNU C Library is free software; you can redistribute it and/or | |
41bdb6e2 AJ |
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. | |
e61abf83 UD |
9 | |
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 | |
41bdb6e2 | 13 | Lesser General Public License for more details. |
e61abf83 | 14 | |
41bdb6e2 | 15 | You should have received a copy of the GNU Lesser General Public |
59ba27a6 PE |
16 | License along with the GNU C Library; if not, see |
17 | <http://www.gnu.org/licenses/>. */ | |
e61abf83 | 18 | |
6ddd37a4 | 19 | #include <config.h> |
b8a5737a GK |
20 | #include <ldsodefs.h> |
21 | ||
c7693af7 | 22 | int __cache_line_size attribute_hidden; |
b8a5737a | 23 | |
b8a5737a GK |
24 | /* Scan the Aux Vector for the "Data Cache Block Size" entry. If found |
25 | verify that the static extern __cache_line_size is defined by checking | |
124dcac8 | 26 | for not NULL. If it is defined then assign the cache block size |
b8a5737a | 27 | value to __cache_line_size. */ |
124dcac8 RM |
28 | #define DL_PLATFORM_AUXV \ |
29 | case AT_DCACHEBSIZE: \ | |
c7693af7 UD |
30 | __cache_line_size = av->a_un.a_val; \ |
31 | break; | |
390911be | 32 | |
638bb1f3 | 33 | #include <sysdeps/unix/sysv/linux/dl-sysdep.c> |