diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-06-30 02:26:21 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-06-30 02:26:21 +0000 |
commit | 1f5e605b3521a59c72d670a656293592d622fe57 (patch) | |
tree | 4e19520c9a736da5eb5e96a0cb8003df4c14caa5 /ldso/ldso | |
parent | 5188f9d3b22ec9953c65d611f1152eb9f04e0abb (diff) |
The function '_dl_memset' should always be inlined regardless of the
optimization level chosen. This allows uClibc to be compiled with the
latest GCC-4.1.0. While tracking down the specific culprit causing
the segmentation fault of the dynamic loader with GCC-4.1.0 I was
able to force inlining of other functions such that I shaved 512 bytes
off the size of the loader, yay. Also fixed warning in 'dl-hash.c'.
Diffstat (limited to 'ldso/ldso')
-rw-r--r-- | ldso/ldso/dl-hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/dl-hash.c b/ldso/ldso/dl-hash.c index 5de38a61e..55026b4db 100644 --- a/ldso/ldso/dl-hash.c +++ b/ldso/ldso/dl-hash.c @@ -57,7 +57,7 @@ struct dyn_elf *_dl_handles = NULL; /* This is the hash function that is used by the ELF linker to generate the * hash table that each executable and library is required to have. We need * it to decode the hash table. */ -static inline unsigned long _dl_elf_hash(const unsigned char *name) +static inline unsigned long _dl_elf_hash(const char *name) { unsigned long hash=0; unsigned long tmp; |