diff options
| author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:03:48 -0800 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:03:48 -0800 |
| commit | 4e468ed2eb86a2406e14f1eca82072ee501d05fd (patch) | |
| tree | 4e05b3c66eef86531e464521a3bf96a1864d4bf5 /libc/arch-x86/include/machine/asm.h | |
| parent | a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 (diff) | |
| download | bionic-4e468ed2eb86a2406e14f1eca82072ee501d05fd.zip bionic-4e468ed2eb86a2406e14f1eca82072ee501d05fd.tar.gz bionic-4e468ed2eb86a2406e14f1eca82072ee501d05fd.tar.bz2 | |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'libc/arch-x86/include/machine/asm.h')
| -rw-r--r-- | libc/arch-x86/include/machine/asm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libc/arch-x86/include/machine/asm.h b/libc/arch-x86/include/machine/asm.h index f2da575..7a23060 100644 --- a/libc/arch-x86/include/machine/asm.h +++ b/libc/arch-x86/include/machine/asm.h @@ -38,6 +38,17 @@ #ifndef _I386_ASM_H_ #define _I386_ASM_H_ +/* This is borrowed from FreeBSD /src/sys/i386/include/asmacros.h v1.27 */ +/* + * CNAME and HIDENAME manage the relationship between symbol names in C + * and the equivalent assembly language names. CNAME is given a name as + * it would be used in a C program. It expands to the equivalent assembly + * language name. HIDENAME is given an assembly-language name, and expands + * to a possibly-modified form that will be invisible to C programs. + */ +#define CNAME(csym) csym +#define HIDENAME(asmsym) .asmsym + #ifdef PIC #define PIC_PROLOGUE \ pushl %ebx; \ @@ -108,5 +119,6 @@ #define ASMSTR .asciz #define RCSID(x) .text; .asciz x +#define __FBSDID(x) RCSID(x) #endif /* !_I386_ASM_H_ */ |
