Commit Graph

  • 1983581477 sim: sim_core.hrl: describe user-mode execution context Mikael Pettersson 2020-06-13 19:32:30 +02:00
  • 16ba843e11 sim: sim_mem: add user-mode memory emulation Mikael Pettersson 2020-06-12 19:51:40 +02:00
  • 5e0b8e7742 sim: initial top-level framework Mikael Pettersson 2020-06-09 21:55:39 +02:00
  • 438cef200e TODO: remove some obsolete stuff Mikael Pettersson 2020-06-08 19:20:09 +02:00
  • 617887e2ef README: mention 'ld' Mikael Pettersson 2020-06-08 19:19:57 +02:00
  • e082530780 as: output:symbol_image/1: handle symbols without values Mikael Pettersson 2020-06-07 21:05:21 +02:00
  • ec21b92348 readelf: add support for printing program header tables Mikael Pettersson 2020-05-28 19:36:44 +02:00
  • c0c4f491ca pdp10_elf36: add support for reading program header tables Mikael Pettersson 2020-05-28 19:30:54 +02:00
  • e1320acc78 ld: handle input file options Mikael Pettersson 2020-05-24 17:38:51 +02:00
  • e24b529f05 ld: ld_input: error if there are no input files Mikael Pettersson 2020-05-24 16:47:56 +02:00
  • ebbfad04bc ld: ld_output: new phase to output ELF and apply relocations Mikael Pettersson 2020-05-24 15:58:14 +02:00
  • 67c96e0d65 pdp10-relocation.txt: correct descriptions of byte pointer relocations Mikael Pettersson 2020-05-24 15:54:01 +02:00
  • d235aac0cd pdp10_elf36: add Ehdr and Phdr write support Mikael Pettersson 2020-04-18 20:31:10 +02:00
  • 198bf54c7c pdp10_elf36: read_Ehdr/1: more sanity checks Mikael Pettersson 2020-04-19 16:30:44 +02:00
  • d60f570258 ld: ld_symtab: new phase to compute global and per-file symbol tables Mikael Pettersson 2020-04-18 17:08:03 +02:00
  • b1b7dc280c ld: ld_assign: new phase to assign load addresses and file offsets to segments Mikael Pettersson 2020-04-18 17:00:47 +02:00
  • ca515b376e pdp10_elf36.hrl: define ELF36_PHDR_SIZEOF Mikael Pettersson 2020-04-18 16:58:14 +02:00
  • fa1d534960 ld: ld_phase2: improve grammar in comment Mikael Pettersson 2020-05-30 19:42:07 +02:00
  • 775358fd5c ld: ld_phase1: only collect SHF_ALLOC sections Mikael Pettersson 2020-05-24 17:40:46 +02:00
  • a10bc2104c ld: ld_phase1: record ShNdx in sectfrags, do not compute unused SectionsMap Mikael Pettersson 2020-04-18 16:55:14 +02:00
  • c04d1a3c94 ld: separate -module and -export directives by an empty line Mikael Pettersson 2020-04-05 16:56:31 +02:00
  • 8b38ce8191 ld: ld_phase2: new, implement linking phase 2 Mikael Pettersson 2020-04-04 21:52:05 +02:00
  • 872c500337 ld: ld_internal.hrl: define type for ld_phase2:phase2/1 Mikael Pettersson 2020-04-04 21:50:54 +02:00
  • bbb6a51252 ld: ld_phase1: new, implement linking phase 1 Mikael Pettersson 2020-03-31 23:18:41 +02:00
  • 37f13ee351 ld: ld_input: return more data for each input ELF file Mikael Pettersson 2020-03-24 18:13:05 +01:00
  • 20e6341000 ld: ld_internal.hrl: new, define types for ld_input:input/2 and ld_phase1:phase1/1 Mikael Pettersson 2020-03-28 20:15:06 +01:00
  • 84011377d9 ld: implement input processing logic Mikael Pettersson 2020-03-23 00:39:50 +01:00
  • ffa2ab64b6 ld: options processing corrections Mikael Pettersson 2020-03-23 19:18:17 +01:00
  • 5c99f6bafc pdp10_elf36.hrl: fix typo in description for STV_HIDDEN Mikael Pettersson 2020-03-23 00:37:58 +01:00
  • d712c86cf7 ld: top-level structure, options processing Mikael Pettersson 2020-03-17 20:33:08 +01:00
  • de6db33f71 strtol: include Base in invalid_base errors Mikael Pettersson 2020-03-16 20:39:30 +01:00
  • 7964864840 getopt: an argument inexactly matching two different but equivalent options is considered a match Mikael Pettersson 2020-03-16 21:27:37 +01:00
  • c9993fca72 pdp10_stdio: tidy source code file header Mikael Pettersson 2020-03-14 18:05:25 +01:00
  • b370ab9452 escript_runtime: add specs for exported functions Mikael Pettersson 2020-03-14 18:03:16 +01:00
  • 1fd3a7c0b4 getopt: when OptString starts with '-' tag non-options also after '--' Mikael Pettersson 2020-03-14 18:00:58 +01:00
  • ecda1ffaad getopt: opt-in support for single-dash options, e.g. ld's -nostdlib Mikael Pettersson 2020-03-12 22:26:51 +01:00
  • a83fb418b1 getopt: change per-element parsing to return new state instead of tail-calling parse_argv/5 Mikael Pettersson 2020-03-11 20:19:58 +01:00
  • 4e30e25a89 getopt: factor out duplicated code for non-options Mikael Pettersson 2020-03-10 21:53:16 +01:00
  • 2a0f15ac52 getopt: throw badarg on invalid LongOpts instead of returning error tuple Mikael Pettersson 2020-03-10 22:10:00 +01:00
  • a8277651b0 nm: correct handling of error Reason from getopt:parse/3 Mikael Pettersson 2020-03-09 20:46:43 +01:00
  • aaca744f1c pdp10_stdio: be more careful not to create duplicate Modes for file:open/2 Mikael Pettersson 2020-03-07 13:55:17 +01:00
  • 4b627eaf78 pdp10_stdio: source code formatting fixes Mikael Pettersson 2020-03-06 18:56:51 +01:00
  • 43f78e318a pdp10_elf36.hrl: sync with binutils-2.34 ELF definitions Mikael Pettersson 2020-03-04 16:24:22 +01:00
  • 5e6a7772d1 erlang: add dialyzer checks to compile step Mikael Pettersson 2020-03-03 23:29:37 +01:00
  • 84f67a1ad9 as: as: fix dialyzer error Mikael Pettersson 2020-03-03 23:27:59 +01:00
  • a20cc87722 as: output: fix dialyzer errors Mikael Pettersson 2020-03-03 23:16:59 +01:00
  • b7f51949f6 as: assemble: fix dialyzer errors Mikael Pettersson 2020-03-03 22:21:20 +01:00
  • cf296afe52 as: input: fix dialyzer errors Mikael Pettersson 2020-03-03 20:39:23 +01:00
  • 38ca3f4d40 as: tunit: fix dialyzer error Mikael Pettersson 2020-03-02 21:47:46 +01:00
  • 629ee7993d ar: fix dialyzer errors Mikael Pettersson 2020-03-02 20:34:10 +01:00
  • 8d09e668eb nm: fix dialyzer error Mikael Pettersson 2020-03-01 21:55:37 +01:00
  • 98312be54b od: fix dialyzer error Mikael Pettersson 2020-03-01 21:51:30 +01:00
  • 5d692fa577 readelf: fix dialyzer errors Mikael Pettersson 2020-03-01 21:47:14 +01:00
  • 70c63cdfad pdp10_stdio: fix dialyzer errors Mikael Pettersson 2020-03-01 19:18:30 +01:00
  • e1e3c5f751 as: add test case exercising relocations Mikael Pettersson 2020-03-01 18:04:47 +01:00
  • 0cebb8aa46 readelf: add support for printing relocation sections Mikael Pettersson 2020-03-01 18:03:46 +01:00
  • 800a950210 pdp10_elf36: add support for reading relocation sections Mikael Pettersson 2020-03-01 18:01:44 +01:00
  • 0f9e54abbc as: assemble: handle relocatable expressions Mikael Pettersson 2020-02-17 22:10:40 +01:00
  • 09810abe18 as: assemble: create sections for relocations Mikael Pettersson 2020-02-23 17:13:15 +01:00
  • 09886c1979 as: assemble: accumulate relocations Mikael Pettersson 2020-02-17 21:49:38 +01:00
  • bc8d4de675 as: output: encode relocation sections Mikael Pettersson 2020-02-26 17:00:24 +01:00
  • 30ce007d46 as: output: order symbols and record their symtab indices Mikael Pettersson 2020-02-23 20:58:19 +01:00
  • 0588bcb38b as: output: ensure symbols in relocations are present in symtab Mikael Pettersson 2020-02-23 19:04:35 +01:00
  • 364873b7a4 as: output: fix typo in comment Mikael Pettersson 2020-02-23 18:15:40 +01:00
  • de753f440b as: tunit: enable representing relocation sections Mikael Pettersson 2020-02-22 15:40:14 +01:00
  • c3d2e21dc1 as: assemble: handle context and modifier in expr evaluation Mikael Pettersson 2020-02-17 19:24:15 +01:00
  • 5c80333d7a as: assemble: pass expr context (ifiw/long/short/byte) to expr evaluation Mikael Pettersson 2020-02-16 19:29:03 +01:00
  • 642cd9a35e as: assemble: create symbol for section being assembled, pass its name to expr evaluation Mikael Pettersson 2020-02-03 20:28:00 +01:00
  • 9d646d5fe8 as: correct handling of ABS symbols Mikael Pettersson 2020-02-16 18:07:17 +01:00
  • 61cf333f58 as: tunit: remove ifiw modifier in expr(), use false for absent modifier Mikael Pettersson 2020-02-16 22:15:19 +01:00
  • 721a5a2e3e pdp10_elf36.hrl: define ELF36_RELA_SIZEOF Mikael Pettersson 2020-02-23 17:08:00 +01:00
  • b799f7a55a pdp10_elf36.hrl: add relocations for literals Mikael Pettersson 2020-02-16 22:09:53 +01:00
  • 02a5818496 pdp10-relocation.txt: add relocations for literals, remove :ifiw modifier, tweaks Mikael Pettersson 2020-02-09 19:20:47 +01:00
  • 41a26ca60a pdp10_stdint.hrl: add ranges and types for 9- and 18-bit signed integers Mikael Pettersson 2020-02-16 19:21:15 +01:00
  • e1c2d1d8b9 as: assemble: handle "." symbol in exprs Mikael Pettersson 2020-02-02 19:19:41 +01:00
  • e8ecd6126f as: assemble: process stmts in dot order Mikael Pettersson 2020-02-02 18:14:41 +01:00
  • d6eef91276 as: parse: handle :modifier(symbol+offset) exprs, improve docs Mikael Pettersson 2020-01-25 19:36:03 +01:00
  • 0f6449d237 README: bump copyright year range Mikael Pettersson 2020-01-19 20:41:11 +01:00
  • 7163f0d54f doc: initial PDP10 ELF relocation documentation Mikael Pettersson 2020-01-19 20:38:31 +01:00
  • a67a1afce9 pdp10_elf36.hrl: initial PDP10 ELF relocation types Mikael Pettersson 2020-01-19 20:38:10 +01:00
  • 14eb0ad1ed as: parse: handle parenthesized exprs Mikael Pettersson 2020-01-12 21:22:00 +01:00
  • 09016f7e2e as: parse: handle symbol +/- offset exprs Mikael Pettersson 2020-01-12 21:00:27 +01:00
  • 8ddaa532e8 as: parse: handle negated integers in exprs Mikael Pettersson 2020-01-12 19:24:42 +01:00
  • dbcb93dc2c as: parse: handle indirect EA without preceding accumulator Mikael Pettersson 2020-01-12 18:38:09 +01:00
  • 6895fef758 as: parse: parse <expr> properly while parsing <insn> Mikael Pettersson 2020-01-12 18:14:18 +01:00
  • dae3d2d768 as: parse: stmt_after_uinteger/3: move out of insn parsing block, correct diagnostic Mikael Pettersson 2020-01-12 16:16:58 +01:00
  • 1f89281c1e as: tunit: change exprs to be symbol+offset Mikael Pettersson 2020-01-11 18:11:17 +01:00
  • e1fda8a177 as: parse: tidy construction of exprs Mikael Pettersson 2020-01-11 18:02:56 +01:00
  • 5d346bd28a as: parse: simplify <expr_list> and <expr> parsning Mikael Pettersson 2020-01-06 21:58:25 +01:00
  • 726098c315 readelf: don't crash on absent symtab Mikael Pettersson 2020-01-03 21:42:17 +01:00
  • e144176d1c as: handle the .rodata section Mikael Pettersson 2020-01-03 21:41:52 +01:00
  • 8d2b402d69 as: handle .pushsection as a special case of .section Mikael Pettersson 2020-01-03 21:40:02 +01:00
  • 14184eb4cd as: handle .section directive Mikael Pettersson 2020-01-03 21:39:43 +01:00
  • 72df4dc2b3 as: handle .ascii and .asciz directives Mikael Pettersson 2019-12-31 13:55:45 +01:00
  • 9f51730200 as: handle .byte, .hword, .short, and .word directives Mikael Pettersson 2019-12-30 20:21:57 +01:00
  • 896378c3b5 as: handle .data section Mikael Pettersson 2019-12-30 16:57:56 +01:00
  • 6f966758eb as: input: .data directive bug fix Mikael Pettersson 2019-12-30 17:05:26 +01:00
  • 4850c75237 as: handle .long directive Mikael Pettersson 2019-12-25 21:51:02 +01:00
  • b96d413aaf escript_runtime: remove support for OTP < 21 Mikael Pettersson 2019-12-30 14:00:00 +01:00
  • 3727dfbcc9 as: scan: add support for one-token pushback Mikael Pettersson 2019-12-28 19:46:08 +01:00