From: "Herrmann, Achim" <AHerrmann@heiler.com>
To: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>
Subject: modules, insmod and multiple object files
Date: Tue, 16 Jan 2001 12:56:33 +0100 [thread overview]
Message-ID: <C113A60DF3FFD3118B9A00508BA8F54205DC88@hskomm02.heiler.com> (raw)
Hi,
I'm new to device driver development under linux and I've a basic question
concerning modules, insmod and multiple object files.
Assume I have two object files "main.o" and "hwaccess.o".
main.o contains the functions init_module(), cleanup_module() and some other
functions.
hwaccess.o contains some routines to access the hardware. The functions in
main.o depend on the routines existing in hwaccess.o.
main.o was created using language "C": gcc -c main.c -o main.o
and
hwaccess.o was created using assembler: nasm -f elf hwaccess.asm -o
hwaccess.o
Is there a possibility to combine these two object files, so that I have a
module which is loadable by insmod?
Thanks in advance
Achim
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2001-01-16 11:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-16 11:56 Herrmann, Achim [this message]
2001-01-16 12:04 ` Peter Samuelson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C113A60DF3FFD3118B9A00508BA8F54205DC88@hskomm02.heiler.com \
--to=aherrmann@heiler.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®