This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: generalize bfd_get_sign_extend_vma ?
- To: "Mark E." <snowball3 at bigfoot dot com>
- Subject: Re: generalize bfd_get_sign_extend_vma ?
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- Date: 28 Jun 2001 19:12:16 +0100
- Cc: binutils at sources dot redhat dot com
- References: <3B3648C4.9146.1C1D6C@localhost>
Hi Mark,
> I would like this function generalized so it works with all targets.
> Shouldn't information like what 'bfd_get_sign_extend_vma' returns be
> in bfd_arch_info and not in an object file format's backend?
Well that would mean modifying a lot of files. Why not just extend
the code in bfd.c to work for djgpp ? I know that your way would be
cleaner in the long run, but how many other architectures are actually
going to need to provide this information ?
Cheers
Nick