From 2aa82cbedac088fd29b23acf99c1354569f403ef Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 24 May 1995 16:52:13 +0000 Subject: [PATCH] Provide start, _start for gld to use as start address. From-SVN: r9797 --- gcc/libgcc1-test.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gcc/libgcc1-test.c b/gcc/libgcc1-test.c index 9b2a5c42ddf..392d4fc7e9c 100644 --- a/gcc/libgcc1-test.c +++ b/gcc/libgcc1-test.c @@ -90,3 +90,11 @@ dfoo () return table[idx++]; } +/* Provide functions that some versions of the linker use to default + the start address if -e symbol is not used, to avoid the warning + message saying the start address is defaulted. */ +extern void start() __asm__("start"); +extern void _start() __asm__("_start"); + +void start() {} +void _start() {} -- 2.30.2