Re: [PATCH] m68k: implement runtime consts

Daniel Palmer
2025-12-05T09:24:00Z

Hi Jean-Michel,

On Thu, 4 Dec 2025 at 18:57, Jean-Michel Hautbois
<jeanmichel.hautbois@yoseli.org> wrote:
> It would be great to have vDSO at least for sys_get_thread_area() ! I
> implemented something, but if you already have it, please, submit a RFC
> I will test on coldfire !

I will try to clean it up and send it. A very untidy version along
with other stuff I'm messing with is on github[0].
You will also need a patch for your libc to use it. So far I have
worked out how to get glibc[1] and uclibng[2] to work but I haven't
managed to get musl to work yet[3].
Note that I have no idea if it's safe to do what it's doing. ;)

0 - https://github.com/fifteenhex/linux/tree/m68kvdso-20251201
1 - https://github.com/fifteenhex/glibc/tree/m68kgetthreadarea-20251203
2 - https://github.com/fifteenhex/uclibc-ng/tree/m68k-vdsogetthreadarea
3 - https://github.com/fifteenhex/musl/tree/m68kgetthreadarea-20251203

Cheers,

Daniel