mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
A quick nm audit turned up several fixed tables and objects that were
marked read-write. Use const so that they can be allocated in a read-only segment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48800 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
#include <cctype>
|
||||
using namespace llvm;
|
||||
|
||||
static const char* arm_asm_table[] = {"{r0}", "r0",
|
||||
static const char *const arm_asm_table[] = {
|
||||
"{r0}", "r0",
|
||||
"{r1}", "r1",
|
||||
"{r2}", "r2",
|
||||
"{r3}", "r3",
|
||||
|
Reference in New Issue
Block a user