diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-04-29 01:01:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 08:06:16 -0700 |
commit | 6970c8eff85dd450e7eff69dad710dcf594b1bb8 (patch) | |
tree | 1cba97d1f307fbceecbda22ba36e3d565430c3ba /lib/find_next_bit.c | |
parent | eb6900fbfa43cb50391b80b38608e25280705693 (diff) | |
download | linux-6970c8eff85dd450e7eff69dad710dcf594b1bb8.tar.bz2 |
BINFMT: fill_elf_header cleanup - use straight memset first
This patch does simplify fill_elf_header function by setting
to zero the whole elf header first. So we fillup the fields
we really need only.
before:
text data bss dec hex filename
11735 80 0 11815 2e27 fs/binfmt_elf.o
after:
text data bss dec hex filename
11710 80 0 11790 2e0e fs/binfmt_elf.o
viola, 25 bytes of text is freed
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/find_next_bit.c')
0 files changed, 0 insertions, 0 deletions