* Adding a new object format to BFD
@ 2006-04-10 4:01 mohamed aslan
2006-04-10 14:55 ` Nick Clifton
0 siblings, 1 reply; 4+ messages in thread
From: mohamed aslan @ 2006-04-10 4:01 UTC (permalink / raw)
To: binutils
Hello
I'ld like to know the steps i should follow in order
to add a new object format to libbfd.
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 can anyone please make it easier for me and tell me
how can i achieve this?
Thanks alot
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Adding a new object format to BFD
2006-04-10 4:01 Adding a new object format to BFD mohamed aslan
@ 2006-04-10 14:55 ` Nick Clifton
2006-04-16 11:49 ` mohamed aslan
0 siblings, 1 reply; 4+ messages in thread
From: Nick Clifton @ 2006-04-10 14:55 UTC (permalink / raw)
To: mohamed aslan; +Cc: binutils
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Adding a new object format to BFD
2006-04-10 14:55 ` Nick Clifton
@ 2006-04-16 11:49 ` mohamed aslan
2006-04-25 19:04 ` Nick Clifton
0 siblings, 1 reply; 4+ messages in thread
From: mohamed aslan @ 2006-04-16 11:49 UTC (permalink / raw)
To: Nick Clifton, binutils
Hi again.
Here is my 1st draft:
http://libosdk.berlios.de/wiki/index.php/Binutils
Thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Adding a new object format to BFD
2006-04-16 11:49 ` mohamed aslan
@ 2006-04-25 19:04 ` Nick Clifton
0 siblings, 0 replies; 4+ messages in thread
From: Nick Clifton @ 2006-04-25 19:04 UTC (permalink / raw)
To: mohamed aslan; +Cc: binutils
Hi Mohamed Aslan,
> Hi again.
> Here is my 1st draft:
> http://libosdk.berlios.de/wiki/index.php/Binutils
Thanks very much for creating this document and posting the link.
Cheers
Nick
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-04-25 17:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-10 4:01 Adding a new object format to BFD mohamed aslan
2006-04-10 14:55 ` Nick Clifton
2006-04-16 11:49 ` mohamed aslan
2006-04-25 19:04 ` Nick Clifton
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).