Commit Graph

14 Commits

Author SHA1 Message Date
Mikael Pettersson
539ebe91db as: input: use scan not scan_state 2019-12-27 17:44:08 +01:00
Mikael Pettersson
084b3b4e8f as: parse: tag returned statements with start locations; input: use it 2019-12-26 21:16:03 +01:00
Mikael Pettersson
f676ed8428 as: input: handle .data directive and section 2019-12-25 17:27:27 +01:00
Mikael Pettersson
d18a218203 as: input: handle unknown section error in .pushsection 2019-12-25 17:27:19 +01:00
Mikael Pettersson
f07d47b9dd as: input: extend sectionsmap() to also record a #section{} 2019-12-25 17:26:41 +01:00
Mikael Pettersson
1d0f244efa as: input: clean up section and subsection switching 2019-12-25 17:26:25 +01:00
Mikael Pettersson
8acfabae2b as: input: rename Section to SectionName and Subsection to SubsectionNr 2019-12-25 17:26:12 +01:00
Mikael Pettersson
dbc357c556 as: input: correct type of sections_map field in #ctx{} 2019-12-25 16:56:49 +01:00
Mikael Pettersson
761a62817d as: support subsections and section stack directives 2019-12-08 17:01:35 +01:00
Mikael Pettersson
273ce47561 as: scan_state: replace filename/1 and linenr/1 with location/1 2019-12-08 16:59:33 +01:00
Mikael Pettersson
d3e5383f36 as: support local labels 2019-09-08 17:48:18 +02:00
Mikael Pettersson
026bc3b8e2 as: correct .file symbols to be SHN_ABS, init sh_link with SHN_UNDEF not 0, add FIXME to symbols_image/0 2019-08-17 17:49:47 +02:00
Mikael Pettersson
295a44f67d as: convert to module-tagged errors, format_error/1, and error:format/1; improve specs 2019-08-16 21:43:04 +02:00
Mikael Pettersson
ce0595ef44 as: rewrite in Erlang, initial version 2019-08-13 19:21:57 +02:00