# HG changeset patch # User lost@l-w.ca # Date 1314565475 21600 # Node ID 409295d09a2efaf0e63530e8a951612e789c815f # Parent 02804b7c051c7e92229e444f9a8d887cd1cca7bb Add _constants to the list of sections that get the constant flag by default diff -r 02804b7c051c -r 409295d09a2e lwasm/section.c --- a/lwasm/section.c Sun Aug 28 14:17:33 2011 -0600 +++ b/lwasm/section.c Sun Aug 28 15:04:35 2011 -0600 @@ -98,7 +98,7 @@ { s -> flags |= section_flag_bss; } - if (!strcasecmp(sn, "_constant")) + if (!strcasecmp(sn, "_constant") || !strcasecmp(sn, "_constants")) { s -> flags |= section_flag_constant; }