From 563ff0bda22b6022a55fb0a959b08676e57d2d71 Mon Sep 17 00:00:00 2001 From: "Justin M. Seger" Date: Mon, 12 Apr 1999 00:03:00 +0000 Subject: Import of devel/elftoaout 2.0 A program that is used to convert static elf images to a.out format. The SUN OpenBoot PROM can only boot a.out images. PR: ports/7150 Submitted by: Kapil Chowksey --- devel/elftoaout/files/patch-aa | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 devel/elftoaout/files/patch-aa (limited to 'devel/elftoaout/files/patch-aa') diff --git a/devel/elftoaout/files/patch-aa b/devel/elftoaout/files/patch-aa new file mode 100644 index 000000000000..b351f87889b8 --- /dev/null +++ b/devel/elftoaout/files/patch-aa @@ -0,0 +1,19 @@ +--- elftoaout.c~ Thu Jul 10 16:48:06 1997 ++++ elftoaout.c Fri Jul 3 09:36:09 1998 +@@ -9,7 +9,15 @@ + #include + #define ELFDATA2MSB 2 + #else +-#include ++#include ++#include ++#endif ++ ++#ifndef PT_LOPROC ++#define PT_LOPROC 0x70000000 ++#endif ++#ifndef PT_HIPROC ++#define PT_HIPROC 0x7fffffff + #endif + + #define swab16(x) (((x)<<8&0xFF00)|((x)>>8&0x00FF)) -- cgit v1.2.3