aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PL0_test.ld5
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 :