Commit Graph

  • b918011a55 rebar3: bump to 3.25.1 master Mikael Pettersson 2025-12-07 10:06:54 +01:00
  • b6b2f8b1df elf2boot: handle non page-aligned ELF PT_LOAD segments Mikael Pettersson 2025-10-05 17:42:08 +02:00
  • 0cc02e669e elf2boot: correct p_offset/p_vaddr alignment check Mikael Pettersson 2025-10-05 16:43:05 +02:00
  • 501d13d63d README: update Mikael Pettersson 2025-08-15 16:50:46 +02:00
  • 83cbbb5ab1 elf2boot: do not copy unwanted ELF metadata in ELF-64 files Mikael Pettersson 2025-08-15 15:46:14 +02:00
  • 82c1e19ac4 elf2boot: allow input from ELF-64 files Mikael Pettersson 2025-08-15 14:21:00 +02:00
  • fc81f546bf readelf: move uint36_from_s64 conversion to extint Mikael Pettersson 2025-08-14 16:38:47 +02:00
  • 0667130fc4 elf2boot: move uint36_to_c36 conversion to extint Mikael Pettersson 2025-08-14 16:04:45 +02:00
  • 15434fdd34 elf2boot: clarify significance of output format option Mikael Pettersson 2025-08-13 19:21:44 +02:00
  • 6fe75207e3 readelf: handle disassembling code from ELF-64 files Mikael Pettersson 2025-08-13 18:00:43 +02:00
  • 1e92b66d9c Revert "pdp10_opcodes: use BASIC format with separate flag for A_UNUSED insns" Mikael Pettersson 2025-08-13 14:11:29 +02:00
  • 6fd5956c8c Revert "pdp10_opcodes: mark more insns as A_UNUSED and/or E_UNUSED" Mikael Pettersson 2025-08-13 14:10:34 +02:00
  • e4e66c08c2 libelf: enable opening files with autodetect of ELF class, readelf: use it Mikael Pettersson 2025-08-13 14:07:47 +02:00
  • 9dca28c776 libelf: handle ELFCLASS64, adjust integer widths and field orders Mikael Pettersson 2025-08-12 19:49:50 +02:00
  • fff8acaec7 libelf: handle ELFCLASS32, adjust integer widths, use stdio8 Mikael Pettersson 2025-08-12 17:07:36 +02:00
  • 20feac56d9 libelf: add ELF class param to I/O entry points, propagate to scalar accessors and I/O dispatch Mikael Pettersson 2025-08-12 16:09:37 +02:00
  • 3d89447f26 libelf: rename inner read loops to distinguish them from API entry points Mikael Pettersson 2025-08-12 16:00:31 +02:00
  • 7998bf4ce2 libelf: rename integer read/write routines to indicate how many _bytes_ are transferred not bits Mikael Pettersson 2025-08-12 15:54:39 +02:00
  • 51c58652b3 libelf: centralise dispatch to I/O implementation module Mikael Pettersson 2025-08-12 15:41:44 +02:00
  • 75feec1d16 readelf: implement read_uint36/1 ourselves, do not abuse libelf for that Mikael Pettersson 2025-08-12 14:59:17 +02:00
  • c396f4f0cf libelf: replace fgetc loop with fread Mikael Pettersson 2025-08-11 20:20:42 +02:00
  • 5ac34d7cea libelf:read_sint36/1: simplify Mikael Pettersson 2025-08-11 16:51:21 +02:00
  • fc3bd12e7c factor out duplicated sign-extension code to new sext module Mikael Pettersson 2025-08-11 16:41:55 +02:00
  • 1f230f9e61 extint.erl: add support for converting between octets and 16/32/64-bit types Mikael Pettersson 2025-08-11 17:46:08 +02:00
  • d9055597f9 rename pdp10_extint.erl to extint.erl Mikael Pettersson 2025-08-11 16:18:18 +02:00
  • 4206dc5415 stdint.hrl: also support 8/16/32/64-bit integers Mikael Pettersson 2025-08-11 16:07:52 +02:00
  • dcc1e86f5d stdint.hrl: move size-dependent min/max computations to helper macros Mikael Pettersson 2025-08-11 15:02:41 +02:00
  • 7348b7776b rename pdp10_stdint.hrl to stdint.hrl, drop PDP10_ prefixes from macros Mikael Pettersson 2025-08-11 14:48:45 +02:00
  • a52866cd52 rename pdp10_elf36.elf to libelf.erl Mikael Pettersson 2025-08-10 23:30:52 +02:00
  • c6091d8803 libelf.hrl: move PDP-10 reloc declarations to new pdp10_relocs.hrl Mikael Pettersson 2025-08-13 14:32:25 +02:00
  • 77d7658247 rename pdp10_elf36.hrl to libelf.hrl Mikael Pettersson 2025-08-10 22:28:47 +02:00
  • 78a2a4f827 pdp10_elf36: make types and macros generic ELF and not ELF-36 specific Mikael Pettersson 2025-08-10 17:08:27 +02:00
  • 659ba1eb52 elf2boot: use stdio8 not file Mikael Pettersson 2025-08-09 15:03:55 +02:00
  • f02023c9b0 stdio8: new, stdio API for octet-based files Mikael Pettersson 2025-08-09 14:56:15 +02:00
  • 6b60f3c6a9 elf2boot: use stdio9 not pdp10_stdio Mikael Pettersson 2025-08-09 13:07:42 +02:00
  • f3e9c62191 pdp10_stdio: new, provide compatibility wrapper around stdio9 Mikael Pettersson 2025-08-09 12:44:13 +02:00
  • c150b7bd35 stdio9: simplify fread/3 to /2 Mikael Pettersson 2025-08-11 18:22:03 +02:00
  • a23ea12844 rename pdp10_stdio to stdio9 Mikael Pettersson 2025-08-09 12:36:29 +02:00
  • c21cf1422a pdp10_elf36.hrl: sync with binutils-2.45 ELF definitions Mikael Pettersson 2025-08-09 12:08:59 +02:00
  • 7a5ff6e992 elf2boot: allow selecting C36 or H36 as output format, make C36 default Mikael Pettersson 2025-08-08 20:14:11 +02:00
  • 18ee8e6453 elf2boot: generate output one full word at a time Mikael Pettersson 2025-08-07 20:52:06 +02:00
  • b5e2857116 pdp10_opcodes: mark more insns as A_UNUSED and/or E_UNUSED Mikael Pettersson 2025-07-21 16:14:46 +02:00
  • 3f80870025 pdp10_opcodes: use BASIC format with separate flag for A_UNUSED insns Mikael Pettersson 2025-07-21 15:56:23 +02:00
  • 1e8dc3468f pdp10_opcodes: fix typos in comments Mikael Pettersson 2025-07-21 14:11:19 +02:00
  • c47d61b550 rebar3: bump to 3.25.0 Mikael Pettersson 2025-05-24 16:49:06 +02:00
  • 52ad811aa0 pdp10_opcodes: fix dialyzer error with OTP-28.0-rc3 Mikael Pettersson 2025-04-20 12:19:50 +02:00
  • 1f636bff4f rebar3: bump to 3.24.0 Mikael Pettersson 2025-04-19 23:46:50 +02:00
  • 63746bbc93 pdp10_elf36.hrl: sync with binutils-2.44 ELF definitions Mikael Pettersson 2025-04-19 23:43:00 +02:00
  • 4edce6a058 pdp10_elf36.hrl: sync with binutils-2.43 ELF definitions Mikael Pettersson 2025-04-19 19:56:32 +02:00
  • 80e12bf0c8 pdp10_elf36.hrl: add missing AT_HWCAP2 macro Mikael Pettersson 2025-04-19 15:59:20 +02:00
  • 829dddbe69 pdp10_elf36.hrl: sync with binutils-2.42 ELF definitions Mikael Pettersson 2025-04-19 15:57:07 +02:00
  • 137ccba768 as: input: move pass 1 and 2 to separate modules old-master Mikael Pettersson 2024-01-27 18:01:38 +01:00
  • 84742bfddc as: parse: support [<stmts>] literals in <expr>, for MACRO-10 compatibility Mikael Pettersson 2023-10-21 18:31:06 +02:00
  • 47c3534f72 as: parse: treat ] as <eol> for <stmt> Mikael Pettersson 2023-10-20 18:44:35 +02:00
  • c095fc506b as: parse: move <stmt> <eol> handling to helper functions Mikael Pettersson 2023-10-18 21:55:08 +02:00
  • ad5a2a38f2 as: parse: leave <eol> after <stmt> for upper layers to consume Mikael Pettersson 2023-10-18 20:40:29 +02:00
  • ec5cb404f3 as: scan: add support for [ and ] tokens Mikael Pettersson 2023-10-18 20:03:43 +02:00
  • 526a33a732 as: token: add support for [ and ] tokens Mikael Pettersson 2023-10-18 20:03:24 +02:00
  • 8c0611d333 as: scan: make numbers octal by default, for MACRO-10 compatibility; support 0d as decimal prefix Mikael Pettersson 2023-10-14 19:33:04 +02:00
  • 3ff0f8f203 as: handle .type <sym>,@object Mikael Pettersson 2023-10-13 20:27:30 +02:00
  • 1455bfc2e2 opcodes: mark SKIPA as E_UNUSED Mikael Pettersson 2023-10-11 19:03:28 +02:00
  • 6bd82dd571 as: treat . as a symbol in expressions Mikael Pettersson 2023-10-11 18:36:50 +02:00
  • 36356bbbe6 as: treat ; as starting a line comment, for MACRO-10 compatibility Mikael Pettersson 2023-10-09 21:53:17 +02:00
  • d0c78d4423 as: allow upper-case instruction mnemonics Mikael Pettersson 2023-10-09 21:16:11 +02:00
  • 67361ef2d8 as: add support for .debug* sections Mikael Pettersson 2023-10-07 17:51:00 +02:00
  • 3c3fbae342 as: add support for .string directive Mikael Pettersson 2023-10-07 16:43:16 +02:00
  • 1b39e2dc92 as: fix scanning of hex numerals Mikael Pettersson 2023-10-07 14:03:16 +02:00
  • f9ea1d57ab as: add support for .2byte and .4byte directives Mikael Pettersson 2023-10-06 18:57:56 +02:00
  • 39f938c7bb as: add support for Sym1-Sym2 expressions Mikael Pettersson 2023-10-01 19:06:08 +02:00
  • 81903d1517 TODO: remove ranlib note, add as/ld notes detected by gcc Mikael Pettersson 2023-09-10 17:22:57 +02:00
  • 149bad4289 ranlib: install as a symlink to ar Mikael Pettersson 2023-09-09 20:06:19 +02:00
  • b44d57482b ar: emulate ranlib when invoked as ranlib Mikael Pettersson 2023-09-09 20:05:47 +02:00
  • 3db8f7e60d elf2boot: remove workaround for recently fixed pdp10_stdio bug Mikael Pettersson 2023-09-06 20:34:18 +02:00
  • dc517a8710 pdp10_stdio:handle_fopen/2: handling writes after seeks may require reads, so try to get read access even if the user did not ask for it Mikael Pettersson 2023-09-06 20:28:31 +02:00
  • 61dcfccd0d pdp10_stdio:prepare_to_write/1: fix failure to reload shiftreg after seek Mikael Pettersson 2023-09-06 17:53:23 +02:00
  • 0d64455d0d elf2boot: new tool to convert static ELF executables to KLH10-bootable images Mikael Pettersson 2023-09-03 15:30:12 +02:00
  • e2c3811daa od: use * to mark suppressed ranges of duplicate lines Mikael Pettersson 2023-09-03 15:04:45 +02:00
  • 1f102c13bc readelf: use octal for addresses and accumulators Mikael Pettersson 2023-09-03 14:59:51 +02:00
  • 29fa941e46 rebar.config: trim list of unused exports Mikael Pettersson 2023-08-30 20:21:00 +02:00
  • 4adb051325 add "make install", installing the tools with pdp10-elf- prefixes Mikael Pettersson 2023-08-24 21:25:29 +02:00
  • a55acb51f5 rebar.config: explicitly name escript main modules, so the scripts work even if renamed Mikael Pettersson 2023-08-24 21:23:03 +02:00
  • 5754587b35 pdp10-abi.txt: update definition of register contents at process start Mikael Pettersson 2023-08-22 19:34:34 +02:00
  • 9239504ce1 pdp10-abi.txt: in large and medium code models, text starts at page 1 in its section, not offset 020 Mikael Pettersson 2023-08-22 19:33:12 +02:00
  • 36b1a93485 sim_loader: allocate the stack in section 1 not 0 Mikael Pettersson 2023-08-21 21:32:01 +02:00
  • 018497f147 sim_core.hrl: fix typo in docs Mikael Pettersson 2023-08-21 21:29:23 +02:00
  • 828522d5ef ld_assign: make .text start in section 2 not 1 Mikael Pettersson 2023-08-21 21:18:00 +02:00
  • cdd7fb386e pdp10-abi.txt: in large and medium code models, move text to section 2 and stack to section 1 Mikael Pettersson 2023-08-21 20:55:50 +02:00
  • 68884d8822 pdp10-abi.txt: fix typos Mikael Pettersson 2023-08-21 20:55:46 +02:00
  • f0d8c5bf84 commit some old notes about as and macro10 Mikael Pettersson 2023-08-19 19:36:42 +02:00
  • 632c3aafe5 remove obsolete C code Mikael Pettersson 2023-08-19 19:18:51 +02:00
  • dfd5ef162e drop 'clone' from tool descriptions Mikael Pettersson 2023-08-19 19:03:47 +02:00
  • fdd0da6a6b readelf: in disassembly print insn virtual addresses not their in-unit offsets Mikael Pettersson 2023-08-19 18:44:10 +02:00
  • 4f130e89e6 ld_output: add support for archives Mikael Pettersson 2023-08-18 18:56:33 +02:00
  • c852cb50f9 ld_output: cleanups Mikael Pettersson 2023-08-18 11:46:44 +02:00
  • 817bb04464 ld_symtab: add support for archives Mikael Pettersson 2023-08-14 18:53:45 +02:00
  • 522b7101ca ld_symtab: cleanups Mikael Pettersson 2023-08-14 15:05:59 +02:00
  • b4ec2ef819 ld_assign: cleanups Mikael Pettersson 2023-08-13 18:57:21 +02:00
  • fbb8276b11 ld_phase2: correct ordering of sections within a segment Mikael Pettersson 2023-08-12 22:04:31 +02:00
  • 5715703100 ld_phase2: cleanups Mikael Pettersson 2023-08-11 14:38:25 +02:00
  • 0438e1287c ld_phase1: add support for archives Mikael Pettersson 2023-08-10 20:29:36 +02:00