From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9605172335.AA12445@nova.tat.physik.uni-tuebingen.de> Date: Sat, 18 May 1996 01:31:14 +0200 (MET DST) From: Harald Koenig Subject: Re: strip 2.6 breaks images In-Reply-To: > There was a problem, but in the kernel rather than the binutils. > The kernel was ignoring the file offset information so kindly > provided to it in the ECOFF section headers. > > Following is a patch that fixes the problem. > > WARNING: I found while testing this patch that my /sbin/getty from > RedHat 2.1 was actually broken, that is, it contained inconsistant > offset information. The one from 3.0.3 is Righteous. using your linux/fs/binfmt_aout.c patch breaks at least some other images. for some binaries I just get cannot execute binary file (e.g. emacs and static binaries from DEC Unix), others give a segmentation fault immidieately when executed (strace shows *no* system call at all; e.g. some dynamic DU images). Harald -- All SCSI disks will from now on ___ _____ be required to send an email notice 0--,| /OOOOOOO\ 24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\ \ \/OOOOOOOOOOOOOOO\ \ OOOOOOOOOOOOOOOOO|// Harald Koenig, \/\/\/\/\/\/\/\/\/ Inst.f.Theoret.Astrophysik // / \\ \ koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^