1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-21 18:08:01 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Rui Ueyama
1baac27e8c [ELF] Relax TLSLD error check
This is a workaround for https://github.com/rui314/mold/issues/145
2021-12-17 14:35:43 +09:00
Rui Ueyama
e4fc96f691 [ELF] Improve error message 2021-12-17 08:47:31 +09:00
Rui Ueyama
58b74bf961 Revert "[ELF] s/SectionFragment/Subsection/g"
This reverts commit aa46df7735.
2021-12-07 14:44:11 +09:00
Rui Ueyama
56b7c42fae Refactor 2021-10-01 00:35:42 +09:00
Rui Ueyama
aa46df7735 [ELF] s/SectionFragment/Subsection/g 2021-09-29 16:18:41 +09:00
Rui Ueyama
2844f1f573 [ELF] Refactor 2021-09-28 13:23:58 +09:00
Rui Ueyama
bc2bd0e26a [ELF] Refactor 2021-09-27 23:01:51 +09:00
Rui Ueyama
3d95b0e1d4 [ELF] Refactor 2021-09-27 21:44:39 +09:00
Rui Ueyama
a5d02b18c7 Refactor 2021-09-25 21:47:09 +09:00
Rui Ueyama
e4861bb3e1 [ELF] Fix "recompile with -fPIC" error
mold used to emit a spurious "recompile with -fPIC" error when creating
a position-dependent executable. This is because we alwyas create
dynamic relocations for importe symbols. If the relocated place is
read-only, we can't apply a dynamic relocation, and we printed out the
error message.

This patch fixes the issue by creating copy relocations and PLTs for
such symbols.

Fixes https://github.com/rui314/mold/issues/116
2021-09-25 18:13:26 +09:00
Rui Ueyama
dc7e0ca4bf Remove a useless macro 2021-09-08 19:51:02 +09:00
Rui Ueyama
459b5973bb Move code to elf sub-directory 2021-09-02 23:16:49 +09:00