On Fri, 7 Apr 2000, Jim Bray wrote:
It looks like on ia32, the sole purpose of bfd.h might be to tell us
that bfd_vma is a u_long. If it is doing what it at first glance appears
to be doing, perhaps our venerable old friend caddr_t could be #included
from <linux/types.h> instead. This pulls in an arch-determined definition
from <asm/types.h>, so it should be portable enough.
...no, it is used for a bit more in
/src/sgi/linux/arch/i386/kdb
but could probably still be done without. The other things being used are
all things that the kernel must also have strong ideas about:
bfd_target_elf_flavour;
bfd_arch_i386;
bfd_mach_i386_i386;
Jim http://as220.org/jb
|