]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Mark constant array as const.
authorUlrich Drepper <drepper@redhat.com>
Wed, 31 Dec 2008 17:12:50 +0000 (09:12 -0800)
committerUlrich Drepper <drepper@redhat.com>
Wed, 31 Dec 2008 17:12:50 +0000 (09:12 -0800)
libcpu/ChangeLog
libcpu/i386_disasm.c

index b26c0aabf6f485d62f261fe9d0239ba27652dcd7..90c2e588c4b97830fef0cbcd08d9886f2ac59b07 100644 (file)
@@ -1,5 +1,7 @@
 2008-12-31  Ulrich Drepper  <drepper@redhat.com>
 
+       * i386_disasm.c (amd3dnow): Mark as const.
+
        * defs/i386: Add blendvpd and blendvps opcodes.
 
 2008-12-30  Ulrich Drepper  <drepper@redhat.com>
index 5da61705b84f5cfebc4b29cc97e11411759c1f40..759363564a3acba7629cc8db34909277e1d3d730 100644 (file)
@@ -227,7 +227,7 @@ static const char amd3dnowstr[] =
 #define AMD3DNOW_LOW_IDX 0x0d
 #define AMD3DNOW_HIGH_IDX (sizeof (amd3dnow) + AMD3DNOW_LOW_IDX - 1)
 #define AMD3DNOW_IDX(val) ((val) - AMD3DNOW_LOW_IDX)
-static unsigned char amd3dnow[] =
+static const unsigned char amd3dnow[] =
   {
     [AMD3DNOW_IDX (0xbf)] = MNE_3DNOW_PAVGUSB,
     [AMD3DNOW_IDX (0x9e)] = MNE_3DNOW_PFADD,