about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-05-04 14:12:10 +0000
committerUlrich Drepper <drepper@redhat.com>1998-05-04 14:12:10 +0000
commite1252e282559645a5a4093f747ff5a44516dda9b (patch)
treee78cd49299a84820a8ad00b5ef72e9f01f4511cc /sysdeps
parenteb4063467c4ef625c1687b4c158bacf475821363 (diff)
downloadglibc-e1252e282559645a5a4093f747ff5a44516dda9b.tar.gz
glibc-e1252e282559645a5a4093f747ff5a44516dda9b.tar.xz
glibc-e1252e282559645a5a4093f747ff5a44516dda9b.zip
Update.
1998-05-04  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
	relocations.  Patch by Joe Keane <jgk@jgk.org>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/i386/dl-procinfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/dl-procinfo.h b/sysdeps/unix/sysv/linux/i386/dl-procinfo.h
index 85baf74496..4520e6cfe0 100644
--- a/sysdeps/unix/sysv/linux/i386/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/i386/dl-procinfo.h
@@ -21,7 +21,9 @@
 #ifndef _DL_PROCINFO_H
 #define _DL_PROCINFO_H	1
 
-static const char *x86_cap_flags[] =
+/* If anything should be added here check whether the size of each string
+   is still ok with the given array size.  */
+static const char x86_cap_flags[][7] =
   {
     "fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce",
     "cx8", "apic", "10", "sep", "mtrr", "pge", "mca", "cmov",