diff options
| author | Danny <danny@kdrag0n.dev> | 2021-01-09 23:34:32 +0000 |
|---|---|---|
| committer | mosimchah <mosimchah@gmail.com> | 2021-01-22 03:35:20 -0800 |
| commit | 783d21ff74759076d2fc503685ca47d2c29baea3 (patch) | |
| tree | d650cc46cbf7ca53f15c77ced2682e97d492c068 /x86_64-pc-linux-gnu/lib/ldscripts/i386pe.xbn | |
| parent | fdbc6f7102056fb52d26bfb2cbc6ea317890ee34 (diff) | |
LLVM commit: https://github.com/llvm/llvm-project/commit/b02eab9058e58782fca32dd8b1e53c27ed93f866
binutils version: 2.35.1
Builder commit: https://github.com/kdrag0n/proton-clang-build/commit/ba42f701467c9103f23fbb90aca4b23858221ee2
Diffstat (limited to 'x86_64-pc-linux-gnu/lib/ldscripts/i386pe.xbn')
| -rw-r--r-- | x86_64-pc-linux-gnu/lib/ldscripts/i386pe.xbn | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/x86_64-pc-linux-gnu/lib/ldscripts/i386pe.xbn b/x86_64-pc-linux-gnu/lib/ldscripts/i386pe.xbn index f46bd0d..768e171 100644 --- a/x86_64-pc-linux-gnu/lib/ldscripts/i386pe.xbn +++ b/x86_64-pc-linux-gnu/lib/ldscripts/i386pe.xbn @@ -1,10 +1,10 @@ -/* Script for -N: mix text and data on same page; don't align data */ -/* Copyright (C) 2014-2019 Free Software Foundation, Inc. +/* Script for -N */ +/* Copyright (C) 2014-2020 Free Software Foundation, Inc. Copying and distribution of this script, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. */ OUTPUT_FORMAT(pei-i386) -SEARCH_DIR("/home/dragon/proton-clang-build/install/x86_64-pep/lib"); +SEARCH_DIR("/root/build/install/x86_64-pep/lib"); SECTIONS { /* Make the virtual address and file offset synced if the alignment is @@ -26,6 +26,7 @@ SECTIONS expectation that they will be overridden by the definitions here. If we PROVIDE the symbols then they will not be overridden and global constructors will not be run. + See PR 22762 for more details. This does mean that it is not possible for a user to define their own __CTOR_LIST__ and __DTOR_LIST__ symbols; if they do, @@ -34,7 +35,9 @@ SECTIONS be redefined, a custom linker script will have to be used. (The custom script can just be a copy of this script with the PROVIDE() qualifiers added). - See PR 22762 for more details. */ + In particular this means that ld -Ur does not work, because + the proper __CTOR_LIST__ set by ld -Ur is overridden by a + bogus __CTOR_LIST__ set by the final link. See PR 46. */ ___CTOR_LIST__ = .; __CTOR_LIST__ = .; LONG (-1); |
