From owner-freebsd-current Thu Jan 18 00:51:57 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA07905 for current-outgoing; Thu, 18 Jan 1996 00:51:57 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA07876 for ; Thu, 18 Jan 1996 00:51:50 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id TAA04433; Thu, 18 Jan 1996 19:47:21 +1100 Date: Thu, 18 Jan 1996 19:47:21 +1100 From: Bruce Evans Message-Id: <199601180847.TAA04433@godzilla.zeta.org.au> To: jdp@polstra.com, terry@lambert.org Subject: Re: src/lib/libc/sys/Makefile.inc: proposed change Cc: freebsd-current@FreeBSD.org Sender: owner-current@FreeBSD.org Precedence: bulk >> Why not: >> >> movl $ ## FOO,%eax >> >> Instead? >> >> If it hits the preprocessor first, it should be no problem. >Clever idea, but it won't work. The `##' operator has meaning only >within a macro expansion. I double-checked the ANSI C standard, just to >make sure. movl $ FOO,%eax works, but is ugly and would require too many source code changes. It used to be used a lot in /sys/i386/i386/*.s. Bruce