5 May 2009 00:09
[PATCH 1/x] ELF: Move some ELF functions from util.[ch] to elfops.[ch]
Also move 32/64-bit X-macros (e.g PERBIT) from toplevel elfops.c into elf_core.c as these are private. Signed-off-by: Andreas Robinson <andr345@...> --- Makefile.am | 4 ++-- depmod.c | 1 + elf_core.c | 19 +++++++++++++++++++ elfops.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ elfops.h | 13 +++++++++++++ modinfo.c | 1 + modprobe.c | 1 + moduleops.c | 1 + util.c | 46 +--------------------------------------------- util.h | 8 -------- 10 files changed, 91 insertions(+), 55 deletions(-) create mode 100644 elfops.c create mode 100644 elfops.h diff --git a/Makefile.am b/Makefile.am index e5bb4c7..82ccf28 100644 --- a/Makefile.am +++ b/Makefile.am <at> <at> -22,8 +22,8 <at> <at> EXTRA_insmod_static_SOURCES = EXTRA_depmod_SOURCES = moduleops_core.c EXTRA_modinfo_SOURCES = -libmodtools_a_SOURCES = util.c logging.c index.c config_filter.c \ - util.h depmod.h logging.h index.h list.h config_filter.h +libmodtools_a_SOURCES = util.c logging.c index.c config_filter.c elfops.c(Continue reading)
RSS Feed