1
1
mirror of https://github.com/rui314/mold.git synced 2024-10-05 00:57:08 +03:00
Commit Graph

170 Commits

Author SHA1 Message Date
Rui Ueyama
802f4229c2 Handle common symbols 2021-03-24 01:12:26 +09:00
Rui Ueyama
275a578204 Embed GIT commit hash to binary 2021-03-23 21:15:32 +09:00
Rui Ueyama
4485de811a Do not create a copy relcations against a protected symbol 2021-03-23 15:21:59 +09:00
Rui Ueyama
16cd35999f wip 2021-03-23 14:46:59 +09:00
Rui Ueyama
031e978bc6 Do not emit .got, .got.plt or .rela.got if empty 2021-03-23 11:02:13 +09:00
Rui Ueyama
f56215aae1 wip 2021-03-22 15:33:39 +09:00
Rui Ueyama
a1d8b56c04 Support GOT64, GOTPCREL64 and GOTPC64 relocations 2021-03-22 12:17:03 +09:00
Rui Ueyama
69afad0e29 Handle invalid sections in debug info sectionsy 2021-03-21 13:36:55 +09:00
Rui Ueyama
7d07b48c92 Support R_X86_64_SIZE32 and SIZE64 relocations 2021-03-20 12:35:51 +09:00
Rui Ueyama
1131ea7512 Add "-z nocopyreloc" 2021-03-18 19:54:56 +09:00
Rui Ueyama
b96155dafa Support TLSDESC 2021-03-18 16:43:47 +09:00
Rui Ueyama
614ddb309a Add a test 2021-03-17 22:56:04 +09:00
Rui Ueyama
726a3a59a6 wip 2021-03-17 22:04:17 +09:00
Rui Ueyama
bcfb96308f Support glob pattern in version script 2021-03-17 16:56:37 +09:00
Rui Ueyama
912b99b7ec wip 2021-03-16 12:52:39 +09:00
Rui Ueyama
5671de698b Relax indirect call or jump with GOTPCRELX relocation 2021-03-16 12:42:05 +09:00
Rui Ueyama
c3bbb2c094 Add -filter and -auxiliary 2021-03-16 00:34:09 +09:00
Rui Ueyama
4bdc20986f Relax R_X86_64_GOTPCRELX_REX against MOV instruction to LEA 2021-03-15 20:32:44 +09:00
Rui Ueyama
96075a3e2d wip 2021-03-14 16:36:56 +09:00
Rui Ueyama
b4dda46b2c Add "-z defs" and -no-undefined option 2021-03-13 21:46:09 +09:00
Rui Ueyama
9d52727cd4 Ignore .note.gnu.property for now 2021-03-13 21:29:02 +09:00
Rui Ueyama
be8a9fabc8 Include .dynamic into PT_GNU_RELRO 2021-03-13 13:21:31 +09:00
Rui Ueyama
7d1e40b79b Emit PTGNU_RELRO segment 2021-03-12 20:16:52 +09:00
Rui Ueyama
e8e14e4e0d Add -z execstack and -z noexecstack 2021-03-12 18:09:15 +09:00
Rui Ueyama
fefa083188 Add -push-state and -pop-state 2021-03-12 17:37:39 +09:00
Rui Ueyama
5f42971325 Do not hardcode Linux's ld.so path 2021-03-12 16:39:16 +09:00
Rui Ueyama
253c946629 wip 2021-03-12 14:33:50 +09:00
Rui Ueyama
c074f8ade6 wip 2021-03-11 17:20:59 +09:00
Rui Ueyama
5ae09ee9d3 Add -build-id=HEXVALUE 2021-03-08 21:05:18 +09:00
Rui Ueyama
b53392c2f7 Add -exclude-libs 2021-03-08 17:24:51 +09:00
Rui Ueyama
7acdcfbcb2 wip 2021-03-08 14:37:13 +09:00
Rui Ueyama
ddd42daf53 Write .gnu.version_d 2021-03-07 15:41:45 +09:00
Rui Ueyama
6a34935cc9 wip 2021-03-05 19:46:12 +09:00
Rui Ueyama
41f8cba844 Do not emit .interp for DSO 2021-03-05 13:57:00 +09:00
Rui Ueyama
791465b832 wip 2021-03-04 20:23:27 +09:00
Rui Ueyama
611910ad37 wip 2021-03-04 14:33:40 +09:00
Rui Ueyama
cc9c23e42b wip 2021-03-04 14:09:56 +09:00
Rui Ueyama
713c71ac1b wip 2021-03-02 22:57:15 +09:00
Rui Ueyama
453104c5b4 Add -Bsymbolic-functions 2021-03-02 22:08:06 +09:00
Rui Ueyama
bc0379ecd4 Add -Bsymbolic 2021-03-02 21:47:19 +09:00
Rui Ueyama
0d56ca6fc6 wip 2021-03-02 20:24:31 +09:00
Rui Ueyama
98db1741c4 Guarantee function pointer equivalence 2021-03-01 23:42:13 +09:00
Rui Ueyama
a3df45cb86 wip 2021-03-01 22:04:42 +09:00
Rui Ueyama
867305ea36 wip 2021-03-01 16:28:16 +09:00
Rui Ueyama
231112ba7b Add -v and --version 2021-03-01 14:13:17 +09:00
Rui Ueyama
ac8e24a683 Add -soname 2021-03-01 13:18:51 +09:00
Rui Ueyama
5d1e0c803c Add -init and -fini 2021-03-01 12:52:45 +09:00
Rui Ueyama
7f4da62ee9 Fix DT_INIT and DT_FINI 2021-03-01 12:45:13 +09:00
Rui Ueyama
e0eeb404dc Emit read-only copyrel to .bss.rel.ro 2021-02-28 23:26:24 +09:00
Rui Ueyama
c15957c02a Demangle by default 2021-02-28 21:11:51 +09:00