lkml.org 
[lkml]   [1996]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: OMAGIC a.out not working with 1.3.99
>>>>> "Paul" == Paul Gortmaker <gpg109@rsphy1.anu.edu.au> writes:

Paul> - From Jamie Lokier (jamie@rebellion.co.uk) Tue, 21 May 96
Paul> 21:00 BST

>> My really old OMAGIC a.out /bin/ping doesn't run any more: strace
>> says:
>>
>> execve("/bin/ping", ["ping"], [24 vars]) = -1 ENOEXEC (Exec
>> format error)
>>
>> This is from Slackware 1.2. Some might suggest I fetch and
>> recompile it, but that's not the point. This is with binfmt_aout
>> loaded as a module. (Yes, the module _is_ loaded).

Paul> Your binary is corrupted somehow. It can't be any older than
Paul> this one, because this one dates back to the major changes at
Paul> 0.99.10 where all net tools had to be recompiled.

You're right. Some version of `strip' (around December 1995) removed 8
more bytes it should have done (from the data section), although this
didn't prevent execution until recent kernels. I have verified that
binutils-2.6.0.12 gets the size right.

Cheers,
-- Jamie


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.048 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site