summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-01-22 15:36:27 +1030
committerAlan Modra <amodra@gmail.com>2014-01-22 16:21:34 +1030
commitcda796e168a389624b4e06031922bf5eaf0b6f51 (patch)
treeea0e155b1dce573bf18a5ece98ddbb628fb10a1d
parenteb8d7fda368dbc5ddca45b672167a619e76e049f (diff)
downloadbinutils-gdb-cda796e168a389624b4e06031922bf5eaf0b6f51.tar.gz
Fix gas build breakage
* config/tc-tic4x.c (md_shortopts): s/CONST/const/.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-tic4x.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 259c0141881..64a67789479 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2014-01-22 Alan Modra <amodra@gmail.com>
+
+ * config/tc-tic4x.c (md_shortopts): s/CONST/const/.
+
2014-01-21 DJ Delorie <dj@redhat.com>
* config/tc-rl78.c (require_end_of_expr): New.
diff --git a/gas/config/tc-tic4x.c b/gas/config/tc-tic4x.c
index dd21000b609..0dcf5bdd0bc 100644
--- a/gas/config/tc-tic4x.c
+++ b/gas/config/tc-tic4x.c
@@ -82,7 +82,7 @@ static unsigned long tic4x_oplevel = 0; /* Opcode level */
#define OPTION_ENHANCED (OPTION_MD_BASE + 7)
#define OPTION_REV (OPTION_MD_BASE + 8)
-CONST char *md_shortopts = "bm:prs";
+const char *md_shortopts = "bm:prs";
struct option md_longopts[] =
{
{ "mcpu", required_argument, NULL, OPTION_CPU },