aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/asm_ia32
diff options
context:
space:
mode:
authorlloyd <lloyd@randombit.net>2008-11-09 17:24:06 +0000
committerlloyd <lloyd@randombit.net>2008-11-09 17:24:06 +0000
commit2dada64d07767d7794d0f325b2df99b090ecc758 (patch)
treed16396c84f62372784988562a14be1d98662b96d /src/utils/asm_ia32
parentdb172f9347a15d14ea016bab2f1419eba9a9eac9 (diff)
Macro cleanup
Diffstat (limited to 'src/utils/asm_ia32')
-rw-r--r--src/utils/asm_ia32/asm_macr.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/utils/asm_ia32/asm_macr.h b/src/utils/asm_ia32/asm_macr.h
index 6d5dbb59d..58f9be19a 100644
--- a/src/utils/asm_ia32/asm_macr.h
+++ b/src/utils/asm_ia32/asm_macr.h
@@ -6,10 +6,6 @@
#ifndef BOTAN_IA32_ASM_MACROS_H__
#define BOTAN_IA32_ASM_MACROS_H__
-#ifdef __ELF__
-.section .note.GNU-stack,"",%progbits
-#endif
-
/*************************************************
* General/Global Macros *
*************************************************/
@@ -18,9 +14,9 @@
#define START_LISTING(FILENAME) \
.file #FILENAME; \
.text; \
- .p2align 4,,15;
+ ALIGN;
-#ifdef __ELF__
+#if defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif
@@ -28,7 +24,6 @@
* Function Definitions *
*************************************************/
#define START_FUNCTION(func_name) \
- .align 8; \
ALIGN; \
.global func_name; \
.type func_name,@function; \