j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: stepan Date: 2006-06-10 03:41:02 +0200 (Sat, 10 Jun 2006) New Revision: 59
Modified: openbios-devel/arch/sparc32/aoutload.c Log: more moderate memory consumption of BSD - Why do they break the a.out headers?
Modified: openbios-devel/arch/sparc32/aoutload.c =================================================================== --- openbios-devel/arch/sparc32/aoutload.c 2006-06-10 01:37:53 UTC (rev 58) +++ openbios-devel/arch/sparc32/aoutload.c 2006-06-10 01:41:02 UTC (rev 59) @@ -81,6 +81,9 @@ goto out; }
+ if (ehdr.a_text == 0x30800007) + ehdr.a_text=64*1024; + if (N_MAGIC(ehdr) == NMAGIC) { size = addr_fixup(N_DATADDR(ehdr)) + addr_fixup(ehdr.a_data); } else { @@ -90,6 +93,7 @@ if (size < 7680) size = 7680;
+ start = 0x4000; // N_TXTADDR(ehdr);
if (!check_mem_ranges(info, start, size))