bigobj.lds 452 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/*
 * This is used to generate wrc.o from all objects. We need to use
 * --gc-sections because sockitowm include a lot of stuff we don't run,
 * but at the same time we need to preserve all commands. So use KEEP()
 */
SECTIONS
{
	.cmd : {
		__cmd_begin = .;
		KEEP(*(.cmd))
		__cmd_end = .;
	}
13 14 15 16 17
	.temp : {
		__temp_begin = .;
		KEEP(*(.temp))
		__temp_end = .;
	}
18 19 20 21 22 23
	.task : {
		__task_begin = .;
		KEEP(*(.task0))
		KEEP(*(.task))
		__task_end = .;
	}
24
}