File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,20 @@ Enabled by default.
203203Turn on/off use of FP registers for some integer operations.
204204Enabled by default.
205205.
206+ .TP
207+ .BR \- fpic " , " \- fno\- pic
208+ Turn on/off position-independent code (PIC).
209+ Currently available only for AArch64, RISC-V and x86 64-bit target platforms.
210+ On other platforms, \fB -fpic \fP has no effect but emits a warning.
211+ Disabled by default.
212+ .
213+ .TP
214+ .BR \- fpie " , " \- fno\- pie
215+ Turn on/off position-independent executables (PIE).
216+ Currently available only for AArch64, RISC-V and x86 64-bit target platforms.
217+ On other platforms, \fB -fpie \fP has no effect but emits a warning.
218+ Enabled by default.
219+ .
206220.SS
207221Code Generation Options (PowerPC)
208222.INDENT 0.0
@@ -303,10 +317,20 @@ Pass comma separated arguments in <args> to the driver program used for linking.
303317Pass argument <arg> to the linker.
304318.
305319.TP
320+ .B \- pie
321+ Produce a position-independent executable (PIE).
322+ Default for AArch64, RISC-V and x86 64-bit target platforms.
323+ Use \fB -fno \- pie \fP to force the production of an absolute executable.
324+ .
325+ .TP
306326.B \- s
307327Remove all symbol table and relocation information from the executable.
308328.
309329.TP
330+ .B \- shared
331+ Produce a shared library (".so" file) instead of an executable.
332+ .
333+ .TP
310334.B \- static
311335Prevent linking with the shared libraries.
312336.
You can’t perform that action at this time.
0 commit comments