[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] Relocator framework

From: Vladimir 'phcoder' Serbinenko
Subject: Re: [PATCH 1/2] Relocator framework
Date: Fri, 7 Aug 2009 14:01:08 +0200

On Fri, Aug 7, 2009 at 1:16 PM, Marco Gerards<address@hidden> wrote:
> Robert Millan <address@hidden> writes:
> [...]
>>> Apple linker can't handle 64-bit differences
>> This seems like a bug.  Can GNU binutils be used on MacOS to resolve this?
>> If it's workable, I'd rather make binutils a build requirement than adding
>> more of this (the other APPLE_CC ifdefs will probably need some review too,
>> but there's no hurry about that).
> Agreed.  GRUB is a GNU project and we can depend on GNU programs.
> Especially since we use some GNU extensions.
Apple's compiler is based GCC but binutils aren't and they pose the
most of problems. Actualy the most problematic bit was that I didn't
know that unless you prefix variable with L_ apple's assembler treats
it as global. Adding L_ in this code solves problem. Yves proposed to
add a LOCAL(x) macro to symbol.h this way the assembler code is also
more readable. I also did further adjustments in this patch to
decrease the number of ifdefs but had no time to test it and so
couldn't submit it
> --
> Marco
> _______________________________________________
> Grub-devel mailing list
> address@hidden

Vladimir 'phcoder' Serbinenko

Personal git repository:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]