Files
mikpe.pdp10-tools/TODO
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

54 lines
1.9 KiB
Plaintext

# TODO notes for pdp10-tools
# Copyright (C) 2013-2015 Mikael Pettersson <mikpelinux@gmail.com>
#
# This file is part of pdp10-tools.
#
# pdp10-tools is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# pdp10-tools is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with pdp10-tools. If not, see <http://www.gnu.org/licenses/>.
Elf36 Specification:
- Do we want to adjust SHN_LORESERVE up to SHN_HIRESERVE, including SHN_XINDEX, to
account for the fact that we have 2 more bits available in Elf36_Half?
I'm inclined not to change, but to allow indices in [SHN_HIRESERVE+1,PDP10_UINT18_MAX]
as-is without going through SHN_XINDEX.
- Same question for PN_XNUM?
- Summarize the differences between Elf32 and Elf36 in a document somewhere.
pdp10-stdio:
- Handle non-seekable output files better (i.e., allow 8to9 to write to stdout)
pdp10-opcodes:
- change insn->fmt to separate flag bits
Tools:
- size: implement it
- strip: implement it
- ld: implement it
- readelf: add support for relocs
- readelf: add support for program headers
- as:
* tunit_{strtab_,}section_enter() should be generalized and merged
* what happens if user defines .comment as say text, and later enters .ident?
* add support for named sections
* add support for sub-sections
* add support for data directives (.word, .asciz, etc)
* add support for relocs
* add support for extended opcodes (emit second opcode after current .text section)
* add support for symbolic references to 30 or 36-bit addresses via something like %hi/%lo functions