Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* strip and that kernel patch nonsense
@ 1996-05-15 17:54 Richard Henderson
  1996-05-17 16:37 ` Harald Koenig
  0 siblings, 1 reply; 11+ messages in thread
From: Richard Henderson @ 1996-05-15 17:54 UTC (permalink / raw)


*sigh* Forget that last bit about patching the kernel.  Thanks
to David Mosberger for pointing out that I was being stupid.

Try this much simpler binutils patch.

r~

--- bfd/coff-alpha.c.orig	Wed May 15 12:41:26 1996
+++ bfd/coff-alpha.c	Wed May 15 12:41:47 1996
@@ -2262,7 +2262,7 @@
   "________64",
   /* The page boundary used to align sections in a demand-paged
      executable file.  E.g., 0x1000.  */
-  0x2000,
+  0x1000,
   /* True if the .rdata section is part of the text segment, as on the
      Alpha.  False if .rdata is part of the data segment, as on the
      MIPS.  */

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <m0uLBiU-0001ukC@atheist.tamu.edu>]
* Re: strip and that kernel patch nonsense
@ 1996-05-20  7:18 David Mosberger-Tang
  0 siblings, 0 replies; 11+ messages in thread
From: David Mosberger-Tang @ 1996-05-20  7:18 UTC (permalink / raw)


>>>>> On Mon, 20 May 1996 08:48:01 +0300 (EET DST), Linus Torvalds <torvalds@cs.Helsinki.FI> said:

  Linus> On Mon, 20 May 1996, Jim Paradis wrote:
  >>  > since "quickstrip" works fine, I can't beleave that it's not
  >> possible > for "strip" to work correctly without a patch for gas
  >> or the kernel ?!
  >> 
  >> Well, "quickstrip" is a quickie utility I wrote way back in the
  >> 32-bit Linux/Alpha days.  It's a ten-line program that finds the
  >> COFF symbol table, nukes it in the header, and truncates the
  >> file.  Period.

  Linus> Umm, I hope that quickstrip goes away soon (redhat-3.0.3
  Linus> still seems to have an rpm for it). No offence, Jim, but it's
  Linus> a bit _too_ simple-minded. Try to do "quickstrip /usr/bin/*"
  Linus> some day, and watch what happens to all your non-ECOFF
  Linus> binaries (like shell scripts etc). Yes, I've done that. Oops,
  Linus> bad idea. ;-)

Don't think it would be that hard to add a little sanity checking to
quickstrip to make sure it doesn't mangle anything but ECOFF files.

As long as "strip" is slow like a dog it seems to me that "quickstrip"
has some value.

	--david

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <Pine.LNX.3.91.960520084514.15762E-100000@linux.cs.Helsinki.FI>]

end of thread, other threads:[~1996-06-06  0:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-15 17:54 strip and that kernel patch nonsense Richard Henderson
1996-05-17 16:37 ` Harald Koenig
1996-05-18  4:22   ` Richard Henderson
1996-05-18  9:01     ` Harald Koenig
1996-05-20  6:13       ` Jim Paradis
1996-05-20  5:48         ` Linus Torvalds
     [not found] <m0uLBiU-0001ukC@atheist.tamu.edu>
1996-05-20  7:11 ` Harald Koenig
1996-05-20  7:11 ` Harald Koenig
1996-05-20  7:41   ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1996-05-20  7:18 David Mosberger-Tang
     [not found] <Pine.LNX.3.91.960520084514.15762E-100000@linux.cs.Helsinki.FI>
1996-06-06  0:51 ` Erik Troan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox