]> git.ipfire.org Git - thirdparty/LuaJIT.git/log
thirdparty/LuaJIT.git
6 days agoWindows: Add lua52compat option to msvcbuild.bat. v2.1
Mike Pall [Thu, 24 Jul 2025 13:45:24 +0000 (15:45 +0200)] 
Windows: Add lua52compat option to msvcbuild.bat.

Thanks to Gil Reis. #1366

6 days agoMerge branch 'master' into v2.1
Mike Pall [Thu, 24 Jul 2025 13:41:35 +0000 (15:41 +0200)] 
Merge branch 'master' into v2.1

6 days agox86/x64: Don't use undefined MUL/IMUL zero flag. master v2.0
Mike Pall [Thu, 24 Jul 2025 13:38:45 +0000 (15:38 +0200)] 
x86/x64: Don't use undefined MUL/IMUL zero flag.

Reported by VrIgHtEr. #1376

6 days agoAvoid out-of-range PC for stack overflow error from snapshot restore.
Mike Pall [Thu, 24 Jul 2025 13:35:56 +0000 (15:35 +0200)] 
Avoid out-of-range PC for stack overflow error from snapshot restore.

Reported by Sergey Kaplun. #1369

6 days agoFFI: Fix dangling CType references (again).
Mike Pall [Thu, 24 Jul 2025 13:29:54 +0000 (15:29 +0200)] 
FFI: Fix dangling CType references (again).

Reported by Sergey Kaplun. Collateral of #1360

2 months agoMerge branch 'master' into v2.1
Mike Pall [Wed, 28 May 2025 19:14:47 +0000 (21:14 +0200)] 
Merge branch 'master' into v2.1

2 months agoFix JIT slot overflow during up-recursion.
Mike Pall [Wed, 28 May 2025 19:13:17 +0000 (21:13 +0200)] 
Fix JIT slot overflow during up-recursion.

Reported by Sergey Kaplun. #1358

2 months agoMerge branch 'master' into v2.1
Mike Pall [Wed, 28 May 2025 19:06:44 +0000 (21:06 +0200)] 
Merge branch 'master' into v2.1

2 months agoAvoid out-of-range PC for stack overflow error from snapshot restore.
Mike Pall [Wed, 28 May 2025 19:02:31 +0000 (21:02 +0200)] 
Avoid out-of-range PC for stack overflow error from snapshot restore.

Reported by Sergey Kaplun. #1359

2 months agoMerge branch 'master' into v2.1
Mike Pall [Wed, 28 May 2025 18:39:05 +0000 (20:39 +0200)] 
Merge branch 'master' into v2.1

2 months agoFFI: Fix dangling CType references.
Mike Pall [Wed, 28 May 2025 18:36:24 +0000 (20:36 +0200)] 
FFI: Fix dangling CType references.

Reported by Sergey Kaplun. Collateral of #1360

3 months agoPrevent Clang UB 'optimization' which breaks integerness checks.
Mike Pall [Thu, 10 Apr 2025 20:53:50 +0000 (22:53 +0200)] 
Prevent Clang UB 'optimization' which breaks integerness checks.

Thanks to Kacper Michajłow. #1351 #1355

3 months agoARM: Fix soft-float math.min()/math.max().
Mike Pall [Thu, 10 Apr 2025 20:45:38 +0000 (22:45 +0200)] 
ARM: Fix soft-float math.min()/math.max().

Reported by Dong Jianqiang. #1356

3 months agoARM64: Fix pass-by-value struct calling conventions.
Mike Pall [Thu, 10 Apr 2025 20:06:47 +0000 (22:06 +0200)] 
ARM64: Fix pass-by-value struct calling conventions.

Reported by AnthonyK213. #1357

3 months agoMerge branch 'master' into v2.1
Mike Pall [Mon, 7 Apr 2025 08:33:15 +0000 (10:33 +0200)] 
Merge branch 'master' into v2.1

3 months agoFix error generation in load*.
Mike Pall [Mon, 7 Apr 2025 08:27:40 +0000 (10:27 +0200)] 
Fix error generation in load*.

Reported by Sergey Kaplun. #1353

3 months agoInitialize unused value when specializing to cdata metatable.
Mike Pall [Mon, 7 Apr 2025 07:22:07 +0000 (09:22 +0200)] 
Initialize unused value when specializing to cdata metatable.

