mirror of
https://github.com/reactos/reactos.git
synced 2026-06-13 03:13:13 +08:00
This uses the START_TEST macro to create test entries in a ".test" section in the binary.
12 lines
247 B
Plaintext
12 lines
247 B
Plaintext
/* Make sure the .test section is kept and sorted */
|
|
SECTIONS
|
|
{
|
|
.test BLOCK(__section_alignment__) :
|
|
{
|
|
___test_start__ = . ;
|
|
KEEP (*(SORT(.test$*)))
|
|
___test_end__ = . ;
|
|
}
|
|
}
|
|
INSERT BEFORE .reloc; /* .reloc is always at the end */
|