Re: [patch 2/7] use elfnote.h to generate vsyscall notes.

From: Jeremy Fitzhardinge
Date: Fri May 11 2007 - 16:06:37 EST


Roland McGrath wrote:
> I used .balign because .align has inconsistent meaning on some platforms
> (matches .p2align instead of .balign). Using .align in a
> machine-independent file seems questionable.
>
>
>

Subject: use balign in elfnote.h

Roland McGrath <roland@xxxxxxxxxx>:
> I used .balign because .align has inconsistent meaning on some platforms
> (matches .p2align instead of .balign). Using .align in a
> machine-independent file seems questionable.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
Cc: Roland McGrath <roland@xxxxxxxxxx>

---
include/linux/elfnote.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

===================================================================
--- a/include/linux/elfnote.h
+++ b/include/linux/elfnote.h
@@ -40,16 +40,16 @@
*/
#define ELFNOTE_START(name, type, flags) \
.pushsection .note.name, flags,@note ; \
- .align 4 ; \
+ .balign 4 ; \
.long 2f - 1f /* namesz */ ; \
.long 4484f - 3f /* descsz */ ; \
.long type ; \
1:.asciz #name ; \
-2:.align 4 ; \
+2:.balign 4 ; \
3:

#define ELFNOTE_END \
-4484:.align 4 ; \
+4484:.balign 4 ; \
.popsection ;

#define ELFNOTE(name, type, desc) \



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/