Reported by jakitliang. #1354

4 months agoChange handling of nil value markers in template tables.
Mike Pall [Tue, 11 Mar 2025 22:04:30 +0000 (23:04 +0100)] 
Change handling of nil value markers in template tables.

Reported by Bernhard M. Wiedemann. #1348 #1155
Fixes from Peter Cawley, Christian Clason, Lewis Russell.

4 months agoREVERT: Change handling of nil value markers in template tables.
Mike Pall [Mon, 10 Mar 2025 01:56:07 +0000 (02:56 +0100)] 
REVERT: Change handling of nil value markers in template tables.

4 months agomacOS: Fix Apple hardened runtime support and put behind build option.
Mike Pall [Mon, 10 Mar 2025 01:53:20 +0000 (02:53 +0100)] 
macOS: Fix Apple hardened runtime support and put behind build option.

Reported by vanc. #1334

4 months agomacOS: Fix support for Apple hardened runtime.
Mike Pall [Sun, 9 Mar 2025 23:05:08 +0000 (00:05 +0100)] 
macOS: Fix support for Apple hardened runtime.

Reported by Christian Clason. #1334

4 months agoFix handling of nil value markers in template tables.
Mike Pall [Sun, 9 Mar 2025 22:11:05 +0000 (23:11 +0100)] 
Fix handling of nil value markers in template tables.

Thanks to Peter Cawley. #1348 #1155

4 months agoMerge branch 'master' into v2.1
Mike Pall [Sun, 9 Mar 2025 22:09:02 +0000 (23:09 +0100)] 
Merge branch 'master' into v2.1

4 months agoAvoid unpatching bytecode twice after a trace flush.
Mike Pall [Sun, 9 Mar 2025 22:04:23 +0000 (23:04 +0100)] 
Avoid unpatching bytecode twice after a trace flush.

Reported by Sergey Kaplun. #1345

4 months agoFix state restore when recording __concat metamethod.
Mike Pall [Sun, 9 Mar 2025 20:28:17 +0000 (21:28 +0100)] 
Fix state restore when recording __concat metamethod.

Reported by Sergey Kaplun. #1338 #1298

4 months agoWindows: Allow mixed builds with msvcbuild.bat.
Mike Pall [Sun, 9 Mar 2025 20:05:06 +0000 (21:05 +0100)] 
Windows: Allow mixed builds with msvcbuild.bat.

Suggested by alex4814. #1341

4 months agomacOS: Add suport for Apple hardened runtime.
Mike Pall [Sun, 9 Mar 2025 19:45:22 +0000 (20:45 +0100)] 
macOS: Add suport for Apple hardened runtime.

Thanks to Peter Cawley. #1334

4 months agoMerge branch 'master' into v2.1
Mike Pall [Sun, 9 Mar 2025 15:25:34 +0000 (16:25 +0100)] 
Merge branch 'master' into v2.1

4 months agoAdd compatibility string coercion for fp:seek() argument.
Mike Pall [Sun, 9 Mar 2025 15:21:29 +0000 (16:21 +0100)] 
Add compatibility string coercion for fp:seek() argument.

Reported by Magnus Wibeck. #1343

4 months agoWindows: Clarify installation directory layout.
Mike Pall [Sun, 9 Mar 2025 15:10:22 +0000 (16:10 +0100)] 
Windows: Clarify installation directory layout.

Suggested by eabase. #1346

4 months agoRemove Cygwin from docs, since it's not a supported target.
Mike Pall [Sun, 9 Mar 2025 15:09:36 +0000 (16:09 +0100)] 
Remove Cygwin from docs, since it's not a supported target.

4 months agoImprove CLI signal handling on POSIX.
Mike Pall [Sun, 9 Mar 2025 14:50:01 +0000 (15:50 +0100)] 
Improve CLI signal handling on POSIX.

4 months agoFFI: Add pre-declared int128_t, uint128_t, __int128 types.
Mike Pall [Sun, 9 Mar 2025 14:37:35 +0000 (15:37 +0100)] 
FFI: Add pre-declared int128_t, uint128_t, __int128 types.

Note: Only declaration and copy (interpreted only) are implemented.

4 months agoUse dylib extension for iOS installs, too.
Mike Pall [Sun, 9 Mar 2025 14:00:15 +0000 (15:00 +0100)] 
Use dylib extension for iOS installs, too.

