Commit 6a23792
committed
Don't let ld strip relocations
This is the first step for enabling ASLR (Address Space Layout
Randomization) support. The problem is ld.exe seems to be stripping
relocations which in turn will break ASLR support. We just make sure its
not stripping the main executable entry.
Signed-off-by: İsmail Dönmez <ismail@i10z.com>1 parent 78ce6bc commit 6a23792
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
547 | 548 | | |
548 | 549 | | |
549 | 550 | | |
| 551 | + | |
550 | 552 | | |
551 | 553 | | |
552 | 554 | | |
| |||
0 commit comments