Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Commit f65b31f

Browse files
ahomescualex
authored andcommitted
Add needs-plt option to target spec to prevent the compiler from using the GOT instead of the PLT
1 parent fd8f077 commit f65b31f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x86_64-linux-kernel-module.json

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
},
2525
"relocation-model": "static",
2626
"relro-level": "full",
27+
"needs-plt": true,
2728
"target-c-int-width": "32",
2829
"target-endian": "little",
2930
"target-family": "unix",

0 commit comments

Comments
 (0)