Keil Logo Arm Logo

Linker User Guide

About merging comment sections

About merging comment sections

If input object files have any .comment sections that are identical, then the linker merges them to produce the smallest .common 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.

Note

If you do not want to retain the information in a .comment section, then you can use the --no_comment_section option to strip this section from the image.

Copyright © 2007-2008, 2011-2012 ARM. All rights reserved.ARM DUI 0377D
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.