This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: elf.h incomplete
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 5 Jun 2012 23:52:49 -0400
- Subject: Re: elf.h incomplete
- References: <4FA281E3.4020008@samsung.com> <CA+sc5mnHw0CuSzaPiAV4ALQVEKs6_Nc20JrEvu-r121nZU3REg@mail.gmail.com> <4FA2870D.1030604@samsung.com> <4FA28961.2010407@cs.utoronto.ca> <4FA28F35.6060000@samsung.com> <4FA29070.1060300@gmail.com> <20120503152458.GB22355@ednor.casa.cgf.cx> <4FA300AB.3080306@users.sourceforge.net> <4FCED256.7030305@users.sourceforge.net>
- Reply-to: cygwin-patches at cygwin dot com
On Tue, Jun 05, 2012 at 10:45:26PM -0500, Yaakov (Cygwin/X) wrote:
>On 2012-05-03 17:03, Yaakov (Cygwin/X) wrote:
>> On 2012-05-03 10:24, Christopher Faylor wrote:
>>> Right. I've noticed the incompleteness of elf.h from time to time too but
>>> extending it would be tedious since you can't just cut/paste from a GPLv*
>>> file. Maybe one of the BSDs has something more complete these days? We
>>> could use one of those.
>>
>> This patch is a direct copy from FreeBSD HEAD. I have NOT tested it,
>> though.
>
>I have tested this by cross-compiling a recent Linux kernel. I needed
>to add relocs for a few CPUs not covered by the FreeBSD headers; revised
>patch attached.
>
>FWIW, there are still some unrelated issues in completing a full kernel
>build. I'll try to work on that when I have the chance.
Sounds like it is good enough to check in. We
can tweak it as needed.
Thanks very much for doing this.
cgf