mirror of
https://github.com/openharmony/third_party_elfutils.git
synced 2026-07-19 19:43:34 -04:00
Mark constant array as const.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user