Re: [PATCH] RFT: Rename local labels with a macro from boot/i386/pc/boot.S

2009-08-12 Thread Pavel Roskin
On Mon, 2009-08-10 at 13:29 +0200, Robert Millan wrote: > On Sat, Aug 08, 2009 at 04:48:32PM +0200, Yves Blusseau wrote: > > diff --git a/include/grub/symbol.h b/include/grub/symbol.h > > index 68d9f00..5fba549 100644 > > --- a/include/grub/symbol.h > > +++ b/include/grub/symbol.h > > @@ -21,6 +21,

Re: [PATCH] RFT: Rename local labels with a macro from boot/i386/pc/boot.S

2009-08-10 Thread Robert Millan
On Sat, Aug 08, 2009 at 04:48:32PM +0200, Yves Blusseau wrote: > diff --git a/include/grub/symbol.h b/include/grub/symbol.h > index 68d9f00..5fba549 100644 > --- a/include/grub/symbol.h > +++ b/include/grub/symbol.h > @@ -21,6 +21,8 @@ > > #include > > +#define LOCAL(X) L_##X > + > /* Ad

Re: [PATCH] RFT: Rename local labels with a macro from boot/i386/pc/boot.S

2009-08-08 Thread Yves Blusseau
Le 8 août 09 à 16:55, Vladimir 'phcoder' Serbinenko a écrit : On Sat, Aug 8, 2009 at 4:48 PM, Yves Blusseau wrote: Here a patch to be apply after the 2 pavel's patch (Eliminate Apple specific code and Remove ABS macro). This patch create a new macro LOCAL to define local labels and rename a

Re: [PATCH] RFT: Rename local labels with a macro from boot/i386/pc/boot.S

2009-08-08 Thread Vladimir 'phcoder' Serbinenko
On Sat, Aug 8, 2009 at 4:48 PM, Yves Blusseau wrote: > Here a patch to be apply after the 2 pavel's patch (Eliminate Apple specific > code and Remove ABS macro). This patch create a new macro LOCAL to define > local labels and rename all labels starting with "L_" with the new macro. > Nice. I will

[PATCH] RFT: Rename local labels with a macro from boot/i386/pc/boot.S

2009-08-08 Thread Yves Blusseau
Here a patch to be apply after the 2 pavel's patch (Eliminate Apple specific code and Remove ABS macro). This patch create a new macro LOCAL to define local labels and rename all labels starting with "L_" with the new macro. I have compil boot.img under OSX and boot with the new generated f