OSDN Git Service

(__objc_register_instance_methods_to_class): New function.
[pf3gnuchains/gcc-fork.git] / gcc / libgcc1-test.c
index 9b2a5c4..977b9c7 100644 (file)
@@ -90,3 +90,14 @@ 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");
+extern void __start() __asm__("__start");
+
+void start() {}
+void _start() {}
+void __start() {}
+void mainCRTStartup() {}