[gnu-csky] [PATCH v4 06/13] C-SKY: Linux ABI

Joseph Myers joseph@codesourcery.com
Thu Sep 13 22:57:00 GMT 2018


On Thu, 13 Sep 2018, Arnd Bergmann wrote:

> I haven't seen the part about the unsigned long[1] array, but I would
> assume this is something that can and should be cahnged to make
> it work for you.

It's the hack in the test 
<https://lwn.net/ml/linux-api/153616295066.23468.6133013878008690375.stgit@warthog.procyon.org.uk/> 
where it has a load of type and macro definitions before trying to include 
the uapi headers, including

+typedef unsigned long		elf_greg_t;
+typedef elf_greg_t		elf_gregset_t[1];

(but presumably most of the other type and macro definitions shouldn't be 
needed either, if the uapi headers are to work properly when included on 
their own).

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list