Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 
 * Test linker script that works for both architectures
 * The actual OUTPUT_ARCH will be determined by the target
 */

INCLUDE "someboot.x"

PROVIDE(__someboot_secondary = __somehal_secondary_default);

SECTIONS
{
   .driver : ALIGN(4K) {
        _sdriver = .;
        KEEP(*(.driver.register))
        _edriver = .;
    }
} INSERT AFTER .data;