aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/loongarch/bits/link_lavcurrent.h
diff options
context:
space:
mode:
authorcaiyinyu <caiyinyu@loongson.cn>2023-09-08 14:10:55 +0800
committercaiyinyu <caiyinyu@loongson.cn>2023-09-15 09:07:42 +0800
commitf5242db159b9e326336e0eca60d11a986bc2015a (patch)
treeefa12bdda6df9da61a03fc6ef62b2976148672c4 /sysdeps/loongarch/bits/link_lavcurrent.h
parent803f4073cc8901ee89d73a90eed0ebfd50113f4f (diff)
downloadglibc-f5242db159b9e326336e0eca60d11a986bc2015a.tar
glibc-f5242db159b9e326336e0eca60d11a986bc2015a.tar.gz
glibc-f5242db159b9e326336e0eca60d11a986bc2015a.tar.bz2
glibc-f5242db159b9e326336e0eca60d11a986bc2015a.zip
LoongArch: Add lasx/lsx support for _dl_runtime_profile.
Diffstat (limited to 'sysdeps/loongarch/bits/link_lavcurrent.h')
-rw-r--r--sysdeps/loongarch/bits/link_lavcurrent.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/sysdeps/loongarch/bits/link_lavcurrent.h b/sysdeps/loongarch/bits/link_lavcurrent.h
new file mode 100644
index 0000000000..15f1eb8478
--- /dev/null
+++ b/sysdeps/loongarch/bits/link_lavcurrent.h
@@ -0,0 +1,25 @@
+/* Data structure for communication from the run-time dynamic linker for
+ loaded ELF shared objects. LAV_CURRENT definition.
+ Copyright (C) 2023 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
+ <https://www.gnu.org/licenses/>. */
+
+#ifndef _LINK_H
+# error "Never include <bits/link_lavcurrent.h> directly; use <link.h> instead."
+#endif
+
+/* Version numbers for la_version handshake interface. */
+#define LAV_CURRENT 3