delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/03/09:56:09

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199707031354.AA184878065@typhoon.rose.hp.com>
Subject: Re: Funny Strip.exe behaviour
To: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE (Robert Hoehne)
Date: Thu, 03 Jul 1997 6:54:25 PDT
Cc: djgpp AT delorie DOT com
In-Reply-To: <33BB80C3.7CE5F448@Mathematik.TU-Chemnitz.DE>; from "Robert Hoehne" at Jul 03, 97 12:36 (noon)

> How you stripped it?
c:\djgpp\lib\> strip libgcc.a

> Can you check if the missing symbols in the stripped
> libgcc.a (objdump --syms libgcc.a)?
(mannually transcribed since I can't paste from my dos session 
to my Reflections X emacs)


c:\djgpp\lib>objdump --syms libgcc.a | grep udivdi
_udivdi3.o:    file format coff-go32
[133](sec 1)fl 0x00)(ty 2f)(scl 2) (nx 1) 0x00000100 ___udivdi3
___udivdi3 :

c:\djgpp\lib>strip libgcc.a

c:\djgpp\lib>objdump --syms libgcc.a | grep udivdi
_udivdi3.o:   file format coff-go32
No symbols in "_udivdi3.o:.

> Because I had also sometimes problems when stripping
> an archive (I don't remember the exact problems) I
> recommend to strip the object files before making
> the library (strip --strip-debug *.o; ar cr libgcc.a *.o)

And leave the (possible) problem in there for some other 
unsuspecting person to find ? :)  I'll play around with it 
some more, make sure the .o files can be stripped OK and such.  
After that though, don't know...

Thanks

Andrew

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019