45 Commits

Author SHA1 Message Date
Mikael Pettersson
a3eda3f0ac as: output: clean up output of section_symtab 2015-03-03 20:38:09 +00:00
Mikael Pettersson
a037f1b991 as: support ".size <sym>,.-<sym>" 2015-01-29 19:48:42 +00:00
Mikael Pettersson
5c14e1a861 as: use SHN_ABS for section-less symbols in output stage, unbreaks .file 2015-01-29 19:44:31 +00:00
Mikael Pettersson
9854ccfbf3 as: add tunit.{h,c} files :-( 2014-04-10 20:36:58 +00:00
Mikael Pettersson
18fa204fad as: add ".type <symbol>,@function" support 2014-04-10 18:41:25 +00:00
Mikael Pettersson
aedc489357 replace ehdr.e_wident[4] junk with standard e_ident[EI_NIDENT], add top-level Makefile, add TODO 2014-04-08 20:46:27 +00:00
Mikael Pettersson
35ee3e25aa as: generalize section handling, support .file 2014-04-08 18:56:28 +00:00
Mikael Pettersson
dbeffc60de ar: add ar clone 2013-08-08 19:23:13 +00:00
Mikael Pettersson
672bc82440 pdp10-stdio: add pdp10_fdopen() for ar 2013-08-08 12:20:49 +00:00
Mikael Pettersson
3ab6b1a8ed 8to9: add simple tool for converting (mainly text) files from octets to nonets 2013-08-08 12:19:29 +00:00
Mikael Pettersson
85ecd9f1f1 pdp10-ar.h: fix typo 2013-08-04 16:58:47 +00:00
Mikael Pettersson
0a45fd92f2 pdp10-ar.h: fix typos 2013-07-27 18:05:31 +00:00
Mikael Pettersson
cc6e09c7ed nm.c: add comment explaining its relationship to readelf.c 2013-07-27 10:44:29 +00:00
Mikael Pettersson
4c312678ff readelf: add Makefile 2013-07-27 10:23:40 +00:00
Mikael Pettersson
4b033cc738 od/Makefile: fix clean target 2013-07-27 10:20:20 +00:00
Mikael Pettersson
eb40fdb1be nm: add Makefile 2013-07-27 10:19:22 +00:00
Mikael Pettersson
3f19d68e1b od: add Makefile 2013-07-27 10:14:20 +00:00
Mikael Pettersson
bf5ef3fd64 lib: add Makefile 2013-07-27 10:09:59 +00:00
Mikael Pettersson
beb6cc9ad4 pdp10-ar.h: add header describing the "ar" file format 2013-07-27 09:59:07 +00:00
Mikael Pettersson
24a26a2229 pdp10-stdio.c: fix typo in documentation 2013-07-27 09:55:36 +00:00
Mikael Pettersson
f290268f4d nm: add nm clone 2013-07-26 12:16:41 +00:00
Mikael Pettersson
ab2037008a as: add initial, primitive, but working assembler 2013-07-23 20:46:16 +00:00
Mikael Pettersson
d080f69cbc pdp10-opcodes: add pdp10_instruction_from_name() for the assembler 2013-07-23 20:45:12 +00:00
Mikael Pettersson
fadd664dc7 as: move old overly complex incomplete prototype to new 0LD subdir; start afresh with a minimalistic design and improve it incrementally 2013-07-20 10:54:06 +00:00
Mikael Pettersson
4aaf6337f4 doc/MUUO.txt: correct encoding of HALT 2013-07-19 14:27:51 +00:00
Mikael Pettersson
a175bb1f1a od: add od clone 2013-07-18 15:29:16 +00:00
Mikael Pettersson
f8fd594c7f readelf: bump version to 0.1 and hoist its definition to the start of the file 2013-07-17 16:12:42 +00:00
Mikael Pettersson
bf6570bdde readelf: implement disassembly of .text sections, with labels from symtab 2013-07-16 16:55:02 +00:00
Mikael Pettersson
d58f6f8920 gen-test1: correct value for HALT insn 2013-07-16 16:53:18 +00:00
Mikael Pettersson
0a39fd1237 pdp10-opcodes: add pdp10_instruction_from_high13() helper for decoding/disassembly 2013-07-16 16:52:22 +00:00
Mikael Pettersson
8f37f6155e readelf: prettify output, always prefix hex with 0x, avoid hex for non-addresses, do not print data both raw and symbolic, instead print it symbolic with raw only as fallback for unknown cases 2013-07-16 11:45:12 +00:00
Mikael Pettersson
3fe558d6cf readelf: update gen-test1.c to create a complete .o file with sections, string tables, symbol table, and a .text section; update readelf.c to parse and display section headers and the symbol table both while using string tables to display proper names 2013-07-16 10:59:06 +00:00
Mikael Pettersson
082505ff13 MUUO.txt: add notes about MUUOs and the chosen syscall sequence 2013-07-14 11:24:06 +00:00
Mikael Pettersson
a6ff4c9832 pdp10-elf36: defined ELF36_SHDR_SIZEOF and ELF36_SYM_SIZEOF 2013-07-13 20:36:42 +00:00
Mikael Pettersson
42f7cb666f readelf: start implementing readelf clone, currently capable of parsing command line options, reading, verifying, and printing Elf36_Ehdr; add gen-test1.c which outputs a minimal Elf36 .o file 2013-07-10 20:02:19 +00:00
Mikael Pettersson
3979061f0d pdp10-elf36: change Ehdr e_ident{1,2,3,4} to e_wident[4] to make it eaiser to process, define EI_NIDENT, define ELF36_EHDR_SIZEOF or avoid host-level sizeof mishaps 2013-07-10 19:59:31 +00:00
Mikael Pettersson
ba0c6cea95 pdp10-elf36.h: fix documentation nits 2013-07-08 12:50:55 +00:00
Mikael Pettersson
7ba63c4bee pdp10-elf36: add EM_*, GRP_MASKOS, GRP_MASKPROC, SHF_COMPRESSED, Elf36_Chdr, and ELFCOMPRESS_* from draft #14 published 2013-06-10 2013-07-05 18:37:00 +00:00
Mikael Pettersson
d938fc426b pdp10-elf36: drop the _Ext types, add procedures for reading and writing Elf36 structures 2013-07-05 17:00:54 +00:00
Mikael Pettersson
73e1d21104 pdp10-stdio: add pdp10_ftello(), include <sys/types.h> for off_t 2013-07-05 16:59:13 +00:00
Mikael Pettersson
8ea37e57b9 pdp10-extint: drop typedef, rename x[] field to nonet[] 2013-07-05 16:58:19 +00:00
Mikael Pettersson
5d2fd7e2b3 pdp10-elf36.h: change e_ident to allow it to be binary compatible with Elf32 and Elf64, change ELFCLASS36 value to reduce change of collision with other Elf extensions 2013-07-04 19:52:45 +00:00
Mikael Pettersson
06134f9e04 pdp10-opcodes: fix grammar and spelling, add note on pdp10 word size and bit numbering, delete unused cpu models, renumber enumerations,move internal helper declarations from .h to .c, add declarations for pdp10_extended_instructions[] 2013-07-04 14:03:27 +00:00
Mikael Pettersson
546bb5a145 import pdp10 opcode declarations and definitions from Brinkhoff's pdp10-its-disassembler github repo 2013-07-04 11:46:27 +00:00
Mikael Pettersson
7c189dd488 Initial import 2013-07-03 16:29:42 +00:00