|
|||||||||||
Technical Support On-Line Manuals Linker User Guide ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Linker merging of comment sections
4.13 Linker merging of comment sectionsIf input files have any comment sections that are identical, then the linker can merge them. If input object files have any
.comment
sections that are identical, then the linker merges them to produce the smallest .comment section while retaining all useful information.The linker associates each input
.comment section with the filename of the
corresponding input object. If it merges identical .comment sections, then
all the filenames that contain the common section are listed before the section contents,
for example:file1.o file2.o .comment section contents. The linker merges these sections by default. To prevent the merging of identical
.comment sections, use the --no_filtercomment
command-line option.NoteIf you do not want to retain the information in a.comment section, then use the --no_comment_section option to strip
this section from the image. | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.