From: Chris Metcalf Date: Fri, 11 May 2012 20:53:19 +0000 (-0400) Subject: tile: avoid using _LP64 X-Git-Tag: glibc-2.16-ports-before-merge~132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbf92fc46644e084315e3fbe7e5ccb7cb499284e;p=thirdparty%2Fglibc.git tile: avoid using _LP64 The convention is to use __WORDSIZE everywhere. I happened to notice that we weren't doing this in __tls_get_addr.S. --- diff --git a/ChangeLog.tile b/ChangeLog.tile index 2ce98e971b5..5cdc293f8ee 100644 --- a/ChangeLog.tile +++ b/ChangeLog.tile @@ -1,3 +1,7 @@ +2012-05-12 Chris Metcalf + + * sysdeps/tile/__tls_get_addr.S: Use __WORDSIZE, not _LP64. + 2012-05-12 Chris Metcalf * sysdeps/tile/stackguard-macros.h: New file. diff --git a/sysdeps/tile/__tls_get_addr.S b/sysdeps/tile/__tls_get_addr.S index 8cf49f0b2ba..74e4fa2c263 100644 --- a/sysdeps/tile/__tls_get_addr.S +++ b/sysdeps/tile/__tls_get_addr.S @@ -1,4 +1,4 @@ -/* Copyright (C) 2011 Free Software Foundation, Inc. +/* Copyright (C) 2011-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Chris Metcalf , 2011. @@ -18,8 +18,9 @@ #include #include +#include -#ifdef _LP64 +#if __WORDSIZE == 64 #define LOG_SIZEOF_DTV_T 4 #else #define LOG_SIZEOF_DTV_T 3