gcc手册

源代码在线查看: input-section-keep.html

软件大小: 1194 K
上传用户: Erlin
关键词: gcc
下载地址: 免注册下载 普通下载 VIP

相关代码

				

				

				Untitled

				

				

				

				

				

				

				

				

				Node:Input Section Keep,

				Next:Input Section Example,

				Previous:Input Section Common,

				Up:Input Section

				

				

				

				Input section and garbage collection

				

				   When link-time garbage collection is in use (--gc-sections),

				it is often useful to mark sections that should not be eliminated. 

				This is accomplished by surrounding an input section's wildcard entry

				with KEEP(), as in KEEP(*(.init)) or

				KEEP(SORT(*)(.ctors)).

				

				   

				

							

相关资源