Magic number in BFD
Nick Clifton
nickc@redhat.com
Tue Nov 25 17:14:00 GMT 2003
More information about the Binutils mailing list
Tue Nov 25 17:14:00 GMT 2003
- Previous message (by thread): Magic number in BFD
- Next message (by thread): objdump disassemby
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Vineet,
> I have ported binutils to new target, but when I enable bfd for gas,
> the bfd does not writes the magic number in the output file(COFF),
> although I have defined it(MAGIC Number) in include/coff/FOO.h. Do I
> need to write some special function or how do I handle it.
You need to add some code to bfd/coffcode.h. Look at the functions
"coff_set_arch_mach_hook", "coff_set_flags" and
"coff_write_object_contents"
Cheers
Nick
- Previous message (by thread): Magic number in BFD
- Next message (by thread): objdump disassemby
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list