projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24ba1fb
)
Provide start, _start for gld to use as start address.
author
Michael Meissner
<meissner@gcc.gnu.org>
Wed, 24 May 1995 16:52:13 +0000
(16:52 +0000)
committer
Michael Meissner
<meissner@gcc.gnu.org>
Wed, 24 May 1995 16:52:13 +0000
(16:52 +0000)
From-SVN: r9797
gcc/libgcc1-test.c
patch
|
blob
|
history
diff --git
a/gcc/libgcc1-test.c
b/gcc/libgcc1-test.c
index 9b2a5c42ddf3cfde81df09a47298c8b4a1377664..392d4fc7e9c23c19f3e1ad789234a80c8c9d25e0 100644
(file)
--- 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() {}