Mercurial > hg > index.cgi
diff lwlink/readfiles.c @ 156:fc8386b13399
Added 'constant' sections to object file handling for lwasm and lwlink
author | lost@l-w.ca |
---|---|
date | Sun, 28 Aug 2011 02:06:42 -0600 |
parents | fdc11ef4115b |
children | 606123758641 |
line wrap: on
line diff
--- a/lwlink/readfiles.c Sun Aug 28 00:07:15 2011 -0600 +++ b/lwlink/readfiles.c Sun Aug 28 02:06:42 2011 -0600 @@ -198,6 +198,10 @@ s -> flags |= SECTION_BSS; break; + case 0x02: + s -> flags |= SECTION_CONST; + break; + default: fprintf(stderr, "%s (%s): unrecognized section flag %02X\n", fn -> filename, s -> name, (int)(CURBYTE())); exit(1);