From: Nick Clifton <nickc@redhat.com>
To: mohamed aslan <maslanxxx@yahoo.com>
Cc: binutils@sourceware.org
Subject: Re: Adding a new object format to BFD
Date: Mon, 10 Apr 2006 14:55:00 -0000 [thread overview]
Message-ID: <443A6F0C.8060506@redhat.com> (raw)
In-Reply-To: <20060410004913.7790.qmail@web30212.mail.mud.yahoo.com>
Hi Mohamed Aslan,
> I'ld like to know the steps i should follow in order
> to add a new object format to libbfd.
Essentially what you need to do is to duplicate the file-format specific
code in the include, gas and bfd directories. The easiest way to do
this is to take an already supported file format as an example and copy
what is done for it.
> where the object format is not aout/elf/coff, its new
> simple object format, used in the OS i'm writing as an
> relocatable object format for the modules.
So for example if you look at the support for the a.out file format you
will find at least these files and directories:
include/aout
gas/config/obj-aout.[ch]
bfd/aout*
Try using these as a starting point for your new file format.
You will also need to modify the various configure and Makefile files in
the binutils directories in order to ensure that your new files are
included when you build binutils.
Cheers
Nick
next prev parent reply other threads:[~2006-04-10 14:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-10 4:01 mohamed aslan
2006-04-10 14:55 ` Nick Clifton [this message]
2006-04-16 11:49 ` mohamed aslan
2006-04-25 19:04 ` Nick Clifton
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=443A6F0C.8060506@redhat.com \
--to=nickc@redhat.com \
--cc=binutils@sourceware.org \
--cc=maslanxxx@yahoo.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).