Reported by Andrey Filipenkov. #1336

4 months agoChange handling of nil value markers in template tables.
Mike Pall [Sun, 9 Mar 2025 13:44:57 +0000 (14:44 +0100)] 
Change handling of nil value markers in template tables.

Reported by Bernhard M. Wiedemann. #1348 #1155

6 months agoMerge branch 'master' into v2.1
Mike Pall [Mon, 13 Jan 2025 15:22:22 +0000 (16:22 +0100)] 
Merge branch 'master' into v2.1

6 months agoFix recording of BC_VARG.
Mike Pall [Mon, 13 Jan 2025 15:19:57 +0000 (16:19 +0100)] 
Fix recording of BC_VARG.

Reported by Bachir Bendrissou.

6 months agoReject negative getfenv()/setfenv() levels to prevent compiler warning.
Mike Pall [Mon, 13 Jan 2025 15:16:27 +0000 (16:16 +0100)] 
Reject negative getfenv()/setfenv() levels to prevent compiler warning.

Thanks to Sergey Kaplun. #1329

6 months agoMerge branch 'master' into v2.1
Mike Pall [Mon, 13 Jan 2025 15:15:19 +0000 (16:15 +0100)] 
Merge branch 'master' into v2.1

6 months agoBump copyright date.
Mike Pall [Mon, 13 Jan 2025 14:59:10 +0000 (15:59 +0100)] 
Bump copyright date.

7 months agoMerge branch 'master' into v2.1
Mike Pall [Mon, 16 Dec 2024 13:32:07 +0000 (14:32 +0100)] 
Merge branch 'master' into v2.1

7 months agoForce fallback source name for stripped bytecode.
Mike Pall [Mon, 16 Dec 2024 13:30:10 +0000 (14:30 +0100)] 
Force fallback source name for stripped bytecode.

Reported by Lyrth. #1319

7 months agoRemove dependency on <limits.h>.
Mike Pall [Mon, 16 Dec 2024 13:27:58 +0000 (14:27 +0100)] 
Remove dependency on <limits.h>.

Reported by yupengda002. #1318

8 months agoRestore state when recording __concat metamethod throws OOM.
Mike Pall [Thu, 28 Nov 2024 17:07:58 +0000 (18:07 +0100)] 
Restore state when recording __concat metamethod throws OOM.

Reported by Sergey Kaplun. #1298 #1234

8 months agoMIPS64: Fix pcall() error case.
Mike Pall [Thu, 28 Nov 2024 15:33:18 +0000 (16:33 +0100)] 
MIPS64: Fix pcall() error case.

Thanks to Sergey Kaplun. #1308

8 months agoMerge branch 'master' into v2.1
Mike Pall [Thu, 28 Nov 2024 15:28:51 +0000 (16:28 +0100)] 
Merge branch 'master' into v2.1

8 months agoFix detection of inconsistent renames due to sunk values.
Mike Pall [Thu, 28 Nov 2024 15:26:10 +0000 (16:26 +0100)] 
Fix detection of inconsistent renames due to sunk values.

Thanks to Sergey Kaplun. #1295 #584

8 months agoWindows: Allow amalgamated static builds with msvcbuild.bat.
Mike Pall [Thu, 14 Nov 2024 16:21:00 +0000 (17:21 +0100)] 
Windows: Allow amalgamated static builds with msvcbuild.bat.

Reported by Naman Dixit. #1289

8 months agoAlways close profiler output file.
Mike Pall [Thu, 14 Nov 2024 16:13:58 +0000 (17:13 +0100)] 
Always close profiler output file.

Reported by Guilherme Batalheiro. #1304

8 months agoFix override of INSTALL_LJLIBD in the presence of DESTDIR.
Mike Pall [Thu, 14 Nov 2024 16:09:07 +0000 (17:09 +0100)] 
Fix override of INSTALL_LJLIBD in the presence of DESTDIR.

Reported by faithanalog. #1239 #1303

8 months agoFix bit op coercion for shifts in DUALNUM builds.
Mike Pall [Wed, 13 Nov 2024 08:18:32 +0000 (09:18 +0100)] 
Fix bit op coercion for shifts in DUALNUM builds.

Reported by Junlong Li. Followup to #1273

