diff options
author | Alan Modra <amodra@gmail.com> | 2001-01-14 04:36:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-01-14 04:36:35 +0000 |
commit | 577a062318714628709c41467904c0cb7b212f94 (patch) | |
tree | fe95014262d6fb594ac3cf4858c44773f19e1079 /ld/ld.texinfo | |
parent | b9d79e0379726fd6d072b987a30f3f8bed4985e4 (diff) | |
download | gdb-577a062318714628709c41467904c0cb7b212f94.zip gdb-577a062318714628709c41467904c0cb7b212f94.tar.gz gdb-577a062318714628709c41467904c0cb7b212f94.tar.bz2 |
Extend "ld --unique" functionality.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 5c8a595..e897d44 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -695,13 +695,15 @@ with @samp{-Ur}; once the constructor table has been built, it cannot be added to. Use @samp{-Ur} only for the last partial link, and @samp{-r} for the others. -@kindex --unique -@item --unique -Creates a separate output section for every orphan input section. This -option prevents the normal merging of orphan input sections with the same -name. An orphan section is one not specifically mentioned in a linker -script, so this option along with a custom linker script allows any -selection of input sections to be merged while others are kept separate. +@kindex --unique[=@var{SECTION}] +@item --unique[=@var{SECTION}] +Creates a separate output section for every input section matching +@var{SECTION}, or if the optional wildcard @var{SECTION} argument is +missing, for every orphan input section. An orphan section is one not +specifically mentioned in a linker script. You may use this option +multiple times on the command line; It prevents the normal merging of +input sections with the same name, overriding output section assignments +in a linker script. @kindex -v @kindex -V |