diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
commit | defc1ea34074e7882724c460260d307cdf981a70 (patch) | |
tree | fca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /modutils/insmod.c | |
parent | 26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff) | |
download | busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.gz busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.bz2 busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.zip |
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
text data bss dec hex filename
808035 611 6868 815514 c719a busybox_old
804472 611 6868 811951 c63af busybox_unstripped
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r-- | modutils/insmod.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 4ac1a1e1b..8217629b2 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -791,7 +791,7 @@ static char *m_fullName; | |||
791 | /*======================================================================*/ | 791 | /*======================================================================*/ |
792 | 792 | ||
793 | 793 | ||
794 | static int check_module_name_match(const char *filename, | 794 | static int FAST_FUNC check_module_name_match(const char *filename, |
795 | struct stat *statbuf ATTRIBUTE_UNUSED, | 795 | struct stat *statbuf ATTRIBUTE_UNUSED, |
796 | void *userdata, int depth ATTRIBUTE_UNUSED) | 796 | void *userdata, int depth ATTRIBUTE_UNUSED) |
797 | { | 797 | { |
@@ -3306,7 +3306,7 @@ static int obj_create_image(struct obj_file *f, char *image) | |||
3306 | 3306 | ||
3307 | /*======================================================================*/ | 3307 | /*======================================================================*/ |
3308 | 3308 | ||
3309 | static struct obj_file *obj_load(FILE * fp, int loadprogbits ATTRIBUTE_UNUSED) | 3309 | static struct obj_file *obj_load(FILE *fp, int loadprogbits ATTRIBUTE_UNUSED) |
3310 | { | 3310 | { |
3311 | struct obj_file *f; | 3311 | struct obj_file *f; |
3312 | ElfW(Shdr) * section_headers; | 3312 | ElfW(Shdr) * section_headers; |
@@ -3512,7 +3512,7 @@ static struct obj_file *obj_load(FILE * fp, int loadprogbits ATTRIBUTE_UNUSED) | |||
3512 | * kernel for the module | 3512 | * kernel for the module |
3513 | */ | 3513 | */ |
3514 | 3514 | ||
3515 | static int obj_load_progbits(FILE * fp, struct obj_file* f, char* imagebase) | 3515 | static int obj_load_progbits(FILE *fp, struct obj_file *f, char *imagebase) |
3516 | { | 3516 | { |
3517 | ElfW(Addr) base = f->baseaddr; | 3517 | ElfW(Addr) base = f->baseaddr; |
3518 | struct obj_section* sec; | 3518 | struct obj_section* sec; |