This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: [patch bfd]: Add further support for x86_64 mingw


On Sat, Feb 02, 2008 at 11:09:27PM +0100, Kai Tietz wrote:
> > Or we can use things like
> >
> > #define _bfd_int64_low(x) ((unsigned long) (((x) & 0xffffffff)))
> > #define _bfd_int64_high(x) ((unsigned long) (((x) >> 32) & 0xffffffff))
> > #define fprintf_vma(s,x) \
> > fprintf ((s), "%08lx%08lx", _bfd_int64_high (x), _bfd_int64_low (x))
> > #define sprintf_vma(s,x) \
> > sprintf ((s), "%08lx%08lx", _bfd_int64_high (x), _bfd_int64_low (x))
> 
> H.J.,
> This would be a partial solution for bfd. But the 'll' is used on some
> places in binutils and gas, too. So we have to change them too. A
> positive side effect of this approach is, that we won't need target

Would you mind submitting a patch to fix 32bit mingw with gcc 4.1?

> specific '#if' clauses.
> 

We still need "#if" for hosts, like mingw, which support long long,
but don't support %ll.

Thanks.

H.J.


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