* Makeconfig (%.v.i rule): Don't use -DASSEMBLER.
authorRoland McGrath <roland@gnu.org>
Thu, 27 Apr 2006 01:25:47 +0000 (01:25 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 27 Apr 2006 01:25:47 +0000 (01:25 +0000)
The predefined __ASSEMBLER__ is sufficient.

ChangeLog
nptl/ChangeLog
nptl/sysdeps/x86_64/tls.h

index a3e7d0c..ec78786 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-26  Roland McGrath  <roland@redhat.com>
+
+       * Makeconfig (%.v.i rule): Don't use -DASSEMBLER.
+       The predefined __ASSEMBLER__ is sufficient.
+
 2006-04-26  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice.
index 25d8d8d..c725b8d 100644 (file)
@@ -1,3 +1,7 @@
+2006-04-26  Roland McGrath  <roland@redhat.com>
+
+       * sysdeps/x86_64/tls.h: Include <asm/prctl.h> inside [! __ASSEMBLER__].
+
 2006-04-08  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove branch predicion
index 13cf6fb..65ff063 100644 (file)
@@ -1,5 +1,5 @@
 /* Definition for thread-local data handling.  nptl/x86_64 version.
-   Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -20,8 +20,8 @@
 #ifndef _TLS_H
 #define _TLS_H 1
 
-#include <asm/prctl.h> /* For ARCH_SET_FS.  */
 #ifndef __ASSEMBLER__
+# include <asm/prctl.h>        /* For ARCH_SET_FS.  */
 # include <stdbool.h>
 # include <stddef.h>
 # include <stdint.h>