This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [rfa] bfd_elf_sign_extend_vma()


On Fri, 23 Jun 2000, Andrew Cagney wrote:

> Ok?

Not quite :-)  bfd-in2.h is a generated file.  Patch bfd-in.h instead then
run "make headers" in bfd/.

> The name and return value conventions are consistent with
> bfd_elf_get_arch_size().

Which leads to the result that non-elf returns -1, and -1 is a perfectly
good "true" value.  Did you intend that all non-elf cases use sign
extension?

-- 
Linuxcare.  Support for the Revolution.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]