From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH 1/2] Relocator framework
Date: Fri, 07 Aug 2009 23:52:22 -0400 [thread overview]
Message-ID: <1249703542.25983.42.camel@mj> (raw)
In-Reply-To: <d7ead6de0908070501i5837965bjfb5bd4aa73b9be3e@mail.gmail.com>
On Fri, 2009-08-07 at 14:01 +0200, Vladimir 'phcoder' Serbinenko wrote:
> 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
I would prefer if you don't commit any patches that introduce any more
preprocessor conditionals for the Apple compiler or assembler.
It would make it hard to debug problems reported by others, as different
compilers would produce different binaries.
If we are using some feature that is just nice but not needed (such as
binary & in lnxboot.S to set the image size to 1024), it would be better
to avoid using that feature for all compilers rather than for the
compilers that don't support it.
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2009-08-08 3:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-03 12:06 [PATCH 1/2] Relocator framework Vladimir 'phcoder' Serbinenko
2009-08-03 12:39 ` Vladimir 'phcoder' Serbinenko
2009-08-04 20:52 ` Robert Millan
2009-08-05 10:18 ` Vladimir 'phcoder' Serbinenko
2009-08-07 11:06 ` Robert Millan
2009-08-07 11:16 ` Marco Gerards
2009-08-07 12:01 ` Vladimir 'phcoder' Serbinenko
2009-08-08 3:52 ` Pavel Roskin [this message]
2009-08-08 13:11 ` Vladimir 'phcoder' Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1249703542.25983.42.camel@mj \
--to=proski@gnu.org \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.