diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1995-05-24 16:52:13 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1995-05-24 16:52:13 +0000 |
commit | 2aa82cbedac088fd29b23acf99c1354569f403ef (patch) | |
tree | 7fae4419fae23620d2a493cc4674447ce3f4ca5e /gcc/libgcc1-test.c | |
parent | 24ba1fb83c578950bb628bb75e335700364ad0a0 (diff) | |
download | gcc-2aa82cbedac088fd29b23acf99c1354569f403ef.zip gcc-2aa82cbedac088fd29b23acf99c1354569f403ef.tar.gz gcc-2aa82cbedac088fd29b23acf99c1354569f403ef.tar.bz2 |
Provide start, _start for gld to use as start address.
From-SVN: r9797
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() {} |