Commit c60c8ec
committed
Include linker generated symbol in default defined set
It seems like `_GLOBAL_OFFSET_TABLE_` is defined by the linker without
being present in any object file on x86_64. There are a few other
symbols that the linker automatically defines although we haven't run
into issues with them. I am including the full list I gathered from
lld's source code [1] by default.
[1] https://github.com/llvm/llvm-project/blob/177e38286cd61a7b5a968636e1f147f128dd25a2/lld/ELF/Config.h#L6321 parent 2096cff commit c60c8ec
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments