This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove divide from _ELF_DYNAMIC_DO_RELOC
- From: Chung-Lin Tang <cltang at codesourcery dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>, Chung-Lin Tang <chunglin_tang at mentor dot com>
- Cc: Carlos O'Donell <carlos at redhat dot com>, <libc-alpha at sourceware dot org>, Allan McRae <allan at archlinux dot org>, David Miller <davem at davemloft dot net>, OndÅej BÃlka <neleai at seznam dot cz>
- Date: Thu, 17 Jul 2014 16:17:01 +0800
- Subject: Re: [PATCH] Remove divide from _ELF_DYNAMIC_DO_RELOC
- Authentication-results: sourceware.org; auth=none
- References: <5347B7EE dot 6020507 at mentor dot com> <537F542B dot 5040409 at redhat dot com> <53C4C1D5 dot 40002 at mentor dot com> <53C58F53 dot 8080506 at redhat dot com> <53C64736 dot 5090700 at mentor dot com> <Pine dot LNX dot 4 dot 64 dot 1407162141290 dot 22313 at digraph dot polyomino dot org dot uk>
On 2014/7/17 05:43 AM, Joseph S. Myers wrote:
> On Wed, 16 Jul 2014, Chung-Lin Tang wrote:
>
>> Also BTW, is it too late for the Nios II port to be added to 2.20? Its
>> already gone through a round of review earlier, and I'll be posting
>> updated patches within this week.
>
> The elf.h patch was approved over two months ago. It should just be
> committed, not including in any new patch series posted.
>
> As for the rest, is there rough consensus in the Linux kernel community on
> the kernel/userspace ABI for Nios II (in particular, the size of time_t,
> but also other issues such as whether renameat will need implementing in
> userspace in terms of the renameat2 syscall)? That's needed for it to be
> safe to add the port to glibc.
I don't see either of those patches in 3.16-rc5 at the moment, so I
guess it won't be an issue for 3.16.
I'm not sure about the time_t/timespec changes, but renameat2 should be
pretty straightforward, just a new __ASSUME_RENAMEAT2 in
kernel-features.h for 3.16 (if it gets in later), and maybe adding
renameat2() as an API function.
Anyways, I'll work on getting the nios2 patches posted again.
Thanks,
Chung-Lin