9 months agomacOS: Remove obsolete -single_module flag.
Mike Pall [Wed, 2 Oct 2024 11:59:42 +0000 (13:59 +0200)] 
macOS: Remove obsolete -single_module flag.

Thanks to dundargoc. #1284

9 months agomacOS: Workaround for buggy XCode 15.0 - 15.2 linker.
Mike Pall [Wed, 2 Oct 2024 10:12:56 +0000 (12:12 +0200)] 
macOS: Workaround for buggy XCode 15.0 - 15.2 linker.

Thanks to Carlo Cabrera. #1283

9 months agomacOS: Fix macOS 15 / Clang 16 build.
Mike Pall [Wed, 2 Oct 2024 00:06:25 +0000 (02:06 +0200)] 
macOS: Fix macOS 15 / Clang 16 build.

Note: The -Wl,-no_deduplicate workaround is NOT needed anymore.
Thanks to fxcoudert, corsix, clason, baconpaul, mvf. #1275 #1266

10 months agoFix bit op coercion in DUALNUM builds.
Mike Pall [Sun, 29 Sep 2024 14:46:29 +0000 (16:46 +0200)] 
Fix bit op coercion in DUALNUM builds.

Thanks to Sergey Kaplun. #1273

10 months agoMerge branch 'master' into v2.1
Mike Pall [Sun, 29 Sep 2024 14:11:15 +0000 (16:11 +0200)] 
Merge branch 'master' into v2.1

10 months agoFix compiliation of getmetatable() for UDTYPE_IO_FILE.
Mike Pall [Sun, 29 Sep 2024 14:03:37 +0000 (16:03 +0200)] 
Fix compiliation of getmetatable() for UDTYPE_IO_FILE.

Reported by Sergey Bronnikov. #1279

10 months agoRemove ancient RtlUnwindEx workaround for MinGW64.
Mike Pall [Sun, 29 Sep 2024 13:33:32 +0000 (15:33 +0200)] 
Remove ancient RtlUnwindEx workaround for MinGW64.

Thanks to Kacper Michajłow. #1272

10 months agoDrop unused function wrapper.
Mike Pall [Wed, 4 Sep 2024 12:32:08 +0000 (14:32 +0200)] 
Drop unused function wrapper.

Follow-up to #1247.

11 months agoMerge branch 'master' into v2.1
Mike Pall [Sat, 24 Aug 2024 15:14:51 +0000 (17:14 +0200)] 
Merge branch 'master' into v2.1

11 months agoFix limit check in narrow_conv_backprop().
Mike Pall [Sat, 24 Aug 2024 15:11:45 +0000 (17:11 +0200)] 
Fix limit check in narrow_conv_backprop().

Thanks to Sergey Kaplun. #1262

11 months agoAlways use IRT_NIL for IR_TBAR.
Mike Pall [Sat, 24 Aug 2024 15:03:17 +0000 (17:03 +0200)] 
Always use IRT_NIL for IR_TBAR.

Thanks to Peter Cawley. #1258

11 months agoARM64: Use ldr literal to load FP constants.
Mike Pall [Wed, 21 Aug 2024 09:31:29 +0000 (11:31 +0200)] 
ARM64: Use ldr literal to load FP constants.

Thanks to Peter Cawley. #1255

11 months agoFFI: Add missing coercion when recording 64-bit bit.*().
Mike Pall [Tue, 20 Aug 2024 17:13:59 +0000 (19:13 +0200)] 
FFI: Add missing coercion when recording 64-bit bit.*().

Thanks to Peter Cawley. #1252

11 months agoARM64: Make tobit conversions match JIT backend behavior.
Mike Pall [Tue, 20 Aug 2024 17:01:51 +0000 (19:01 +0200)] 
ARM64: Make tobit conversions match JIT backend behavior.

Thanks to Peter Cawley. #1253

11 months agoMerge branch 'master' into v2.1
Mike Pall [Tue, 20 Aug 2024 17:01:38 +0000 (19:01 +0200)] 
Merge branch 'master' into v2.1

11 months agoARM: Make hard-float tobit conversions match JIT backend behavior.
Mike Pall [Tue, 20 Aug 2024 17:00:47 +0000 (19:00 +0200)] 
ARM: Make hard-float tobit conversions match JIT backend behavior.

Reported by Peter Cawley. #1253

