[adtools] Re: changes to make the gcc buildsystem make shares objects automatically

  • From: Jens Langner <Jens.Langner@xxxxxxxxxxxxxx>
  • To: Jörg Strohmayer <j_s@xxxxxx>
  • Date: Fri, 20 Jun 2008 10:48:10 +0200

Hi Jörg,

Jörg Strohmayer schrieb:

On 19/06/2008, Jens Langner <Jens.Langner@xxxxxxxxxxxxxx> wrote:

My feeling is that our libgcc_s.so is simply built out of the wrong
object files?!?

If it's not stripped it was built without any, or empty, object files.
The nm output only included the symbols from shcrtbegin/end.o and the
ones created by the linker.

BTW: Do you have an idea what exactly is wrong with our strip tool and what
needs to be modified in binutils to fix it?

I don't know any details, only that it does something wrong with the
undefined symbols since using
strip `nm -u executable | sed "s/U /-K/"` -R.comment executable
i.e. stripping everything but the undefined symbols, usually works.

And do you have any idea how we can currently strip shared object if the standard binutils strip is currently broken because executables and libraries (e.g. libstdc++.so) get quite large.

cheers,
jens
--
Jens Langner, Dresden/Germany
http://www.jens-langner.de/
______________________________________________________________________________
Amiga Development tools ML - //www.freelists.org/list/adtools
Homepage...................: http://www.sourceforge.net/projects/adtools
Listserver help............: mailto:adtools-request@xxxxxxxxxxxxx?Subject=HELP

Other related posts: