Add ELF2HUNK tool from AROS distribution.

This commit is contained in:
Krystian Bacławski 2014-01-04 23:40:49 +01:00
parent 5b12f7bfc3
commit 324e78f1ab
3 changed files with 1085 additions and 1 deletions

1
tools/.gitignore vendored
View File

@ -1,3 +1,4 @@
GccFindHit
hunk2aout
elf2hunk
*.pyc

View File

@ -1,12 +1,13 @@
CC = gcc -m32
CFLAGS = -g -O2 -Wall -I../target/os-include
BINS = GccFindHit hunk2aout
BINS = GccFindHit hunk2aout elf2hunk
all: $(BINS)
GccFindHit.o: GccFindHit.c defs.h a.out.h
hunk2aout.o: hunk2aout.c a.out.h
elf2hunk.o: elf2hunk.c
clean:
rm -f $(BINS) *.o *~

1082
tools/elf2hunk.c Normal file

File diff suppressed because it is too large Load Diff