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

186 Commits

Author SHA1 Message Date
Rui Ueyama
f9f0d90791 wip 2021-03-31 14:18:10 +09:00
Rui Ueyama
a3d2743a17 wip 2021-03-31 01:49:32 +09:00
Rui Ueyama
e6a4002c60 wip 2021-03-31 00:11:39 +09:00
Rui Ueyama
fe77f277d3 wip 2021-03-30 23:47:01 +09:00
Rui Ueyama
a7e826a936 Embed argv to .comment 2021-03-29 13:36:26 +09:00
Rui Ueyama
bb315af2aa Support extern "C++" in version script 2021-03-27 16:09:54 +09:00
Rui Ueyama
f13b7db5c4 Fix TPOFF32 relocation handling 2021-03-27 14:47:30 +09:00
Rui Ueyama
5a51e06fa1 Handle object files with lots of sections correctly 2021-03-27 09:12:52 +09:00
Rui Ueyama
907dd6a341 wip 2021-03-26 22:14:23 +09:00
Rui Ueyama
c224435187 wip 2021-03-26 15:52:57 +09:00
Rui Ueyama
f89e0aa367 wip 2021-03-25 18:15:53 +09:00
Rui Ueyama
60029b028f Place common symbols into .common section 2021-03-25 17:55:59 +09:00
Rui Ueyama
fe626ed878 wip 2021-03-25 12:38:40 +09:00
Rui Ueyama
6536f0af17 Add -fatal-warnings 2021-03-24 01:35:26 +09:00
Rui Ueyama
e7f1a86586 Output warning message to stderr 2021-03-24 01:23:53 +09:00
Rui Ueyama
4519f8660c Add -warn-common 2021-03-24 01:16:32 +09:00
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