diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-08-27 00:16:26 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-08-27 00:16:26 +0000 |
commit | 97d2a6ec5ca8ace8daed29c8c69aab9595147b3a (patch) | |
tree | 8f67645f080416576b9356dfc4385b8181eeb152 /apps/plugins/plugin_crt0.c | |
parent | 73f057be6fcb849d5379073267e21e9526576ccd (diff) | |
download | rockbox-97d2a6ec5ca8ace8daed29c8c69aab9595147b3a.tar.gz rockbox-97d2a6ec5ca8ace8daed29c8c69aab9595147b3a.zip |
Revert "Introduce a small api for loading code (codecs,plugins) from disk/memory."
I don't understand the build error at all, plugin_bss_start is clearly defined in plugin.lds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27901 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin_crt0.c')
-rw-r--r-- | apps/plugins/plugin_crt0.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/plugins/plugin_crt0.c b/apps/plugins/plugin_crt0.c index e34124c5a2..536eccaffa 100644 --- a/apps/plugins/plugin_crt0.c +++ b/apps/plugins/plugin_crt0.c | |||
@@ -32,8 +32,6 @@ PLUGIN_HEADER | |||
32 | #define EXIT_MAGIC 0x0CDEBABE | 32 | #define EXIT_MAGIC 0x0CDEBABE |
33 | 33 | ||
34 | extern enum plugin_status plugin_start(const void*); | 34 | extern enum plugin_status plugin_start(const void*); |
35 | extern unsigned char plugin_bss_start[]; | ||
36 | extern unsigned char plugin_end_addr[]; | ||
37 | 35 | ||
38 | static jmp_buf __exit_env; | 36 | static jmp_buf __exit_env; |
39 | /* only 1 atexit handler for now, chain in the exit handler if you need more */ | 37 | /* only 1 atexit handler for now, chain in the exit handler if you need more */ |
@@ -63,10 +61,6 @@ enum plugin_status plugin__start(const void *param) | |||
63 | int exit_ret; | 61 | int exit_ret; |
64 | enum plugin_status ret; | 62 | enum plugin_status ret; |
65 | 63 | ||
66 | /* zero out the bss section */ | ||
67 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | ||
68 | rb->memset(plugin_bss_start, 0, plugin_end_addr - plugin_bss_start); | ||
69 | #endif | ||
70 | /* we come back here if exit() was called or the plugin returned normally */ | 64 | /* we come back here if exit() was called or the plugin returned normally */ |
71 | exit_ret = setjmp(__exit_env); | 65 | exit_ret = setjmp(__exit_env); |
72 | if (exit_ret == 0) | 66 | if (exit_ret == 0) |