diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-04-04 11:46:55 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-04-04 14:45:04 +0200 |
commit | 50cc8c5412e804480a10ecdd9546c7b6ad21760e (patch) | |
tree | 86d3a04fd004996fc91839b9a7cad705090bcdc0 /commands/cat.c | |
parent | a9912f68c65850d2bed12111aabe8b779c95e365 (diff) | |
download | barebox-50cc8c5412e804480a10ecdd9546c7b6ad21760e.tar.gz barebox-50cc8c5412e804480a10ecdd9546c7b6ad21760e.tar.xz |
Subject: [PATCH] [general] Fixed constant strings in data section issue
For practical reasons I changed all string literals assumed to be constant
to reside in .rodata subsection at end of .text section.
Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/cat.c')
-rw-r--r-- | commands/cat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/cat.c b/commands/cat.c index 0840fdfeae..d6f9b7a6f9 100644 --- a/commands/cat.c +++ b/commands/cat.c @@ -84,7 +84,7 @@ out: return err; } -static __maybe_unused char cmd_cat_help[] = +static const __maybe_unused char cmd_cat_help[] = "Usage: cat [FILES]\n" "Concatenate files on stdout. Currently only printable characters\n" "and \\n and \\t are printed, but this should be optional\n"; |