sparc32/sysdep.h and gcc-3.1

Jakub Jelinek jakub@redhat.com
Mon Jul 1 04:23:00 GMT 2002


On Mon, Jul 01, 2002 at 01:12:40PM +0200, Bruno Haible wrote:
> 2002-06-05  Bruno Haible  <bruno@clisp.org>
> 
> 	* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (LOC): Remove spaces.
> 
> --- glibc-2.2.5/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h.bak	2001-07-06 06:56:21.000000000 +0200
> +++ glibc-2.2.5/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h	2002-06-05 23:14:40.000000000 +0200
> @@ -48,7 +48,7 @@
>  #define END(name) \
>  	.size name, . - name
>  
> -#define LOC(name)  . ## L ## name
> +#define LOC(name)  .##L##name

This is incorrect. The proper fix is on libc trunk: ( .L##name ).
.L is not a valid preprocessing token.

	Jakub



More information about the Libc-alpha mailing list