Mikael Pettersson
|
8d2b402d69
|
as: handle .pushsection as a special case of .section
|
2020-01-03 21:40:02 +01:00 |
|
Mikael Pettersson
|
14184eb4cd
|
as: handle .section directive
|
2020-01-03 21:39:43 +01:00 |
|
Mikael Pettersson
|
72df4dc2b3
|
as: handle .ascii and .asciz directives
|
2019-12-31 16:09:43 +01:00 |
|
Mikael Pettersson
|
9f51730200
|
as: handle .byte, .hword, .short, and .word directives
|
2019-12-30 22:00:12 +01:00 |
|
Mikael Pettersson
|
896378c3b5
|
as: handle .data section
|
2019-12-30 17:10:49 +01:00 |
|
Mikael Pettersson
|
6f966758eb
|
as: input: .data directive bug fix
|
2019-12-30 17:08:44 +01:00 |
|
Mikael Pettersson
|
4850c75237
|
as: handle .long directive
|
2019-12-30 17:08:31 +01:00 |
|
Mikael Pettersson
|
b96d413aaf
|
escript_runtime: remove support for OTP < 21
|
2019-12-30 17:01:05 +01:00 |
|
Mikael Pettersson
|
3727dfbcc9
|
as: scan: add support for one-token pushback
|
2019-12-28 22:03:36 +01:00 |
|
Mikael Pettersson
|
a2b3770956
|
as: scan: rename ungetc field in #scan_state{} to charbuf, drop redundant comment
|
2019-12-28 22:03:36 +01:00 |
|
Mikael Pettersson
|
9ff138e590
|
as: scan: change ungetc/2 to crash on error, remove error check from callers
|
2019-12-28 22:03:36 +01:00 |
|
Mikael Pettersson
|
ac426a91f8
|
as: scan: move scan_state handling here; scan_state: delete
|
2019-12-27 21:52:28 +01:00 |
|
Mikael Pettersson
|
0f121165fc
|
as: scan_state: stop being a gen_server, store state in caller's process dictionary, simplify
|
2019-12-27 21:52:28 +01:00 |
|
Mikael Pettersson
|
539ebe91db
|
as: input: use scan not scan_state
|
2019-12-27 17:44:08 +01:00 |
|
Mikael Pettersson
|
f6533ce53d
|
as: parse: use scan not scan_state
|
2019-12-27 17:44:08 +01:00 |
|
Mikael Pettersson
|
711710fe4b
|
as: scan: add API to wrap scan_state
|
2019-12-27 17:44:03 +01:00 |
|
Mikael Pettersson
|
dfc3da824a
|
as: scan_state: export type location/0
|
2019-12-27 17:38:20 +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
|
589e2c40bb
|
as: parse: use tokens' location tags for diagnostics
|
2019-12-26 21:16:03 +01:00 |
|
Mikael Pettersson
|
34202b2e2f
|
as: scan: tag returned tokens with start locations; parse: ignore them
|
2019-12-26 21:15:35 +01:00 |
|
Mikael Pettersson
|
f676ed8428
|
as: input: handle .data directive and section
|
2019-12-25 17:27:27 +01:00 |
|
Mikael Pettersson
|
24753d5e6d
|
as: parse: handle .data directive
|
2019-12-25 17:27:27 +01:00 |
|
Mikael Pettersson
|
effc77d47a
|
as: tunit: handle .data directive
|
2019-12-25 17:27:27 +01:00 |
|
Mikael Pettersson
|
3030d31385
|
as: token: handle .data directive
|
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
|
5c633b99f4
|
as: scan: accept semi-colon as statement separator
|
2019-12-08 16:59:33 +01:00 |
|
Mikael Pettersson
|
19e8c9fe7d
|
erlang: add xref checks to compile step
|
2019-09-09 17:52:55 +02:00 |
|
Mikael Pettersson
|
c172f2df4b
|
as: use pdp10_extint:uint{18,36}_to_ext/1
|
2019-09-09 17:48:24 +02:00 |
|
Mikael Pettersson
|
a4d6d2ffff
|
getopt: remove unused parse/2 API function
|
2019-09-09 17:39:20 +02:00 |
|
Mikael Pettersson
|
858cec95bb
|
pdp10_stdio:fopen/2: silence unwanted crash report on failure; scan_state:fopen/1: likewise
|
2019-09-08 19:06:29 +02:00 |
|
Mikael Pettersson
|
d3e5383f36
|
as: support local labels
|
2019-09-08 17:48:18 +02:00 |
|
Mikael Pettersson
|
162faefd81
|
as: tunit: correct type of address field in #s_insn{}
|
2019-09-08 17:48:08 +02:00 |
|
Mikael Pettersson
|
c41caee3ba
|
as: support symbols in instruction displacement operands
|
2019-09-07 13:44:51 +02:00 |
|
Mikael Pettersson
|
af93b5caab
|
as: parse: Accumulator is not mandatory in PDP10_INSN_BASIC instructions
|
2019-09-07 13:41:27 +02:00 |
|
Mikael Pettersson
|
c6c6aeeee4
|
as: tunit.erl: add missing -spec:s
|
2019-09-07 13:41:27 +02:00 |
|
Mikael Pettersson
|
c1bd54af52
|
as: parse: correct reference to stack pointer in example
|
2019-09-07 11:06:40 +02:00 |
|
Mikael Pettersson
|
3cfa254f46
|
as: macro10.txt: use consistent and less archaic terminology, tidy
|
2019-09-07 11:06:19 +02:00 |
|
Mikael Pettersson
|
704fdf995e
|
as: add some docs on MACRO-10 syntax
|
2019-09-02 22:07:24 +02:00 |
|
Mikael Pettersson
|
e410aa86da
|
readelf: rewrite in Erlang
|
2019-09-01 17:03:53 +02:00 |
|
Mikael Pettersson
|
a255160ff7
|
pdp10_elf36: export read_uint36/1
|
2019-09-01 17:03:53 +02:00 |
|
Mikael Pettersson
|
9c98a4c3b8
|
pdp10_elf36:read_SymTab/2: also return the ShNdx of the SymTab; nm: adjust
|
2019-09-01 17:03:47 +02:00 |
|
Mikael Pettersson
|
aa8791f897
|
pdp10_elf36: return {Sh,Sym}Tab with s{h,t}_name:s already translated, do not return {Sh,}StrTab; nm: adjust
|
2019-08-28 21:11:45 +02:00 |
|
Mikael Pettersson
|
cb450ce096
|
pdp10_elf36:format_error/1: handle eof from read_uint9/1
|
2019-08-28 21:09:22 +02:00 |
|
Mikael Pettersson
|
e2ea928b58
|
TODO: adjust library names for Erlang migration, bump Copyright year range
|
2019-08-22 20:46:16 +02:00 |
|