78 Commits

Author SHA1 Message Date
Mikael Pettersson
eeb251944b pdp10-elf36.h: remove old EM_MOXIE definition, add EM_BPF 2018-05-05 18:21:42 +02:00
Mikael Pettersson
79fa45ce3a sim: new tool (stub for now) 2018-04-28 17:44:04 +02:00
Mikael Pettersson
7fde78a4c6 doc/Booting.txt: fix typos 2017-08-02 17:38:50 +02:00
Mikael Pettersson
24cf9254f1 doc/Timers.txt: fix typo 2017-08-02 17:25:38 +02:00
Mikael Pettersson
94c28c504a doc/Interrupts.txt: fix typos 2017-08-02 17:14:42 +02:00
Mikael Pettersson
ab06ac512c doc/pdp10-abi.txt: correct reference to the thread register 2017-08-02 16:47:14 +02:00
Mikael Pettersson
824b8a877e doc/Paging.txt: fix some typos 2017-08-02 16:09:58 +02:00
Mikael Pettersson
ba6485eb1b doc: add notes on boot sequences for different PDP10 generations 2015-09-22 23:29:07 +02:00
Mikael Pettersson
4bf86f12d0 doc: a notes on Console TTY for different PDP10 generations 2015-09-11 19:39:27 +02:00
Mikael Pettersson
8c377bba69 doc: add missing Copyright headers 2015-09-08 22:36:48 +02:00
Mikael Pettersson
2be3c70928 doc: add notes on PDP10 interval timers 2015-09-08 22:25:43 +02:00
Mikael Pettersson
d5cc68a61c doc/Paging.txt: add note about documentation issues wrt Jupiter paging 2015-09-08 22:24:47 +02:00
Mikael Pettersson
68472bfffa add notes on paging structures for different PDP10 generations 2015-09-06 18:06:58 +02:00
Mikael Pettersson
a6b78a905d doc: add notes on the PDP10 interrupt architecture 2015-08-30 18:21:55 +02:00
Mikael Pettersson
e4a393cbc4 include/pdp10-elf36.h: updates to match 2015-07-23 gABI draft
added DT_SYMTAB_SHNDX, 14 EM_ entries, and 2 ELFOSABI_ entries
2015-07-25 19:24:23 +02:00
Mikael Pettersson
f732a75ba0 doc/pdp10-abi.txt: many updates
- list 'Extended Addressing' as a reference document
- add Function Calling Sequence, Registers, Stack Frame, Parameter Passing
- add Operating System Interface, Virtual Address Space, Page Size, Shared Libraries
  (may have to be moved to a later section), Virtual Address Assignments with
  three different code models
- add stubs for many more sections to fill in
2015-05-18 22:45:19 +02:00
Mikael Pettersson
ea30595015 doc/pdp10-abi.txt: finish Processor Architecture and Data Representation sections 2015-05-10 22:37:28 +02:00
Mikael Pettersson
81989cd786 doc/pdp10-abi.txt: start work on psABI document 2015-05-07 23:35:07 +02:00
Mikael Pettersson
3a06585426 TODO: update 2015-05-01 14:23:52 +02:00
Mikael Pettersson
47502d2bb7 as: add support for .ident directives
- token.def: enable T_DOT_IDENT
- tunit.h: add S_DOT_IDENT and make it share attributes with S_DOT_FILE,
  describe available section types, add tunit_strtab_section_enter(),
  rearrange declarations
- tunit.c: implement tunit_strtab_section_enter()
- parse.c: generalize .file parser, use it also for .ident
- input.c: handle S_DOT_IDENT, lookup or create .comment strtab section,
  append given string literal to that section
2015-05-01 14:14:38 +02:00
Mikael Pettersson
a5a68a70b7 as/tunit.c: check for NULL before applying container_of() 2015-05-01 14:08:12 +02:00
Mikael Pettersson
772d5e4061 as: define and use container_of() 2015-04-27 22:36:58 +02:00
Mikael Pettersson
a7c47b4013 as: move strtab from output to tunit 2015-04-27 22:02:53 +02:00
Mikael Pettersson
70768a829c as: allow output_section() to work on strtabs
- add optional ->output() method to struct section
- make output_section() use ->output() if present
- make strtab_init() set up ->output
- change strtab_write() into a trivial wrapper for output_section()
2015-04-26 22:08:37 +02:00
Mikael Pettersson
966059fbb6 as/output.c: use section_init() to initialize the fake section0 2015-04-26 20:36:30 +02:00
Mikael Pettersson
8f2faeea93 as/output.c: simplify handling of strtab sections
- embed a strtab's associated section in the strtab itself
- change append_section() to enter name before reading dot
- synthesize .shstrtab with append_section(), remove old kludge
2015-04-25 20:10:48 +02:00
Mikael Pettersson
9260af712f as: support C-style /*...*/ comments 2015-04-21 21:35:36 +02:00
Mikael Pettersson
bedc35abc5 as: support line-comments starting with '#' 2015-04-20 23:07:27 +02:00
Mikael Pettersson
b0aaba8f9a pdp10-opcodes: complete rewrite 2015-04-19 18:28:27 +02:00
Mikael Pettersson
af1fd536c2 pdp10-tools: Add GPL License and a README, remove old 'as' prototype 2015-04-19 18:27:43 +02:00
Mikael Pettersson
68a213eb76 as: add some test cases under test/ 2015-04-06 16:34:22 +02:00
Mikael Pettersson
099eb14679 as/output.c: don't store dummy values in section->image
remove ->image == NULL test in append_section, output_shdr
don't store dummy value in section_strtab.image or section_shstrtab.image
hoist symtab declaration to output() top-level, don't store it in
section_symtab.image
drop fixmes at assignments to .dot as they are Ok
2015-04-05 16:14:59 +02:00
Mikael Pettersson
ade65971fa as: change section image from a pdp_uint36_t arrary to a pdp10_uint9_t array 2015-03-03 21:20:29 +00:00
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