Skip to content

Commit 8a3dec0

Browse files
Yifan ZhuSchrodingerZhu
authored andcommitted
add back links to kernel sources
1 parent 3e74c4e commit 8a3dec0

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

libc/src/__support/OSUtil/linux/aarch64/vdso.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
namespace LIBC_NAMESPACE {
1212
namespace vdso {
1313
// translate VDSOSym to symbol names
14+
// https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/kernel/vdso/vdso.lds.S
1415
LIBC_INLINE constexpr cpp::string_view symbol_name(VDSOSym sym) {
1516
switch (sym) {
1617
case VDSOSym::RTSigReturn:

libc/src/__support/OSUtil/linux/arm/vdso.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
namespace LIBC_NAMESPACE {
1212
namespace vdso {
1313
// translate VDSOSym to symbol names
14+
// https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/vdso/vdso.lds.S
1415
LIBC_INLINE constexpr cpp::string_view symbol_name(VDSOSym sym) {
1516
switch (sym) {
1617
case VDSOSym::ClockGetTime:

libc/src/__support/OSUtil/linux/riscv/vdso.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
namespace LIBC_NAMESPACE {
1212
namespace vdso {
1313
// translate VDSOSym to symbol names
14+
// https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/riscv/kernel/vdso/vdso.lds.S
1415
LIBC_INLINE constexpr cpp::string_view symbol_name(VDSOSym sym) {
1516
switch (sym) {
1617
case VDSOSym::RTSigReturn:

libc/src/__support/OSUtil/linux/x86_64/vdso.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace vdso {
1515
// it is suggested that one should use the __vdso_ prefix.
1616
// Additionally, there is also an __vdso_sgx_enter_enclave, it is for the SGX
1717
// support, we do not include it here for now.
18+
// https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/entry/vdso/vdso.lds.S
1819
LIBC_INLINE constexpr cpp::string_view symbol_name(VDSOSym sym) {
1920
switch (sym) {
2021
case VDSOSym::ClockGetTime:

0 commit comments

Comments
 (0)