11 months agoFFI: Drop finalizer table rehash after GC cycle.
Mike Pall [Mon, 19 Aug 2024 18:00:21 +0000 (20:00 +0200)] 
FFI: Drop finalizer table rehash after GC cycle.

Reported by Sergey Kaplun. #1247

11 months agoMerge branch 'master' into v2.1
Mike Pall [Mon, 19 Aug 2024 15:33:23 +0000 (17:33 +0200)] 
Merge branch 'master' into v2.1

11 months agoFix another potential file descriptor leak in luaL_loadfile*().
Mike Pall [Mon, 19 Aug 2024 15:31:15 +0000 (17:31 +0200)] 
Fix another potential file descriptor leak in luaL_loadfile*().

Reported by Peter Cawley. #1249

11 months agoMerge branch 'master' into v2.1
Mike Pall [Mon, 19 Aug 2024 14:22:55 +0000 (16:22 +0200)] 
Merge branch 'master' into v2.1

11 months agoMIPS32: Fix little-endian IR_RETF.
Mike Pall [Mon, 19 Aug 2024 14:17:44 +0000 (16:17 +0200)] 
MIPS32: Fix little-endian IR_RETF.

Thanks to Peter Cawley. #1250

11 months agoCorrectly close VM state after early OOM during open.
Mike Pall [Mon, 19 Aug 2024 14:14:55 +0000 (16:14 +0200)] 
Correctly close VM state after early OOM during open.

Reported by Assumeru. #1248

11 months agoFix potential file descriptor leak in luaL_loadfile*().
Mike Pall [Mon, 19 Aug 2024 14:11:36 +0000 (16:11 +0200)] 
Fix potential file descriptor leak in luaL_loadfile*().

Reported by Assumeru. #1249

11 months agoReflect override of INSTALL_LJLIBD in package.path.
Mike Pall [Wed, 14 Aug 2024 22:38:43 +0000 (00:38 +0200)] 
Reflect override of INSTALL_LJLIBD in package.path.

Suggested by GitSparTV. #1239

11 months agoARM64: Use movi to materialize FP constants.
Mike Pall [Wed, 14 Aug 2024 22:22:47 +0000 (00:22 +0200)] 
ARM64: Use movi to materialize FP constants.

Thanks to Peter Cawley. #1245

11 months agoAdd more FOLD rules for integer conversions.
Mike Pall [Wed, 14 Aug 2024 22:20:54 +0000 (00:20 +0200)] 
Add more FOLD rules for integer conversions.

Thanks to Peter Cawley. #1246

11 months agoMerge branch 'master' into v2.1
Mike Pall [Wed, 14 Aug 2024 22:19:35 +0000 (00:19 +0200)] 
Merge branch 'master' into v2.1

11 months agoDifferent fix for partial snapshot restore due to stack overflow.
Mike Pall [Wed, 14 Aug 2024 22:17:19 +0000 (00:17 +0200)] 
Different fix for partial snapshot restore due to stack overflow.

Reported by Junlong Li. Fixed by Peter Cawley. #1196

11 months agoFix IR_ABC hoisting.
Mike Pall [Wed, 14 Aug 2024 22:10:01 +0000 (00:10 +0200)] 
Fix IR_ABC hoisting.

Reported by pwnhacker0x18. Fixed by Peter Cawley. #1194

11 months agoLimit CSE for IR_CARG to fix loop optimizations.
Mike Pall [Wed, 14 Aug 2024 22:07:34 +0000 (00:07 +0200)] 
Limit CSE for IR_CARG to fix loop optimizations.

Thanks to Peter Cawley. #1244

12 months agoCall math.randomseed() without arguments to seed from system entropy.
Mike Pall [Wed, 3 Jul 2024 23:26:29 +0000 (01:26 +0200)] 
Call math.randomseed() without arguments to seed from system entropy.

Reminder: the math.random() PRNG is NOT SUITABLE FOR CRYPTOGRAPHIC USE.

12 months agoRestore state when recording __concat metamethod throws an error.
Mike Pall [Wed, 3 Jul 2024 22:48:49 +0000 (00:48 +0200)] 
Restore state when recording __concat metamethod throws an error.

Thanks to Sergey Kaplun. #1234

