diff options
Diffstat (limited to 'gcc/libgcc1-test.c')
-rw-r--r-- | gcc/libgcc1-test.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/libgcc1-test.c b/gcc/libgcc1-test.c index 9b2a5c4..392d4fc 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() {} |