add .%%{_target_cpu} to glibc_post_upgrade, only run telinit u
[glibc.git] / sysdeps / hppa / dl-fptr.h
blob2ac9740e30a4e9b4d0e76ffe1cc034b7bc901cf3
1 /* Function descriptors. HPPA version.
2 Copyright (C) 2003 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, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 02111-1307 USA. */
20 #ifndef dl_hppa_fptr_h
21 #define dl_hppa_fptr_h 1
23 #include <sysdeps/generic/dl-fptr.h>
25 /* There are currently 20 dynamic symbols in ld.so.
26 ELF_MACHINE_BOOT_FPTR_TABLE_LEN needs to be at least that big. */
27 #define ELF_MACHINE_BOOT_FPTR_TABLE_LEN 200
29 #define ELF_MACHINE_LOAD_ADDRESS(var, symbol) \
30 asm (" addil LT%%" #symbol ", %%r19\n" \
31 " ldw RT%%" #symbol "(%%sr0,%%r1), %0\n" \
32 : "=&r" (var));
35 #endif /* !dl_hppa_fptr_h */