This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [rfc] new bfd hook: additional link map text
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: <binutils at sourceware dot org>
- Date: Tue, 3 Jun 2014 17:18:48 +0100
- Subject: Re: [rfc] new bfd hook: additional link map text
- Authentication-results: sourceware.org; auth=none
- References: <201404110214 dot s3B2E2IQ016910 at greed dot delorie dot com> <15F27C34-BFCC-4A1D-A705-C3AEB0464BF2 at adacore dot com> <201404222055 dot s3MKt75Y011634 at greed dot delorie dot com> <201405061515 dot s46FFnQk025221 at greed dot delorie dot com> <20140507030239 dot GY16139 at bubble dot grove dot modra dot org> <201405100233 dot s4A2XCOR030016 at greed dot delorie dot com> <alpine dot DEB dot 1 dot 10 dot 1406031638460 dot 6087 at tp dot orcam dot me dot uk> <201406031558 dot s53Fw8C2014750 at greed dot delorie dot com>
On Tue, 3 Jun 2014, DJ Delorie wrote:
> There are platforms where bfd_vma *isn't* a long? Why?
Because `long' is too short? You need to go `long long' if you have a
BFD64 target and a 32-bit host. There's stuff like BFD_VMA_FMT,
sprintf_vma, fprintf_vma, perhaps you could use it for portability?
Maciej