about summary refs log tree commit diff
path: root/sysdeps/wordsize-64
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-64')
-rw-r--r--sysdeps/wordsize-64/strtol.c10
-rw-r--r--sysdeps/wordsize-64/strtol_l.c10
-rw-r--r--sysdeps/wordsize-64/strtoll.c1
-rw-r--r--sysdeps/wordsize-64/strtoll_l.c1
-rw-r--r--sysdeps/wordsize-64/strtoul.c10
-rw-r--r--sysdeps/wordsize-64/strtoul_l.c10
-rw-r--r--sysdeps/wordsize-64/strtoull.c1
-rw-r--r--sysdeps/wordsize-64/strtoull_l.c1
8 files changed, 44 insertions, 0 deletions
diff --git a/sysdeps/wordsize-64/strtol.c b/sysdeps/wordsize-64/strtol.c
new file mode 100644
index 0000000000..2a18f7a642
--- /dev/null
+++ b/sysdeps/wordsize-64/strtol.c
@@ -0,0 +1,10 @@
+/* We have to irritate the compiler a bit.  */
+#define __strtoll_internal __strtoll_internal_XXX
+#define strtoll strtoll_XXX
+
+#include <sysdeps/generic/strtol.c>
+
+#undef __strtoll_internal
+#undef strtoll
+strong_alias (__strtol_internal, __strtoll_internal)
+weak_alias (__strtoll_internal, strtoll)
diff --git a/sysdeps/wordsize-64/strtol_l.c b/sysdeps/wordsize-64/strtol_l.c
new file mode 100644
index 0000000000..a2de0247fd
--- /dev/null
+++ b/sysdeps/wordsize-64/strtol_l.c
@@ -0,0 +1,10 @@
+/* We have to irritate the compiler a bit.  */
+#define ____strtoll_l_internal ____strtoll_l_internal_XXX
+#define __strtoll_l __strtoll_l_XXX
+
+#include <sysdeps/generic/strtol_l.c>
+
+#undef ____strtoll_l_internal
+#undef __strtoll_l
+strong_alias (____strtol_l_internal, ____strtoll_l_internal)
+weak_alias (____strtoll_l_internal, __strtoll_l)
diff --git a/sysdeps/wordsize-64/strtoll.c b/sysdeps/wordsize-64/strtoll.c
new file mode 100644
index 0000000000..c943e6af34
--- /dev/null
+++ b/sysdeps/wordsize-64/strtoll.c
@@ -0,0 +1 @@
+/* Not needed, it's the same as strtol.  */
diff --git a/sysdeps/wordsize-64/strtoll_l.c b/sysdeps/wordsize-64/strtoll_l.c
new file mode 100644
index 0000000000..5a5d0d0c6b
--- /dev/null
+++ b/sysdeps/wordsize-64/strtoll_l.c
@@ -0,0 +1 @@
+/* Not needed, it's the same as __strtol_l.  */
diff --git a/sysdeps/wordsize-64/strtoul.c b/sysdeps/wordsize-64/strtoul.c
new file mode 100644
index 0000000000..838474f436
--- /dev/null
+++ b/sysdeps/wordsize-64/strtoul.c
@@ -0,0 +1,10 @@
+/* We have to irritate the compiler a bit.  */
+#define __strtoull_internal __strtoull_internal_XXX
+#define strtoull strtoull_XXX
+
+#include <sysdeps/generic/strtoul.c>
+
+#undef __strtoull_internal
+#undef strtoull
+strong_alias (__strtoul_internal, __strtoull_internal)
+weak_alias (__strtoull_internal, strtoull)
diff --git a/sysdeps/wordsize-64/strtoul_l.c b/sysdeps/wordsize-64/strtoul_l.c
new file mode 100644
index 0000000000..2997afa6c2
--- /dev/null
+++ b/sysdeps/wordsize-64/strtoul_l.c
@@ -0,0 +1,10 @@
+/* We have to irritate the compiler a bit.  */
+#define ____strtoull_l_internal ____strtoull_l_internal_XXX
+#define __strtoull_l __strtoull_l_XXX
+
+#include <sysdeps/generic/strtoul_l.c>
+
+#undef ____strtoull_l_internal
+#undef __strtoull_l
+strong_alias (____strtoul_l_internal, ____strtoull_l_internal)
+weak_alias (____strtoull_l_internal, __strtoull_l)
diff --git a/sysdeps/wordsize-64/strtoull.c b/sysdeps/wordsize-64/strtoull.c
new file mode 100644
index 0000000000..c472bde1ec
--- /dev/null
+++ b/sysdeps/wordsize-64/strtoull.c
@@ -0,0 +1 @@
+/* Not needed, it's the same as strtoul.  */
diff --git a/sysdeps/wordsize-64/strtoull_l.c b/sysdeps/wordsize-64/strtoull_l.c
new file mode 100644
index 0000000000..c33466bb0d
--- /dev/null
+++ b/sysdeps/wordsize-64/strtoull_l.c
@@ -0,0 +1 @@
+/* Not needed, it's the same as __strtoul_l.  */