PATCH: Add bfd_sprintf_vma/bfd_fprintf_vma
Maciej W. Rozycki
macro@ds2.pg.gda.pl
Fri Aug 10 01:09:00 GMT 2001
On Thu, 9 Aug 2001, H . J . Lu wrote:
> +void
> +bfd_sprintf_vma (abfd, buf, value)
> + bfd *abfd;
> + char *buf;
> + bfd_vma value;
> +{
> + if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
> + return bfd_elf_sprintf_vma (abfd, buf, value);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> + sprintf_vma (buf, value);
> +}
I don't think returning a value from a void function is the cleanest idea
ever. Otherwise, I'll check the changes when my time permits. Thanks.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
More information about the Binutils
mailing list