mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
mksymtab: declare g_symtab array as conts to occupy RO section (Flash).
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* tools/mksymtab.c
|
||||
*
|
||||
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -234,7 +234,7 @@ int main(int argc, char **argv, char **envp)
|
||||
|
||||
/* Now the symbol table itself */
|
||||
|
||||
fprintf(outstream, "\nstruct symtab_s %s[] =\n", SYMTAB_NAME);
|
||||
fprintf(outstream, "\nconst struct symtab_s %s[] =\n", SYMTAB_NAME);
|
||||
fprintf(outstream, "{\n");
|
||||
|
||||
/* Parse each line in the CVS file */
|
||||
|
||||
Reference in New Issue
Block a user