com32: make com32 modules self-relocating (COM32R)
authorH. Peter Anvin <hpa@zytor.com>
Mon, 25 May 2009 02:01:02 +0000 (19:01 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 25 May 2009 02:01:02 +0000 (19:01 -0700)
commit04e7c2784dd3fd45090d1ddb31905dd7a9b921a3
treefbe5e2df0e93dddcb4b34d44755d433d84663f38
parent24ffb34fcff5b50b56d987e18dcf519e278c771e
com32: make com32 modules self-relocating (COM32R)

Introduce a new "COM32R" format, which is exactly like COM32 except
that they contain position-independent code.  Therefore, the core can
load them at any sufficiently aligned address; by protocol select 4K
as the alignment.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/MCONFIG
com32/Makefile
com32/include/netinet/in.h
com32/include/sys/cpu.h
com32/lib/MCONFIG
com32/lib/com32.ld
com32/lib/sys/entry.S
com32/tools/relocs.c [new file with mode: 0644]