summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/asm.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-06-02 02:41:38 +0000
committerobrien <obrien@FreeBSD.org>2003-06-02 02:41:38 +0000
commit384a0a2f51046d30998ea6927b528f702dac45ea (patch)
tree6451101e749013781f2a734401124f883f639c27 /sys/i386/include/asm.h
parentbfafa48e01d906b20e59864014f4f724cdfd32e3 (diff)
downloadFreeBSD-src-384a0a2f51046d30998ea6927b528f702dac45ea.zip
FreeBSD-src-384a0a2f51046d30998ea6927b528f702dac45ea.tar.gz
Don't use ## to concatinate to two things that don't together make a C token.
Two tokens that don't together form a vaid preprocssor token cannot be pasted together using ANSI-C token concatinatation. GCC 3.2's cpp, at least, produces the desired result w/o using "##".
Diffstat (limited to 'sys/i386/include/asm.h')
-rw-r--r--sys/i386/include/asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/asm.h b/sys/i386/include/asm.h
index 30008a2..e868aa4 100644
--- a/sys/i386/include/asm.h
+++ b/sys/i386/include/asm.h
@@ -68,7 +68,7 @@
* to a possibly-modified form that will be invisible to C programs.
*/
#define CNAME(csym) csym
-#define HIDENAME(asmsym) __CONCAT(.,asmsym)
+#define HIDENAME(asmsym) .asmsym
/* XXX should use .p2align 4,0x90 for -m486. */
#define _START_ENTRY .text; .p2align 2,0x90
OpenPOWER on IntegriCloud