diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-02 15:30:27 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-02 15:30:27 +0100 |
commit | 0fa2fca6029d4d4c826efd10441946224822c354 (patch) | |
tree | 59e7df44c6fb7ae9113a155b0c636642e192990f /PL0_test.ld | |
parent | 92130ebe9d60e126844c3dfb33f49357a6f4e4cd (diff) | |
download | rpi-MMU-example-0fa2fca6029d4d4c826efd10441946224822c354.tar.gz rpi-MMU-example-0fa2fca6029d4d4c826efd10441946224822c354.zip |
get rid of "cannot find entry symbol _start" warning
Diffstat (limited to 'PL0_test.ld')
-rw-r--r-- | PL0_test.ld | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/PL0_test.ld b/PL0_test.ld index 430e098..45bee5e 100644 --- a/PL0_test.ld +++ b/PL0_test.ld @@ -4,6 +4,11 @@ SECTIONS { /* 0b10101010101000000000000000000000 */ . = 0xaaa00000; + + /* For some reason ld warns when _start is not defined. */ + /* Other .elf files link ok - only PL0_test.elf seems to */ + /* expect _start to be deifned. */ + _start = .; __start = .; __text_start = .; .text : |