Open cahirwpz opened 8 years ago
This is meta-issue that tries to capture the scope of work. If you'd like to work on it, please drop me a private message!
In my opinion work should start with BFD implementation, then move to porting bits and pieces from current AmigaOS enabled GNU as
and GNU ld
.
objdump
for AmigaHunk
object file, load file and library file.GNU ar
.GNU ld
.GNU as
.Test files could be taken from AmigaOS NDK 3.9, AmigaOS 3.x and SAS/C 6.58.
AmigaHunk support for binutils hadn't been ever finished by it's previous maintainers. Current feature set of GNU binutils is limited - the tools:
AmigaHunk
format for object files,a.out
format,AmigaHunk
link libraries,To make things worse, current
AmigaHunk
support for BFD:Without more recent version of
GNU as
andGNU ld
there's little sense in updating gcc (which switched to Motorola assembly syntax in later versions) and libnix (because it is missing support for C99 and C11). AlsoGNU gdb
relies heavily on BFD support. Thus I find rewrite AmigaHunk support for BFD necessary to make any progress with whole toolchain as such.AmigaHunk format is comprehensively described in:
I implemented Python tools to read a.out format and AmigaHunk format. One could use them for reference as well.
GNU binutils
are described in several documents: