Provide start, _start for gld to use as start address.

From-SVN: r9797
This commit is contained in:
Michael Meissner 1995-05-24 16:52:13 +00:00
parent 24ba1fb83c
commit 2aa82cbeda
1 changed files with 8 additions and 0 deletions

View File

@ -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() {}