as: Linkonce
1
1 7.52 '.linkonce [TYPE]'
1 =======================
1
1 Mark the current section so that the linker only includes a single copy
1 of it. This may be used to include the same section in several
1 different object files, but ensure that the linker will only include it
1 once in the final output file. The '.linkonce' pseudo-op must be used
1 for each instance of the section. Duplicate sections are detected based
1 on the section name, so it should be unique.
1
1 This directive is only supported by a few object file formats; as of
1 this writing, the only object file format which supports it is the
1 Portable Executable format used on Windows NT.
1
1 The TYPE argument is optional. If specified, it must be one of the
1 following strings. For example:
1 .linkonce same_size
1 Not all types may be supported on all object file formats.
1
1 'discard'
1 Silently discard duplicate sections. This is the default.
1
1 'one_only'
1 Warn if there are duplicate sections, but still keep only one copy.
1
1 'same_size'
1 Warn if any of the duplicates have different sizes.
1
1 'same_contents'
1 Warn if any of the duplicates do not have exactly the same
1 contents.
1