diff options
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 471cee90923..d783ca99592 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -26,6 +26,7 @@ @set I960 @set M68HC11 @set M68K +@set MIPS @set MMIX @set MSP430 @set POWERPC @@ -146,6 +147,9 @@ in the section entitled ``GNU Free Documentation License''. @ifset M68K * M68K:: ld and Motorola 68K family @end ifset +@ifset MIPS +* MIPS:: ld and MIPS family +@end ifset @ifset POWERPC * PowerPC ELF32:: ld and PowerPC 32-bit ELF Support @end ifset @@ -2732,6 +2736,32 @@ Info entry for @file{ld}. @c man end @end ifset +@ifset MIPS +@subsection Options specific to MIPS targets + +@c man begin OPTIONS + +The following options are supported to control microMIPS instruction +generation when linking for MIPS targets. + +@table @gcctabopt + +@kindex --insn32 +@item --insn32 +@kindex --no-insn32 +@itemx --no-insn32 +These options control the choice of microMIPS instructions used in code +generated by the linker, such as that in the PLT or lazy binding stubs, +or in relaxation. If @samp{--insn32} is used, then the linker only uses +32-bit instruction encodings. By default or if @samp{--no-insn32} is +used, all instruction encodings are used, including 16-bit ones where +possible. + +@end table + +@c man end +@end ifset + @ifset UsesEnvVars @node Environment @section Environment Variables @@ -6033,6 +6063,9 @@ functionality are not listed. @ifset M68K * M68K:: @command{ld} and the Motorola 68K family @end ifset +@ifset MIPS +* MIPS:: @command{ld} and the MIPS family +@end ifset @ifset MMIX * MMIX:: @command{ld} and MMIX @end ifset @@ -6531,6 +6564,29 @@ files might access different GOTs. Not all environments support such GOTs. @end ifclear @end ifset +@ifset MIPS +@ifclear GENERIC +@raisesections +@end ifclear + +@node MIPS +@section @command{ld} and the MIPS family + +@cindex MIPS microMIPS instruction choice selection +@kindex --insn32 +@kindex --no-insn32 +The @samp{--insn32} and @samp{--no-insn32} options control the choice of +microMIPS instructions used in code generated by the linker, such as that +in the PLT or lazy binding stubs, or in relaxation. If @samp{--insn32} is +used, then the linker only uses 32-bit instruction encodings. By default +or if @samp{--no-insn32} is used, all instruction encodings are used, +including 16-bit ones where possible. + +@ifclear GENERIC +@lowersections +@end ifclear +@end ifset + @ifset MMIX @ifclear GENERIC @raisesections |