12 months agoAdd build flag LUAJIT_DISABLE_TAILCALL to disable tailcall generation.
Mike Pall [Wed, 3 Jul 2024 22:13:58 +0000 (00:13 +0200)] 
Add build flag LUAJIT_DISABLE_TAILCALL to disable tailcall generation.

Only use this for debugging purposes. NEVER set it for regular builds
or distro builds! In Lua, tailcalls are a language guarantee.
Suggested by Steve Vermeulen. #1220

12 months agoClarify that lj_buf_shrink() does not keep any buffer data.
Mike Pall [Wed, 3 Jul 2024 22:03:40 +0000 (00:03 +0200)] 
Clarify that lj_buf_shrink() does not keep any buffer data.

https://www.freelists.org/post/luajit/lj-buf-shrink-may-truncate-the-data-and-sbw-point-over-the-end-of-the-buffer,1
Thanks to Junlong li.

12 months agoOSX: Fix installed luajit.pc.
Mike Pall [Wed, 3 Jul 2024 21:59:59 +0000 (23:59 +0200)] 
OSX: Fix installed luajit.pc.

Reported by leleliu008. #1221

12 months agoMerge branch 'master' into v2.1
Mike Pall [Wed, 3 Jul 2024 21:59:03 +0000 (23:59 +0200)] 
Merge branch 'master' into v2.1

12 months agoFFI: Fix various issues in recff_cdata_arith.
Mike Pall [Wed, 3 Jul 2024 21:46:47 +0000 (23:46 +0200)] 
FFI: Fix various issues in recff_cdata_arith.

Thanks to Sergey Kaplun. #1224

12 months agoFix predict_next() in parser (for real now).
Mike Pall [Wed, 3 Jul 2024 21:45:16 +0000 (23:45 +0200)] 
Fix predict_next() in parser (for real now).

Reported by Sergey Kaplun. #1226 #1054

12 months agoFFI: Fix __tostring metamethod access to enum cdata value.
Mike Pall [Wed, 3 Jul 2024 21:43:57 +0000 (23:43 +0200)] 
FFI: Fix __tostring metamethod access to enum cdata value.

Thanks to Sergey Kaplun. #1232

12 months agoFix typo.
Mike Pall [Wed, 3 Jul 2024 21:43:29 +0000 (23:43 +0200)] 
Fix typo.

Reported by Sergey Bronnikov. #1223

12 months agoMerge branch 'master' into v2.1
Mike Pall [Wed, 3 Jul 2024 21:42:38 +0000 (23:42 +0200)] 
Merge branch 'master' into v2.1

12 months agoHandle partial snapshot restore due to stack overflow.
Mike Pall [Wed, 3 Jul 2024 19:42:21 +0000 (21:42 +0200)] 
Handle partial snapshot restore due to stack overflow.

Reported by pwnhacker0x18. Fixed by Peter Cawley. #1196

14 months agoUpdate Nintendo Switch build script.
Mike Pall [Sat, 25 May 2024 17:01:18 +0000 (19:01 +0200)] 
Update Nintendo Switch build script.

Thanks to IoriBranford. #1214

14 months agoMerge branch 'master' into v2.1
Mike Pall [Sat, 25 May 2024 14:41:53 +0000 (16:41 +0200)] 
Merge branch 'master' into v2.1

14 months agoPrevent sanitizer warning in snap_restoredata().
Mike Pall [Sat, 25 May 2024 14:38:05 +0000 (16:38 +0200)] 
Prevent sanitizer warning in snap_restoredata().

Thanks to Sergey Kaplun. #1193

14 months agoTypo.
Mike Pall [Sat, 25 May 2024 14:25:35 +0000 (16:25 +0200)] 
Typo.

14 months agoLimit number of string format elements to compile.
Mike Pall [Sat, 25 May 2024 14:22:39 +0000 (16:22 +0200)] 
Limit number of string format elements to compile.

Reported by pwnhacker0x18. #1203

14 months agoFFI: Clarify scalar boxing behavior.
Mike Pall [Sat, 25 May 2024 13:48:07 +0000 (15:48 +0200)] 
FFI: Clarify scalar boxing behavior.

Prevent misunderstandings like in #1216

14 months agoFix internal link in docs.
Mike Pall [Sat, 25 May 2024 12:56:15 +0000 (14:56 +0200)] 
Fix internal link in docs.

Thanks to GitSparTV. #1219