This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: sysdeps/.../elf
On Monday, March 19, 2012 21:30:47 Joseph S. Myers wrote:
> On Mon, 19 Mar 2012, Andreas Jaeger wrote:
> > And this is exactly the problem I now have - after moving
> > sysdeps/x86_64/elf/start.S to sysdeps/x86_64, the start.S file from
> > sysdeps/unix is choosen instead of the sysdeps/x86_64 version.
>
> I think that's one of the files under sysdeps/unix that should be
> removed as no longer used (subject to testing). At a glance all of
>
> sysdeps/unix/i386/start.c
> sysdeps/unix/sparc/start.c
> sysdeps/unix/start.c
>
> are probably dead - I don't know about sysdeps/mach/start.c - and in
> ports, sysdeps/unix/arm/start.c.
Indeed, removing them I compiled on Linux/x86-64 glibc and it passes the
complete test suite.
> A final patch for removing the "elf" directories should probably be
> tested by comparing before-and-after disassembly for the shared
> libraries on a few architectures (it should be unchanged, though
> different paths will mean different debug info).
Has anybody a handy script for this?
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126