public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/maskray/clang] not-cancel.h: Move hidden_proto before first use
@ 2021-11-03 7:41 Fangrui Song
0 siblings, 0 replies; 8+ messages in thread
From: Fangrui Song @ 2021-11-03 7:41 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d6e440c7632c7d3fb8c742dbd4ee0e661da6aa28
commit d6e440c7632c7d3fb8c742dbd4ee0e661da6aa28
Author: Fangrui Song <maskray@google.com>
Date: Sun Aug 22 22:36:44 2021 -0700
not-cancel.h: Move hidden_proto before first use
This fixes `error: cannot apply asm label to function after its first use`
for Clang.
Diff:
---
sysdeps/unix/sysv/linux/not-cancel.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h
index 82798df4b4..7d34d3b66b 100644
--- a/sysdeps/unix/sysv/linux/not-cancel.h
+++ b/sysdeps/unix/sysv/linux/not-cancel.h
@@ -51,6 +51,21 @@ __typeof (__write) __write_nocancel;
/* Uncancelable close. */
__typeof (__close) __close_nocancel;
+/* Uncancelable fcntl. */
+__typeof (__fcntl) __fcntl64_nocancel;
+
+#if IS_IN (libc) || IS_IN (rtld)
+hidden_proto (__open_nocancel)
+hidden_proto (__open64_nocancel)
+hidden_proto (__openat_nocancel)
+hidden_proto (__openat64_nocancel)
+hidden_proto (__read_nocancel)
+hidden_proto (__pread64_nocancel)
+hidden_proto (__write_nocancel)
+hidden_proto (__close_nocancel)
+hidden_proto (__fcntl64_nocancel)
+#endif
+
/* Non cancellable close syscall that does not also set errno in case of
failure. */
static inline void
@@ -67,19 +82,4 @@ __writev_nocancel_nostatus (int fd, const struct iovec *iov, int iovcnt)
INTERNAL_SYSCALL_CALL (writev, fd, iov, iovcnt);
}
-/* Uncancelable fcntl. */
-__typeof (__fcntl) __fcntl64_nocancel;
-
-#if IS_IN (libc) || IS_IN (rtld)
-hidden_proto (__open_nocancel)
-hidden_proto (__open64_nocancel)
-hidden_proto (__openat_nocancel)
-hidden_proto (__openat64_nocancel)
-hidden_proto (__read_nocancel)
-hidden_proto (__pread64_nocancel)
-hidden_proto (__write_nocancel)
-hidden_proto (__close_nocancel)
-hidden_proto (__fcntl64_nocancel)
-#endif
-
#endif /* NOT_CANCEL_H */
^ permalink raw reply [flat|nested] 8+ messages in thread
* [glibc/maskray/clang] not-cancel.h: Move hidden_proto before first use
@ 2021-11-02 20:00 Fangrui Song
0 siblings, 0 replies; 8+ messages in thread
From: Fangrui Song @ 2021-11-02 20:00 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0b6a65b54b374505f6d00e44eb6884adfe57a17e
commit 0b6a65b54b374505f6d00e44eb6884adfe57a17e
Author: Fangrui Song <maskray@google.com>
Date: Sun Aug 22 22:36:44 2021 -0700
not-cancel.h: Move hidden_proto before first use
This fixes `error: cannot apply asm label to function after its first use`
for Clang.
Diff:
---
sysdeps/unix/sysv/linux/not-cancel.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h
index 82798df4b4..7d34d3b66b 100644
--- a/sysdeps/unix/sysv/linux/not-cancel.h
+++ b/sysdeps/unix/sysv/linux/not-cancel.h
@@ -51,6 +51,21 @@ __typeof (__write) __write_nocancel;
/* Uncancelable close. */
__typeof (__close) __close_nocancel;
+/* Uncancelable fcntl. */
+__typeof (__fcntl) __fcntl64_nocancel;
+
+#if IS_IN (libc) || IS_IN (rtld)
+hidden_proto (__open_nocancel)
+hidden_proto (__open64_nocancel)
+hidden_proto (__openat_nocancel)
+hidden_proto (__openat64_nocancel)
+hidden_proto (__read_nocancel)
+hidden_proto (__pread64_nocancel)
+hidden_proto (__write_nocancel)
+hidden_proto (__close_nocancel)
+hidden_proto (__fcntl64_nocancel)
+#endif
+
/* Non cancellable close syscall that does not also set errno in case of
failure. */
static inline void
@@ -67,19 +82,4 @@ __writev_nocancel_nostatus (int fd, const struct iovec *iov, int iovcnt)
INTERNAL_SYSCALL_CALL (writev, fd, iov, iovcnt);
}
-/* Uncancelable fcntl. */
-__typeof (__fcntl) __fcntl64_nocancel;
-
-#if IS_IN (libc) || IS_IN (rtld)
-hidden_proto (__open_nocancel)
-hidden_proto (__open64_nocancel)
-hidden_proto (__openat_nocancel)
-hidden_proto (__openat64_nocancel)
-hidden_proto (__read_nocancel)
-hidden_proto (__pread64_nocancel)
-hidden_proto (__write_nocancel)
-hidden_proto (__close_nocancel)
-hidden_proto (__fcntl64_nocancel)
-#endif
-
#endif /* NOT_CANCEL_H */
^ permalink raw reply [flat|nested] 8+ messages in thread
* [glibc/maskray/clang] not-cancel.h: Move hidden_proto before first use
@ 2021-10-20 21:24 Fangrui Song
0 siblings, 0 replies; 8+ messages in thread
From: Fangrui Song @ 2021-10-20 21:24 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e4153ad0cf18565963b65139af6ee05b9a0fee1c
commit e4153ad0cf18565963b65139af6ee05b9a0fee1c
Author: Fangrui Song <maskray@google.com>
Date: Sun Aug 22 22:36:44 2021 -0700
not-cancel.h: Move hidden_proto before first use
This fixes `error: cannot apply asm label to function after its first use`
for Clang.
Diff:
---
sysdeps/unix/sysv/linux/not-cancel.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h
index 82798df4b4..7d34d3b66b 100644
--- a/sysdeps/unix/sysv/linux/not-cancel.h
+++ b/sysdeps/unix/sysv/linux/not-cancel.h
@@ -51,6 +51,21 @@ __typeof (__write) __write_nocancel;
/* Uncancelable close. */
__typeof (__close) __close_nocancel;
+/* Uncancelable fcntl. */
+__typeof (__fcntl) __fcntl64_nocancel;
+
+#if IS_IN (libc) || IS_IN (rtld)
+hidden_proto (__open_nocancel)
+hidden_proto (__open64_nocancel)
+hidden_proto (__openat_nocancel)
+hidden_proto (__openat64_nocancel)
+hidden_proto (__read_nocancel)
+hidden_proto (__pread64_nocancel)
+hidden_proto (__write_nocancel)
+hidden_proto (__close_nocancel)
+hidden_proto (__fcntl64_nocancel)
+#endif
+
/* Non cancellable close syscall that does not also set errno in case of
failure. */
static inline void
@@ -67,19 +82,4 @@ __writev_nocancel_nostatus (int fd, const struct iovec *iov, int iovcnt)
INTERNAL_SYSCALL_CALL (writev, fd, iov, iovcnt);
}
-/* Uncancelable fcntl. */
-__typeof (__fcntl) __fcntl64_nocancel;
-
-#if IS_IN (libc) || IS_IN (rtld)
-hidden_proto (__open_nocancel)
-hidden_proto (__open64_nocancel)
-hidden_proto (__openat_nocancel)
-hidden_proto (__openat64_nocancel)
-hidden_proto (__read_nocancel)
-hidden_proto (__pread64_nocancel)
-hidden_proto (__write_nocancel)
-hidden_proto (__close_nocancel)
-hidden_proto (__fcntl64_nocancel)
-#endif
-
#endif /* NOT_CANCEL_H */
^ permalink raw reply [flat|nested] 8+ messages in thread
* [glibc/maskray/clang] not-cancel.h: Move hidden_proto before first use
@ 2021-10-19 17:01 Fangrui Song
0 siblings, 0 replies; 8+ messages in thread
From: Fangrui Song @ 2021-10-19 17:01 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=80e02ffea4ed378f3d698053f01869e927353f4a
commit 80e02ffea4ed378f3d698053f01869e927353f4a
Author: Fangrui Song <maskray@google.com>
Date: Sun Aug 22 22:36:44 2021 -0700
not-cancel.h: Move hidden_proto before first use
This fixes `error: cannot apply asm label to function after its first use`
for Clang.
Diff:
---
sysdeps/unix/sysv/linux/not-cancel.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h
index 82798df4b4..7d34d3b66b 100644
--- a/sysdeps/unix/sysv/linux/not-cancel.h
+++ b/sysdeps/unix/sysv/linux/not-cancel.h
@@ -51,6 +51,21 @@ __typeof (__write) __write_nocancel;
/* Uncancelable close. */
__typeof (__close) __close_nocancel;
+/* Uncancelable fcntl. */
+__typeof (__fcntl) __fcntl64_nocancel;
+
+#if IS_IN (libc) || IS_IN (rtld)
+hidden_proto (__open_nocancel)
+hidden_proto (__open64_nocancel)
+hidden_proto (__openat_nocancel)
+hidden_proto (__openat64_nocancel)
+hidden_proto (__read_nocancel)
+hidden_proto (__pread64_nocancel)
+hidden_proto (__write_nocancel)
+hidden_proto (__close_nocancel)
+hidden_proto (__fcntl64_nocancel)
+#endif
+
/* Non cancellable close syscall that does not also set errno in case of
failure. */
static inline void
@@ -67,19 +82,4 @@ __writev_nocancel_nostatus (int fd, const struct iovec *iov, int iovcnt)
INTERNAL_SYSCALL_CALL (writev, fd, iov, iovcnt);
}
-/* Uncancelable fcntl. */
-__typeof (__fcntl) __fcntl64_nocancel;
-
-#if IS_IN (libc) || IS_IN (rtld)
-hidden_proto (__open_nocancel)
-hidden_proto (__open64_nocancel)
-hidden_proto (__openat_nocancel)
-hidden_proto (__openat64_nocancel)
-hidden_proto (__read_nocancel)
-hidden_proto (__pread64_nocancel)
-hidden_proto (__write_nocancel)
-hidden_proto (__close_nocancel)
-hidden_proto (__fcntl64_nocancel)
-#endif
-
#endif /* NOT_CANCEL_H */
^ permalink raw reply [flat|nested] 8+ messages in thread
* [glibc/maskray/clang] not-cancel.h: Move hidden_proto before first use
@ 2021-10-11 18:16 Fangrui Song
0 siblings, 0 replies; 8+ messages in thread
From: Fangrui Song @ 2021-10-11 18:16 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2eac366ccf5a0cd3e24297a7cb9469e08e1e03ed
commit 2eac366ccf5a0cd3e24297a7cb9469e08e1e03ed
Author: Fangrui Song <maskray@google.com>
Date: Sun Aug 22 22:36:44 2021 -0700
not-cancel.h: Move hidden_proto before first use
This fixes `error: cannot apply asm label to function after its first use`
for Clang.
Diff:
---
sysdeps/unix/sysv/linux/not-cancel.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h
index 82798df4b4..7d34d3b66b 100644
--- a/sysdeps/unix/sysv/linux/not-cancel.h
+++ b/sysdeps/unix/sysv/linux/not-cancel.h
@@ -51,6 +51,21 @@ __typeof (__write) __write_nocancel;
/* Uncancelable close. */
__typeof (__close) __close_nocancel;
+/* Uncancelable fcntl. */
+__typeof (__fcntl) __fcntl64_nocancel;
+
+#if IS_IN (libc) || IS_IN (rtld)
+hidden_proto (__open_nocancel)
+hidden_proto (__open64_nocancel)
+hidden_proto (__openat_nocancel)
+hidden_proto (__openat64_nocancel)
+hidden_proto (__read_nocancel)
+hidden_proto (__pread64_nocancel)
+hidden_proto (__write_nocancel)
+hidden_proto (__close_nocancel)
+hidden_proto (__fcntl64_nocancel)
+#endif
+
/* Non cancellable close syscall that does not also set errno in case of
failure. */
static inline void
@@ -67,19 +82,4 @@ __writev_nocancel_nostatus (int fd, const struct iovec *iov, int iovcnt)
INTERNAL_SYSCALL_CALL (writev, fd, iov, iovcnt);
}
-/* Uncancelable fcntl. */
-__typeof (__fcntl) __fcntl64_nocancel;
-
-#if IS_IN (libc) || IS_IN (rtld)
-hidden_proto (__open_nocancel)
-hidden_proto (__open64_nocancel)
-hidden_proto (__openat_nocancel)
-hidden_proto (__openat64_nocancel)
-hidden_proto (__read_nocancel)
-hidden_proto (__pread64_nocancel)
-hidden_proto (__write_nocancel)
-hidden_proto (__close_nocancel)
-hidden_proto (__fcntl64_nocancel)
-#endif
-
#endif /* NOT_CANCEL_H */
^ permalink raw reply [flat|nested] 8+ messages in thread
* [glibc/maskray/clang] not-cancel.h: Move hidden_proto before first use
@ 2021-10-10 23:12 Fangrui Song
0 siblings, 0 replies; 8+ messages in thread
From: Fangrui Song @ 2021-10-10 23:12 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9b673edd1b235d9a374279f7373b78b0b851afc1
commit 9b673edd1b235d9a374279f7373b78b0b851afc1
Author: Fangrui Song <maskray@google.com>
Date: Sun Aug 22 22:36:44 2021 -0700
not-cancel.h: Move hidden_proto before first use
This fixes `error: cannot apply asm label to function after its first use`
for Clang.
Diff:
---
sysdeps/unix/sysv/linux/not-cancel.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h
index 82798df4b4..7d34d3b66b 100644
--- a/sysdeps/unix/sysv/linux/not-cancel.h
+++ b/sysdeps/unix/sysv/linux/not-cancel.h
@@ -51,6 +51,21 @@ __typeof (__write) __write_nocancel;
/* Uncancelable close. */
__typeof (__close) __close_nocancel;
+/* Uncancelable fcntl. */
+__typeof (__fcntl) __fcntl64_nocancel;
+
+#if IS_IN (libc) || IS_IN (rtld)
+hidden_proto (__open_nocancel)
+hidden_proto (__open64_nocancel)
+hidden_proto (__openat_nocancel)
+hidden_proto (__openat64_nocancel)
+hidden_proto (__read_nocancel)
+hidden_proto (__pread64_nocancel)
+hidden_proto (__write_nocancel)
+hidden_proto (__close_nocancel)
+hidden_proto (__fcntl64_nocancel)
+#endif
+
/* Non cancellable close syscall that does not also set errno in case of
failure. */
static inline void
@@ -67,19 +82,4 @@ __writev_nocancel_nostatus (int fd, const struct iovec *iov, int iovcnt)
INTERNAL_SYSCALL_CALL (writev, fd, iov, iovcnt);
}
-/* Uncancelable fcntl. */
-__typeof (__fcntl) __fcntl64_nocancel;
-
-#if IS_IN (libc) || IS_IN (rtld)
-hidden_proto (__open_nocancel)
-hidden_proto (__open64_nocancel)
-hidden_proto (__openat_nocancel)
-hidden_proto (__openat64_nocancel)
-hidden_proto (__read_nocancel)
-hidden_proto (__pread64_nocancel)
-hidden_proto (__write_nocancel)
-hidden_proto (__close_nocancel)
-hidden_proto (__fcntl64_nocancel)
-#endif
-
#endif /* NOT_CANCEL_H */
^ permalink raw reply [flat|nested] 8+ messages in thread
* [glibc/maskray/clang] not-cancel.h: Move hidden_proto before first use
@ 2021-10-08 1:44 Fangrui Song
0 siblings, 0 replies; 8+ messages in thread
From: Fangrui Song @ 2021-10-08 1:44 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=46a1f512992264d017dc83fc2882400574eae964
commit 46a1f512992264d017dc83fc2882400574eae964
Author: Fangrui Song <maskray@google.com>
Date: Sun Aug 22 22:36:44 2021 -0700
not-cancel.h: Move hidden_proto before first use
This fixes `error: cannot apply asm label to function after its first use`
for Clang.
Diff:
---
sysdeps/unix/sysv/linux/not-cancel.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h
index 82798df4b4..7d34d3b66b 100644
--- a/sysdeps/unix/sysv/linux/not-cancel.h
+++ b/sysdeps/unix/sysv/linux/not-cancel.h
@@ -51,6 +51,21 @@ __typeof (__write) __write_nocancel;
/* Uncancelable close. */
__typeof (__close) __close_nocancel;
+/* Uncancelable fcntl. */
+__typeof (__fcntl) __fcntl64_nocancel;
+
+#if IS_IN (libc) || IS_IN (rtld)
+hidden_proto (__open_nocancel)
+hidden_proto (__open64_nocancel)
+hidden_proto (__openat_nocancel)
+hidden_proto (__openat64_nocancel)
+hidden_proto (__read_nocancel)
+hidden_proto (__pread64_nocancel)
+hidden_proto (__write_nocancel)
+hidden_proto (__close_nocancel)
+hidden_proto (__fcntl64_nocancel)
+#endif
+
/* Non cancellable close syscall that does not also set errno in case of
failure. */
static inline void
@@ -67,19 +82,4 @@ __writev_nocancel_nostatus (int fd, const struct iovec *iov, int iovcnt)
INTERNAL_SYSCALL_CALL (writev, fd, iov, iovcnt);
}
-/* Uncancelable fcntl. */
-__typeof (__fcntl) __fcntl64_nocancel;
-
-#if IS_IN (libc) || IS_IN (rtld)
-hidden_proto (__open_nocancel)
-hidden_proto (__open64_nocancel)
-hidden_proto (__openat_nocancel)
-hidden_proto (__openat64_nocancel)
-hidden_proto (__read_nocancel)
-hidden_proto (__pread64_nocancel)
-hidden_proto (__write_nocancel)
-hidden_proto (__close_nocancel)
-hidden_proto (__fcntl64_nocancel)
-#endif
-
#endif /* NOT_CANCEL_H */
^ permalink raw reply [flat|nested] 8+ messages in thread
* [glibc/maskray/clang] not-cancel.h: Move hidden_proto before first use
@ 2021-10-07 20:13 Fangrui Song
0 siblings, 0 replies; 8+ messages in thread
From: Fangrui Song @ 2021-10-07 20:13 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e2ca1aaf29cf8e067683a795c573b5c19a18eebf
commit e2ca1aaf29cf8e067683a795c573b5c19a18eebf
Author: Fangrui Song <maskray@google.com>
Date: Sun Aug 22 22:36:44 2021 -0700
not-cancel.h: Move hidden_proto before first use
This fixes `error: cannot apply asm label to function after its first use`
for Clang.
Diff:
---
sysdeps/unix/sysv/linux/not-cancel.h | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/not-cancel.h b/sysdeps/unix/sysv/linux/not-cancel.h
index 82798df4b4..7d34d3b66b 100644
--- a/sysdeps/unix/sysv/linux/not-cancel.h
+++ b/sysdeps/unix/sysv/linux/not-cancel.h
@@ -51,6 +51,21 @@ __typeof (__write) __write_nocancel;
/* Uncancelable close. */
__typeof (__close) __close_nocancel;
+/* Uncancelable fcntl. */
+__typeof (__fcntl) __fcntl64_nocancel;
+
+#if IS_IN (libc) || IS_IN (rtld)
+hidden_proto (__open_nocancel)
+hidden_proto (__open64_nocancel)
+hidden_proto (__openat_nocancel)
+hidden_proto (__openat64_nocancel)
+hidden_proto (__read_nocancel)
+hidden_proto (__pread64_nocancel)
+hidden_proto (__write_nocancel)
+hidden_proto (__close_nocancel)
+hidden_proto (__fcntl64_nocancel)
+#endif
+
/* Non cancellable close syscall that does not also set errno in case of
failure. */
static inline void
@@ -67,19 +82,4 @@ __writev_nocancel_nostatus (int fd, const struct iovec *iov, int iovcnt)
INTERNAL_SYSCALL_CALL (writev, fd, iov, iovcnt);
}
-/* Uncancelable fcntl. */
-__typeof (__fcntl) __fcntl64_nocancel;
-
-#if IS_IN (libc) || IS_IN (rtld)
-hidden_proto (__open_nocancel)
-hidden_proto (__open64_nocancel)
-hidden_proto (__openat_nocancel)
-hidden_proto (__openat64_nocancel)
-hidden_proto (__read_nocancel)
-hidden_proto (__pread64_nocancel)
-hidden_proto (__write_nocancel)
-hidden_proto (__close_nocancel)
-hidden_proto (__fcntl64_nocancel)
-#endif
-
#endif /* NOT_CANCEL_H */
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-11-03 7:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 7:41 [glibc/maskray/clang] not-cancel.h: Move hidden_proto before first use Fangrui Song
-- strict thread matches above, loose matches on Subject: below --
2021-11-02 20:00 Fangrui Song
2021-10-20 21:24 Fangrui Song
2021-10-19 17:01 Fangrui Song
2021-10-11 18:16 Fangrui Song
2021-10-10 23:12 Fangrui Song
2021-10-08 1:44 Fangrui Song
2021-10-07 20:13 Fangrui Song
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).