aboutsummaryrefslogtreecommitdiff
path: root/src/PL0/PL0_test.ld
blob: b1d06f47ad2dbf4255d0d47109dcb75879b2b568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* linker script for creating the example userspace program PL0_test
 */

/* no ENTRY() statement - this executable is run by jumping to it */

SECTIONS
{
    /* my thought up address userspace programs should run from */
    . = 0xaaa00000;
    
    __start = .;
    .another_weird_section_name_that_doesnt_matter :
    {
        /* have entry point at the beginning */
        KEEP(PL0_test.o)
        *(*)
    }
    __end = .;
}