diff options
author | David Carlier <devnexen@gmail.com> | 2019-08-02 13:57:02 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-08-20 07:20:18 +0300 |
commit | 0d7acfac82a20fceb7aa91c61abc18b711edba28 (patch) | |
tree | 08bab1f1ec33bc8dfa02338b0b7cf5a573250894 /src/large_pages | |
parent | ea765eba2055132bfe42bd27caf970f4c169eca5 (diff) |
build: enable linux large pages LLVM lld linkage support
The custom linker script is compatible with GNU ld only.
As such, providin a new expliciting option to redirect to
a different one. lld seems unable to migrate this
large section w/o segfaulting so providing only the
base address anchor for now.
PR-URL: https://github.com/nodejs/node/pull/28938
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/large_pages')
-rw-r--r-- | src/large_pages/ld.implicit.script.lld | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/large_pages/ld.implicit.script.lld b/src/large_pages/ld.implicit.script.lld new file mode 100644 index 00000000000..b85510bcf07 --- /dev/null +++ b/src/large_pages/ld.implicit.script.lld @@ -0,0 +1,3 @@ + PROVIDE (__nodetext = .); + PROVIDE (_nodetext = .); + PROVIDE (nodetext = .); |