sysdeps/.../elf
Andreas Jaeger
aj@suse.com
Mon Mar 19 20:22:00 GMT 2012
On 03/19/2012 08:05 PM, Andreas Jaeger wrote:
> On 03/19/2012 09:16 AM, Andreas Jaeger wrote:
>> On Monday, March 19, 2012 03:16:14 Carlos O'Donell wrote:
>>> On Fri, Mar 16, 2012 at 7:14 PM, David Miller<davem@davemloft.net>
>> wrote:
>>>> From: Roland McGrath<roland@hack.frob.com>
>>>> Date: Fri, 16 Mar 2012 16:11:07 -0700 (PDT)
>>>>
>>>>> Since we've now dropped all pretense of non-ELF configurations being
>>>>> supported, it seems to me we should dispense with all the elf/
>>>>> subdirectories under sysdeps. That is, move their contents up to
>>>>> the containing directory. I don't think this will actually change
>>>>> anything, but I haven't made a thorough study.
>>>>>
>>>>> Comments?
>>>>
>>>> I don't see any problems with doing this.
>>>
>>> Seems fine to me.
>>>
>>> I count ~62 files between libc and ports that would be moved.
>>>
>>> At a first look none of them seem to be anything special.
>>
>> Btw. we need to be careful since some files need to be merged, e.g.
>> sysdeps/i386/configure and sysdeps/i386/elf/configure
>>
>> I agree, this is a nice cleanup,
>> Andreas
>
> Another think to check when we move them around - from configure.in:
> # Look for an `elf' subdirectory of each machine directory.
> # We prepend these rather than inserting them whereever the machine appears
> # because things specified by the machine's ELF ABI should override
> # OS-specific things, and should always be the same for any OS on the
> # machine (otherwise what's the point of an ABI?).
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'm appending my current list of patches - without changelog - for
reference in case an expert on sysdirs wants to have a look and continue.
With the patches sysd-rules starts with:
sysd-rules-sysdirs := nptl/sysdeps/unix/sysv/linux/x86_64
sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/wordsize-64
nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread
sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common
sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv
sysdeps/unix/sysv sysdeps/unix/x86_64 nptl/sysdeps/unix sysdeps/unix
sysdeps/posix sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu
sysdeps/x86_64/multiarch nptl/sysdeps/x86_64 sysdeps/x86_64
sysdeps/wordsize-64 sysdeps/ieee754/ldbl-96
sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64
sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Move-x86_64-elf-files-to-x86_64.patch
Type: text/x-patch
Size: 12329 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120319/45465744/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Merge-contents-from-sysdeps-i386-configure.in-withou.patch
Type: text/x-patch
Size: 3624 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120319/45465744/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Remove-now-obsolete-elf-configure-file.patch
Type: text/x-patch
Size: 3814 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120319/45465744/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Merge-sysdeps-i386-elf-Versions-into-sysdeps-i386-Ve.patch
Type: text/x-patch
Size: 17386 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120319/45465744/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Move-sysdeps-generic-elf-to-sysdeps-generic.patch
Type: text/x-patch
Size: 17293 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120319/45465744/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Fix-last-line.patch
Type: text/x-patch
Size: 11554 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120319/45465744/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Fix-last-line-in-configure.in.patch
Type: text/x-patch
Size: 704 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120319/45465744/attachment-0006.bin>
More information about the Libc-alpha
mailing list